Closed r0d0lphe closed 1 month ago
@r0d0lphe Do you have a resource in the web that describes that code:10 is the same as pressing 1 and so on?
To clarify the problem - and it applies to ALL WM under Linux - you need to understand the layout of a French keyboard (AZERTY).
As a result, you can either configure the keys like this:
Here are two links explaining the problems of the French keyboard: https://rherault.dev/articles/hyprland-fr-layout and https://www.reddit.com/r/linuxquestions/comments/16sylor/need_help_about_using_hyprland_with_a_azerty/
I hope I've answered your question.
Best regards,
@r0d0lphe Thank you so much for sharing the insights. I have created a dedicated keybinding variation for the french keyboard layout.
You can copy the file into your .config/hypr/conf/keybindings folder and select it with the ML4W Settings App.
Can you test it and give me feedback? Will be added into the next version and will be activated automatically when the user selects a french keyboard layout during the installation.
I've just tested the modifications. It's correct on the whole, but there's just a key reversal between 6 and 7. This is due to an error on https://rherault.dev/articles/hyprland-fr-layout, sorry.
The keys should be coded as follows:
# Workspaces
bind = $mainMod, ampersand, workspace, 1 # Open workspace 1
bind = $mainMod, eacute, workspace, 2 # Open workspace 2
bind = $mainMod, quotedbl, workspace, 3 # Open workspace 3
bind = $mainMod, apostrophe, workspace, 4 # Open workspace 4
bind = $mainMod, parenleft, workspace, 5 # Open workspace 5
--> bind = $mainMod, minus, workspace, 6 # Open workspace 6
--> bind = $mainMod, egrave, workspace, 7 # Open workspace 7
bind = $mainMod, underscore, workspace, 8 # Open workspace 8
bind = $mainMod, ccedilla, workspace, 9 # Open workspace 9
bind = $mainMod, agrave, workspace, 10 # Open workspace 10
To be reproduced on the “move active windows to workspace x” and “move all windows to workspace x” functions.
Best regards,
@r0d0lphe Thank you so much for testing. Wir change it accordingly.
@r0d0lphe Updated on main branch.
Using workspaces
With the default configuration, the French keyboard doesn't work. So I've modified the
default.conf
file to solve this problem. I simply copied thedefault.conf
file tofrench.conf
and made the following changes.Changes made
Just change this configuration :
Replace by this :
I made the same changes for the functions “Move active window to workspace x” and “Move all windows to workspace x”.
Best regards,