<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Amanda Costa</title>
    <description>The latest articles on DEV Community by Amanda Costa (@heymands).</description>
    <link>https://dev.to/heymands</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F444650%2F2a249f1b-ff96-4296-9b34-a7999c97c990.jpeg</url>
      <title>DEV Community: Amanda Costa</title>
      <link>https://dev.to/heymands</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/heymands"/>
    <language>en</language>
    <item>
      <title> SPOTIFY SYSTEM TRAY [KDE]</title>
      <dc:creator>Amanda Costa</dc:creator>
      <pubDate>Sat, 27 Feb 2021 18:12:55 +0000</pubDate>
      <link>https://dev.to/heymands/spotify-system-tray-kde-4dpk</link>
      <guid>https://dev.to/heymands/spotify-system-tray-kde-4dpk</guid>
      <description>&lt;p&gt;O Spotify é um app de música que todo mundo usa hoje em dia, mas ele tem um pequeno defeito que infelizmente ainda não foi resolvido no client do linux. Que é o fato de minimizar o aplicativo pra system tray da distribuição linux, que é o &lt;strong&gt;Kde-Neon 5.21&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Com isso comecei a procurar algumas soluções e a que mais se adaptou a minha distro, foi usar o &lt;em&gt;kdocker&lt;/em&gt;. &lt;/p&gt;

&lt;p&gt;Instale o &lt;strong&gt;kdocker&lt;/strong&gt; com o comando:&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;&lt;code&gt;sudo apt install kdocker&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;Após isso, vamos alterar o arquivo &lt;strong&gt;spotify.desktop&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;&lt;code&gt;sudo nano /usr/local/share/applications/spotify.desktop&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;Iremos até a linha &lt;code&gt;Exec = spotify %U&lt;/code&gt; e iremos editar para &lt;code&gt;Exec=kdocker -d 30 -i /usr/share/spotify/icons/spotify-linux-32.png -q spotify %U&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Salve o arquivo, que deverá estar assim:&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;&lt;code&gt;[Desktop Entry]&lt;br&gt;
Type=Application&lt;br&gt;
Name=Spotify&lt;br&gt;
GenericName=Music Player&lt;br&gt;
Icon=spotify-client&lt;br&gt;
TryExec=spotify&lt;br&gt;
Exec=kdocker -d 30 -i /usr/share/spotify/icons/spotify-linux-32.png -q spotify %U&lt;br&gt;
Terminal=false&lt;br&gt;
MimeType=x-scheme-handler/spotify;&lt;br&gt;
Categories=Audio;Music;Player;AudioVideo;&lt;br&gt;
StartupWMClass=spotify&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;E pronto, após isso é só abrir o Spotify que ele irá minimizar diretamente na system tray do kde. &lt;/p&gt;

</description>
      <category>systems</category>
      <category>kde</category>
    </item>
  </channel>
</rss>
