Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
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.
I am going nuts trying to autoload my Xmodmap file upon login via KDM. I checked out the /usr/kde/<version>/share/config/kdm/Xsession file and it executes /etc/xprofile if present. I went ahead and added the line...
/usr/bin/xmodmap /etc/X11/xmodmap
...but when I restart KDM and login, the keys don't work. I run the same command from Xsession at the prompt as root and it works? KDM runs as root; I am not quite sure why it isn't executing the command successfully.
Please help! I am running KDE 3.5.5 on kernel 2.6.19-gentoo-r5.
I created a file in /etc/X11 called xmodmap myself. My problem was that I made it execute xmodmap in xprofile, which is instantiated before xinit starts. I went ahead and made an /etc/X11/Xmodmap file with the key information I want loaded. xinit is supposed to run this file but for some reason it still is not working.
! keycode additions for the forward and backwards buttons
keycode 159 = XF86LaunchA
keycode 233 = F20
keycode 234 = F19
The file works when I run xmodmap /etc/X11/Xmodmap but for some reason xinit isn't executing it even though the xinitrc scripts are setup to execute it. I am wondering if I should add some logging features to the script.
I am going nuts trying to autoload my Xmodmap file upon login via KDM. I checked out the /usr/kde/<version>/share/config/kdm/Xsession file and it executes /etc/xprofile if present. I went ahead and added the line...
/usr/bin/xmodmap /etc/X11/xmodmap
...but when I restart KDM and login, the keys don't work. I run the same command from Xsession at the prompt as root and it works? KDM runs as root; I am not quite sure why it isn't executing the command successfully.
Please help! I am running KDE 3.5.5 on kernel 2.6.19-gentoo-r5.
Try creating a /home/user_name/.Xmodmap with your settings in it then chmod +x /home/user_name/.Xmodmap to make it executable and it should be run 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.