Ripcord Development — Linux_DPI_Problems Login or Create Account

On Linux, the size of the UI elements in Ripcord looks too large or there's too much spacing

Your DPI is probably not configured correctly.

Short answer

QT_SCALE_FACTOR=1 ./Ripcord.AppImage

Long answer

Ripcord uses Qt's DPI scaling features to support any arbitrary DPI. Most Linux desktop software that runs outside of a full desktop environment (like KDE or Gnome) doesn't respect DPI scaling, or defaults to having it disabled. If you run your own minimalist desktop using something like a tiling window manager, there's a chance that Ripcord is the first GUI program you've used which will respect your DPI in X.

Some possible causes of crazy DPI values:

You may want to try fixing the issue at its source rather than telling Qt in Ripcord to ignore scaling.

Arch has a guide on configuring resolution and DPI manually in X.

If you just can't get it to work, go ahead and set QT_SCALE_FACTOR=1 in your environment.

If it still doesn't work

Your distro may have put in a Qt style override environment variable. Add QT_STYLE_OVERRIDE= to get rid of it.

QT_SCALE_FACTOR=1 QT_STYLE_OVERRIDE= ./Ripcord.AppImage

You can also try running env | grep -i qt to see if anything is set in your env that might be interfering. (Especially check and see if a global Qt style override is set.)

If it's still not working

See if your distro put a qt.conf file somewhere and if it's modifying something related to DPI or UI scaling.