! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Can't set default theme and icons?
Status:
RESOLVED: INVALID
Product:
Xfce4-settings
Component:
General

Comments

Description mike ciccarelli 2012-07-26 21:05:47 CEST
Compiling from source and I'm trying to setup default theme and icons but it doesn't seem to be working.. 

Edited this file:

etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml

to be:

<?xml version="1.0" encoding="UTF-8"?>
<channel name="xsettings" version="1.0">
  <property name="Net" type="empty">
    <property name="ThemeName" type="string" value="Xfce"/>
    <property name="IconThemeName" type="string" value="Tango"/>
....

And it doesn't seem to pick up the icons.. this technique worked for me in 4.8.. I installed the Tango icons in the share/icons directory.

Any ideas? Please help..

thanks,
Mike
Comment 1 mike ciccarelli 2012-07-26 22:45:08 CEST
Also if I change a theme or icon set nothing in the session updates.. almost like it completely ignores the request...
Comment 2 mike ciccarelli 2012-07-31 19:49:41 CEST
I recompiled all the packages from scratch to see if I messed up something or missed an error or dependency.. but I'm not having much luck :(

I have been able to compile from scratch for 4.8 without any problem in the past.. seems like 4.10 is giving me trouble. Here is a list of the dependencies I'm using to build against:

atk-1.29.92.tar.bz2        glade3-3.6.7.tar.bz2             pango-1.22.4.tar.bz2
cairo-1.8.10.tar.gz        glib-2.28.8.tar.bz2              pixman-0.12.0.tar.gz
dbus-1.5.8.tar.gz          gtk+-2.24.11.tar.gz              tango-icon-theme-0.8.90.tar.gz
dbus-glib-0.92.tar.gz      icon-naming-utils-0.8.90.tar.gz  Terminal-0.4.8.tar.bz2
fontconfig-2.7.3.tar.gz    intltool-0.41.1.tar.gz           vte-0.24.3.tar.bz2
gdk-pixbuf-2.22.1.tar.bz2  libwnck-2.30.7.tar.bz2           xfce-4.10.tar.bz2

Again, I can start a session fine, but I can't change theme or the icons.. it seems to completely ignore the changes when selecting either one.

thanks,
Mike
Comment 3 mike ciccarelli 2012-07-31 22:13:38 CEST
Not sure if anyone even looks at these requests but I'll add a couple of things.. and how I got it to work finally..

I have these set in a session:
XDG_CONFIG_DIRS=/opt/xfce-4.10.0/etc/xdg:/etc/xdg
XDG_DATA_DIRS=/opt/xfce-4.10.0/share:/usr/local/share:/usr/share
XDG_MENU_PREFIX=xfce-

and in the /opt/xfce-4.10.0/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml file I have this:
    <property name="ThemeName" type="string" value="Xfce"/>
    <property name="IconThemeName" type="string" value="Tango"/>

But it doesn't seem to set the default... Also it doesn't seem to even look in /opt/xfce-4.10.0/share/icons/Tango when Tango is selected as the font for the user... This all used to work just fine in XFCE 4.8.0 so I'm not sure exactly what changed or what is broke (I really believe this is a bug at this point)...

The work around? Created /opt/xfce-4.10.0/share/icons/hicolor/index.theme and added changed this:
Inherits=gnome,crystalsvg
to this:
Inherits=Tango,gnome,crystalsvg

... which seems to finally force xfce to look at /opt/xfce-4.10.0/share/icons/Tango for Icons...

Please fix this...

thanks,
Mike
Comment 4 Nick Schermer editbugs 2013-03-20 21:24:43 CET
If xfsertingsd is running Xfce work is done, its for gtk to pickup and parse the theme.

Bug #9163

Reported by:
mike ciccarelli
Reported on: 2012-07-26
Last modified on: 2013-03-20

People

Assignee:
Nick Schermer
CC List:
4 users

Version

Version:
4.10.0

Attachments

Additional information