Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: mouse config, set mouse to permanent left handed< Next Oldest | Next Newest >
Frank Offline





Group: Members
Posts: 12
Joined: Nov. 2004
Posted: Feb. 12 2007,21:00 QUOTE

Trying to set up fluxbox with the mouse configured to be left handed.  Have been changing the mouse config using the menu utility, but want to just have it set to be left handed upon bootup.  

Know that putting "xmodmap -e " pointer = 3 2 1 " into Debian Testing's ~/.fluxbox/startup will do the trick with that distro.  How can I accomplish this with DSL?

Any help/ideas would be appreciated!
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Feb. 12 2007,21:40 QUOTE

Put that same command in /home/dsl/.xinitrc, somewhere above the "case" statement.

You need to use backup/restore, or a persistent home, in order for this to remain after a reboot


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
Frank Offline





Group: Members
Posts: 12
Joined: Nov. 2004
Posted: Feb. 13 2007,18:00 QUOTE

Mikshaw,  thanks for getting back to me on the  /home/dsl/.xinitrc file.  I pasted  "xmodmap -e " pointer = 3 2 1 " into the file, but it didn't change my mouse config.  Finally noticed as I was shutting down an error message something to the effect that; "xmodmap error" command line 0, had 3 buttons, needs 5".

So then I got the brain flash that why not look at the menu's system mouse utility.  

The menu file, /.fluxbox/menu  gave me this line,
    [exec] (Mouse Config){/usr/local/bin/mouse-config.lua}

. . . mouse-config.lua gave me this line,
   "os.execute ('xmodmap -e \'pointer = 3 2 1 4 5\'')

Which I then modfied slightly and inserted back into the ~/.xinitrc file as:
    xmodmap -e "pointer = 3 2 1 4 5" &

Bottom line is that once I got your suggestion regarding the ~/.xinitrc file it all fell apart and now I got my left handed mouse working!  Thanks again for the help!   :D

PS any idea what "buttons" 4 & 5 are?  I'm running a IBM thinkpad that has one of those little knob mouse in the keyboard with a USB mousesc2 button/wheel mouse as my "real" mouse.  Perhaps,  its the two IBM knob buttons?
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Feb. 17 2007,03:40 QUOTE

Sorry I overlooked your reply the last couple of days.

Buttons 4 and 5 correspond to the up and down roll of the mouse wheel.  You can invert these buttons (3 2 1 5 4) if you prefer the mousewheel to roll in the opposite direction.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
3 replies since Feb. 12 2007,21:00 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: mouse config

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code