Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
To start, yes, I have done my searches and homework and I seem to be running into some problems....
I'm running kde3.1.0, XFree4.3 and Mandrake9.1
I edited my XF86Config-4 file to include 7 buttons and z-axis mapping to 6 & 7. Everything's fine so far. I ran xmodmap and the scroll switched, yippie!
Problem #1: I created a text file called Autostart and placed it in the directory named Autostart. That text file only had the line 'xmodmap -e "pointer = 1 2 3 6 7 4 5".' Everytime I restart kde, I need to rerun xmodmap. I've tried making the file 'Autostart' and 'autostart' and I've tried to run with just a text file in the ~/.kde/ directory. Nothing seems to work. When I delete all Autostarts (directory and file) and restart, kde automatically creates the Autostart directory.
Problem #2: As I said, xmodmap runs fine and I have scroll functions, but when I run 'xev' there is no responce from the side buttons. Is there any other way to see what's going on here?
...and.... Where are my side buttons? I suppose the only real reason I need them is for games, but I'm having problems with my quake3, so I can't test them there... suggestions?
silly question maybe but when you placed the script in Autostart, did you make it executable?
chmod +x name-of-script
I don't think it matters but the file should look like
#!/bin/bash
xmodmap -e "pointer = 1 2 3 6 7 4 5"
No sir... no I did not.... Ah yes, a newbe mistake!
Everything I've read states that all I need in the xmodmap line, and I did have that working on a previous install (reinstalled nix afew times,) but this brings up a question:
What does the '#!/bin/bash' line do? I've seen that referenced afew times.
Yes quatsch, not only did I need to change it to executable, but I needed the #!/bin/bash line. Really makes me wonder what it does now....
Now I still have the problem that the side buttons are not recognized in 'xev.' Since I cant just fire up quake and change a command to button 6 (quake crashes, if anyone is familiar with q3a, let me know, maybe you can help there too,) to test if they are actually there, what can I do here?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.