codesardine / jak

Hybrid web/desktop applications on Linux
http://codesardine.github.io/Jade-Application-Kit/
GNU General Public License v3.0
89 stars 18 forks source link

Feature Request: Ability to set a default zoom #73

Open grownuphacker opened 4 years ago

grownuphacker commented 4 years ago

FEATURE REQUEST: Is there currently a way to set a default zoom?

Detailed Description

I'm fairly new to linux as a daily driver, but I'm loving Manjaro and I really love jak as most of my tools are web apps anyways.

However, on my HP Spectre 4K screen everything loads tiny and loads tiny every reload (Zoom level isn't saved).

Can I get a zoom level or better yet, a DPI detection and just start the zoom level there? Maybe this is a webkit issue and I can solve it on that end but I'm not familiar enough yet to know.

Thanks again for a great piece of software, its brilliant!

codesardine commented 4 years ago

You can set scale for Qt apps to try it out.

QT_SCALE_FACTOR=1.25 my-jak-application

To make it permanent, open /etc/environment and drop the line bellow save and it will work on the next reboot.

export QT_SCALE_FACTOR=1.25

Source: https://forum.manjaro.org/t/getting-ms-office-online-to-work/32995/100

Ps: not WebKit anymore now is based on blink.

grownuphacker commented 4 years ago

As with everything else on this repo, that worked brilliant. Thanks, feel free to close.