Xfce Forum

Sub domains
 

You are not logged in.

#1 2010-01-12 15:06:06

outlaw
Member
Registered: 2005-02-06
Posts: 21

[Solved] Can't Change Themes

I've recently installed (built from source) Xfce 4.6.1 on Debian (Lenny) system. For the most part everything works just fine execpt for themes which I can not seem to change from the xfce settings (appearance) utility. I isolated this environment from the rest of the system by using confiure --prefix=/usr/local.

The configure and make (+install) processes display no error messages ... i.e. dependency problems.
The .gtkrc-2.0 file is not causing the problem. (moved to a tmp dir).

Yes I tried moving the ~/.config file to rule out a corrupted file.

Is there a error / log file that might provide information on this error?

Could I force the theme by editing the relevent configuration file?

Perhaps I need to make a symbolic link  ...

Thanks in advance for advice or suggestions.

Offline

#2 2010-01-12 20:42:22

s0ulslack
Member
From: Idaho
Registered: 2005-12-25
Posts: 291

Re: [Solved] Can't Change Themes

hrm, that sounds odd.  how are you starting Xfce?  sounds like one of the settings daemons isn't running for some reason.

Offline

#3 2010-01-13 03:16:45

outlaw
Member
Registered: 2005-02-06
Posts: 21

Re: [Solved] Can't Change Themes

Xfce is being started by the kde4 login manger.
Building xfce-utils created the file /usr/share/xsessions/xfce.desktop.
I'm assuming that this file controls how the xfce environment starts up.

The interesting thing about the appearance setting utility is that I'm able to change
icons in the icon tab but not the style. (not even between the generic xfce themes.)

I'm wondering if I should build the relevant packages with debugging support enable.
What would the configure command look like?
configure --prefix=/usr/local ???

And where would I look for the debug / error log?

Thanks for helping a beginner who is building packages in order to learn more about xfce and linux in general.

Offline

#4 2010-01-13 19:48:33

s0ulslack
Member
From: Idaho
Registered: 2005-12-25
Posts: 291

Re: [Solved] Can't Change Themes

ahhh, so Style is the only one that doesn't seem to have any effect? Make sure you have xfce-gtk-engines and other relevant gtk engines for other themes.

Offline

#5 2010-01-13 23:22:56

outlaw
Member
Registered: 2005-02-06
Posts: 21

Re: [Solved] Can't Change Themes

The generic gnome (gtk) themes were installed using synaptic.
The Xfce engine and themes were built from source using --prefix=/usr/local

the env commad shows:
GTK_PATH=:/usr/local/lib/gtk-2.0

Which strickly speaking is not true, since the required gtk libs for building Xfce were installed using synaptic.
The "real" GTK_PATH should be /usr/lib/gtk-2.0

(Yes / No)?

So that got me to thinking ....  (always dangerous:)
If copied the /usr/local xfce libs (libxfce.la libxfce.so) to the corresponding /usr/lib directory.

Then linked

ln -s /usr/lib/gtk-2.0 gtk-2.0

Nice theory but no joy ... any other suggestions folks.

Offline

#6 2010-01-19 01:53:12

outlaw
Member
Registered: 2005-02-06
Posts: 21

Re: [Solved] Can't Change Themes

as per your suggestion s0ulslack (IRC) I ran xfce4-appearance-settings from terminal ..
Each time I click on a theme the following error message is generated:

Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property `gtk-alternative-button-order' of type `gboolean' from rc file value "((GString*) 0x91378c0)" of type `gboolean'

Offline

#7 2010-01-19 04:45:54

outlaw
Member
Registered: 2005-02-06
Posts: 21

Re: [Solved] Can't Change Themes

Tried aappending: gtk-alternative-button-order=1 to my .gtkrc-2.0.

Didn't help.

Thought I could force a theme change using the .gtkrc-2.0

include "/usr/local/share/themes/Xfce-light/gtk-2.0"
gtk-theme-name="Xfce-light"

if at first you don't succeed try, try again.

But what to try next smile

Offline

#8 2010-01-19 08:47:06

mmassonnet
Member
From: the milky way galaxy
Registered: 2006-07-30
Posts: 99
Website

Re: [Solved] Can't Change Themes

the xfce gtk engine has to be installed in the same prefix as gtk+2 (the themes can be installed in one of the following places: /usr/[local/]share/themes ~/.themes)

this is the only kind of package that has to be installed "separately", although it is possible to export the env-var GTK_PATH (=/usr/local/:$GTK_PATH)

http://library.gnome.org/devel/gtk/unst … l#id444617


Mike

Offline

#9 2010-01-20 03:22:01

outlaw
Member
Registered: 2005-02-06
Posts: 21

Re: [Solved] Can't Change Themes

Thank you for your input Mike and your assistance on IRC s0ulslack.

I thought this post might have contained the needed solution to this problem.

http://foo-projects.org/pipermail/xfce/ … 24887.html

I'm almost ready to throw in the towel but not quite ...

Offline

#10 2010-01-20 03:59:51

outlaw
Member
Registered: 2005-02-06
Posts: 21

Re: [Solved] Can't Change Themes

Well I've made some progress ... I can now "force" theme changes by modifying ~/.gtk-2.0rc

However the xfce4-appearance-settings still does not work.

Offline

#11 2010-10-14 07:06:43

chinamimi
Member
Registered: 2010-10-14
Posts: 1

Re: [Solved] Can't Change Themes

This seems quite difficult to get, you go online to see if there's a suitable programme.

Offline

#12 2010-11-01 07:44:17

gheadshot
Member
Registered: 2010-11-01
Posts: 1
Website

Re: [Solved] Can't Change Themes

i also got a same problem before.

Offline

Board footer

Powered by FluxBB