LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 10-19-2003, 04:18 AM   #1
Onemessedupjedi
Member
 
Registered: Sep 2003
Location: Oregon
Distribution: Slackware 9.1
Posts: 194

Rep: Reputation: 30
Ddifferent users, different window managers. Possible?


I have ruined my x so many times and it has caused me to re-install(for lack of knowledge) slackware sooo many times that I am not going to try this without some help. I really want to be able to use all the window managers when I want and I will be teaching my friends linux everychance I get so I would like to be able to show them different window managers without swithing distros. I think I remember a option or something like that in the bootup section of the KDE control panel. I am currently on my work's computer which runs windows so I can't check. I would wait and check the man files but I would not find it, I never have before without putting in the search terms I knew. I also searched the forums, unfortunantly it must be so easy that no one has asked it recently.

Thank you for any help, point me wherever if you know a good resource or walk me through it please. Even man page keywords would work.
 
Old 10-19-2003, 06:22 AM   #2
miknight
Member
 
Registered: Oct 2002
Location: Sydney, Australia
Distribution: Gentoo, Ubuntu, Debian
Posts: 184

Rep: Reputation: 30
You might wanna look into the uses of the files ~/.xinitrc and ~/.Xsession to speed you on your way.

For my Gentoo system I have many window managers installed. I boot to runlevel 3 so I my .xinitrc file (in my home dir) gives commands for X to run. The last command is the window manager to load. I have all of the WM's commented out except (of course) for the one I want to use. Here's the current content of my .xinitrc file:

Code:
#xgamma -gamma 1.2
xrdb -load .Xresources
numlockx on
#nvclock -m 479 -n 300
#xscreensaver &
#exec /usr/bin/fluxbox
#exec /usr/bin/enlightenment
#exec /usr/bin/xfce
#icewmbg &
#exec /usr/bin/icewm
#exec /usr/bin/afterstep
#exec /usr/bin/fvwm
#exec /usr/bin/sawfish
#exec /usr/bin/wmaker
exec /usr/bin/gnome-session
#exec xterm
Of course, distros behave differently so this is just a rough example.
 
Old 10-19-2003, 06:33 AM   #3
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,202

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
of course it's possilbe, i do it, you start by running switchdesk as the user you want to change the windowmanager) to create
~/.Xclients-default
(in case you are wondering that is in an invisible file int the user's home directory that tells what windowmanager to run as default for that user)
then if you need (the windowmanager isn't listed in switchdesk) then use the command:
echo exec *command to start windowmanager* > ~/.Xclients-default at that user's prompt
then restart X and login the user using the 'default'session' or login at the terminal as that user and type 'startx' (if running from a text-only login)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Window Managers vs Window Shell Environments DJOtaku Linux - General 7 08-09-2005 01:43 PM
Window Managers vs. Desktop Managers mikeshn Linux - General 4 02-11-2004 12:31 PM
Users, window managers, bootloaders and samba shares (oh my!) Korff Linux - General 1 06-14-2003 12:00 AM
Window Managers nuadastorm Linux - Software 2 06-03-2003 08:50 PM
where are my window managers yasasvi Linux - General 1 08-10-2002 01:52 PM


All times are GMT -5. The time now is 11:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration