Linux client barely usable on HiDPI displays

Solved!
Reply
Highlighted

Re: Linux client barely usable on HiDPI displays

Casual Listener
That's the beauty of Linux Mint... I installed it directly from th Software
Manager of Linux Mint. 15 seconds later, it's running perfectly on my HiPDI
screen. No command line, no research to do... just playing music!
Highlighted

Re: Linux client barely usable on HiDPI displays

Regular

But the command line is where the fun is at. It's the most efficient way to interact with your computer.

 

As long as you got what you needed in the end, it's all good.

Highlighted

Re: Linux client barely usable on HiDPI displays

Casual Listener
​Yes of course that's why we all start every single gui app from the terminal passing arguments like "--look-nice-in-my-screen". The terminal shouldn't be used to type "chromium --please-run-nice", that should be default, if you pass an argument to start a gui app from terminal it should not be obvious, it should be a special case.
 
So I don't think that typing "spotify --force-device-scale-factor=1.5" instead of just typing "spotify" is "most efficient way to interact with your computer". And I don't think you should add an argument to an application just to make it usable.
Highlighted

Re: Linux client barely usable on HiDPI displays

Spotify
Spotify

I realized, I have never answered this thread, but this is obviously a bug that should just be fixed by Spotify. There is also another related, not as important, but much more complicated problem. It needs to rescale on the fly when you move the window between screens with different resolution. That probably requires the user to run a different display server, like Wayland or Mir, which is also not supported natively. Both problems are bugs and filed internally in the spotify desktop client bug tracker.

 

Highlighted

Re: Linux client barely usable on HiDPI displays

Newbie

This worked for me. Thanks!

Highlighted

Re: Linux client barely usable on HiDPI displays

Newbie

For all y'all noobs like me who aren't too fancy with the Terminal, put the commands in one line at a time:

cd /usr/share/applications

sudo nano spotify.desktop

 

Then put in your password and press enter. You'll see your terminal enter text edit mode. Go down to the like that reads:

Exec=spotify %U

And change it to

Exec=spotify %U --force-device-scale-factor=1.5

Or if you want an even more scaled up version like myself:

Exec=spotify %U --force-device-scale-factor=2

 

Then press ctrl+O and hit Enter.

Then Exit the text editor by pressing ctrl+X

Then restart Spotify and you'll be able to read all the things finally!

Highlighted

Re: Linux client barely usable on HiDPI displays

Newbie

How should one apply these command parameters for a HiDpi display on a FlatPak installed version? I can't find the spotify.desktop file in either of the following folders:

~/.local/share/applications/

or

/usr/share/applications/

Highlighted

Re: Linux client barely usable on HiDPI displays

Casual Listener

The flatpak .desktop is in:

/var/lib/flatpak/exports/share/applications

 

that you can copy to your home and edit.

Highlighted

Re: Linux client barely usable on HiDPI displays

Newbie

it works!! thanks a lot ❤️ 

Screenshot from 2017-07-06 16-24-38.png

 

Highlighted

Re: Linux client barely usable on HiDPI displays

Casual Listener

Note that under Fedora / Gnome you need to set the scaling factor to 2.0 - Gnome Desktop does not allow for decimal scaling; 

SUGGESTED POSTS