Forward: Xmodmap

Jonathan Riddell jriddell at ubuntu.com
Sat Dec 9 18:29:02 GMT 2006


Anyony have any objections to this?  We would also have to edit the
kxkb patch to do the same thing.

Jonathan

----- Forwarded message from Thorsten Zachmann <zachmann at schlund. de> -----

Subject: Xmodmap
Date: Fri, 8 Dec 2006 15:14:59 +0100

Hallo John

I have changed the /etc/X11/Xsession.d/80ubuntu-xmodmap so that also user  
~/.Xmodmap is considered.

I have attached the changed file.

Thanks for your help,

Thorsten

# Set the Ubuntu laptop keycode -> xkeysyms mapping (used by KDE)
#
# This file is sourced by Xsession(5), not executed.
# The "|| true" is to ensure that the Xsession script does not terminate on error
/usr/bin/xmodmap /usr/share/apps/kxkb/ubuntu.xmodmap || true

USRMODMAP="$HOME/.Xmodmap"

if [ -x /usr/bin/xmodmap ]; then
	if [ -f "$USRMODMAP" ]; then
		xmodmap "$USRMODMAP"
	fi
fi




More information about the kubuntu-devel mailing list