Install Themes and Icons on Xubuntu and Other Distros Using Xfce

A step-by-step beginner’s tutorial to show how to install themes, icons, and cursors in Xubuntu and other Linux distributions that use the Xfce desktop environment.
Warp Terminal

Installing themes and icons on Xubuntu is similar to Ubuntu or any other Linux distribution. You put the theme files in the ~/.themes folder and icons in ~/.icons folder and then use a tool to change it.

However, some options or the user interface will look different considering Xubuntu uses the Xfce desktop environment. This is why I created this specific tutorial to show the steps with proper screenshots.

Installing new themes in Xubuntu (Xfce)

To get started, you need to create a .themes folder in the home directory. Mind the dot (.) before the folder name. It’s important and hides the folder from normal view.

To check if you already have it, you can enable viewing hidden files and then create it if it isn’t present.

A screenshot showing how to enable hidden files in Thunar File manager using the main menu. Go to View and toggle on the "Show hidden files" checkbox.
Enable hidden files

Once done, you need to download a theme.

You can browse for XFCE themes on the Xfce-look portal. All you have to do is download the archive (compressed) file.

On the website, there is a section called GTK3/4. You can download a popular GTK theme file from here. Chances are there that it supports Xfce as well. You can look into the theme description or check the file to find a folder xfwm.

💡
Even if there is no Xfwm option for a theme, you can apply themes to GTK apps.
Xfwm folder in a downloaded theme.
Xfwm folder in a theme.

For this section, I am using the Layan theme, which is a popular theme for the GNOME and KDE desktop and it also has an option for Xfce.

When the theme file is downloaded, you need to extract the archive file, as shown in the screenshot below.

A screenshot showing how to extract a downloaded theme archive file, in this case a tar.xz file. Right-click on it and select "Extract Here" option.
Extract the theme file

Once you extract it, you will notice a folder appear.

Go inside that folder and see whether you can spot an index.theme file. If yes, copy the whole folder.

Sometimes, there will be multiple theme variants inside the extracted folder. You should be copying the sub-folder which has an index.theme file.

Now paste this folder into the .themes directory that you created initially.

Copy and paste the theme to the ~/.themes directory.
Copy the theme

Finally, open Appearance app from the start menu.

Open Appearance from the Start menu.
Open Appearance

In the Appearance window, under the Style tab, select the newly added theme, in this case, Layan-Dark.

🚧
Do not forget to toggle on the "Set matching Xfwm4 theme if there is one" option.

This way, if the theme provides a Xfce window manager theme, it will be applied.

Theme is applied in Appearance settings
Theme Applied

If not, you can theme the window manager separately by going to the Window Manager settings.

Search for Window Manager from the Xfce menu.

Window manager in Xfce search
Search for Window Manager

Here, under Style, apply Window Manager theme separately.

Apply a window manager theme separately using Window manager settings.
Theme Window Manager separately
💡
The above method is useful if your favorite theme has only GTK version. So, you can apply the GTK theme from appearance while a different window manager theme here.

Alternate but easier way of installing GTK themes on Xfce

🚧
This will work only if the theme archive has one theme folder inside. If there are subfolders in the archive file, the installation will fail.

If you have downloaded a GTK theme archive file, you don't have to extract and paste it in the .themes folder. Instead, you can use the Appearance settings to do this for you.

💡
The very simple method is to drag and drop the theme archive file to the style tab in the Appearance window.

Open Appearance from the start menu and from the Style tab, select the + Add button at the bottom-left.

Select the Add button from Appearace Styles settings
Select Add

Now, from the file chooser, select the theme archive file (not the extracted folder).

Select the theme archive file from the file chooser window.
Select the theme archive

That's it. It will extract the folder and place the theme in the ~/.themes folder. You can select the theme without even closing the Appearance window.

Adding icon themes in Xubuntu (Xfce)

Let's customize Xfce further by installing icons in Xfce. Basically, the GTK theme changes the appearance of the application windows, file manager, window border etc. Icons will change the logo/icons of the applications you have installed.

You can browse through the same xfce-look portal to look for complete icon themes.

Or, you can explore some of the best icon themes available for Ubuntu that should work for Xubuntu as well. Icons are independent of the desktop environment.

Once you find the one you like, download it.

💡
The simple method to install an icon theme is to drag and drop the icon archive file to the Icons section in the Appearance window.

Now, open the Appearance settings and go to the Icons section. Click on the Add button.

Click on the Add button in the Icons tab
Click on the Add button

From the file chooser, select the Icon archive file (not the extracted folder).

Unlike in the GTK theme described above, even if there are multiple icon variants inside a single archive, this will extract them all and paste it on the ~/.icons folder.

You can select the icons without closing the Appearance settings.

Alternative traditional icon install method

If you want to install the icons manually, extract the downloaded icon archive file.

Now, paste it in the ~/.icons folder. Create it, if it's not there already.

Icon files are places in the .icons folder in home directory.
Icon files in their location

Now, you can head back to the Appearance settings and find the icon listed under the “Icons” available.

Icon themes applied in Xfce. You can see it side-by-side in the screenshot
Icon theme applied
🚧
Some icon or theme files may contain nested folders with different variants in it. You’ll notice that they do not appear in the appearance tool. If that’s the case, copy the inner folder directly in ~/.themes or ~/.icons folder.

Troubleshoot: Icon cache issue

Sometimes, you will see a notification symbol in the Icons settings in Appearance settings window. If you hover over it, it will display:

Warning: this icon theme has no cache file....
Icon cache error in Xfce appearance settings.
Icon cache error in Appearance

This tooltip itself gives you the solution. You can run the command as shown in the settings. For me, it will be:

gtk-update-icon-cache /home/itsfoss/.icons/kora/
Icon cache is created using the terminal commands
Icon cache created

Bonus: Adding a cursor theme in Xubuntu (Xfce)

Adding a cursor theme is similar to icons. You can download any good cursor theme from the Cursors section on the Xfce-look website.

Once downloaded, extract the file and place it in the ~/.icons folder. Yes, Icons and Cursors are placed in the same folder.

Material Cursors theme in Xfce look website Cursror section.
Material Cursor Theme

Once downloaded, the archive, extract it and place it in the ~/.icons folder.

Cursor theme is places among icon themes in the .icons directory in home directory
Cursor theme in ~/.icons location

Now, search and open Mouse and Touchpad from the start menu.

Open Mouse and Touchpad from the start menu
Open Mouse and Touchpad

Here, go to the Theme tab and change the cursor theme to your favorite from the list.

Change Mouse cursor theme from the Mouse and Touchpad theme settings
Change Cursor Theme

You can change the cursor size also from these settings.

Keep on customizing

Themes, icons and cursor, that's just the beginning. You can explore more ways to customize Xfce in this video where I share a particular minimalist setup.

Happy tweaking Xfce!

It's FOSS turns 13! 13 years of helping people use Linux ❤️

And we need your help to go on for 13 more years. Support us with a Plus membership and enjoy an ad-free reading experience and get a Linux eBook for free.

To celebrate 13 years of It's FOSS, we have a lifetime membership option with reduced pricing of just $76. This is valid until 25th June only.

If you ever wanted to appreciate our work with Plus membership but didn't like the recurring subscription, this is your chance 😃

Get Lifetime Membership of It's FOSS
About the author
Abhishek Prakash

Abhishek Prakash

Created It's FOSS 13 years ago to share my Linux adventures. Have a Master's degree in Engineering and years of IT industry experience. Huge fan of Agatha Christie detective mysteries 🕵️‍♂️

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.