gigel Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/17568774133ecdc4fac2587.gif)
Joined: 14 Jan 2003 Posts: 370 Location: .se/.ro
|
Posted: Sun Jul 14, 2024 11:36 am Post subject: plasma/wayland keyboard remapping similar to xmodmap? |
|
|
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
![Very Happy :D](images/smiles/icon_biggrin.gif) |
|