Chinaunix

标题: openbsd推荐cwm窗口管理 [打印本页]

作者: Lionux    时间: 2010-01-22 19:02
标题: openbsd推荐cwm窗口管理
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
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/71357/showart_2158004.html
作者: using9    时间: 2010-06-15 11:40
4.7自带fvwm,默认配置还是不错滴
作者: 我要盗版    时间: 2011-03-08 13:17
顶一下..在学习...{:2_176:}




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2