Did you find this article helpful?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Plan
Premium
Country
Germany
Device
Lenovo Legion T530 w/ LG 27UD58P-B display
Operating System
Ubuntu Linux 20.04
Version
$ spotify --version
Spotify version 1.1.26.501.gbe11e53b, Copyright (c) 2020, Spotify Ltd
Spotfiy was installed using Ubuntu's built-in store, it has no own package sources, it comes from Canonical's repository.
Desktop Environment
Gnome 3.36.3
My Question or Issue
I desperately need to pass a command line parameter to spotify, in order to force UI scaling; on my 4k display all fonts are so small that I cannot read anything otherwise.
I am unable to replace Spotify's "spotify.desktop" file, the starter file which is used to integrate spotify into the Gnome Desktop.
I've tried:
cp /snap/spotify/current/usr/share/spotify/spotify.desktop \
~/.local/share/applications/spotify2.desktop
chmod +x ~/.local/share/applications/spotify2.desktop
And then edited the file, changing the lines:
Name=My Spotify
TryExec=spotify --force-device-scale-factor=1.5
Exec=spotify --force-device-scale-factor=1.5 %U
... but the starter for "My Spotfiy" does not show up. I cannot edit the original file because it's mounted read only and even if I could the change would not last. So I am at a loss on how to create a proper starter file, in order to start with a scale in which I can actually read anything.
The only way to properly start spotify for me at the moment without a lingering terminal window is to use ALT+F2 and type in "spotify --force-device-scale-factor=1.5" manually.
Solved! Go to Solution.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page