You are not logged in.

#1 2021-06-06 18:02:37

mdiemer
Member
Registered: 2021-02-25
Posts: 28

Switch Primary Button on Mouse?

How do I switch to a left-handed mouse? I tried some searches but can't find anything specific to Bunsen Labs. For example, I could install Gnome Tweaks, but BL doesn't use Gnome. and what may work on Debian may not work here. I'm on Lithium (the operating system, that is).

Offline

#2 2021-06-06 19:08:11

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 1,496

Re: Switch Primary Button on Mouse?

You can use xinput to change the button mapping - more details in the man page.

You can also do button mapping with xmodmap or creating configuration file for Xorg - example


You must unlearn what you have learned.
    -- yoda

Offline

#3 2021-06-07 17:31:11

ohnonot
...again
Registered: 2015-09-29
Posts: 5,568

Re: Switch Primary Button on Mouse?

mdiemer wrote:

How do I switch to a left-handed mouse? I tried some searches but can't find anything specific to Bunsen Labs.

https://forums.bunsenlabs.org/viewtopic … 727#p69727
???


Give to COVAX! Here or here. (explanation)
My Repos: notabug | framagit

Offline

#4 2021-06-08 10:48:13

damo
....moderator....
Registered: 2015-08-20
Posts: 6,732

Re: Switch Primary Button on Mouse?

ohnonot wrote:
mdiemer wrote:

How do I switch to a left-handed mouse? I tried some searches but can't find anything specific to Bunsen Labs.

https://forums.bunsenlabs.org/viewtopic … 727#p69727
???

To be specific to BL, you need to use .config/bunsen/autostart for the setting now.


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#5 2021-08-05 18:06:42

mdiemer
Member
Registered: 2021-02-25
Posts: 28

Re: Switch Primary Button on Mouse?

I was able to change it with <xmodmap  -e "pointer = 3 2 1">, but that only works for one session.

I just ran  <xinput set-button-map michael's mouse 1 1 1>. That seemed to work, although I won't know for sure until I do a restart.

Thanks for the tips, I'll let you know how it worked out.

Offline

#6 2021-08-06 16:03:02

mdiemer
Member
Registered: 2021-02-25
Posts: 28

Re: Switch Primary Button on Mouse?

damo wrote:
ohnonot wrote:
mdiemer wrote:

How do I switch to a left-handed mouse? I tried some searches but can't find anything specific to Bunsen Labs.

https://forums.bunsenlabs.org/viewtopic … 727#p69727
???

To be specific to BL, you need to use .config/bunsen/autostart for the setting now.

I have tried several things at this point, but none of them make the change permanent. I am thinking of buying a left-handed mouse for use on Bunsen labs Linux. I would spend more time on it if I didn't have to run a terminal command at the start of every session .

One last thing to try. Can you tell me exactly what I should put in the above file - config/bunsen/autostart - ?

Thank you.

Offline

#7 2021-08-07 07:02:27

damo
....moderator....
Registered: 2015-08-20
Posts: 6,732

Re: Switch Primary Button on Mouse?

Did this command work, as shown in the link?

xmodmap -e "pointer = 3 2 1"

If so, put it in your autostart


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

Board footer

Powered by FluxBB