@@ -1,3 +1,10 @@ | |||
siduction-scripts (2017.02.07) unstable; urgency=medium | |||
* only run fix-xkbmap on the first start | |||
* fixes #1921 - don't take the gatling ... | |||
-- Alf Gaida <agaida@siduction.org> Tue, 07 Feb 2017 22:38:28 +0100 | |||
siduction-scripts (2017.01.31) unstable; urgency=medium | |||
* ask if localectl and setxkbmap exists - if not exit silently |
@@ -0,0 +1,6 @@ | |||
siduction-scripts: binary-without-manpage usr/sbin/addpkg | |||
siduction-scripts: binary-without-manpage usr/bin/fix-xkbmap | |||
siduction-scripts: binary-without-manpage usr/sbin/live | |||
siduction-scripts: binary-without-manpage usr/bin/siduction-paste | |||
siduction-scripts: binary-without-manpage usr/bin/wgetpaste | |||
@@ -11,6 +11,9 @@ | |||
xkbmap=$(setxkbmap -query | grep layout | awk -F':' '{print $2}') | |||
locale=$(localectl | grep 'X11 Layout' | awk -F':' '{print $2}') | |||
if [ "$xkbmap" != "$locale" ]; then | |||
setxkbmap $locale; | |||
if [ ! -f "$HOME/.config/xkbfirstrun" ]; then | |||
setxkbmap $locale; | |||
touch "$HOME/.config/xkbfirstrun" | |||
fi | |||
fi | |||
@@ -1,4 +1,5 @@ | |||
[Desktop Entry] | |||
TryExec=fix-xkbmap | |||
Exec=fix-xkbmap | |||
Name=FixXKBMap | |||
Type=Application |