LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 2593|回复: 4

修改什么文件改变默认的window manager?

[复制链接]
发表于 2003-3-12 21:53:18 | 显示全部楼层 |阅读模式
slackware8.1。请执教~谢谢!
发表于 2003-3-12 22:34:46 | 显示全部楼层
运行xwmconfig
发表于 2003-3-13 09:51:33 | 显示全部楼层
比如你要使用gnome
$ vi ~/.xinitrc
exec gnome-session

你要使用kde
$ vi ~/.xinitrc
exec startkde

你要使用WindowMaker
$ vi ~/.xinitrc
exec wmaker
发表于 2004-10-13 14:54:59 | 显示全部楼层
root@yttlovezxx:/redhat/download/usr# cat ~/.xinitrc
#!/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

# If the user lacks $HOME/GNUstep, install it:
if [ ! -f $HOME/GNUstep/Defaults/WindowMaker ]; then
    wmaker.inst
fi

# Test for cpp, which wmaker uses to process config files:
if [ ! -x /usr/bin/cpp ]; then
  NOCPP="--no-cpp"
fi

# Start the window manager:
exec /usr/bin/wmaker $NOCPP



why mine is like this????
 楼主| 发表于 2004-10-13 15:23:14 | 显示全部楼层
哇,兄弟你考古啊?连我发的这贴都挖出来了?!

ps:你的这个.xinitrc是用的vmaker,
exec /usr/bin/wmaker $NOCPP
前面主要是一些判断语句
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表