opbsd自带的,与openbsd一样简单实用,配置文件cwmrc,例
~ # cat .xinitrc
#!/bin/sh
#export LANG=zh_CN.UTF-8
export XMODIFIERS='@im=SCIM'
export GTK_IM_MODULE=scim
export QT_IM_MODULE=scim
eval `cat ~/.fehbg` &
#xclock -geometry -0+0 -digital -update 1&
xsetroot -solid black &
xclock -geometry -0+0 -d -strftime '%H:%M %b %d %Y' -update 1 &
exec cwm
~ # cat .cwmrc
# Turn on sticky-group mode
sticky yes
# Autogroup definitions 窗口分组 C+A+n(数字) 显示/隐藏
autogroup 3 "xmms"
autogroup 1 "firefox"
# Any entry here is shown in the application menu 鼠标右键菜单
command firefox firefox
command rox rox
command gvim gvim
command wallpaper "feh -g 640x480 -d -S filename /home/wallpaper"
gap 30 0 0 0 全屏时的范围四个数对应上下左右,为了不挡住时钟
# Ignore programs by that name by not drawing borders around them. 切换窗口时忽略的窗口程序
ignore xclock
# Keybindings 键盘快捷 4=win键
#bind 4-q quit
bind 4-f firefox
bind 4-v gvim
bind 4-r rox
~ # cat .xinitrc
#!/bin/sh
#export LANG=zh_CN.UTF-8
export XMODIFIERS='@im=SCIM'
export GTK_IM_MODULE=scim
export QT_IM_MODULE=scim
eval `cat ~/.fehbg` &
#xclock -geometry -0+0 -digital -update 1&
xsetroot -solid black &
xclock -geometry -0+0 -d -strftime '%H:%M %b %d %Y' -update 1 &
exec cwm
~ # cat .cwmrc
# Turn on sticky-group mode
sticky yes
# Autogroup definitions 窗口分组 C+A+n(数字) 显示/隐藏
autogroup 3 "xmms"
autogroup 1 "firefox"
# Any entry here is shown in the application menu 鼠标右键菜单
command firefox firefox
command rox rox
command gvim gvim
command wallpaper "feh -g 640x480 -d -S filename /home/wallpaper"
gap 30 0 0 0 全屏时的范围四个数对应上下左右,为了不挡住时钟
# Ignore programs by that name by not drawing borders around them. 切换窗口时忽略的窗口程序
ignore xclock
# Keybindings 键盘快捷 4=win键
#bind 4-q quit
bind 4-f firefox
bind 4-v gvim
bind 4-r rox
[版权声明]BSD爱好者乐园站内文章,如来源不是互联网,则均系原创或翻译之作,可随意转载,或以此为基础进行演译,但务必以链接形式注明原始出处和作者信息,否则属于侵权行为。另对本站转载他处文章,俱有说明,如有侵权请联系本人,本人将会在第一时间删除侵权文章。
TAG: openbsd OpenBSD 桌面 cwm
