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.
QT_SCALE_FACTOR=1 QT_AUTO_SCREEN_SCALE_FACTOR=0 ./Ripcord.AppImage
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:
- Your display's EDID reports a bogus/crazy value
- Your graphics card thinks your display is a TV
- It was just never set correctly in your X config
- Your distro did some weird stuff, assuming you were only ever going to run Qt software that was part of KDE
You may want to try fixing the issue at its source rather than telling Qt in Ripcord to ignore scaling.
If you just can't get it to work, go ahead and set
QT_AUTO_SCREEN_SCALE_FACTOR=0 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_AUTO_SCREEN_SCALE_FACTOR=0 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.