You are not logged in.
Pages: 1
I'm trying to decrease the size of the fonts in pcmanfm so I'm using the following script to run the app:
GTK2_RC_FILES=/usr/share/themes/Raleigh/gtk-2.0/gtkrc:/home/user/.gtkrc-font '/usr/bin/pcmanfm'
These are the contents of .gtkrc-fonts
style "myfont" {
font_name = "Sans Condensed 8"
}
class "GtkWidget" style "myfont"
But all the icons disappear when I run the script, with the following error message
** (pcmanfm:2656): DEBUG: unable to load icon user-home
(pcmanfm:2656): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
** (pcmanfm:2656): DEBUG: unable to load icon user-desktop
(pcmanfm:2656): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
** (pcmanfm:2656): DEBUG: unable to load icon user-trash
(pcmanfm:2656): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
** (pcmanfm:2656): DEBUG: unable to load icon system-software-install
(pcmanfm:2656): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
** (pcmanfm:2656): DEBUG: unable to load icon folder
(pcmanfm:2656): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
** (pcmanfm:2656): DEBUG: unable to load icon . GThemedIcon text-plain gnome-mime-text-plain text-x-generic application-x-executable
This does not happen if I just run /usr/bin/pcmanfm
Any advice? Thanks.
Last edited by oinkl (2010-09-10 07:48:40)
Offline
you can use lxappearance to set the font size. here is .gtkrc-2.0 file I am using and changing the size after the Sans in gtk-font-name works fine,
gtk-theme-name="Raleigh"
gtk-icon-theme-name="Azenis Purple Icons"
gtk-font-name="Sans 8"
gtk-toolbar-style=2
include "/home/<name>/.gtkrc-2.0.mine"
Offline
Thanks, worked nicely
Offline
Pages: 1