Operating Systems > Linux and UNIX

I love Linux/Unix

<< < (2/2)

beltorak0:
I created a small script to switch window managers in slackware.  Basically, for each script in "/etc/X11/xinit/xinitrc.*" it creates a menu item for it, and displays the menu.  The choice you select will be saved in "~/.wmrc" and a symlink is created from the executable script -> "~/.xinitrc".  then it runs "startx" which first looks for "~/.xinitrc" and runs it.  The next time it is run, "~/.wmrc" is used to set the default menu selection.  It can be deleted safely (I haven' t mod'd it yet to check for errors).  If you have an original "~/.xinitrc" it is moved to "~/.xinitrc.old" and moved back upon exiting the window manager.

enough blab.


--- Code: ---
--- End code ---

drop it in "/usr/local/bin"; call it "x" for kicks.

-t. -- the skr1p+ k1dd13 vv4nn4b3

[ December 17, 2002: Message edited by: beltorak0 ]

Navigation

[0] Message Index

[*] Previous page

Go to full version