Hi-
I ran into a problem after doing an update with smxi. The menu entry for Synaptic in fluxbox no longer works. Synaptic still works fine when opened from a root terminal. Both the entries for Synaptic in fluxbox-->Applications-->Preferences are still present (I usually have 2 entries one that works and one that doesn't on my system). But now neither works. Does anyone know what happened?
-Mike
5 posts
• Page 1 of 1
-
Posts: 20
- Joined: 05 Oct 2012
-
Posts: 279
- Joined: 17 Oct 2009
#2
To change this, open synaptic.desktop in a text editor as root.
Change the entry near the end of the configuration to
The upgrade changed your /usr/share/applications/synaptic.desktop file to call synaptic using pksu.mroot wrote:Hi-
I ran into a problem after doing an update with smxi. The menu entry for Synaptic in fluxbox no longer works. Synaptic still works fine when opened from a root terminal. Both the entries for Synaptic in fluxbox-->Applications-->Preferences are still present (I usually have 2 entries one that works and one that doesn't on my system). But now neither works. Does anyone know what happened?
-Mike
To change this, open synaptic.desktop in a text editor as root.
Change the entry near the end of the configuration to
Code: Select all
Exec=gksu synaptic
-
Posts: 20
- Joined: 05 Oct 2012
#3
Your change worked perfectly.
Thanks for your help.
-Mike
Thanks for your help.
-Mike
-
Posts: 1,444
- Joined: 09 Feb 2012
#4
debian package maintainer declared 2 categories in the
Categories=
line of the .desktop file
Recently I discovered that those dual menu entries are a result of the package maintainer providing 2 separate .desktop files.
(the exec line for one of them states kdsuss, for kde users)
(without kde, we don't have kdsuss installed, so that launcher doesn't work for us)
Although that kde-specific .desktop file includes a"onlyShowIn=KDE" directive, apparently fluxbox (or the antix script which"updates" fluxbox menu) fails to abide that directive.
Earlier, I thought 2 entries displayed in the menu b/c the2 entries one that works and one that doesn't
debian package maintainer declared 2 categories in the
Categories=
line of the .desktop file
Recently I discovered that those dual menu entries are a result of the package maintainer providing 2 separate .desktop files.
(the exec line for one of them states kdsuss, for kde users)
(without kde, we don't have kdsuss installed, so that launcher doesn't work for us)
Although that kde-specific .desktop file includes a"onlyShowIn=KDE" directive, apparently fluxbox (or the antix script which"updates" fluxbox menu) fails to abide that directive.
-
anticapitalista
Posts: 5,955
- Site Admin
- Joined: 11 Sep 2007
#5
Actually Debian package provides 2 .desktop files, one for kde and one for 'generic' use. Both do not work on antiX since we do not come with all the needed policykit crap. (which are not listed as depends for synaptic) So we have our own .desktop file that calls gksu synaptic. Same is true for gparted.
This is the default for antiX-12 and the 12.5 alphas
This is the default for antiX-12 and the 12.5 alphas