杂记两则
py2exe issue: ImportError: No module named _fontdata_enc_winansi (http://stackoverflow.com/)

Gtk2 and Gtk3 for non-Gnome users

tubo posted @ 2014年9月03日 00:07 in 未分类 , 784 阅读

I’m over gnome. Even when I was a gnome user I did minimal gnome installs. However, I like many still use many gtk applications. Most of the applications I use are gtk applications. However, I don’t use a DE, I either use xfce4.8 or compiz as a standalone wm.

However, I still want my desktop to look nice. Now with some of the gtk applications I use adopting gtk3, such as Nautilus and Gedit, I want my gtk2 and gtk3 apps to use the sameicon and gtk theme.

The first step to acheiving this is using icon and gtk themes that support both gtk2 andgtk3. I went over to gnome-looks and selected the “Zukitwo” theme.

To change gtk themes without installing an application is rather simple. However, there are two seperate files for gtk2 and gtk3 which you must edit. Below are examples of the two files on my system.

 

 
## ~/.gtkrc-2.0
## Edit GTK2 Theme Settings
gtk-theme-name="Zukitwo-Dark"
gtk-<b style="color:black;background-color:#99ff99">icon</b>-theme-name="Tango"
gtk-font-name="Zekton 10"
gtk-toolbar-style=2

   

 

 

 

 

 

 

 

## ~/.config/gtk-3.0/settings.ini
## Edit <b style="color:black;background-color:#ffff66">GTK3</b> Theme Settings
## Create this File if it doesn't already exist
[Settings]
gtk-theme-name = Zukitwo-Dark
gtk-<b style="color:black;background-color:#99ff99">icon</b>-theme-name = Tango
gtk-fallback-<b style="color:black;background-color:#99ff99">icon</b>-theme = gnome
# next option is applicable only if selected theme supports it
gtk-application-prefer-dark-theme = true
# set font name and dimension
gtk-font-name = Zekton 10


http://zitzlinux.wordpress.com/2011/06/03/gtk2-and-gtk3-for-non-gnome-users/ 

 

 

jnanabhumiap.in 说:
2024年1月19日 19:45

JNANABHUMI AP provides all latest educational updates and many more. The main concept or our aim behind this website has been the will to provide resources full information on each topic which can be accessed through Internet. To ensure that every readers get’s what important and worthy about the topic they search and link to hear from us. jnanabhumiap.in Jnanabhumi AP is a startup by passionate webmasters and bloggers who have passion to provide engaging content which is accurate, interesting and worthy to read. We are mope like a web community where you can find different information’s, resources, topics on day to day incidents or news. We provide you the finest of web content on each and every topics possible with help of editorial and content team.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter