Commit 61e3c5b7 authored by Anton Midyukov's avatar Anton Midyukov

l10n: write_gnome_kbd if gnome session is presence

setting scheme is available in all desktop distributions. herefore, we check for the presence of a gnome session. 0
parent f0579cf9
...@@ -2,10 +2,7 @@ ...@@ -2,10 +2,7 @@
[ -n "$GLOBAL_GNOME_KB_SWITCH" ] || exit 0 [ -n "$GLOBAL_GNOME_KB_SWITCH" ] || exit 0
which gsettings 2>&1 >/dev/null || exit 0 [ -s /usr/share/wayland-sessions/gnome.desktop ] || exit 0
[ -n "$(gsettings get org.gnome.desktop.wm.keybindings switch-input-source 2>/dev/null)" ] ||
exit 0
cat > /etc/dconf/db/local.d/01-gnome-keymap <<EOF cat > /etc/dconf/db/local.d/01-gnome-keymap <<EOF
[org/gnome/desktop/wm/keybindings] [org/gnome/desktop/wm/keybindings]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment