The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
0

disable Menu key action and use it as i3bar modifier

asked 2013-05-16 19:14:15 +0000

raoof gravatar image

hi everybody

I set my Menu key to Mod3 with xmodmap -e 'add mod3 = Menu'

and then set i3bar modifier to Mod3 and it's works fine

the problem is that it still bring up the focused program menu

how can I disable it's action ( but not i3bar action of course )

thanks

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
2

answered 2013-05-24 10:28:35 +0000

vandannen gravatar image

I got my i3bar configured to use the Menu key. Therefore, I also added the Menu key to mod3. Afterwards, you also need to change the keysym of the Menu key to prevent the contextmenu action. This worked for me: xmodmap -e "keysym Menu = Hyper_L". Maybe you need to additionally remove Hyper_L from other modifiers to make this work.

edit flag offensive delete link more
0

answered 2013-05-16 20:46:29 +0000

sLite gravatar image

my solution to that problem:

http://imgur.com/V4T6GD6

but my case was a bit more tricky, i have a "FN" key instead of windows key on the left side and that "FN" doesn't send a keycode. So i wired it to the windows key on the left side :D

Only possible with keyboards that have hardware switches obviously. Quite hard to do that on a rubberdome keyboard.

edit flag offensive delete link more

Comments

:D I don't think I would do that to my laptop

raoof gravatar imageraoof ( 2013-05-16 21:03:01 +0000 )edit

Question Tools

Stats

Asked: 2013-05-16 19:14:15 +0000

Seen: 442 times

Last updated: May 24 '13