[SOLVED] Openbox runs lots of stuff (not set on autostart) at startup after the last upgrade
Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Openbox runs lots of stuff (not set on autostart) at startup after the last upgrade
Openbox 3.5.0, from Debian testing.
I think these stuff are from Gnome environment, which I have I guess, but I never use it (the DE, not the stuff, which I use sometimes, I only don't want them starting at the startup).
"Autostart" had an environment variable of "DE=KDE" or something like that though, so I'm not sure, I know only that all the stuff that started or most of it is GTK. I removed it and it did not have ant effect though.
The new "environment" config file is the default, just "blank"/commented.
Anyone knows what's going on?
I thought I had found the answer, there was a ~/.config/autostart folder, with .desktop files on it, I've removed the folder, but the apps are still being run by something.
OK, I think now I've found it, sort of. There is a similar folder on /etc/xdg/autostart, which sets autostart apps for all DEs. Apparently I have to either delete the entire folder or set only the things I want to always autostart in any time, any DE. I wish one could just have something like "GLOBALAUTOSTART=0/false/off" set on my on home folder...
edit: I've faced the same trouble and I knew I had made a topic on it once, I didn't remember if I had solved it through the topic the first time, but anyway, samuvuo's solution works, thanks!
A quick trick if you do not want anything there but don't want to delete the files either:
for i in *.desktop ; do echo "Hidden=true" >> $i ; done
Last edited by the dsc; 04-07-2012 at 12:11 PM.
Reason: solved, thanks to samuvuo
The files in /etc/xdg/autostart are executed on login to your DE/WM. To disable, edit the /etc/xdg/autostart/*.desktop file and set Hidden=true (so it won't autostart) OR delete the file, if you are never going to autostart it via XDG.
You can also set the visibility of the desktop file, so it shows only in certain DEs, ie. OnlyShowIn=XFCE;