sxmo-utils: patch to preserve 105 key layout after menu manipulation

This commit is contained in:
Colin 2023-05-19 08:03:24 +00:00
parent c748de74a0
commit 3b5d08f808
2 changed files with 10 additions and 0 deletions

View File

@ -25,6 +25,9 @@ stdenv.mkDerivation rec {
sed -i "s@/etc/profile\.d/sxmo_init.sh@$out/etc/profile.d/sxmo_init.sh@" scripts/core/*.sh
sed -i "s@/usr/bin/@@g" scripts/core/sxmo_version.sh
sed -i 's:ExecStart=/usr/bin/:ExecStart=/usr/bin/env :' configs/superd/services/*.service
# on devices where volume is part of the primary keyboard, we want to avoid overwriting the default map
cp ${./en_us_105.xkb} configs/xkb/xkb_mobile_normal_buttons
'';
installFlags = [

View File

@ -0,0 +1,7 @@
xkb_keymap {
xkb_keycodes { include "evdev+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete" };
xkb_symbols { include "pc+us+inet(evdev)" };
xkb_geometry { include "pc(pc105)" };
};