From f8363576f7eaf92c9e4c3a6e9323fa2535eb4c88 Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Sat, 6 Apr 2024 10:35:48 +0200 Subject: Update xorg configuration for keyboards --- install.sh | 8 ++++++++ keyboards/etc/X11/xorg.conf.d/sofle.conf | 3 --- keyboards/etc/X11/xorg.conf.d/typematrix.conf | 5 +---- 3 files changed, 9 insertions(+), 7 deletions(-) create mode 100755 install.sh diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..57a2f89 --- /dev/null +++ b/install.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +echo "Installation du layout bépo pour le clavier typematrix" +install -m 644 keyboards/etc/X11/xorg.conf.d/typematrix.conf /etc/X11/xorg.conf.d +install -m 644 keyboards/etc/X11/xorg.conf.d/sofle.conf /etc/X11/xorg.conf.d + +echo "Driver udev pour flipperzero" +install -m 644 flipperzero/etc/udev/rules.d/42-flipperzero.rules /etc/udev/rules.d diff --git a/keyboards/etc/X11/xorg.conf.d/sofle.conf b/keyboards/etc/X11/xorg.conf.d/sofle.conf index 1ba31e3..facdf54 100644 --- a/keyboards/etc/X11/xorg.conf.d/sofle.conf +++ b/keyboards/etc/X11/xorg.conf.d/sofle.conf @@ -8,10 +8,7 @@ Section "InputClass" # Le nom de périphérique correspond au nom que l'on a donné via udev # MatchDevicePath "/dev/input/typematrix*" - Driver "evdev" - # On choisit la disposition fr-bépo - Option "XkbRules" "xorg" Option "XkbModel" "pc105" Option "XkbLayout" "fr" Option "XkbVariant" "bepo" diff --git a/keyboards/etc/X11/xorg.conf.d/typematrix.conf b/keyboards/etc/X11/xorg.conf.d/typematrix.conf index 79f0994..503aa9f 100644 --- a/keyboards/etc/X11/xorg.conf.d/typematrix.conf +++ b/keyboards/etc/X11/xorg.conf.d/typematrix.conf @@ -9,11 +9,8 @@ Section "InputClass" # Le nom de périphérique correspond au nom que l'on a donné via udev # MatchDevicePath "/dev/input/typematrix*" - Driver "evdev" - # On choisit la disposition fr-bépo - Option "XkbRules" "xorg" Option "XkbModel" "pc105" - Option "XkbLayout" "fr" + Option "XkbLayout" "fr" Option "XkbVariant" "bepo" EndSection -- cgit v1.2.3