fvwm下的左右win键怎么设置
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
-
- 帖子: 627
- 注册时间: 2008-11-08 18:34
fvwm下的左右win键怎么设置
想把
左边win键设置为 Menu MenuFvwmRoot
右边win键设置为 WindowList
how?
(解决方法看9楼)
左边win键设置为 Menu MenuFvwmRoot
右边win键设置为 WindowList
how?
(解决方法看9楼)
上次由 gzbao9999 在 2009-07-08 14:35,总共编辑 1 次。
气血鼓荡,身体发胀,偶飘上头,三时舒畅
- O_O_BOT
- 帖子: 2461
- 注册时间: 2009-05-20 19:32
Re: fvwm下的左右win键怎么设置
irc <fvw> say: 似乎是统一处理的 mod4
irc 聊天室
ubuntu-cn 的irc 频道为
irc.ubuntu.com 8001 #ubuntu-cn
UTF8编码 可用 irssi xchat pidgin weechat 登录
http://webchat.freenode.net/?channels=ubuntu-cn
[url]irc://irc.freenode.net/ubuntu-cn[/url]
ubuntu-cn 的irc 频道为
irc.ubuntu.com 8001 #ubuntu-cn
UTF8编码 可用 irssi xchat pidgin weechat 登录
http://webchat.freenode.net/?channels=ubuntu-cn
[url]irc://irc.freenode.net/ubuntu-cn[/url]
-
- 帖子: 627
- 注册时间: 2008-11-08 18:34
-
- 帖子: 627
- 注册时间: 2008-11-08 18:34
- eexpress
- 帖子: 58428
- 注册时间: 2005-08-14 21:55
- 来自: 长沙
Re: fvwm下的左右win键怎么设置
☎ xmodmap
xmodmap: up to 3 keys per modifier, (keycodes in parentheses):
shift Shift_L (0x32), Shift_R (0x3e)
lock Caps_Lock (0x42)
control Control_L (0x25), Control_R (0x69)
mod1 Alt_L (0x40), Alt_R (0x6c), Meta_L (0xcd)
mod2 Num_Lock (0x4d)
mod3
mod4 Super_L (0xce), Hyper_L (0xcf)
mod5 ISO_Level3_Shift (0x5c), Mode_switch (0xcb)
这是修饰键,不单独使用的。
如果你有2个win按键,自己用xev测试键值。
缺省的,fvwm就是用4表示super按钮。
Key Left A 4 Move 0 w
xmodmap: up to 3 keys per modifier, (keycodes in parentheses):
shift Shift_L (0x32), Shift_R (0x3e)
lock Caps_Lock (0x42)
control Control_L (0x25), Control_R (0x69)
mod1 Alt_L (0x40), Alt_R (0x6c), Meta_L (0xcd)
mod2 Num_Lock (0x4d)
mod3
mod4 Super_L (0xce), Hyper_L (0xcf)
mod5 ISO_Level3_Shift (0x5c), Mode_switch (0xcb)
这是修饰键,不单独使用的。
如果你有2个win按键,自己用xev测试键值。
缺省的,fvwm就是用4表示super按钮。
Key Left A 4 Move 0 w
● 鸣学
- lerosua
- 论坛版主
- 帖子: 8455
- 注册时间: 2007-11-29 9:41
- 联系:
Re: fvwm下的左右win键怎么设置
等ee出来解答。
-
- 帖子: 627
- 注册时间: 2008-11-08 18:34
Re: fvwm下的左右win键怎么设置
还是不知怎设置
xev测得
keycode 133 (keysym 0xffeb, Super_L)
keycode 134 (keysym 0xffec, Super_R)
keycode 107 (keysym 0xff61, Print)
目的
Super_L 《------》 Menu MenuFvwmRoot
Super_R 《------》 WindowList
Print 《------》 Exec exec scrot
Key Super_L A 4 Menu MenuFvwmRoot
Key Super_R A 4 WindowList
Key Print A 4 Exec exec scrot
一个都没绑上
xev测得
keycode 133 (keysym 0xffeb, Super_L)
keycode 134 (keysym 0xffec, Super_R)
keycode 107 (keysym 0xff61, Print)
目的
Super_L 《------》 Menu MenuFvwmRoot
Super_R 《------》 WindowList
Print 《------》 Exec exec scrot
Key Super_L A 4 Menu MenuFvwmRoot
Key Super_R A 4 WindowList
Key Print A 4 Exec exec scrot
一个都没绑上
气血鼓荡,身体发胀,偶飘上头,三时舒畅
- eexpress
- 帖子: 58428
- 注册时间: 2005-08-14 21:55
- 来自: 长沙
-
- 帖子: 627
- 注册时间: 2008-11-08 18:34
Re: fvwm下的左右win键怎么设置
啊e 你错老
终于得偿所愿
Key Super_R A N WindowList
Key Super_L A N Menu MenuFvwmRoot
Key Print A N Exec exec scrot
Key Print A N Exec exec scrot(以这一行为例)
A 表示在桌面上任意位置
N Nothing不需要其他键得组合,需要得话可以替换为(A)ny, (C)ontrol, (S)hift, (M)eta
具体介绍看这儿
http://blog.chinaunix.net/u1/37261/show ... ?id=295532
昨天刚从icewm转到fvwm
还有一堆小问题要解决
我列举一下
1 新打开得窗口获得鼠标焦点(每次都要手动把鼠标移上去 太麻烦了)
解决方法:15楼的兄弟提供
2 f.Buttonstyle画出来得button 那个颜色很难看 还不会改 有没有办法也给伪透明了 退一步起码要换个颜色
解决方法:换了颜色
style * Colorset 42, HilightColorset 41 #Colorset 41在窗口获得焦点时生效,Colorset 42在窗口失去焦点时生效
#41得bg决定了title button的背景色 fg决定了title button的颜色(窗口focus时)
#42得bg决定了title button的背景色 fg决定了title button的颜色(窗口lose focus时)
Colorset 41 RootTransparent buffer, fg white, bg black, Tint cyan 15, bgTint cyan 15
Colorset 42 RootTransparent buffer, fg black, bg average, Tint blut 15, bgTint blut 15
3 thumbnail还没弄好
已解决
4 conky一会在最下面 一会又在上面
解决方法:own_window_type desktop
5 快捷键弹出WindowList Menu MenuFvwmRoot 用上下左右箭头移动得时候 鼠标也跟着动(没必要吗 碍眼)
习惯了
6 fvwmpager在设置为ontop的情况下,能否在有程序全屏的时候隐藏(比如:看电影时)
未解决
7 新问题 不让根窗口获得鼠标焦点(除非进行鼠标点击时,总是focus在窗口里才是我想要的)
已解决
style * SloppyFocus
8 ...慢慢还会有得
用fvwm得可以甩我两下
终于得偿所愿
Key Super_R A N WindowList
Key Super_L A N Menu MenuFvwmRoot
Key Print A N Exec exec scrot
Key Print A N Exec exec scrot(以这一行为例)
A 表示在桌面上任意位置
N Nothing不需要其他键得组合,需要得话可以替换为(A)ny, (C)ontrol, (S)hift, (M)eta
具体介绍看这儿
http://blog.chinaunix.net/u1/37261/show ... ?id=295532
昨天刚从icewm转到fvwm
还有一堆小问题要解决
我列举一下
1 新打开得窗口获得鼠标焦点(每次都要手动把鼠标移上去 太麻烦了)
解决方法:15楼的兄弟提供
2 f.Buttonstyle画出来得button 那个颜色很难看 还不会改 有没有办法也给伪透明了 退一步起码要换个颜色
解决方法:换了颜色
style * Colorset 42, HilightColorset 41 #Colorset 41在窗口获得焦点时生效,Colorset 42在窗口失去焦点时生效
#41得bg决定了title button的背景色 fg决定了title button的颜色(窗口focus时)
#42得bg决定了title button的背景色 fg决定了title button的颜色(窗口lose focus时)
Colorset 41 RootTransparent buffer, fg white, bg black, Tint cyan 15, bgTint cyan 15
Colorset 42 RootTransparent buffer, fg black, bg average, Tint blut 15, bgTint blut 15
3 thumbnail还没弄好
已解决
4 conky一会在最下面 一会又在上面
解决方法:own_window_type desktop
5 快捷键弹出WindowList Menu MenuFvwmRoot 用上下左右箭头移动得时候 鼠标也跟着动(没必要吗 碍眼)
习惯了
6 fvwmpager在设置为ontop的情况下,能否在有程序全屏的时候隐藏(比如:看电影时)
未解决
7 新问题 不让根窗口获得鼠标焦点(除非进行鼠标点击时,总是focus在窗口里才是我想要的)
已解决
style * SloppyFocus
8 ...慢慢还会有得
用fvwm得可以甩我两下
上次由 gzbao9999 在 2009-07-28 10:39,总共编辑 12 次。
气血鼓荡,身体发胀,偶飘上头,三时舒畅
-
- 帖子: 627
- 注册时间: 2008-11-08 18:34
-
- 帖子: 627
- 注册时间: 2008-11-08 18:34
- HuntXu
- 帖子: 5776
- 注册时间: 2007-09-29 3:09
- eexpress
- 帖子: 58428
- 注册时间: 2005-08-14 21:55
- 来自: 长沙
-
- 帖子: 817
- 注册时间: 2008-11-13 16:03
Re: fvwm下的左右win键怎么设置
ee
不是被他废,是你自己
不是被他废,是你自己
-
- 帖子: 21
- 注册时间: 2008-09-04 19:03
Re: fvwm下的左右win键怎么设置
新打开得窗口获得鼠标焦点 可用下面方法解决。
代码: 全选
*FvwmEvent-NewWindow: add_window FuncFocusWindow
DestroyFunc FuncFocusWindow
AddToFunc FuncFocusWindow
+ I Focus
+ I WarpToWindow 50 50