Click to See Complete Forum and Search --> : Hey LD, WM changer script?


kmj
10-12-2000, 03:54 PM
TheLinuxDuck: I vaguely remember you were working on a script to easily change which windowmanager becomes the default, or something like that. Do you still have that around? I'd like to try it out if possible...

TheLinuxDuck
10-12-2000, 04:21 PM
Originally posted by kmj:
TheLinuxDuck: I vaguely remember you were working on a script to easily change which windowmanager becomes the default, or something like that. Do you still have that around? I'd like to try it out if possible...

There's more to it than just changing the default window manager.. that is, if you want to add more of them (that don't come with the distro), you have to also edit the prefdm (I think) and the xinit (I think) scripts, as well. The script I wrote only put the appropriate name into the file /etc/sysconfig/desktop, which is read by prefdm and xinit. I don't remember the locations of those two files.. I think one is /etc/X11/prefdm and I'm not quite sure where the other is... I think it may be in /usr/local/X11/bin or something.. (I don't have X installed on the linux machine here at home)

With that said, would you still like the script? http://www.linuxnewbie.org/ubb/smile.gif

------------------
TheLinuxDuck
Wait... that's a penguin?!?!?
:wq

kmj
10-12-2000, 04:24 PM
prefdm? what's that?

sure... if it's convenient.

TheLinuxDuck
10-12-2000, 04:40 PM
Yea, prefdm is at /etc/X11. Now, I don't know if it even gets used.. I never saw anyplace that called it, but I found it had parsing for the desktop file in it, so I edited it too..

Can you do me a favor? Can you email me or post your xinit file? (Which, I believe is in /usr/X11R6/bin) And, can you tell me if this is in fact the correct location of the file?

The original script I wrote just goes off of an array in the script for what desktops are available.. if you will post me the xinit file, I'll write the script so that it parses that file to determine what scripts are available. Qool?

Or do you just want the simpler version?

------------------
TheLinuxDuck
Wait... that's a penguin?!?!?
:wq

[This message has been edited by TheLinuxDuck (edited 12 October 2000).]

kmj
10-12-2000, 07:09 PM
Nah, don't even worry about it. I was just too lazy to figure out how mandrake sets everything up; there aren't any config files in my directory. I took a look at /etc...xinitrc and got the names of all the different Window Managers, so I can start them myself and see how they look.


...So far, I haven't seen anything to make me want to stop using kwm...