Fix xkeyboard-config.

master
Mike Hiretsky 12 years ago
parent 478a0848fc
commit 17ba2d699e

@ -1,4 +1,13 @@
# Calculate path=/tmp name=reconfigureLibre exec=/bin/bash ac_install_system!=up&&cl_belong_pkg!=&&pkg(app-office/libreoffice)!=
# Calculate path=/tmp name=reconfigureLibre exec=/bin/bash ac_install_system!=up&&cl_belong_pkg!=&&pkg(app-office/libreoffice)!=||ac_install_system!=up&&cl_belong_pkg!=&&pkg(x11-misc/xkeyboard-config)!=
#?pkg(app-office/libreoffice)!=#
cl-template -l all --merge app-office/libreoffice &>/dev/null
#pkg#
#?pkg(x11-misc/xkeyboard-config)!=#
cl-template -l all --merge x11-misc/xkeyboard-config &>/dev/null
who | grep " :" | awk '{print $2" "$1}' | while read disp user
do
su $user -c "setxkbmap -display $disp \$(setxkbmap -display $disp -query | grep layout | awk '{print \$2}')"
done
#pkg#
true

@ -0,0 +1 @@
# Calculate belong()!=&&pkg(x11-misc/xkeyboard-config)!= append=skip

@ -0,0 +1,9 @@
# Calculate format=patch path=/usr/share/X11/xkb/compat
<reg>\s*interpret\s+XF86_Ungrab\s+{
\s*action = Private\([^)]+\);
\s*};</reg>
<text></text>
<reg>interpret\s+XF86_ClearGrab\s+{
\s*action = Private\([^)]+\);
\s*};</reg>
<text></text>
Loading…
Cancel
Save