I have a 4k display, and the Linux (at least?) client is practically unusable.
Is HiDPI support on the roadmap?
I made a Alias in my .bashrc
alias spotify="/usr/bin/spotify --force-device-scale-factor=1.5"
This works on Ubuntu 16.04
Great tip! Here's what I did on 17.10 in case it helps anyone:
$ sudo gedit /var/lib/snapd/desktop/applications/spotify_spotify.desktop
Exec=env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/spotify_spotify.desktop /snap/bin/spotify --force-device-scale-factor=2.0 %U
Hi,
could you explain what "practically unusable" means?
There is a linux beta version around since 2 weeks or so (only 64bit) did you try that yet?
Erkan
https://twitter.com/felipernb/status/575669571044114432
There are zoom in/out options, but right now they don't save so you would have to adjust every time you launch
On HIDPI display its barely usable, because everything is so small.
Linux isn't very good yet in this regard, as it could just upscale by default, but doesn't.
Where is this zoom in / out option located? I have a hard time reading the menus.
There is no zoom in / zoom out. I hope they improve high DPI support soon. At this rate we'll be able to zoom individual windows on Wayland first.
Add --force-device-scale-factor=1.5 (or whatever fits your UI scale) as a command line option.
You could edit /usr/share/applications/spotify.desktop or wherever the .desktop file is located and change the line with Exec= to:
Exec=spotify --force-device-scale-factor=1.5 %U
Problem solved.
That doesn't work for me.
It works with the beta 🙂
Thank you!
It should be automatically. Or at least have a GUI option to set the scaling factor.
Unfortunately, It does not follow the scaling factor set in the OS.
The workaround doesn't work anymore with the latest betas 😞
I confirm this does not seem to work with the latest beta.
Nevermind, it does work, I just forgot to restart gnome-shell to reload the .desktop file.
This works well for me. As I had to tweet, https://twitter.com/solarce/status/650056804987088897
I found that `--force-device-scale-factor=2.2` was best for me. I have Arch Linux and the Cinnamon Desktop on a 2015 Dell XPS 13" (ships with Ubuntu) with the qHD screen. I edited `/usr/share/applications/spotify.desktop` to make it *stick*
Thanks for figuring this out.
also doesn't work for me on Linuxmint rafaela, Spotify client 0.9.17.1.g9b85d436
What about non Ubuntu/Debian distros? Should give a direct download.
I tried doing this but it wouldn't give me write access to actually save the change to the file. How can I override that?
I made a Alias in my .bashrc
alias spotify="/usr/bin/spotify --force-device-scale-factor=1.5"
This works on Ubuntu 16.04
Thanks man! worked for me
Works for me on GNU/Linux. Spotify client version 1.0.33.106 on Fedora 24, using a 4k monitor. although I had to bump up the scale to 1.8.
Here is my desktop file also attached.
[Desktop Entry]
Name=Spotify
GenericName=Music Player
Comment=Spotify streaming music client
Icon=spotify-client
Exec=/usr/bin/spotify --force-device-scale-factor=1.8 %U
TryExec=spotify
Terminal=false
Type=Application
Categories=Audio;Music;Player;AudioVideo;
MimeType=x-scheme-handler/spotify;
In a 15.4" 4k i use a 2 has a factor.
Very happy with my archlinux (artengos), very easy to install with yaourt -S spotify.
easy like android instalation, or more easy than windows.
Problem still exist today, but this fix works like a charm. Using Mint 18, just added scale-factor command to spotifys startup command in launcher and that's it.
I'm a newbie in Linux... can you explain in detail the sequence for editing the file. I found the file but I have no idea how to edit it ! Thanks
Finally, I succeed doing it by myself... learning a little bit of Linux in the process. Thank you !
This only works for running it from command line.
Updating /usr/share/applications/spotify.desktop didn't work
Updating /usr/share/spotify/spotify.desktop didn't work.
Not even after reboot.
What fixed it for me globally (command line and unity apps) was to replace /usr/bin/spotify with a script to force the scale:
sudo rm /usr/bin/spotify && sudo echo "/usr/share/spotify/spotify --force-device-scale-factor=2" > /usr/bin/spotify && sudo chmod 755 /usr/bin/spotify
but seriously why is spotify the only ubuntu app that does not read this value from ubuntu's config?
Add --force-device-scale-factor=1.5 (or whatever fits your UI scale) as a command line option.
You could edit /usr/share/applications/spotify.desktop or wherever the .desktop file is located and change the line with Exec= to:
Exec=spotify --force-device-scale-factor=1.5 %U
Problem solved.