LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: monster

有人用过TWM的吗? 知道怎么让它支持中文?

[复制链接]
发表于 2004-5-14 19:43:34 | 显示全部楼层

回复: FluxBox 也不怎么样, 以前好象用过了...

最初由 monster 发表
感觉还是大, 尽管它比KDE的WM小很多.
编译的时候时间比TWM长, 东西也多, 但是也不错,可以支持中文, 只可惜,是需要自己修改菜单做到这一点...呵呵...继续顶, 我希望顶楼的问题有个答案...


你的这个fluxbox配置的不错,能不能共享一下配置文件啊
呵呵
发表于 2004-6-10 09:05:48 | 显示全部楼层
可以的在~/下建立:.twmrc
加入:
NoGrabServer
     16 RestartPreviousState
     17 DecorateTransients
     18
     19 #TitleFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"
     20 TitleFont "-sony-fixed-*-*-*-*-16-*-*-100-*-*-*-*,-misc-si                                msun-medium-r-*-*-16-*-*-*-*-*-*-*"
     21 #ResizeFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"
     22 ResizeFont "-sony-fixed-*-*-*-*-16-*-*-100-*-*-*-*,-misc-si                                msun-medium-r-*-*-16-*-*-*-*-*-*-*"
MenuFont "-sony-fixed-*-*-*-*-16-*-*-100-*-*-*-*,-misc-si                                msun-medium-r-*-*-16-*-*-*-*-*-*-*"
     25 #IconFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*"
     26 IconFont "-sony-fixed-*-*-*-*-16-*-*-100-*-*-*-*,-misc-si                                msun-medium-r-*-*-16-*-*-*-*-*-*-*"
     27 #IconManagerFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*"
     28 IconManagerFont "-sony-fixed-*-*-*-*-16-*-*-100-*-*-*-*,-misc-si                                        msun-medium-r-*-*-16-*-*-*-*-*-*-*"
     29 #ClientBorderWidth
     30
     31 Color
     32 {
     33     BorderColor "slategrey"
     34     DefaultBackground "rgb:2/a/9"
     35     DefaultForeground "gray85"
     36     TitleBackground "rgb:2/a/9"
     37     TitleForeground "gray85"
     38     MenuBackground "rgb:2/a/9"
     39     MenuForeground "gray85"
MenuTitleBackground "gray70"
     41     MenuTitleForeground "rgb:2/a/9"
     42     IconBackground "rgb:2/a/9"
     43     IconForeground "gray85"
     44     IconBorderColor "gray85"
     45     IconManagerBackground "rgb:2/a/9"
     46     IconManagerForeground "gray85"
     47 }
     48
     49 #
     50 # Define some useful functions for motion-based actions.
     51 #
     52 MoveDelta 3
     53 Function "move-or-lower" { f.move f.deltastop f.lower }
     54 Function "move-or-raise" { f.move f.deltastop f.raise }
     55 Function "move-or-iconify" { f.move f.deltastop f.iconify }
Button1 = : root : f.menu "defops"
     61
     62 Button1 = m : window|icon : f.function "move-or-lower"
     63 Button2 = m : window|icon : f.iconify
     64 Button3 = m : window|icon : f.function "move-or-raise"
     65
     66 Button1 = : title : f.function "move-or-raise"
     67 Button2 = : title : f.raiselower
     68
     69 Button1 = : icon : f.function "move-or-iconify"
     70 Button2 = : icon : f.iconify
     71
     72 Button1 = : iconmgr : f.iconify
     73 Button2 = : iconmgr : f.iconify
menu "defops"
     79 {
     80 "Twm"   f.title
     81
     82 #Menu "rograme"        {
     83 #                       Opera  f.exec "exec opera&"
     84 #               }               
     85         "Iconify"       f.iconify
     86 "Resize"        f.resize
     87 "Move"          f.move
     88 "Raise"         f.raise
     89 "Lower"         f.lower
     90 ""              f.nop
     91 "Focus"         f.focus
     92 "Unfocus"       f.unfocus
     93 "Show Iconmgr"  f.showiconmgr
     94 "Hide Iconmgr"  f.hideiconmgr
     95 ""              f.nop
     96 "Xterm"         f.exec "exec xterm &"
     97 ""              f.nop
     98 "Kill"          f.destroy
"Delete"        f.delete
    100 ""              f.nop
    101 "Restart"       f.restart
    102 "Exit"          f.quit
    103 }
前面的数字是在vim 中加的请去掉。
发表于 2004-6-10 10:43:44 | 显示全部楼层
意思是说,菜单里不能出现中文,否则出错。
不知道为什么。
我试过的。
发表于 2004-6-10 11:12:12 | 显示全部楼层
twm还是太简陋了一点,还是fluxbox好啊,
fvwm的配置确实过于复杂了
发表于 2004-6-10 11:14:12 | 显示全部楼层
最初由 mrzhu 发表
twm还是太简陋了一点,还是fluxbox好啊,
fvwm的配置确实过于复杂了
\
twm我还是很久以前用redhat的时候玩过一次.
show一下我的fluxbox吧,

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2004-6-10 16:56:53 | 显示全部楼层
fluxbox就一点不好。RealPlayer-0.3.0.120
这个不能全屏幕播放。
发表于 2004-6-10 17:13:53 | 显示全部楼层
最初由 mrzhu 发表
\
twm我还是很久以前用redhat的时候玩过一次.
show一下我的fluxbox吧,


BTW: 兄弟上面的是什么监测软件?
发表于 2004-6-10 18:49:39 | 显示全部楼层
我的fluxbox:



发表于 2004-6-10 20:39:39 | 显示全部楼层
torsmo,我贴在了slackware版
发表于 2004-6-10 20:42:29 | 显示全部楼层
最初由 AMD-K6 发表
BTW: 兄弟上面的是什么监测软件?


http://www.linuxsir.cn/bbs/attachment.php?s=&postid=675160
包里面有一个配置文件的sample
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表