Description of problem:
I've migrated my desktop from Gnome3 to Xfce for several reasons. But currently I'm unable to disable gnome-sound-applet which is part of the control-center package.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Remove gnome-sound-applet entry from gnome-session-properties
2. remove gnome-sound-applet link from ~/.config/autostart
3. restart your Xfce session
gnome-sound-applet is started
gnome-sound-applet should not be started because I've removed the autostart entries.
I can not remove control-center from my System because I need gnome-bluetooth for several reasons.
Please check the Freedesktop.org docs: http://standards.freedesktop.org/autostart-spec/autostart-spec-latest.html
"If an application autostarts by having a .desktop file installed in the system wide autostart directory, an individual user can disable the autotomatic start of this application by placing a .desktop file of the same name in its personal autostart directory which contains the key Hidden=true."
So you should be able to copy /etc/xdg/autostart/gnome-sound-applet.desktop to ~/.config/autostart and add a line "Hidden=true".
The question is why it is started in first place. /etc/xdg/autostart/gnome-sound-applet.desktop already contains "OnlyShowIn=GNOME;" (see bug 693548). As long as there is no file ~/.config/autostart to overwrite this, it should not be started.
(In reply to comment #0)
> 1. Remove gnome-sound-applet entry from gnome-session-properties
> 2. remove gnome-sound-applet link from ~/.config/autostart
That does not make sense. As soon as you disable it in gnome-session-properties, ~/.config/autostart/gnome-sound-applet.desktop is created with "Hidden=true". So you basically reverted what you just did in gnome-session-properties. Did you try to disable it in xfce4-session-settings?
xfce4-session-settings has an entry called "PulseAudio Sound System" which is diabled (see screenshot)
Created attachment 517477 [details]
Screenshot of my xfce4-session-settings
It's better to look at the files than at screenshots.
$ grep OnlyShowIn /etc/xdg/autostart/gnome-sound-applet.desktop
Now we found the problem: The file contains OnlyShowIn line *twice*. It already had one and the patch to fix bug 693548  added a second entry.
Sounds like the german term "verschlimmbessert" ;-)
I have fixed this in rawhide now. control-center maintainers, please push this out to the branches that you think that are necessary and unset the NEEDINFO flag.