LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 02-25-2006, 03:54 PM   #1
Tux
Member
 
Registered: Jan 2006
Distribution: Slackware and Blag
Posts: 36

Rep: Reputation: 15
changing desktop manager and window manager


How do I change the desktop and/or window manager that X boots when I use startx. On slackware you can use xwmconfig to easily change it, but I have yet to find how to do it in fedora 4. any help welcomed.
 
Old 02-25-2006, 08:19 PM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Review; man switchdesk
 
Old 04-04-2006, 10:45 AM   #3
enzlop
LQ Newbie
 
Registered: Nov 2005
Posts: 23

Rep: Reputation: 15
I'm trying to do the same. man switchdesk, didn't work. Someone has another idea.

Regards,

Enzo
 
Old 04-04-2006, 11:42 AM   #4
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Most distros come with switchdesk, if your distro does not then find the information (read the release notes or visit the web site for your distro for this info).

Basically switchdesk is used to switch the default desktop as in; switchdesk KDE

Sometimes you may have to manually edit the ~.xclients and/or ~.xclients-default file and state which desktop to use, example;

Code:
WM="startkde"
WMPATH="/usr/bin /opt/bin /usr/local/bin /usr/X11R6/bin"

for p in $WMPATH ; do
	[ -x $p/$WM ] && exec $p/$WM
done

exit 1
 
Old 04-04-2006, 01:56 PM   #5
enzlop
LQ Newbie
 
Registered: Nov 2005
Posts: 23

Rep: Reputation: 15
Finally I found the file .desktop at $HOME.
This is the contents:
DESKTOP=mwm

This is the way to choose the window manager. After this file is read in the file Xsession.
This is the part of the file:


if type -p "$DESKTOP" > /dev/null; then
exec /bin/sh -c "$DESKTOP"
else
exec /bin/sh -c "$(/usr/sbin/chksession -x=$DESKTOP)"
fi

Now I have a new problem.... when I put mwm as my window manager the system initialize good but after a seconds it hangs, like waiting for something else. BUT when I restart in text mode and I excecute xinit and after from the terminal windows opened mwm& all works OK!!

Some have any idea.

Enzo
 
  


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
changing window manager sh4d0w13 Debian 1 03-14-2005 01:12 PM
Changing Window Manager eam Linux - Software 2 10-04-2004 11:00 PM
changing desktop environment/window manager ?? marlor Slackware 1 06-19-2004 12:26 PM
Changing Window Manager downinthemine Linux - Newbie 11 08-03-2003 09:10 PM
Changing your Window Manager nigma Linux - Software 6 05-05-2003 02:03 PM


All times are GMT -5. The time now is 12:07 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration