fabi1cazenave / qwerty-lafayette

QWERTY keyboard layout for French-speaking users
https://qwerty-lafayette.org/
107 stars 65 forks source link

Qwerty Lafayette on Fedora Silverblue or other Immutable base OS #93

Open zloak opened 2 years ago

zloak commented 2 years ago

Recently tried Fedora Silverblue. Problem with the installation script is that it tries to write in /usr/share/X11/xkb which is part of the immutable OS and is read only.

I found a work around but maybe there is a way to integrate that in the script. Here is the workaround:

  1. I created a folder $HOME/.config/xkb/
  2. I created subfolders $Home/.config/xkb/rules/ and $HOME/.config/xkb/symbols/
  3. I copied /usr/share/X11/xkb/rules/evdev.xml and /usr/share/X11/xkb/rules/base.xml in $Home/.config/xkb/rules/
  4. I ran touch $HOME/.config/xkb/symbols/fr to create the file
  5. In the python script to install qwerty-lafayette I changed the XKB variable to $HOME/.config/xkb

That's it just run the python script.

Edit: You also need to run setxkbmap -v -I$HOME/.config/xkb

for the layout folder to be found in Gnome settings.

Also you still need to use the other workaround that allows you to use this layout with Wayland on Gnome 40 that I explained other here.

Let me know if that also works for you if you are playing around with Fedora Silverblue/Kinoite or other immutable os.

taratatach commented 1 year ago

Oh great, I was looking for a way to install the layout on Fedora Silverblue! :smile:

@zloak Do you need to run setxkbmap every time you log in? Does the layout work in graphical applications such as Firefox?