Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
I just got a Kensington 5 button mouse (i guess 7). that is right left middle scroll up/down and side right/left. i want to use the side buttons in ways that minimize my total daily clicks. my suse 9.1 auto makes the side left a middle click and the right a right click. i have seen lots of posts on this but every one uses them as.. ZAxisMapping . Can any one think of a way i can get mouse mouse configured as (noteing i have KDE set to dbl click to open):
right: highlight/normal right button actions
left: normal left button action
scroll whell: scroll up/down
side right: dbl click right <------------------
side left: i dunno yet.
is it possible the set that up? could i map it in /etc/XF86Config as something wierd then set a kde mouse gesture or something? does any know where i can find all the options for CF86Config? any ideas? thanks.
I'm a noob and I recently had the same problem with my 9-button mouse, so I have no problems helping you. First you have to get the X to recognize your extra buttons. Here's my mouse section of the files:
You'd have to change that some to get it to work with your hardware, but that's not that tough. Note that a scroll wheel counts as two buttons.
Then, to get the buttons to actually do something, I used xbindkeys. Get xbindkeys-config as well; it makes it a ton easier. I don't know where you'd get packages; I got them off of apt. Use xbindkeys-config to have a X event execute a command. With the config program you can just create a new binding, give it a name, use the 'get key' button and instead click the button on your mouse, and give it a command to execute. I used these commands for forward and back:
as it is all the main buttons work 'normaly' and the side buttons dont work. i ran xev and buttons 4 and 5 are the scroll wheel but its working like a normal scroll wheel not zaxis and xev doesnt see the side buttons. if i change the Zaxis mapping to 6 7 then xev sees the scroll wheel as 6 and 7. it doesnt make any sense.
Last edited by tardigrade; 12-04-2004 at 12:49 PM.
and then running the command
xmodmap -e "pointer = 1 2 3 6 7 4 5"
just to show what its doing.
if you add xmodmap -e "pointer = 1 2 3 6 7 4 5" to your ~/.xinitrc file you wont have to manualy run it every time you restart x.
Now that i got all thebuttons working how can i change the actions of the side buttons. I want to have the right side to emulate a double click on a single click.
I cant find the config program for that xbindkeys program. what does your ~/.xbindkeysrc file look like? i found the main program in apt for suse.
And the scrolling works perfectly. I cant see why it cannot find the last 2 buttons using get key. Havn't written anythin extra in xsession.options. Using Debian btw.
Have now added
xmodmap -e "pointer = 1 2 3 6 7 4 5"
to my xinitrc file. still though it seems to not work, as my scroll is still buttons 4 and 5. And I cannot bind them in xbindkeys-config using get key.
My mouse is set to use buttons 8 and 9 in my .xbindkeysrc, so they would definitely be different. Look in apt and look at the info for xbindkeys; I learned about the config program because it was a recommended package. It might be a different package name.
If you're trying to get mouse buttons to work, launch xev from a command line. It will display all of the events that go to its window. Move your mouse into the window, and hold it still then click on the special mouse button. If a new event pops up you have it configured to work with X and can use xbindkeys. If not you need to go back to XF86Config-4.