Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37517210
en ru br
ALT Linux repositórios
S:4.18.3-alt2
5.0: 4.6.1-alt1

Group :: Desktop gráfico/XFce
RPM: xfce4-settings

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

#!/bin/sh -eu
# Try to adjust keyboard according with Xfce settings.

get_xfce_xkb_conf()
{
xfconf-query -c keyboard-layout -p "/Default/$1" 2>/dev/null
}

# Is it configured to use xfce layout settings?
if [ "$(get_xfce_xkb_conf XkbDisable)" = false ]; then
model="$(get_xfce_xkb_conf XkbModel)"
layout="$(get_xfce_xkb_conf XkbLayout)"
variant="$(get_xfce_xkb_conf XkbVariant)"
xkb_option_grp="$(get_xfce_xkb_conf XkbOptions/Group)"
xkb_option_compose="$(get_xfce_xkb_conf XkbOptions/Compose)"

setxkbmap -option
setxkbmap ${model:+-model "$model"} \
${layout:+-layout "$layout"} \
${variant:+-variant "$variant"} \
${xkb_option_grp:+-option "$xkb_option_grp"} \
${xkb_option_compose:+-option "$xkb_option_compose"}
else
# Use system settings
/etc/X11/xinit/fixkeyboard
fi
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009