SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2009-03-12 19:10:14

astrocisco
#! Member
From: Tours, France
Registered: 2008-12-11
Posts: 75

Easy way to invert left-right mouse buttons.

Offline

Be excellent to each other!

#2 2009-03-18 13:57:42

pitje
#! Junkie
From: me to you
Registered: 2009-02-10
Posts: 438
Website

Re: Easy way to invert left-right mouse buttons.

....and here's a little script to easily switch mousebuttons:

#!/bin/bash

current=$(xmodmap -pp | head -5 | tail -1 | awk '{print $2}');

if [ "$current" -eq "1" ]
then 
        xmodmap -e "pointer = 3 2 1";
else
        xmodmap -e "pointer = 1 2 3";
fi

oh yeah? well, your momma dresses you funny and you need a mouse to delete files

Offline

#3 2009-03-19 12:24:06

astrocisco
#! Member
From: Tours, France
Registered: 2008-12-11
Posts: 75

Re: Easy way to invert left-right mouse buttons.

Hello pitje!
That's an interesting script.

A+ Francis.

Offline

#4 2013-10-06 11:21:14

luthfi
New Member
Registered: 2013-07-12
Posts: 6

Re: Easy way to invert left-right mouse buttons.

Very nice tips.
How if i want to change right click and left click on touchpad?

thanks

Offline

#5 2014-05-08 10:56:28

Ticheddeol
spambot
Registered: 2014-05-08
Posts: 11

Re: Easy way to invert left-right mouse buttons.

/spambot post removed

-s11

Offline

#6 2014-05-12 00:59:25

buzmanyear
New Member
Registered: 2014-05-12
Posts: 1

Re: Easy way to invert left-right mouse buttons.

astrocisco and pitje;

Thanks for the info on changing the mouse buttons. I just installed #! and that is the first thing I needed to change.

Ciao,
buzmanyear

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: bleh

Debian Logo