subhra74 / snowflake

Graphical SFTP client and terminal emulator with helpful utilities

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No UI Scaling on Kubuntu

SebastianGode opened this issue · comments

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):

  • OS: Kubuntu 20.10

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