Annotation of wikisrc/tutorials/x11/how_to_use_gtk_applications_with_lightweight_window_managers___42__box__44___e17__44___etc..mdwn, revision 1.2
1.1 nia 1: # The problems
2:
3: 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.
4:
5: # making dbus run
6:
7: You have to add the following line to /etc/rc.conf
8:
9: dbus=YES
10:
11:
12: Don't forget to put the right dbus file in /etc/rc.d
13:
14: cp /usr/pkg/share/examples/rc.d/dbus /etc/rc.d/dbus
15:
16:
17: # choosing your gtk theme
18:
1.2 ! nia 19: For `gtk2+` applications, you need to create a .gtkrc-2.0 file in your home directory with the following lines :
1.1 nia 20:
21: gtk-theme-name = "Clearlooks"
22: gtk-icon-theme-name = "gnome"
1.2 ! nia 23: gtk-font-name = "Sans 12"
1.1 nia 24:
25:
1.2 ! nia 26: For `gtk3+`, the file is `~/.config/gtk-3.0/settings.ini`:
! 27:
! 28: [Settings]
! 29: gtk-theme-name = Material-compact
! 30: gtk-icon-theme-name = adwaita
! 31: gtk-font-name = Sans 12
! 32: gtk-enable-animations = false
! 33: gtk-application-prefer-dark-theme = false
! 34: gtk-menu-popup-delay = 0
CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb