Zoom In and Out Terminal commands ?

Raspberry Pi related support

Zoom In and Out Terminal commands ?

Postby zzeromin » 05 Jun 2016, 10:11

Hi.

I'm using a Raspberry Pi 3B, 3.x inch TFT LCD with Runeaudio v0.3-beta (23/03/2016).

Image

Image

I want to make Zoom In and Out function using two physical buttons or IR remote in Runeaudio.

I have found some information about keyboard shortcuts and zoom factor, xdotool.

- Keyboard Shortcuts

Zoom in ( aka Ctrl + + )
Zoom out ( aka Ctrl + - )
Normal size ( aka Ctrl + 0 )

- Zoom factor

edit "/root/.config/midori/config"
zoom-level=0.7

* reference: post12370.html?hilit=zoom%20in#p12370

- xdotool

xdotool key Ctrl+plus
xdotool key Ctrl+minus
xdotool key Ctrl+0

* reference: http://xmodulo.com/simulate-key-press-m ... linux.html

But I dont know terminal commands of Zoom in and Out.

Is there anyone who knows how to Zoom In and Out using terminal commands, shell, python, etc?
I would like to develop two physical buttons or IR remote.


Thanks

zzeromin
zzeromin
 
Posts: 7
Joined: 22 Jan 2016, 00:39
Location: South Korea

Re: Zoom In and Out Terminal commands ?

Postby hondagx35 » 05 Jun 2016, 11:28

User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: Zoom In and Out Terminal commands ?

Postby zzeromin » 05 Jun 2016, 14:58

zzeromin
 
Posts: 7
Joined: 22 Jan 2016, 00:39
Location: South Korea

Re: Zoom In and Out Terminal commands ?

Postby nikosr6 » 05 Sep 2017, 06:51

Thanks for this post man....thanks to you i,ve made permanent zoot out at to fit in 3.5 screen by changing /root/.config/midori/config factor zoom=0.7 to 0.5 and now its super....no more after boot zoom out!!
Thanks ,Nikolas!!
nikosr6
 
Posts: 3
Joined: 02 Sep 2017, 20:13

support RuneAudio Donate with PayPal


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 19 guests