Bolt icon indicating copy to clipboard operation
Bolt copied to clipboard

Suggestion - High DPI fix for Runelite on GNOME

Open voetre opened this issue 1 year ago • 1 comments

Would you be able to implement a way to force Runelite to launch with the following fixes: #https://github.com/runelite/runelite/wiki/Change-DPI-Scaling-(Ubuntu-20-w--Gnome) GDK_SCALE=2 GDK_DPI_SCALE=0.5

This fixes some scaling issues on High DPI displays image

voetre avatar Sep 21 '24 09:09 voetre

It's possible yes, but the easiest way would be to set these environment variables when launching Bolt, and Runelite will inherit them.

If you installed from flatpak, you can set custom environment variables using flatseal. Anywhere else, probably easiest to make a custom .desktop file like that link suggests, but for Bolt instead of Runelite.

Adamcake avatar Sep 21 '24 10:09 Adamcake

@voetre You can also just install the latest version of Runelite and use your custom one inside Bolt. You can find this under the Cog icon and selecting OSRS -> Click the checkbox for Use custom RuneLite JAR -> select path to JAR.

Ralumbi avatar Oct 20 '24 08:10 Ralumbi

Custom environment variables can now be set in version 0.15 by writing a custom launch command, in your case you'd want to set it to

/usr/bin/env GDK_SCALE=2 GDK_DPI_SCALE=0.5 %command%

Adamcake avatar Apr 08 '25 18:04 Adamcake

Thank you kindly, this is very much appreciated! 😊

voetre avatar Apr 09 '25 04:04 voetre