Submitted by Anonymous on Sun, 03/03/2002 - 10:43. General Questions
When I install motif on redhat7.1,should I change my window manager from gnome to mwm?
And how can I make this?
Who can help me?
Forgive my ingnorance,I am new one!
Wed, 06/27/2012 - 11:57
#1
Should I Change window manager?
you don`t need to change your window manager. Open Motif works fine with any window manager/toolkit. But if you do want to change to mwm, you just need to create a file called .xinitrc in your home directory with the path to whatever window manager you want to use. For mwm, it would be one line that looks like
/usr/X11R6/bin/mwm
that will start mwm the next time you start X.
Hope this helps.
(d)
I really apreciate your help very much.
Thanks a lot!
Wait Don`t hack your /etc/X11 unix distribution files yet.
You have two easier alternatives.
You can switch beteen sawmill and mwm at your pleasure from Gnome`s desktop manager preferences.
Another way
If your using `gmd` (Gnome Login) you can simply choose X session and that`s boot your .xinitrc (which has the line `mwm &` somewhere in it ) Somewher in /var or /etc their
/etc/gdm/Sessions$ls
Debian Default Gnome Mwm Xsession
Copy Xsession to Mwm and adjust it to your preference. Mwm will now be in the gdm login menu.
You`ll prefer a .Xdefaults file too. OpenMotif has some default ones to choose from as well as an `ok` .xinit file that is required. Don`t clobber your old ~/.xinit file if you have one - back it up - you may have to merge them to get the best of both.
Another way use xmd. I actually *love* this as it rids my multiple home directory (w/nfs or rsync) and multiple-desktop/login problems (the problems you get when you want one X login and account from any computer without having several computers to back up). But I`ll admitt its old, hard to setup, not well supported, and clunky. But it does its job nice.
Lasly, you`ll have to hack at your distribution a bit it you want to launch X with your .xinit prefered over your distributions `idea` of how to load an X dm.