SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
before i start working on the keyboard, i am trying to get my mouse working correctly. if i manually type xmodmap -e "pointer = 1 2 3 6 7 4 5" my mouse works as it should. i tried putting this command in .Xmodmap bot on my home directory as well as in the .Xmodmap in /usr/X11R6/lib/X11/xinit/. (both at different times of course, and with the command, pointer = 1 2 3 6 7 4 5, both with and without -e). i also tried the full command xmodmap -e "pointer = 1 2 3 6 7 4 5" in rc.local with no success as well. i also tried the command in xinitrc with no results.
i searched the forum and tried all the recommendations without success. can someone please help me here so i can move on and get frustration from my keyboard.
ok i tried all the suggestions and still get the same thing. im thinking the Xmodmap is not loading. there is a reference pointing to in in xinitrc but i just dont know anymore of why this isnt working.
Hm. Well, tazdevil77 said he had it in quotes and it worked, but I would have suggested removing the quotes. I only have keycodes and no pointer settings but, IIRC, it was very picky about the file syntax and didn't work with quoted lines. Maybe you've already done that, too, but if not, the only thing I can think to try is
pointer = 1 2 3 6 7 4 5
Might try 'xmodmap -pp' and/or change your .xinitrc to read
if [ -f $usermodmap ]; then
xmodmap -verbose $usermodmap > wtf
and do 'less wtf' after starting X just to see what's going on.
Argh. I feel like I should have thought of that. Were you using hashes? Because you can comment the file, but I think you have to use X comments - a bang instead of a shell-style hash. Congrats on getting it going.