LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Boot Up Program Mystery (https://www.linuxquestions.org/questions/linux-newbie-8/boot-up-program-mystery-675807/)

james3545 10-12-2008 04:51 AM

Boot Up Program Mystery
 
Hello all!

I have a problem that I can't figure out. When I shut down and restart my computer Amarok (the music player) always starts when I get into GNOME. I am running Fedora 9 with GNOME. I have already checked in System -> Preferences -> Personal -> Sessions and it is definitely not there. I have some programs in there that I do want to load on boot up, and they are behaving as expected (ie: they load when I put them in there, they don't when I take them out). Amarok is not in there and I'm not sure where else to look.

Since I installed this just last week I have spent a considerable amount of time playing around with just about everything and I have a feeling that in some of my tinkering I must have added it to some boot up list. I couldn't tell you all of the things I've done playing around with settings on this system, but I have spent time in XFCE, KDE, and GNOME. In those different desktop environments I have added and removed programs to their respective boot up lists. Is it possible that I added Amarok to a start up list in XFCE or KDE and it is still being loaded into GNOME? I have a very limited understanding of what happens during boot up, but I would like to learn what happens on boot up so I can find the culprit for this little annoyance and find out what I did to cause it.

Any ideas? If you need any more information about my system please don't hesitate to ask.

Thanks!

indeliblestamp 10-13-2008 03:32 AM

KDE's autostart programs are in ~/.kde/Autostart or something, so Gnome's definitely not running one of those.
Do a grep amarok ~/.* and see if any hits come up. Its possible you (or XFCE) added it in one of your .x* files: .xprofile, .xinitrc, .xsession or whatever.

james3545 10-13-2008 11:52 AM

Thanks for the reply! Here's the output of "grep amarok ~/.*" :

Code:

/home/username/.bash_history:amarok
/home/username/.recently-used.xbel:          <bookmark:application name="File Manager" exec="&apos;amarok&apos;" timestamp="1223086048" count="1"/>
/home/username/.recently-used.xbel:          <bookmark:application name="File Manager" exec="&apos;amarok&apos;" timestamp="1223086092" count="1"/>
/home/username/.xsession-errors:Amarok: [Loader] Starting amarokapp..
/home/username/.xsession-errors:Amarok: [Loader] Don't run gdb, valgrind, etc. against this binary! Use amarokapp.


indeliblestamp 10-14-2008 01:28 AM

uh Okay its not there in any of those files. I don't use Gnome so I don't know where it puts its startup files, somewhere in ~/gnome* perhaps. Maybe someone else looking in can offer a tip or two.

james3545 10-14-2008 01:56 AM

Here is a copy of my /home/user/.gnome2/session file: http://pastebin.com/m6abe097f

I have a hunch that the answer is in this file. Is it safe to erase the contents of this file? Will that remove the history of all GNOME sessions?

indeliblestamp 10-14-2008 02:42 AM

Ok you could try this then:
Backup ~/.gnome2/session to some other name or location and restart gnome and see. You should get Gnome with the default settings. Is amarok starting now? If its not, then the session file is what's starting it up. You could either manually reconfigure your remaining startup programs in the new session file now, or you could move back the old session file and fiddle with it a bit (remove all entries with amarok in it, for example).

james3545 10-14-2008 04:43 AM

I figured it out! The answer was in GNOME sessions. I was able to go to System -> Preferences -> Personal -> Sessions and remove Amarok from starting up.

This thread helped: http://ubuntuforums.org/showthread.php?t=199415


All times are GMT -5. The time now is 01:50 AM.