Open Merlin04 opened 4 years ago
noted.
I upvote this
same issue here, unusable with 200% scaled displays
Till the issue is fixed, you can use below work around:
Set scale factor via command line:
java -Dsun.java2d.uiScale=2.5 -jar snowflake.jar
If you have installed snowflake from the deb file then use below command:
/out/snowflake/java-runtime/bin/java -Dsun.java2d.uiScale=2.5 -jar /out/snowflake/snowflake.jar
Till the issue is fixed, you can use below work around: Set scale factor via command line:
java -Dsun.java2d.uiScale=2.5 -jar snowflake.jar
If you have installed snowflake from the deb file then use below command:
/out/snowflake/java-runtime/bin/java -Dsun.java2d.uiScale=2.5 -jar /out/snowflake/snowflake.jar
Deb file command: java -Dsun.java2d.uiScale=2.5 -jar /opt/snowflake/snowflake.jar
Are there command line arguments we can pass to snowflake from the launcher icon to do this for us so we don't have to launch it from a terminal?
Till the issue is fixed, you can use below work around: Set scale factor via command line:
java -Dsun.java2d.uiScale=2.5 -jar snowflake.jar
If you have installed snowflake from the deb file then use below command:/out/snowflake/java-runtime/bin/java -Dsun.java2d.uiScale=2.5 -jar /out/snowflake/snowflake.jar
Deb file command: java -Dsun.java2d.uiScale=2.5 -jar /opt/snowflake/snowflake.jar
Are there command line arguments we can pass to snowflake from the launcher icon to do this for us so we don't have to launch it from a terminal?
of course there is :) Turn on the console, then execute the commands below.
sudo su nano /usr/bin/snowflake
next java -Dsun.java2d.uiScale = 2.5 -jar /opt/snowflake/snowflake.jar Add it as a new line and add # at the beginning of the previous command or into the current query. -Dsun.java2d.uiScale = 2.5 Add the parameter, save and exit, that's it.
@tuncaybahadir I have tried these steps and nothing changed in the UI. I have snowflake installed on my Ubuntu 21.10 from snap. Do you have maybe other suggestions?
I wish to use the snap
install; how can I set -Dsun.java2d.uiScale=2.5
?
The file meta/snap.yaml
looks like the right place but it is located on a read-only squashfs mount point.
I managed to fix the problem by editing a file named snowflake_snowflake.desktop. I have replaced the end of the line starting with "Exec" with java -Dsun.java2d.uiScale=2.5 -jar /snap/snowflake/2/jar/snowflake-1.0.4-full.jar
@langelova I haven't tried it on 21.10 yet I'll try to help if I can.
@tuncaybahadir Thanks but I already found a solution, it is described above.
@langelova I didn't notice :) I'm glad the problem is solved.
I have display scaling on Ubuntu set to 200% (my laptop screen is 4k so if I didn't, everything would be really small), but this doesn't work on Snowflake: