Template:Run with Java options

From Bisq Wiki
Revision as of 22:47, 28 April 2021 by Plebeian9000 (talk | contribs) (Created page with "== Command-line fix == Adjust scaling with the following prefix. JAVA_TOOL_OPTIONS="{{{1}}}" /opt/Bisq/Bisq You can adjust the scaling factor as you wish, of course, and a...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Command-line fix

Adjust scaling with the following prefix.

JAVA_TOOL_OPTIONS="{{{1}}}" /opt/Bisq/Bisq

You can adjust the scaling factor as you wish, of course, and add any runtime options for Bisq as well.

GUI fix

To have this scaling apply automatically when running Bisq from a menu icon, you'll need to adjust the launcher files to run a script with the fix in it.

1. Create the script, say /opt/Bisq/Bisq-runner.sh.

#!/bin/bash
JAVA_TOOL_OPTIONS="{{{1}}}" /opt/Bisq/Bisq

2. Make it executable.

chmod +x /opt/Bisq/Bisq-runner.sh

3. Update the launcher (/opt/Bisq/Bisq.desktop and/or /usr/share/applications/Bisq.desktop).

...
Exec=/opt/Bisq/Bisq-runner.sh
...