Skip to content

Commit

Permalink
declare StartupWMClass in .desktop (#4930)
Browse files Browse the repository at this point in the history
This allows the app to be pinned in the dock/task manager in several
common desktop environments.

When not set this happens when you open the pinned application: 


![image](https://github.com/user-attachments/assets/81316c9c-4cd4-4a7c-ba3e-74b9a7abc1fa)
  • Loading branch information
mitchellh authored Jan 11, 2025
2 parents 5a4aac7 + 941915b commit 918ccdb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dist/linux/app.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Icon=com.mitchellh.ghostty
Categories=System;TerminalEmulator;
Keywords=terminal;tty;pty;
StartupNotify=true
StartupWMClass=com.mitchellh.ghostty
Terminal=false
Actions=new-window;
X-GNOME-UsesNotifications=true
Expand Down

0 comments on commit 918ccdb

Please sign in to comment.