Install and Use Additional Gedit Color Themes

Don't like the default looks for the Gedit text editor? You can surely try to change the color themes. Here's how to do that.
Warp Terminal

Gedit is one of the most popular text editors in the Linux world. It is primarily a text editor but with some tweaks, you can use it for programming as well.

Now, programmers often prefer a darker theme and Gedit is no stranger to that. It comes with a bunch of themes to choose from.

However, if you are not satisfied with them, you may also install third-party color schemes. If you want, you can even create your own color scheme to make it completely unique.

Let me show you how to change the default Gedit theme first and then I'll share how you can install additional, third-party themes.

Change the default Gedit theme

As I mentioned earlier, Gedit comes with a few color schemes of its own. You can easily switch to them.

Go to the top right hamburger menu and select Preferences.

Select Preferences from the top-right hamburger menu
Select Preferences

Now, go to Fonts & Color Tab.

Select the Fonts & Colors tab in the preferences section for changing colors

From there, you can change the color scheme. You can see how all these color schemes look in the screenshots below.

Don't like what you see? Let's explore third-party Gedit themes.

Installing third-party color schemes

You need to download the required color scheme files from the internet first and then add them to Gedit from the Preferences or put them in .local/share/gedit/styles folder.

Step 1: Download color Scheme Files

Third-party Gedit themes are available on various GitHub repositories. For your convenience, I am listing some repos where you can find a lot of scheme files.

On the above repos, you can find XML files. Open the theme XML files and download them by using the Save File as Raw Data option, as shown below.

Download XML files for Gedit themes

Step 2: Install Individual Theme Files

If you have handpicked some theme files, you can install them one by one using Gedit Add scheme feature. For this, open the Preferences > Fonts & Colors tab. Now, click on the "+" symbol on the bottom left:

Click on the "+" sign on Fonts & Colors page for adding individual XML files
Add Individual Scheme File

From the resulting file browser, select the downloaded theme file and click OK.

"Neon", a newly installed theme
Newly installed theme

This theme will now be visible on the same Fonts & Colors tab, and you can switch by clicking on it.

Alternative step 2: Install Themes in Bulk

Did you download an entire GitHub repo of themes? Then it is not convenient to install themes one by one. Do not worry; Gedit has color theme directories that can be used for bulk installs.

You have to copy and paste all the XML files to .local/share/gedit/styles.

After that you will get a thumbnail of all the themes on the Fonts & Colors tab.

Fonts & Colors tab will list all the user installed third partyy themes, that are available for switching
Multiple third party themes in Gedit

If there is no Styles directory, create one. Now, the themes will be available for that particular user.

πŸ’‘

On Linux Mint, you can copy the XML files to /usr/share/gtksourceview-3.0 directory, which will be accessible for both Gedit and Xed editor.

Remove a Gedit theme

If you don't like some themes, you can delete those files from the location. Or, go to the Fonts & Colors section. Now select the theme that you want to delete and press the "-" sign on the bottom left.

Select theme that you want to remove from the list and press "-" button
Select theme and press "-" button

This will delete that particular color scheme.

Some good looking Gedit themes

The below screenshots give some suggestions from my side.

Blackboard

Blackboard (gmate)
Blackboard (gmate)

Catppuccin

Catppuccin is a dark Gedit them, good if you use any similar GTK theme.

Catppuccin
Catppuccin Machiato

Lowlight

Lowlight theme from gmate
Lowlight (gmate)

Midnight

Midnight (gmate)
Midnight (gmate)

Monakai

Monakai (gmate)
Monakai (gmate)

Neopro

Neopro theme from gmate
Neopro (gmate)

Plastic Code Wrap

Plastic Code Wrap theme from gmate
Plastic Code Wrap (gmate)

Slate

Slate (gmate)
Slate (gmate)

Vibrant Fun

Vibrant Fun (gmate / mig)
Vibrant Fun (Mig/gmate)

You can get more themes by searching on GitHub topics and repositories.

More Gedit tweaks

That's just one of the many ways you can tweak Gedit. Here are some more for you to explore.

10 Tweaks to Supercharge Gedit as Code Editor
Gedit is a good text editor. Turn it into a good code editor with these tips, tricks and tweaks.

Enjoy Gedit in more colors :)

About the author
Sreenath

Sreenath

Linux tinkerer by day, Lord of the Rings fanatic by night. When I'm not busy conquering the command line, you can find me kicking back and watching some football while quoting JRR Tolkien

Become a Better Linux User

With the FOSS Weekly Newsletter, you learn useful Linux tips, discover applications, explore new distros and stay updated with the latest from Linux world

itsfoss happy penguin

Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to It's FOSS.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.