当前位置: 主页 > 操作系统 > FreeBSD > 在Openbsd系统中管理cwm窗口

在Openbsd系统中管理cwm窗口

时间:2010-9-1来源:互联网 点击:
cwm在openbsd中自带的,与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
站长资讯网
. TAG: Openbsd CWM窗口管理
推荐内容最近更新人气排行
关于我们 | 友情链接 | 网址推荐 | 常用资讯 | 网站地图 | RSS | 留言