GeneralThis forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!
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.
I noticed that somewhere someone said their is a file that tells the system when you type startx which desktop to load.
So A, where was that again?
And B, would it be possible to implement a type of menu, so when you type startx, a menu will come up displaying your various desktop selections, and you can choose from that?
I am not really being so much anal, but I was just thinking that using a the console to startx and then being given choices would be good for those who dont want X to start on bootup, or who do not want to use GDM or KDM.
hrmm... i don't think that's exactly what she's asking... you want a console menu-type thingy to chose a windowmanager, right?
i think that would be pretty easy, using a shell script. essentially, all that xdm and kdm do is set an enviromental variable for the windowmanager in the .xinitrc file. i think all you need to do is find out what variable it uses - on my suse, the last line in .xinitrc is
exec $WINDOWMANAGER
so in my case, all i would need to do is to write a script that gives me a few options...
I actually found some programs that look like this on www.ibiblio.org's ftp. Haven't tried them since I'm happy with the one I'm using. A nice shell script would be good, though. Currently I have these wm's on my machine:
KDE
Gnome
WidowMaker
BlackBox
Fluxbox
Sawfish (love it)
Waimea
etc, etc (will edit when I've got a definitive list ).
(Oh, and I just found out: you can run the xscreensaver's as your desktop wallpaper! I've got mine as:
exec /usr/X11R6/lib/xscreensaver/atlantis -root)
I think you can just edit your startx file, it is a shell script, so append menu selection at the begining ( i guess you are familiar with shell scripting), and here you go.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.