How to set keybindings for multiple languages #2453
Replies: 2 comments
-
This depends on how you switch keyboard in general. GNOME folks broke this years ago and I had to abandon gnome-settings-daemon because of that. I set up 3 layouts with |
Beta Was this translation helpful? Give feedback.
-
Hi @AmitGolden, translation = {
'e' : 'hebrew_kuf',
'f' : 'hebrew_kaph',
'n' : 'hebrew_nun',
'r' : 'hebrew_resh',
's' : 'hebrew_dalet',
'q' : 'slash',
'w' : 'apostrophe',
}
import copy
def translate_key(key):
key = copy.copy(key)
key.key = translation[key.key]
return key
keys += [translate_key(key) for key in keys if key.key in translation] using the names for the keys from here. Not sure it's the best or easiest way, but it's working! :) |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm a GNOME user and I have been looking into Qtile for quite some time.
I use Hebrew and English on a regular basis, but when I'm in Hebrew, my English keybinds won't work.
Is there a way to set keybindings for multiple languages, without setting each keybind twice, for every language?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions