~mil/sxmo-xdm-config

4c48b577207af12a0b56be23c64686f6266e9079 — tetrakist 4 months ago c24c4e3
Fix shellcheck/ec issues. Remove -9 from pkill.

The -9 may be causing the stuck svkbd key issues,
of #184, if SIGKILL prevents the KeyRelease event
from being sent.

Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
3 files changed, 10 insertions(+), 9 deletions(-)

M GiveConsole
M Xsetup_0
M profilesxmo.sh
M GiveConsole => GiveConsole +4 -4
@@ 6,7 6,7 @@
# the console output.  This way a random user can invoke xterm -C without
# causing serious grief.
#
busybox pkill -9 svkbd-mobile-intl
busybox pkill -9 svkbd-mobile-plain
busybox pkill -9 svkbd-sxmo
chown $USER /dev/console
busybox pkill svkbd-mobile-intl
busybox pkill svkbd-mobile-plain
busybox pkill svkbd-sxmo
chown "$USER" /dev/console

M Xsetup_0 => Xsetup_0 +5 -5
@@ 6,15 6,15 @@ echo 750 > /sys/devices/platform/backlight/backlight/backlight/brightness #scale
xrandr --dpi 192
xsetroot -mod 29 29 -fg '#0b3a4c' -bg '#082430'
if [ -f /usr/lib/X11/xdm/wallpaper.jpg ]; then
    feh --bg-fill -z /usr/lib/X11/xdm/wallpaper.jpg
	feh --bg-fill -z /usr/lib/X11/xdm/wallpaper.jpg
fi
if [ -f /usr/lib/X11/xdm/welcome.ogg ]; then
    mpv --quiet --no-video /usr/lib/X11/xdm/welcome.ogg &
	mpv --quiet --no-video /usr/lib/X11/xdm/welcome.ogg &
fi
if which svkbd-mobile-intl; then
        svkbd-mobile-intl &
	svkbd-mobile-intl &
elif which svkbd-mobile-plain; then
        svkbd-mobile-plain &
	svkbd-mobile-plain &
else
        svkbd-sxmo &
	svkbd-sxmo &
fi

M profilesxmo.sh => profilesxmo.sh +1 -0
@@ 1,3 1,4 @@
#!/usr/bin/env sh
export XDG_CONFIG_HOME=~/.config
export LOGDIR="$XDG_CONFIG_HOME"/sxmo/modem
export CONTACTS="$XDG_CONFIG_HOME"/sxmo/contacts.tsv