[OT] Incredibly ugly hack to make OO.o follow gtk theme

Jasper Huijsmans jasper at moongroup.com
Thu Sep 25 15:25:01 CEST 2003


Hey all, I just found this and thought some of you might be interested.

Apparently OpenOffice can follow the gtk colors, but only when it
believes gnome is running (!). It does this by checking an X property on
the root window, either from nautilus or gnome-session. 

You can however trick OO to think gnome is running by setting the
property yourself. So far it does not seem to affect other prgrams badly
...

Run this from a terminal or put it in your .xinitrc / .xsession file:

xprop -root -format GNOME_SM_PROXY 8i -set GNOME_SM_PROXY 1


cheers,
	Jasper




More information about the Xfce mailing list