Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
plasma/wayland keyboard remapping similar to xmodmap?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
gigel
Guru
Guru


Joined: 14 Jan 2003
Posts: 370
Location: .se/.ro

PostPosted: Sun Jul 14, 2024 11:36 am    Post subject: plasma/wayland keyboard remapping similar to xmodmap? Reply with quote

hi all,

i'm trying to fix my keyboard under plasma/wayland to allow simple key combination to generate unicode characters similar to the .xmodmap file below
Code:

[clear Mod4
keycode 27 = r R Greek_rho Greek_omega
keycode 28 = t T U021B Greek_tau
keycode 29 = y Y thorn Greek_theta
keycode 30 = u U udiaeresis uacute
keycode 31 = i I icircumflex iacute
keycode 133 = Mode_switch
add Mod4 = Mode_switch

so basically by pressing windows key + u -> udiaeresis will be generated, and so on.

i've been trying to achieve this with xkb, editing an already existing symbols file, and then trying to add the windows key as an alternate modifier key.. but this does not work.. or at least i couldn't properly set this up.
searching the internet it seems that no simple answer exists for wayland as it is for xorg.. hence, i'm asking the question here..
thanks all[/bug]
_________________
$emerge sux
:D
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