LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Windows Managers (https://www.linuxquestions.org/questions/linux-software-2/windows-managers-469482/)

metallica1973 07-31-2006 03:50 PM

Windows Managers
 
I am using SUSE 10 and would like to know what file it is that control the windows manager that comes up when you login and you can choose what X desktop you get use. My default is Window Maker and I want to change the default to gnome or KDE and how would you start gnome or KDE from the command prompt?

tangle 07-31-2006 04:37 PM

The easiest way is to edit or create an .xinitrc file in your home directory. Then add/remove startkde to it or startgnome(I think).

metallica1973 07-31-2006 08:39 PM

I looked for that file and did not find in my home directory. I am using SUSE 10. I used ls -al /home/XXXXX and there was not a .xinitrc anywhere! Any other suggestions.

tangle 07-31-2006 08:51 PM

You can create it. I'll post mine.

Code:

#!/bin/sh
# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then
    xrdb -merge $sysresources
fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f $userresources ]; then
    xrdb -merge $userresources
fi

if [ -f $usermodmap ]; then
    xmodmap $usermodmap
fi

# Start up stuff for X

# Start fbpanel
#fbpanel &

# Start Rox file manager
#rox-desktop &

# Rox filer to display icons on desktop
#rox-desktop --pinboard=PIN &

# Background image from file
# display -dispose Background -window root /home/tangle/.wallpaper/cradle.jpg

# Start the window manager:
#startkde
startfluxbox
#exec openbox

# Start Idesk desktop icon program
#nohup idesk > /dev/null &


metallica1973 08-01-2006 09:19 AM

good stuff!!


All times are GMT -5. The time now is 09:41 AM.