Linux client barely usable on HiDPI displays

Solved!
Reply
Highlighted

Re: Linux client barely usable on HiDPI displays

Regular
You need root access. Try running your editor with sudo, for example:

sudo gedit /usr/share/applications/spotify.desktop
Highlighted
Solution!

Re: Linux client barely usable on HiDPI displays

Newbie

I made a Alias in my .bashrc

 

alias spotify="/usr/bin/spotify --force-device-scale-factor=1.5"

 

This works on Ubuntu 16.04

 

 

View solution in original post

Highlighted

Re: Linux client barely usable on HiDPI displays

Newbie

Thanks man! worked for me

Re: Linux client barely usable on HiDPI displays

Regular

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;

 

 

Highlighted

Re: Linux client barely usable on HiDPI displays

Newbie

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.

Highlighted

Re: Linux client barely usable on HiDPI displays

Newbie

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.

Highlighted

Re: Linux client barely usable on HiDPI displays

Casual Listener

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

Highlighted

Re: Linux client barely usable on HiDPI displays

Regular
Where ever you found the file it will be easier for you to use nano to edit
the file from the terminal.

Actually. Jump on Reddit and create a post in /r/linux4noobs. I (or someone
else) will answer your questions to edit the file.
Highlighted

Re: Linux client barely usable on HiDPI displays

Casual Listener

Finally, I succeed doing it  by myself... learning a little bit of Linux in the process. Thank you !

Highlighted

Re: Linux client barely usable on HiDPI displays

Newbie

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?

SUGGESTED POSTS