LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   gnome and xwmconfig (https://www.linuxquestions.org/questions/slackware-14/gnome-and-xwmconfig-232961/)

paul62 09-20-2004 11:39 AM

gnome and xwmconfig
 
I have slackware 9.1 and am using the kde desktop gnome is installed but is not showing up in the xwmconfig how could I correct this so I can use gnome?

MykilX 09-20-2004 01:02 PM

The only time i had the problem of gnome not showing up in xwmconfog was when i tried dropline. For some reason it didn't put i file in /etc/X11/xinit/
Pretty easy to fix though create the file /etc/X11/xinit/xinitrc.gnome

in that file put this;

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

# This nag screen isn't going to save anybody.
export NAUTILUS_OK_TO_RUN_AS_ROOT=1

# Start the window manager:
exec gnome-session

you'll have to be root. After you create and save the file make it executable chmod +x xinitrc.gnome

should be good to go after that.


All times are GMT -5. The time now is 06:22 AM.