Chinaunix首页 | 论坛 | 博客
  • 博客访问: 11747
  • 博文数量: 3
  • 博客积分: 1456
  • 博客等级: 上尉
  • 技术积分: 40
  • 用 户 组: 普通用户
  • 注册时间: 2008-06-13 09:39
文章分类

全部博文(3)

文章存档

2010年(1)

2009年(1)

2008年(1)

我的朋友

分类: BSD

2010-01-22 19:02:03

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
阅读(1183) | 评论(0) | 转发(0) |
0

上一篇:PCBSD 7.1.1

下一篇:没有了

给主人留下些什么吧!~~