[SOLVED] Left Handed Mouse
Posted 09 November 2011 - 10:02 PM
I use my left hand for the mouse, but I've always kept the buttons as standard (primary click=left, secondary=right). I've been told that I'm weird, though
I think that I may be forced to do what your doing, but it's going to take a long time to reverse the habits of twenty years!
Posted 09 November 2011 - 11:16 PM
Have you tried going to Settings -> Settings Panel -> input -> mouse, and changing the hand (to left handed)
many thanks for your reply. Yes, I have tried that, and it does nothing. Have you got it to work?
Posted 10 November 2011 - 07:00 AM
I found a way using script.
open leafpad, paste following lines
#!/bin/bash xmodmap -e "pointer = 3 2 1";
save it in your home folder as left_handed_mouse.sh
now open terminal, run followind command
chmod +x ./left_handed_mouse.sh
test it by running in terminal
if it swap your mouse, you're good
if you want it, you can add this script at startup.
If you want to return it to right handed, change
#!/bin/bash xmodmap -e "pointer = 3 2 1";to
#!/bin/bash xmodmap -e "pointer = 1 2 3";
Posted 10 November 2011 - 08:52 AM
That script is something I found when googling. I thought I would need it later.
If I'm running Ubuntu, I would copy this script to /etc/init.d
sudo cp ./left_handed_mouse.sh /etc/init.dand it will be called on startup
I wonder if this method works with Bodhi,
since when someone asked about startup, no one answer it this way
Posted 10 November 2011 - 11:02 AM
If you use Settings -> Applications -> Startup applications to load it, of course yes: in fact E17 manage this apps, so if you don't load it(and you don't load it until you make a login), app doesn't start.
Maybe using init.d or similar stuff you could have an application launched before the login, but i don't know.
Posted 17 November 2011 - 06:53 PM
many thanks for your helpful suggestions. I have been a bit tied-up for the last few days, and I have only just got round to posting.
The script that Hendra suggested works fine, and after execution, the mouse is now left handed.
It took me quite a while to find out how to add the script to the startup applications, but using the information provided by hippytaff at:-
I created the file "~/left_handed_mouse.desktop" containing:-
Comment=Sets the mouse as left handed
copied it to /usr/share/applications
sudo cp left_handed_mouse.desktop /usr/share/applications
and changed the permissions
sudo chmod +x /usr/share/applications/left_handed_mouse.desktop
This works very well.
Thank you all for your kind help.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users