In Xfce, by default you have the zoom function activated by ALT+(Mouse Wheel).
This is fine for me, but I'd want to add another (and not replace) key combination, for my remote command does not have a mouse wheel.
How can it be done? Thanks a lot!
In Xfce, by default you have the zoom function activated by ALT+(Mouse Wheel).
This is fine for me, but I'd want to add another (and not replace) key combination, for my remote command does not have a mouse wheel.
How can it be done? Thanks a lot!
I couldn't find anything for this in the advanced XFCE settings editor (xfce4-settings-editor). It might also not work simply because its a function of compositing.
There is a program for automating key presses and mouse clicks/movements called xdotool (available from apt). It is supposed to be able to simulate mouse wheel movements using mouse buttons 4 and 5. You can also use it to press the Alt key (on my system its the Super key because I set that to be my XFCE window function key).
Ideally you'd put a command line this in a script file and then run it using another keystroke:
xdotool --clearmodifiers keydown Alt click 4 keyup Alt
Then make another script that runs the same except click 5 for zooming out.