mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
setxkbmap: prepare for new settings addon integration
This commit is contained in:
parent
d1e7cd626f
commit
13e26acd79
@ -20,21 +20,6 @@
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
. /etc/profile
|
||||
. /var/config/settings.conf
|
||||
|
||||
if [ -z $X11_KEYMAP ]; then
|
||||
X11_KEYMAP="us"
|
||||
if [ -f /storage/.cache/xkb/layout ] ; then
|
||||
cat /storage/.cache/xkb/layout
|
||||
fi
|
||||
|
||||
if [ ! "$X11_KEYMAP2" == "-none-" ]; then
|
||||
XKBLAYOUT="$X11_KEYMAP,$X11_KEYMAP2"
|
||||
XKBOPTIONS="grp:alt_shift_toggle"
|
||||
else
|
||||
XKBLAYOUT="$X11_KEYMAP"
|
||||
fi
|
||||
|
||||
echo "XKBMODEL=\"pc105\""
|
||||
echo "XKBVARIANT=\"\""
|
||||
echo "XKBLAYOUT=\"$XKBLAYOUT\""
|
||||
echo "XKBOPTIONS=\"$XKBOPTIONS\""
|
||||
|
Loading…
x
Reference in New Issue
Block a user