Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Originally posted by asrisk Thanks trey85stang. I'll give the startup feature a try. Lots of other interesting stuff in that howto as well - a good find!
Ooookay. The fluxbox startup works fine when I type startx (I have put in my .xinitrc the command "exec startfluxbox" instead of "exec fluxbox") - this is OK.
But logging in via KDM, still none of the applications start. I expect that somewhere, there is a file telling KDM what the command is to start the various window managers. I think I need to find this file, and change "fluxbox" into "startfluxbox". Trouble is I've had a good look around in /etc/X11/kde3/kdm (or something similar - not in front of my Linux box at the moment) and cannot find such a file anywhere.
Any guesses where this information may be squirreled away?
Originally posted by asrisk Ooookay. The fluxbox startup works fine when I type startx (I have put in my .xinitrc the command "exec startfluxbox" instead of "exec fluxbox") - this is OK.
But logging in via KDM, still none of the applications start. I expect that somewhere, there is a file telling KDM what the command is to start the various window managers. I think I need to find this file, and change "fluxbox" into "startfluxbox". Trouble is I've had a good look around in /etc/X11/kde3/kdm (or something similar - not in front of my Linux box at the moment) and cannot find such a file anywhere.
Any guesses where this information may be squirreled away?
Cheers,
Andy.
Try updatedb and then locate fluxbox, you will get a lot of resulsts... But look for one in the /etc directory. That should be what you are looking for. Finding the load file for the desktop managers is sometimes a PITA, seems like every distro has them in a different spot.
It turns out that KDM's xsession runs the global Xsession in /etc/X11. This Xsession runs a whole bunch of scripts in /etc/X11/Xsession.d, one of which launches the chosen window manager, which had been passed as $1.
I had to add a bit to catch $1=fluxbox, and execute startfluxbox, instead of simply executing $1.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.