<?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: Yiannis</title>
    <description>The latest articles on DEV Community by Yiannis (@iob).</description>
    <link>https://dev.to/iob</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%2F379697%2Fa96c4bea-52a1-4ea8-b856-9ce4fc9e3830.jpg</url>
      <title>DEV Community: Yiannis</title>
      <link>https://dev.to/iob</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/iob"/>
    <language>en</language>
    <item>
      <title>Customize GTK+ themes manually</title>
      <dc:creator>Yiannis</dc:creator>
      <pubDate>Tue, 22 Dec 2020 16:35:44 +0000</pubDate>
      <link>https://dev.to/iob/customize-gtk-themes-manually-10k4</link>
      <guid>https://dev.to/iob/customize-gtk-themes-manually-10k4</guid>
      <description>&lt;p&gt;i ended up reading about tweaking &lt;a href="https://fedoramagazine.org/tweaking-the-look-of-fedora-workstation-with-themes/" rel="noopener noreferrer"&gt;on the Fedora magazine&lt;/a&gt; which very briefly explained how can you do some customization of your workstation. This makes me want to experiment and try some themes out on my own machine. The question which raised that it is not clear in first glance, how the heck are you doing this if you do not use Gnome Shell, or any other known DE. &lt;/p&gt;

&lt;p&gt;i started googling. i found &lt;a href="https://github.com/i3-gnome/i3-gnome" rel="noopener noreferrer"&gt;i3-gnome&lt;/a&gt;. i3-gnome allows you to use i3wn with Gnome3 Session infrastucture. Although i was thinking that it should be a more straight way. &lt;/p&gt;

&lt;p&gt;My approach: install the desired themes and icons from the repos and edit the settings. In Fedora the settings file is under the $HOME/.config/gtk-4.0/settings.ini and looks like this before the editing&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[Settings]                                                                                                                                                                                                                                   
gtk-application-prefer-dark-theme=0                                                                                                                                                                                                          
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;But what settings i can use. Go to &lt;a href="https://developer.gnome.org/gtk3/stable/GtkSettings.html" rel="noopener noreferrer"&gt;https://developer.gnome.org/gtk3/stable/GtkSettings.html&lt;/a&gt; and find what you want under the Properties.&lt;/p&gt;

&lt;p&gt;So focusing in the console i run:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo dnf install flat-remix-gtk2-theme flat-remix-gtk3-theme
sudo dnf install yaru-icon-theme.noarch
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Search for more icons with &lt;code&gt;dnf search icon-theme&lt;/code&gt; and themes with &lt;code&gt;dnf search gtk2-theme&lt;/code&gt;, dnf search gtk3-theme`&lt;/p&gt;

&lt;p&gt;What i needed from the Settings was &lt;em&gt;gtk-theme-name&lt;/em&gt; and for the icons &lt;em&gt;gtk-icon-theme-name&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;&lt;br&gt;
[Settings]                                                                                                                                                                                                                                   &lt;br&gt;
gtk-application-prefer-dark-theme=0                                                                                                                                                                                                          &lt;br&gt;
gtk-theme-name=Flat-Remix-GTK-Green-Solid                                                                                                                                                                                                    &lt;br&gt;
gtk-icon-theme-name=Yaru &lt;br&gt;
&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fapw166989xa4abgpfbx7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fapw166989xa4abgpfbx7.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The value i guess is the folder name that can be found in /usr/share/themes/. for instance, in my case the directory is &lt;br&gt;
&lt;code&gt;/usr/share/themes/Flat-Remix-GTK-Green-Solid&lt;/code&gt;&lt;br&gt;
In the same way Yaru icons are located in /usr/share/icons/Yaru&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;&lt;br&gt;
❯ ls /usr/share/icons/Yaru&lt;br&gt;
128x128  16x16  16x16@2x  22x22  24x24  24x24@2x  256x256  256x256@2x  32x32  32x32@2x  48x48  48x48@2x  64x64  8x8  8x8@2x  cursors  cursor.theme  index.theme  scalable  scalable-max-32&lt;br&gt;
&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

</description>
      <category>i3</category>
      <category>gtk</category>
      <category>themes</category>
    </item>
  </channel>
</rss>
