Make Numix theme just right

Preface

Ever wanted Numix but didn’t like how… orange it is? There’s a way to make at least the folders whatever colour you want, with a variety of styles for making Numix yours.

Installation

Of course, you’ll need the Numix theme, but you also need Dulwich which is required for compilation of the software which will easily modify the theme on your behalf. To install, perform as shown.

:heavy_dollar_sign: In xdg-terminal or preferred emulator:

sudo pacman -S python-dulwich
pamac build numix-icon-theme-git
pamac build numix-square-icon-theme-git
pamac build numix-circle-icon-theme-git
pamac build numix-folders

:open_book: Broken up into individual commands for readability, can be merged as one command.

:jigsaw: Only the base theme is required! If you don’t want square and circle themes, don’t bother.

Preparation

Not necessary, though recommended, you can create a copy of the Numix theme directory as follows.

:heavy_dollar_sign: In xdg-terminal or preferred emulator:

mkdir $HOME/.icons
cp -R /usr/share/themes/Numix* $HOME/.icons

:file_folder: This also prevents the original copy from being edited and necessitating use as admin!

That should give you a place to begin editing the icon theme, should you wish to further append onto the icons beyond simply changing their colours.

Modification

Execution

To begin appending onto the theme, open the application.

:heavy_dollar_sign: In xdg-terminal or preferred emulator:

numix-folders

If the only copy is in /usr/share/icons then you will be prompted for your password.

Bugs

There is one major bug in the software — you cannot select the colour box to change the hex value shown at its right, rather you need to manually input the hex value which represents the colour desired. This is the only major bug present in the software.

While not arguably a bug, this software also dumps loads of duplicate icons into Numix, bloating it up massively. Fixing that is quite simple, especially with the information presented below.

Cleanup

If you wish to remove any icons which are not absolutely necessary, then this series of terminal commands should serve well this task.

:fast_forward: Assuming path is $HOME/.icons.

:heavy_dollar_sign: In xdg-terminal or preferred emulator:

cd $HOME/.icons
rm -rf ./Numix*/*/places/blue-*.svg
rm -rf ./Numix*/*/places/brown-*.svg
rm -rf ./Numix*/*/places/default-*.svg
rm -rf ./Numix*/*/places/green-*.svg
rm -rf ./Numix*/*/places/grey-*.svg
rm -rf ./Numix*/*/places/orange-*.svg
rm -rf ./Numix*/*/places/orange-*.svg
rm -rf ./Numix*/*/places/pink-*.svg
rm -rf ./Numix*/*/places/purple-*.svg
rm -rf ./Numix*/*/places/red-*.svg
rm -rf ./Numix*/*/places/yellow-*.svg
rm -rf ./Numix*/*/places/folder_color_*.svg

:open_book: rm -rf could be a single operation, separated for readability.

:link: unlink should be used for symbolic links, but does not accept wildcards. Though often the lazy means to complete a task isn’t recommended, rm is the easiest way possible.

:asterisk: Wildcards are used for the following directories:

Hidden for your convenience
  • Numix*
    • Numix
    • Numix-Light
    • Numix-Circle
    • Numix-Circle-Light
    • Numix-Square
    • Numix-Square-Light
  • Numix*/*
    • 16
    • 22
    • 24
    • 32
    • 48
    • 64
    • 96
  • Numix*/*/places/... (Colours)
    • blue
    • brown
    • default
    • green
    • grey
    • orange
    • pink
    • purple
    • red
    • yellow

Presentation

To make it appear as a different theme instead of Numix, open up the indexes for each theme…

:heavy_dollar_sign: In xdg-terminal or preferred emulator:

xedit ./Numix*/index.theme

:pencil2: Replace xedit with your graphical editor of preference, or use nano.

…And replace default entries for the Numix themes with your preference for name and description. Save, then next time appearance properties is opened, the modified themes will show up with whatever names and descriptors were given, as well preview of the theme via its folder icon.

1 Like

Actually - this is the recommended approach as local changes to /usr/ structure may be overwritten without notice or it may present package manager file conflicts down the road.

1 Like

Typos and light cleanup of the prose have been resolved. Surprised you didn’t catch some.