<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: [Ubuntu] Cannot Create Proper Starter File in Desktop (Linux)</title>
    <link>https://community.spotify.com/t5/Desktop-Linux/Ubuntu-Cannot-Create-Proper-Starter-File/m-p/5076342#M20160</link>
    <description>&lt;P&gt;I've found a solution for my problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If spotify is installed via snap (as it is by default under Ubuntu 20.04 and 20.10 if you used Ubuntu's "Software" application), you can override snap's executable link. Do not try create an own starter file, that's possible (I had a mistake in the "TryExec" line above), but will make a mess of things.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To make sure this solution applies to you try:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$ which spotify
/snap/bin/spotify # that would be the proper answer
$ ls -hl /snap/bin/spotify
# this should be a link to /usr/bin/snap&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The solution works as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;sudo rm /snap/bin/spotify # remove symbolic link to /usr/bin/snap
echo '#!/bin/sh
/usr/bin/snap run spotify --force-device-scale-factor=1.5 "$@"
' &amp;gt; /var/tmp/spotify
sudo mv /var/tmp/spotify /snap/bin/
sudo chown root:root /snap/bin/spotify
sudo chmod +x /snap/bin/spotify&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 21 Nov 2020 13:32:35 GMT</pubDate>
    <dc:creator>Rabenschwinge</dc:creator>
    <dc:date>2020-11-21T13:32:35Z</dc:date>
    <item>
      <title>[Ubuntu] Cannot Create Proper Starter File</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/Ubuntu-Cannot-Create-Proper-Starter-File/m-p/5030866#M19875</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Plan&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Premium&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Country&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Germany&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Device&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Lenovo Legion T530 w/&amp;nbsp;LG 27UD58P-B display&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Operating System&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Ubuntu Linux 20.04&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Version&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;$ spotify --version&lt;BR /&gt;Spotify version 1.1.26.501.gbe11e53b, Copyright (c) 2020, Spotify Ltd&lt;/P&gt;&lt;P&gt;Spotfiy was installed using Ubuntu's built-in store, it has no own package sources, it comes from Canonical's repository.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Desktop Environment&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Gnome 3.36.3&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My Question or Issue&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am unable to replace Spotify's "spotify.desktop" file, the starter file which is used to integrate spotify into the Gnome Desktop.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried:&lt;/P&gt;&lt;P&gt;cp&amp;nbsp;/snap/spotify/current/usr/share/spotify/spotify.desktop \&lt;/P&gt;&lt;P&gt;~/.local/share/applications/spotify2.desktop&lt;/P&gt;&lt;P&gt;chmod +x ~/.local/share/applications/spotify2.desktop&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And then edited the file, changing the lines:&lt;/P&gt;&lt;P&gt;Name=My Spotify&lt;/P&gt;&lt;P&gt;TryExec=spotify --force-device-scale-factor=1.5&lt;BR /&gt;Exec=spotify --force-device-scale-factor=1.5 %U&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;... 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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;</description>
      <pubDate>Sat, 05 Sep 2020 18:18:20 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/Ubuntu-Cannot-Create-Proper-Starter-File/m-p/5030866#M19875</guid>
      <dc:creator>Rabenschwinge</dc:creator>
      <dc:date>2020-09-05T18:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: [Ubuntu] Cannot Create Proper Starter File</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/Ubuntu-Cannot-Create-Proper-Starter-File/m-p/5076342#M20160</link>
      <description>&lt;P&gt;I've found a solution for my problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If spotify is installed via snap (as it is by default under Ubuntu 20.04 and 20.10 if you used Ubuntu's "Software" application), you can override snap's executable link. Do not try create an own starter file, that's possible (I had a mistake in the "TryExec" line above), but will make a mess of things.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To make sure this solution applies to you try:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$ which spotify
/snap/bin/spotify # that would be the proper answer
$ ls -hl /snap/bin/spotify
# this should be a link to /usr/bin/snap&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The solution works as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;sudo rm /snap/bin/spotify # remove symbolic link to /usr/bin/snap
echo '#!/bin/sh
/usr/bin/snap run spotify --force-device-scale-factor=1.5 "$@"
' &amp;gt; /var/tmp/spotify
sudo mv /var/tmp/spotify /snap/bin/
sudo chown root:root /snap/bin/spotify
sudo chmod +x /snap/bin/spotify&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Nov 2020 13:32:35 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/Ubuntu-Cannot-Create-Proper-Starter-File/m-p/5076342#M20160</guid>
      <dc:creator>Rabenschwinge</dc:creator>
      <dc:date>2020-11-21T13:32:35Z</dc:date>
    </item>
  </channel>
</rss>

