Skip to content

Commit

Permalink
Merge bitcoin#11690: [trivial] Fix the StartupWMClass for bitoin-qt, …
Browse files Browse the repository at this point in the history
…so gnome-shell can recognize it

b077fe9 fix the StartupWMClass for bitoin-qt, so gnome-shell can recognize it (Evan Klitzke)

Pull request description:

  I spent some time trying to figure out how to get the provided `.desktop` file to work correctly in GNOME. When a non-absolute path is used in the desktop file, you need to specify `StartupWMClass` in order for gnome-shell to know that a running application matches one in its desktop database. I also set a version and removed the deprecated `Encoding` field. With these changes, the desktop file passes `desktop-file-validate` cleanly.

  P.S. I found this while working on a new spec file for Bitcoin, which you can find here: https://github.com/eklitzke/bitcoin-copr/blob/master/bitcoin.spec . I plan to contribute this work back upstream as well, once I've figured out more of these packaging issues (desktop files being one of them!).

Tree-SHA512: cb290dd2c2fbcf7f08d838cf911d516d09a4e978d939e719a21a84db7232d1f534043616d7fbb52edd2b7d12389e5f0f8e53d29ac59d7282bdebde8224a2db7f
Signed-off-by: pasta <pasta@dashboost.org>

# Conflicts:
#	contrib/debian/bitcoin-qt.desktop
  • Loading branch information
MarcoFalke authored and PastaPastaPasta committed Mar 21, 2020
1 parent 90b0ef7 commit e4402dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion contrib/debian/dash-qt.desktop
@@ -1,5 +1,5 @@
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Name=Dash Core
Comment=Dash P2P Cryptocurrency
Comment[de]=Verbinde mit dem Dash peer-to-peer Netzwerk
Expand All @@ -11,3 +11,4 @@ Type=Application
Icon=dash128
MimeType=x-scheme-handler/dash;
Categories=Office;Finance;
StartupWMClass=Dash-qt

0 comments on commit e4402dd

Please sign in to comment.