Fixing Various HiDPI Issues on Archlinux
Notes on getting various applications to work nicely with HiDPI monitors.
Spotify
Spotify can be too small. To fix it, spotify needs to be started with --force-device-scale-factor=1.8.
To avoid having to add the flag each time you start spotify, you can try a couple of things:
-
Edit
/usr/share/applications/spotify.desktopand change theExec=...line toExec=spotify --force-device-scale-factor=1.8 %U -
Edit the spotify executable to automatically be called with the force-device-scale-factor flag.
sudo vim /usr/bin/spotify. Adjusted contents of this file at the time of this writing:
#!/bin/sh
LD_PRELOAD=libcurl.so.3 /usr/share/spotify/spotify --force-device-scale-factor=1.8 "$@"