openbsd推荐cwm窗口管理

秀秀桌面并和大家分享一下自己的经验。

版主: lionux天地乾坤

回复
头像
lionux
锌 Zn
帖子: 457
注册时间: 2010-02-04 11:09

openbsd推荐cwm窗口管理

帖子 lionux » 2010-02-06 8:50

以前在cu发的转到这里
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
图片

头像
leo
帖子: 2465
注册时间: 2010-01-21 3:27

帖子 leo » 2010-02-07 1:31

lionux 写了:以前在cu发的转到这里
opbsd自带的,与openbsd一样简单实用,配置文件cwmrc,例
~ # cat .xinitrc
......
Lionux兄写个4.6下配置中文输入法的教程吧,这样可以方便一下我们这样的菜鸟。

zdslua
钛 Ti
帖子: 23
注册时间: 2010-01-27 8:53

帖子 zdslua » 2010-02-09 16:34

支持一下,多多学习!!

回复

在线用户

正浏览此版面之用户: 没有注册用户 和 3 访客