You are not logged in.

#1 2012-03-15 22:19:51

ezzetabi
Member
Registered: 2006-08-27
Posts: 947

[solved] Assigning the Multi_key to Alt+Super4 ?

Is there a way to threat the pressure of both Alt and of the Windows Flag key as the Multi_key?

I know I can use xmodmap to change the meaning of a key, but I do not know if you can use it this way.

Last edited by ezzetabi (2012-03-17 19:16:40)

Offline

#2 2012-03-15 22:54:45

wolfcore
Member
From: California
Registered: 2012-03-06
Posts: 137

Re: [solved] Assigning the Multi_key to Alt+Super4 ?

Yes you can.

Offline

#3 2012-03-16 07:25:08

ezzetabi
Member
Registered: 2006-08-27
Posts: 947

Re: [solved] Assigning the Multi_key to Alt+Super4 ?

How?

Offline

#4 2012-03-16 08:45:22

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [solved] Assigning the Multi_key to Alt+Super4 ?

Use "xev" to determine which keycode your Windows key and Alt key map to.

Afterwards run a "xmodmap -pke" to determine which actions are currently assigned to each of the keycodes. And after that assign the action currently assigned to your Windows Key (usually something among the lines of "Super_L Nosymbol Super_L") to your Alt key as well.  Command to do this (assuming your Alt key maps to keycode 46):

# xmodmap -e "keycode  46 = Super_L Nosymbol Super_L"

Finally, save the changes as indicated here.


Burninate!

Offline

#5 2012-03-16 11:14:58

ezzetabi
Member
Registered: 2006-08-27
Posts: 947

Re: [solved] Assigning the Multi_key to Alt+Super4 ?

Thanks, I would add that to you need to complete with:

$ xmodmap -e "keysym Super_L NoSymbol Super_L = Multi_key"

Strangely enough it works fine pressing Alt + Super4, but not pressing Super4 + Alt... small thing.

Offline

Board footer

Powered by FluxBB