You are not logged in.
Hello! When I run OpenOffice from my fluxbox menu (/opt/openoffice/program/soffice) or from fbrun it does not use my gtk theme, but rather the ugly default theme. I already done "export OOO_FORCE_DESKTOP=gnome" and added it to my ~/.bashrc file. And if I run "/opt/openoffice/program/soffice" from the shell, it uses the gtk theme as expected.
Is this a problem with fluxbox? or what?
Thanks for your help!
Using openoffice-base 2.4.1-2, and fluxbox 1.1.1-1.
Last edited by Odd-rationale (2008-10-02 04:02:02)
Offline
Edit your fluxbox menu entry to run:
OOO_FORCE_DESKTOP=gnome /opt/openoffice/program/soffice
for the launch command.
Edit:
Actually, that might not work...
You can always make a script that does
export OOO_FORCE_DESKTOP=gnome
soffice
and just run that.
Last edited by Statix (2008-10-02 03:16:01)
Madly in love with Arch64, Openbox, DotA, and of course... penguins!
Happy to help if you're not a Help Vampire. Use your wonderful resources like ArchWiki, Google, and our wonderful search page.
Offline
Ok. I guess that hack will work. Thanks!
For the record, here's the script I used:
#!/bin/bash
#### openoffice-gtk.sh - A script to start start openoffice with the GNOME/GTK environment
export OOO_FORCE_DESKTOP=gnome
/opt/openoffice/program/soffice $1
The $1 is so that you can run "./openoffice-gtk.sh -writer" or -calc, etc. normally, just as you would running soffice.
Offline
maybe you should add this to our wiki - OOo 3.0 will need this even more
Offline
This thread is very old* but must be well used. So I'd like to add this
If you use a dark theme in openbox and want open office in a light theme then...
GTK2_RC_FILES=/usr/share/themes/SimpleGrey/gtk-2.0/gtkrc /usr/bin/soffice $1
Where 'SimpleGrey' can be replaced with any light theme of your choice for open office to use.
~
*I hope that does not count as necro bumping as this is up to date info
Offline
This thread is very old* but must be well used. So I'd like to add this
If you use a dark theme in openbox and want open office in a light theme then...
GTK2_RC_FILES=/usr/share/themes/SimpleGrey/gtk-2.0/gtkrc /usr/bin/soffice $1
Where 'SimpleGrey' can be replaced with any light theme of your choice for open office to use.
~
*I hope that does not count as necro bumping as this is up to date info
There already exists a package that does this. http://aur.archlinux.org/packages.php?ID=22383
Offline