[arch-general] xdg autostart files.
Hi, I don't know much about XDG, but I was trying to figure out why every time I started up a desktop session (KDE) wicd-tray was being loaded, when I didn't want it to be. I couldn't find any reference to it in any of the KDE autostart directories. Then I noticed that it has a .desktop file in /etc/xdg/autostart, which is owned by wicd. I guess that I can delete the file, but that's a bit messy and it'll just get replaced when wicd gets upgraded anyway. Is this really the right thing to do? Should that .desktop file be in the package or should it be up to the user to decide whether or not to load the GTK client? Or is there another (preferred) way to disable it that I'm not aware of? Thanks, Pete.
On 13 January 2011 21:58, Peter Lewis <plewis@aur.archlinux.org> wrote: Hi,
I don't know much about XDG, but I was trying to figure out why every time I started up a desktop session (KDE) wicd-tray was being loaded, when I didn't want it to be. I couldn't find any reference to it in any of the KDE autostart directories.
Then I noticed that it has a .desktop file in /etc/xdg/autostart, which is owned by wicd. I guess that I can delete the file, but that's a bit messy and it'll just get replaced when wicd gets upgraded anyway.
Is this really the right thing to do? Should that .desktop file be in the package or should it be up to the user to decide whether or not to load the GTK client?
Or is there another (preferred) way to disable it that I'm not aware of?
Thanks,
Pete.
There is a wicd-nogtk in the AUR, http://aur.archlinux.org/packages.php?ID=40430 which is probably the easiest solution, I swapped over with no probems, all configs and such are the same. -- Jason Steadman http://www.meyithi.com/ http://twitter.com/meyithi
On Thu, 2011-01-13 at 22:02 +0000, Meyithi wrote:
On 13 January 2011 21:58, Peter Lewis <plewis@aur.archlinux.org> wrote:
Hi,
I don't know much about XDG, but I was trying to figure out why every time I started up a desktop session (KDE) wicd-tray was being loaded, when I didn't want it to be. I couldn't find any reference to it in any of the KDE autostart directories.
Then I noticed that it has a .desktop file in /etc/xdg/autostart, which is owned by wicd. I guess that I can delete the file, but that's a bit messy and it'll just get replaced when wicd gets upgraded anyway.
Is this really the right thing to do? Should that .desktop file be in the package or should it be up to the user to decide whether or not to load the GTK client?
Or is there another (preferred) way to disable it that I'm not aware of?
Thanks,
Pete.
There is a wicd-nogtk in the AUR, http://aur.archlinux.org/packages.php?ID=40430 which is probably the easiest solution, I swapped over with no probems, all configs and such are the same.
FWIW, on Gnome that directory seems ignored (at least wicd-gtk doesn't start up here). Pretty much par for the course for XDG complaince, then....
On Thursday 13 January 2011 22:39:30 Ng Oon-Ee wrote:
Is this really the right thing to do? Should that .desktop file be in the package or should it be up to the user to decide whether or not to load the GTK client?
There is a wicd-nogtk in the AUR, http://aur.archlinux.org/packages.php?ID=40430 which is probably the easiest solution, I swapped over with no probems, all configs and such are the same.
Thanks for the pointer Meyithi. I hadn't seen that.
FWIW, on Gnome that directory seems ignored (at least wicd-gtk doesn't start up here). Pretty much par for the course for XDG complaince, then....
:-/ Strange. Okay, but my reckoning is that there shouldn't be a .desktop file which forces users to run the GTK client in there anyway. Will file a bug. Pete.
On Fri, 2011-01-14 at 09:26 +0000, Peter Lewis wrote:
On Thursday 13 January 2011 22:39:30 Ng Oon-Ee wrote:
FWIW, on Gnome that directory seems ignored (at least wicd-gtk doesn't start up here). Pretty much par for the course for XDG complaince, then....
:-/
Strange. Okay, but my reckoning is that there shouldn't be a .desktop file which forces users to run the GTK client in there anyway. Will file a bug.
Pete.
I think its only a bug if that's not upstream behaviour. For reference, I have 22 items in /etc/xdg/autostart....
Hello, Le jeudi 13 à 22:58, Peter Lewis a écrit :
I don't know much about XDG, but I was trying to figure out why every time I started up a desktop session (KDE) wicd-tray was being loaded, when I didn't want it to be. I couldn't find any reference to it in any of the KDE autostart directories.
Then I noticed that it has a .desktop file in /etc/xdg/autostart, which is owned by wicd. I guess that I can delete the file, but that's a bit messy and it'll just get replaced when wicd gets upgraded anyway.
GNOME has a thingy for stopping such applications to start with the user's session. It seems to mainly copy the .desktop file to ~/.config/autostart and add a line with X-GNOME-Autostart-enabled=false. Surely KDE has a similar feature (both a dialog box for choosing which applications to start, and a custom property to overrid the autostart). HTH, -- Frédéric Perrin http://tar-jx.bz
participants (4)
-
Frédéric Perrin
-
Meyithi
-
Ng Oon-Ee
-
Peter Lewis