LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   fbdesk for fluxbox autostartup (https://www.linuxquestions.org/questions/linux-newbie-8/fbdesk-for-fluxbox-autostartup-318343/)

eastsuse 04-29-2005 02:15 AM

fbdesk for fluxbox autostartup
 
I'm running suse 9.3 and I want to automatically start the fbdesk application on startup in fluxbox. I've gone through the fluxbox documentation and it said to add it to .xinitrc file. It apprears suse has a default script, but I added the following line to the end of the script:


exec /usr/local/bin/fbdesk &

This is for ~/.xinitrc file.

So I also tried the .xinitrc file in /etc/x11/ directory.


This did not work either.

If I start it manually, it works without a problem.


Any suggestions?

xukosky 04-29-2005 02:31 AM

It would be helpful if you would have posted your full .xinitrc but try this anyway if you can:

1- Execute fbdesk BEFORE fluxbox
2- REMOVE the "exec" at the start of the line

Your .xinitrc should look similar to this:

/usr/local/bin/fbdesk &
exec /usr/local/bin/fluxbox

I am not sure if the "&" is really needed when executing fbdesk but it should be safe to keep it.

Crashed_Again 04-29-2005 07:40 AM

From the FluxBox FAQ:

Code:

# window manager
fluxbox & wmpid=$!

bbrun &
wmCalClock &
wmnet -x 70000 -d 300000 -L cablemodem -w &
wmxmms &

# HANG POINT - wait for windowmanager to exit
wait $wmpid

That is the suggested context of your .xinitrc file. The bbrun, wmCalClock, wmnet, and wmxmms are all apps that will start when fluxbox starts so add whatever you would like in there.

comprookie2000 04-29-2005 12:07 PM

Are you using startx or a login manager?

eastsuse 04-29-2005 12:19 PM

I'll try starting fbdesk before fluxbox when I get home.

also,

I'm using a login manager. I was wondering if that mattered because I'm not exactly sure when X actually gets started. I assume before the login manager starts up.

comprookie2000 04-29-2005 02:52 PM

Do you have /etc/X11/sessions/fluxbox?You may be able to try it there.

eastsuse 04-30-2005 12:11 AM

putting the fbdesk before the start of fluxbox worked. thanks!


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