Enhanced Zoom Desktop

Under development: PCMCIA, wireless, etc.
Post Reply
Message
Author
jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

Enhanced Zoom Desktop

#1 Post by jamesbond »

Ubuntu has this cool feature called enhanced zoom desktop.
Basically if you enable it, you can then press and hold the Windows key, and then use your mouse scrollwheel to zoom in and out.
User interaction while the screen is zoomed continue as per normal - one can continue to type, browse, etc.

Google said that this feature is enabled via Compiz.

Question - is there a similar, real-time zoom like described above which is window manager-agnostic? Compiz isn't the most stable window manager and not all puppy come with it ...

cheers!
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

ndujoe1
Posts: 851
Joined: Mon 05 Dec 2005, 01:06

Enhanced Zoom Desktop

#2 Post by ndujoe1 »

This doesn't zoom the entire desktop but I have found it useful.

Virtual Magnifier

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#3 Post by jamesbond »

Thank you joe.
Not quite what I expect (you can't interact with the system during magnification - e.g. you can't click menus, type commands etc) but it's still useful for what it does.
cheers!
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#4 Post by jamesbond »

Found this: http://sfxpt.wordpress.com/2011/02/02/p ... ng-xrandr/ - scaling is done by hardware. xrandr is part of Xorg distribution, it's there in my default install of Fatdog. The only requirement is X must support version 1.3 of the xrandr extension (which Fatdog does), but I'm not sure of other puppies.

More details in http://www.x.org/archive/current/doc/ma ... dr.1.xhtml.

Now we need a GUI for this :)
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#5 Post by disciple »

Interesting. Best modify the existing xrandr guis methinks.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#6 Post by Lobster »

Matisse (I think now defunct - though 'Looking glass' might still be about)
could zoom Windows and I had it running in Puppy. 8)
Used java.
Again not quite what you are after . . .
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
puppyluvr
Posts: 3470
Joined: Sun 06 Jan 2008, 23:14
Location: Chickasha Oklahoma
Contact:

#7 Post by puppyluvr »

:D Hello,
Thank you... 8)
I am currently running Compiz and didnt know about that function...
Talk about "zeroing in" :shock:
Very helpful for my bad eyes...
Close the Windows, and open your eyes, to a whole new world
I am Lead Dog of the
Puppy Linux Users Group on Facebook
Join us!

Puppy since 2.15CE...

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#8 Post by jamesbond »

disciple wrote:Interesting. Best modify the existing xrandr guis methinks.
I would love to but the only ones I know are:
- lxrandr
- zarfy
- grandr
And all three are more directed towards resolution control and/or external monitor control (for projection etc), not for screen zooming.

Anyway, here is a simple script that will simulate that. One can run this from command line - it will simply act as a toggle between zoom-in/zoom-out state. Or one can run with a parameter ("zoom.sh in" or "zoom.sh out") and tie this with a a keyboard shortcut apps (I used sven for this - I mapped Win+mouse-scroll-up and Win+mouse-scroll-down so it's similar to Ubuntu).

Script to be extracted to anywhere in the path. Tested in Fatdog64, require bash version 4 and xrandr protocol 1.3 or better. It's useful for me, I hope it's useful for others as well.

Of course, if one is running compiz, it's better off to use that zoom function in compiz, much better and more powerful ... :wink:

cheers!
Attachments
zoom.sh.gz
Desktop Zoom via xrandr
(1.36 KiB) Downloaded 953 times
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

User avatar
darkcity
Posts: 2534
Joined: Sun 23 May 2010, 19:16
Location: near here
Contact:

#9 Post by darkcity »

Hi Jamesbond,

your script is quality! I have a friend who is paralyzed but has some movement in his fingers. he is used to using PS3 web browser with zoom via its joypad (zoom required to see close enough). however, he wants to switch to using a computer as it will give greater flexibility.

Do you think it would be feasible to mod script to use scale, ie-
# xrandr --output VGA1 --scale 1x1
# xrandr --output VGA1 --scale 0.5x0.5
# xrandr --output VGA1 --scale 0.25x0.25


zoom out is interesting - puppy menu is stranded in the middle as windows float around.
# xrandr --output VGA1 --scale 1.2x1.2

doesn't like 0.75 but 0.7 okay

-----

edit-

panning and scale don't go well together, but you can make a wide desktop-
# xrandr --output VGA1 --mode 640x480 --panning 1024x768
# xrandr --output VGA1 --mode 1024x768 --panning 2048x768

User avatar
johnywhy
Posts: 879
Joined: Sat 20 Aug 2011, 14:52

#10 Post by johnywhy »

[b]Now[/b]: X-Tahr 2.0! StretchDog! DevuanDog!
[b]Tops[/b]: TarhNOP Vlina-R2 Racy
[b]Used[/b]: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
[i]i ♥ Puppy[/i]

Post Reply