Results 1 to 3 of 3

Thread: How do I change/customize theme font color in the Files app?

  1. #1
    Join Date
    Nov 2017
    Beans
    1

    Question How do I change/customize theme font color in the Files app?

    The font color of the Size and Modified columns of the Files app is gray. How do I change this to black?

    I got to the end of this answer and almost found it ... but didn't, because the CSS file for Yaru only specified another resource.

    ... After writing the first two lines I now see the file gtk.gresource, but it's binary. But it has readable CSS in it. I am safe in modifying this? Or can it cause problems that are not immediately noticeable? Or is this totally the wrong way to do this?
    Last edited by zylstra; January 21st, 2021 at 01:17 AM.

  2. #2
    Join Date
    May 2008
    Location
    United Kingdom
    Beans
    5,261
    Distro
    Ubuntu

    Re: How do I change/customize theme font color in the Files app?

    Quote Originally Posted by zylstra View Post
    … How do I change this to black?
    You might want to look at installing an alternative theme. There are many themes available, but it's hard to find exactly what you want.

    I'll describe the steps below.
    Quote Originally Posted by zylstra View Post
    … it's binary. But it has readable CSS in it. I am safe in modifying this?
    No, that's unsafe. You can try, of course — as long as you make a backup first! — but you might end up being unable to use your system and having to fix it via a Live disk!

    To install an alternative theme…

    1. Install and enable the Gnome extension User Themes.
    2. Also install Gnome Tweaks, either from the Software Store or via the terminal:
      Code:
      sudo apt install gnome-tweaks
    3. Search for Gnome themes online. I have found two useful resources:
      Gnome Look
      Deviant Art
      There are other sources, but take care — these are unofficial themes and are therefore not guaranteed to be safe. Check the reviews and star ratings.
      Some themes will be a complete makeover. Some will be just new icons, nothing else (that's probably what you're after). Some, just new cursors. And so on.
    4. Once you've found found a theme that you like, download the files that you want. A good location is your Downloads folder.
    5. Find the files, which are archive files, and extract their contents (each will be extracted into a separate subfolder). You might need to rename the subfolders to avoid duplicate names.
    6. Move the extracted folders into your folder ~/.themes (note the leading point). Create the folder if it doesn't already exist. (At this point, you can delete the original downloaded files.)
    7. Go to Gnome Tweaks > Appearance > Themes.
    8. Change the themes as required. They should be enabled immediately; if not, log out and in again (or restart the computer).
    Always make regular backups of your data (and test them).
    Visit Full Circle Magazine for beginners and seasoned Linux enthusiasts.

  3. #3
    Join Date
    Dec 2014
    Beans
    2,566

    Re: How do I change/customize theme font color in the Files app?

    Might this blog entry be helpful ? If I understand the author right, you can use the program gresource (should be installed by default, if not it should be in the package libglib2.0-bin) to extract the files from gtk.gresource and change the theme to use the extracted files.

    Holger

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •