subhra74 / snowflake

Graphical SFTP client and terminal emulator with helpful utilities
GNU General Public License v3.0
2.18k stars 234 forks source link

No UI Scaling on Kubuntu #170

Open SebastianGode opened 3 years ago

SebastianGode commented 3 years ago

Describe the bug Snowflake doesn't support UI Scaling on Kubuntu 20.10 which makes working on an 4k Screen really hard

To Reproduce Steps to reproduce the behavior:

  1. Install Kubuntu 20.10
  2. Change the UI scale in settings to something else than 100%
  3. Start snowflake

Expected behavior It should scale the text and all elements

Screenshots grafik

Desktop (please complete the following information):

Zephynyah commented 3 years ago

Hey SebastianGode , Try adding "-Dsun.java2d.uiScale=2.0" to your java command line. This will change your application scale factor to 2 or use any other scale factor you want. I am using Ubuntu and my bin file was located /usr/bin/snowflake #!/bin/sh java -jar -Dsun.java2d.uiScale=2.0 /opt/snowflake/snowflake.jar

plumber-craic commented 5 months ago

Hey SebastianGode , Try adding "-Dsun.java2d.uiScale=2.0" to your java command line. This will change your application scale factor to 2 or use any other scale factor you want. I am using Ubuntu and my bin file was located /usr/bin/snowflake #!/bin/sh java -jar -Dsun.java2d.uiScale=2.0 /opt/snowflake/snowflake.jar

Thanks @Zephynyah - this fixed it for my 4k screen with mint 21.3 cinnamon