sxmo-utils: patch to preserve 105 key layout after menu manipulation
This commit is contained in:
parent
c748de74a0
commit
3b5d08f808
|
@ -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@/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@/usr/bin/@@g" scripts/core/sxmo_version.sh
|
||||||
sed -i 's:ExecStart=/usr/bin/:ExecStart=/usr/bin/env :' configs/superd/services/*.service
|
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 = [
|
installFlags = [
|
||||||
|
|
7
pkgs/additional/sxmo-utils/en_us_105.xkb
Normal file
7
pkgs/additional/sxmo-utils/en_us_105.xkb
Normal 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)" };
|
||||||
|
};
|
Loading…
Reference in New Issue
Block a user