File:  [NetBSD Developer Wiki] / wikisrc / tutorials / how_to_use_gtk_applications_with_lightweight_window_managers___42__box__44___e17__44___etc..mdwn
Revision 1.1: download - view: text, annotated - select for diffs
Sun Nov 20 20:55:21 2011 UTC (2 years, 5 months ago) by mspo
Branches: MAIN
CVS tags: HEAD
import all of the how-to articles from the pkgsrc.se wiki

#  The problems

After installing lightweight window managers, I noticed that some gtk applications didn't work ( thunar or nautilus, for example ) because of a dbus problem. Moreover, the gtk applications looked ugly, the icons didn't show up. 

#  making dbus run

You have to add the following line to /etc/rc.conf 
    
    dbus=YES
    

Don't forget to put the right dbus file in /etc/rc.d 
    
    cp /usr/pkg/share/examples/rc.d/dbus /etc/rc.d/dbus
    

#  choosing your gtk theme

To solve the second problem, you need to create a .gtkrc-2.0 file in your home directory with the following lines : 
    
    gtk-theme-name = "Clearlooks"
    gtk-icon-theme-name = "gnome"
    


CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb