Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
different kep mappings for different keyboards
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Javran
n00b
n00b


Joined: 18 Nov 2013
Posts: 20

PostPosted: Thu May 15, 2014 5:00 am    Post subject: different kep mappings for different keyboards Reply with quote

Hi,

I have a laptop that binds physical caps lock to control key, and physical control key to "Hyper" key.
And I use xmodmap to do the trick:

Code:

clear lock
clear control
clear mod1
clear mod3
clear mod4

keycode 37 = Hyper_L
keycode 66 = Control_L

add mod1 = Alt_L

add control = Control_L
add control = Control_R

add mod3 = Hyper_L
add mod3 = Hyper_R

add mod4 = Super_L
add mod4 = Super_R


For now this setting applies to both my laptop keyboard and an external keyboard and both of them works fine.

But I'm considering purchasing a HHKB pro2, which has its control key places on the place where a caps lock usually takes.
(see the keyboard layout here: https://elitekeyboards.com/proddata/doc/hhkbp2_basic_layout.png)
So I cannot apply the same config on this keyboard and need a separate keyboard config for this keyboard.

Is xmodmap capable of doing this? Or can you recommend me some othre solutions? Thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum