Xfce Forum

Sub domains
 

You are not logged in.

#1 2017-09-24 16:08:10

sctrb
Member
Registered: 2017-09-24
Posts: 2

Modifying shortcut to activate zoom

The default key combination for full screen zoom is alt + mouse wheel. How might I change the sequence to use the arrow keys on the keyboard instead? Is that possible?

Offline

#2 2017-09-24 19:21:36

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,508

Re: Modifying shortcut to activate zoom

Hello and welcome.

Install xdotool and create an Alt+Up shortcut for "xdotool click 4" and an Alt+Down shortcut for "xdotool click 5".
screenshot2017-09-2415-20-20.png


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2017-09-25 00:09:22

sctrb
Member
Registered: 2017-09-24
Posts: 2

Re: Modifying shortcut to activate zoom

Nice! Worked perfectly, thank you sir. You are a gentleman and a scholar.

Offline

#4 2024-11-19 21:08:10

kwizzz
Member
Registered: 2024-11-10
Posts: 9
LinuxFirefox 128.0

Re: Modifying shortcut to activate zoom

This is amazing!  Came across this after some searches, especially since Alt-Touchpad-Scroll is not reliable, especially with MOZ_USE_XINPUT2=1, as firefox will jump forward/backward in history.

By assigning this to my keyboard, zooming now works like a charm.

Wanted to add one important note: this only works with Alt as modifier.  Alt will still be in effect while xdotool click is sending the wheel scroll events.
I learned this the hard way, as I wanted to have zoom on Win-<plus> and Win-<minus>.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] CCBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.015 seconds, 8 queries executed - Memory usage: 524.52 KiB (Peak: 525.36 KiB) ]