morpheusthewhite / nordpy

A gui application to connect automatically to the recommended NordVPN server
GNU General Public License v3.0
105 stars 16 forks source link

Can't add nordpy to 'Favorites' in Gnome Dash #39

Closed emulti closed 4 years ago

emulti commented 4 years ago

nordpy under Gnome can't be added to 'favorites' in Dash by right-clicking and selecting 'add to favorites' If added forcibly (by dragging icon in overview manually to Dock or using dconf-editor) then a running instance of nordpy shows as a second item in the Dash

To Reproduce Run nordpy from 'Applications overview' in the normal Gnome manner Right-click of Dash icon does not have 'add to favorites' in context menu

Expected behavior Should be possible to 'add to favourites'. This can be done by dragging the icon in the applications overview into Dash, but on next run a second application icon appears when running.

Assumed Cause Application does not declare StartupWMClass correctly

Workaround $ cp /usr/share/applications/nordpy.desktop .local/share/applications Edit .local/share/applications/nordpy.desktop and add the following line: StartupWMClass=tk

Second icon is not now shwon when running and the correct context menu appears on right-click

Desktop (please complete the following information):

morpheusthewhite commented 4 years ago

It shouldn't be necessary to move the entry into the user folder; try now

emulti commented 4 years ago

yes, that works.