diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-11-15 19:23:30 +0800 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-11-15 19:23:30 +0800 |
commit | 0277521b268b21caf0ee21202b92784f302baadc (patch) | |
tree | 5d856f96adfbe46b57da31cf60daa1084b4e7a1e /dilos/core/tdebase/debian/80ubuntu-xmodmap | |
parent | eb16e7c7281e182297581fa8d565561869c81bca (diff) | |
download | tde-packaging-0277521b268b21caf0ee21202b92784f302baadc.tar.gz tde-packaging-0277521b268b21caf0ee21202b92784f302baadc.zip |
DEB: adjusted to new 'core' folder for main packages.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'dilos/core/tdebase/debian/80ubuntu-xmodmap')
-rw-r--r-- | dilos/core/tdebase/debian/80ubuntu-xmodmap | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/dilos/core/tdebase/debian/80ubuntu-xmodmap b/dilos/core/tdebase/debian/80ubuntu-xmodmap new file mode 100644 index 000000000..fa60a4107 --- /dev/null +++ b/dilos/core/tdebase/debian/80ubuntu-xmodmap @@ -0,0 +1,15 @@ +# Set the Ubuntu laptop keycode -> xkeysyms mapping (used by TDE) +# +# This file is sourced by Xsession(5), not executed. +# The "|| true" is to ensure that the Xsession script does not terminate on error + +USRMODMAP="$HOME/.Xmodmap" + +if [ -x /usr/bin/xmodmap ]; then + if [ -f /usr/share/apps/kxkb/ubuntu.xmodmap ]; then + /usr/bin/xmodmap /usr/share/apps/kxkb/ubuntu.xmodmap || true + fi + if [ -f "$USRMODMAP" ]; then + /usr/bin/xmodmap "$USRMODMAP" || true + fi +fi |