You are not logged in.

#1 2015-08-29 03:47:00

GaiusAurus
Member
Registered: 2015-08-27
Posts: 4

Map key + mouse click/movement to something on Linux

When I was using OS X, I was able to remap left click + ctrl to right click and cursor movement + shift to scroll in the direction the cursor would be travelling. Is this possible on Linux?

I'm running KDE Plasma 5.

Offline

#2 2015-08-29 07:43:11

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,422
Website

Re: Map key + mouse click/movement to something on Linux

sxkhd with xdotool might do what you want:

https://github.com/baskerville/sxhkd
http://www.semicomplete.com/projects/xdotool

Last edited by Alad (2015-08-29 07:52:45)


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

#3 2015-08-29 17:16:27

GaiusAurus
Member
Registered: 2015-08-27
Posts: 4

Re: Map key + mouse click/movement to something on Linux

So far this is my sxhkdrc file:

alt + button1
    xdotool click 3

However, when I click alt + button1, the command does nothing. When I do the command outside of sxhkd, it works fine.

Offline

Board footer

Powered by FluxBB