Scale GUI for high resolution screen
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 6
- Joined: Wed Oct 09, 2013 11:18 pm
Scale GUI for high resolution screen
Post by MatijaOgrin »
Hello there,
I use Oxygen 22.0 on Ubuntu 19.10 and I need to "scale" the entire GUI of Oxygen because all the icons, text and menus are extremely small. I would need at least 200% or 300% scaling.
I have searched across Oxygen help and this forum, esp. this thread seems promising:
post57321.html?hilit=high%20resolution#p57598
but still, I do not understand:
Your advice will be very helpful. Best,
Matija
I use Oxygen 22.0 on Ubuntu 19.10 and I need to "scale" the entire GUI of Oxygen because all the icons, text and menus are extremely small. I would need at least 200% or 300% scaling.
I have searched across Oxygen help and this forum, esp. this thread seems promising:
post57321.html?hilit=high%20resolution#p57598
but still, I do not understand:
- where do you advise me to set the scaling -- in java or somewhere within Oxygen?
- in which file exactly?
- is this the right variable:
Code: Select all
-Dcom.oxygenxml.hidpi.scaling=1.5
- and can I set it to 3.0?
Your advice will be very helpful. Best,
Matija
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: Scale GUI for high resolution screen
Hi,
On Linux with OpenJDK 11 and later, Java/Oxygen won't automatically scale with the system scaling setting. Oxygen v22.0 bundles OpenJDK 13.
All the answers are in the post you found:
Regards,
Adrian
On Linux with OpenJDK 11 and later, Java/Oxygen won't automatically scale with the system scaling setting. Oxygen v22.0 bundles OpenJDK 13.
All the answers are in the post you found:
To answer your questions:adrian wrote: ↑Thu Mar 19, 2020 4:56 pm You can set it in oxygen22.0.vmoptions, or better yet, in a new file named custom_commons.vmoptions so that all other tools also pick this up and also make this persistent between maintenance build updates (new files are not removed).
But it was actually correct to setbecause Java scaling doesn't seem to be working automatically for you, so that's what needs addressing.Code: Select all
-Dsun.java2d.uiScale=2
- where do you advise me to set the scaling -- in java or somewhere within Oxygen?
In a file from the Oxygen installation folder. - in which file exactly?
Create a new file named custom_commons.vmoptions in the Oxygen folder. This vmoptions file covers all Oxygen tools. If you set it in the file oxygen22.0.vmoptions, it only covers Oxygen XML Editor. - is this the right variable: -Dcom.oxygenxml.hidpi.scaling=1.5
No, that is the Oxygen specific scaling property. For Linux, since Java scaling detection isn't working, the generic Java property is requiredCode: Select all
-Dsun.java2d.uiScale=2
- and can I set it to 3.0?
Yes, but note that Oxygen doesn't have x3 (300%) sized resources (icons, images, etc), only x1 and x2 (200%). Only text and vector graphics will be scaled to x3, the icons/images will be set to the available x2.
I can only imagine x3 scaling being useful for 5k or 8k screens, or maybe small 4k screens.
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 6
- Joined: Wed Oct 09, 2013 11:18 pm
Re: Scale GUI for high resolution screen
Post by MatijaOgrin »
Hello Adrian,
Many thanks, it works great for me!
Best,
Matija
Many thanks, it works great for me!
Best,
Matija
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service