numix-gtk-theme/README.md

62 lines
1.7 KiB
Markdown
Raw Normal View History

2013-08-09 21:02:24 +00:00
Numix is a modern flat theme with a combination of light and dark elements. It supports Gnome, Unity, XFCE and Openbox.
2014-01-06 20:49:27 +00:00
Numix is a part of the [Numix Project](http://numixproject.org).
2013-08-09 21:06:49 +00:00
### Manual installation
2013-08-09 21:02:24 +00:00
2015-08-06 21:22:27 +00:00
First, you need to compile the theme using the [Sass](http://sass-lang.com/) compiler.
To install Sass, install ruby and the gem command using your distro's package manager. Then install `sass` with the `gem` command,
`gem install sass`
You'll also need the following commands in your path to generate the gresource binary. Install them using your distro's package manager.
* `glib-compile-schemas`
* `gdk-pixbuf-pixdata`
After installing all the dependencies, switch to the cloned directory and, run the following in Terminal,
2015-09-09 19:05:36 +00:00
```sh
2015-08-06 21:22:27 +00:00
make
sudo make install
```
2013-08-09 21:02:24 +00:00
2013-08-09 21:12:33 +00:00
To set the theme in Gnome, run the following commands in Terminal,
2013-08-09 21:02:24 +00:00
2015-09-09 19:05:36 +00:00
```sh
2013-08-09 21:02:24 +00:00
gsettings set org.gnome.desktop.interface gtk-theme "Numix"
gsettings set org.gnome.desktop.wm.preferences theme "Numix"
```
2013-08-09 21:12:33 +00:00
To set the theme in Xfce, run the following commands in Terminal,
2015-09-09 19:05:36 +00:00
```sh
2013-08-09 21:12:33 +00:00
xfconf-query -c xsettings -p /Net/ThemeName -s "Numix"
2013-08-11 01:19:48 +00:00
xfconf-query -c xfwm4 -p /general/theme -s "Numix"
2013-08-09 21:12:33 +00:00
```
2015-09-09 19:05:36 +00:00
### For developers
If you want to hack on the theme, make sure you have the `inotifywait` command available, which is used for watching and automatically building the files.
To start watching for changes, run the following,
```sh
make watch
```
If you change any assets, you'll need to regenerate the `gtk.gresource.xml` and `gtk.gresource` files. You can use [grrr](https://github.com/satya164/grrr) to do it easily.
2013-08-09 21:06:49 +00:00
### Requirements
2013-08-09 21:02:24 +00:00
2015-08-06 20:49:29 +00:00
GTK+ 3.16 or above
2013-08-09 21:12:33 +00:00
2013-08-09 21:02:24 +00:00
Murrine theme engine
2013-08-09 21:06:49 +00:00
### Code and license
2013-08-09 21:02:24 +00:00
2016-04-18 20:16:57 +00:00
Report bugs or contribute at [GitHub](https://github.com/numixproject/numix-gtk-theme)
2013-08-09 21:02:24 +00:00
License: GPL-3.0+