Oripa on 4k Screen on Linux


Comparison of Oripa with 1x and 2x scaling
Comparison of Oripa with 1x and 2x scaling

When Oripa is run on a 4k / HiDPI screen, all GUI elements may appear too small to be comfortable to use. Whether this happens will depend on your setup and the operating system. It happened on my Debian machine, and the solution was to set the environmental variable GDK_SCALE=2, forcing the user interface to scale appropriately. This setting may affect other applications as well, in particular those written in Java (as is Oripa). You can add the line export GDK_SCALE=2 to your ~/.bashrc file to apply the setting permanently (and affecting other apps out of the box), or create a startup script for Oripa with the following contents to only affect this single app:

#!/bin/sh
GDK_SCALE=2 java -jar <path-to-oripa>/oripa-<version>.jar
Buttons missing in Circle Copy window
Buttons missing in Circle Copy window
Circle Copy window resized, with buttons restored
Circle Copy window resized, with buttons restored

After running Oripa using this setting, I noticed one more quirk: some dialog windows, for example the Circle Copy window, were missing any buttons. This was quite confusing, especially since, not having much experience with Oripa before, I was not sure if there should be any buttons in the first place, or perhaps the actual copy should be triggered in some other way. As I found out, for some reason the window was sized wrong, but I was able to just resize it vertically by dragging its lower border, which made more room and allowed the missing buttons to appear.

Tags:

Categories:

Published:

Comments