DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hey guys.
Just wondering if anyone knows how to get xmodmap to load at startup. I'm running kde 3.2 with kdm as the xwindow manager. When I had fedora on my laptop and I had got some keys working with xmodmap, it used to start at bootup, but it doesnt seem to load at startup with debian and kdm. I saw something about gdm 2.2 not having backwards compatability with it, and was just wondering if it was the same with kde. When I type xmodmap ~./xmodmap, from the terminal, then my keys work, but after a reboot, the xmodmap file musnt get read, and the keys dont work. Probably a bit of a newb question, but I cant seem to find an answer that is kde or debian specific.
Originally posted by short101 Hey guys.
Just wondering if anyone knows how to get xmodmap to load at startup. I'm running kde 3.2 with kdm as the xwindow manager. When I had fedora on my laptop and I had got some keys working with xmodmap, it used to start at bootup, but it doesnt seem to load at startup with debian and kdm. I saw something about gdm 2.2 not having backwards compatability with it, and was just wondering if it was the same with kde. When I type xmodmap ~./xmodmap, from the terminal, then my keys work, but after a reboot, the xmodmap file musnt get read, and the keys dont work. Probably a bit of a newb question, but I cant seem to find an answer that is kde or debian specific.
Try putting something like this near the bottom of /etc/init.d/bootmisc.sh file.
Code:
## Added by me to load xmodmap
if [ -f ~/.xmodmap ]; then
source ~/.xmodmap
fi
It may work if you just put it into your ~/.bash_profile it should be read on login.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.