Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[TIP] openoffice con tema gtk2
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Risorse italiane (documentazione e tools)
View previous topic :: View next topic  
Author Message
Guglie
Apprentice
Apprentice


Joined: 01 Mar 2004
Posts: 240
Location: switzerland - zürich

PostPosted: Thu Oct 20, 2005 7:38 pm    Post subject: [TIP] openoffice con tema gtk2 Reply with quote

non so se sono l'unico, ma è da un bel po' di tempo che mi chiedevo come mai gli snapthots di openoffice-2 in portage avessero quella grafica grigina e bruttina, mentre quegli sul sito ufficiale usassero correttamente il mio tema gtk2

in pratica quando si emerge openoffice o ximian-openoffice il tema gtk2 viene applicato soltanto se si usa appunto gnome, mentre se si usa un qualsiasi altro wm viene usata la grafica grigina

la soluzione sta nell settare la variabile OOO_FORCE_DESKTOP=gnome in questo modo
Code:
$ OOO_FORCE_DESKTOP=gnome xooffice


oppure, più comodamente inserire in /etc/profile o (ma solo per ximian-openoffice) in /etc/openoffice/openoffice.conf
Code:
export OOO_FORCE_DESKTOP=gnome

e avviare openoffice normalmente, con
Code:
# xooffice


NB: con ximian-openoffice-bin-1.3.15 ho dovuto abilitare la use flag USE="gnome" per poter usare il tema gtk2, mentre con openoffice-bin-2.0.0 il tema viene applicato anche senza abilitare la USE flag gnome

TIP tratto da https://forums.gentoo.org/viewtopic-t-26114.html
_________________
A! Elbereth Gilthoniel! silivren penna míriel o menel aglar elenath!


Last edited by Guglie on Sat Oct 22, 2005 9:06 am; edited 1 time in total
Back to top
View user's profile Send private message
Luca89
Advocate
Advocate


Joined: 27 Apr 2005
Posts: 2107
Location: Agrigento (Italy)

PostPosted: Thu Oct 20, 2005 8:03 pm    Post subject: Reply with quote

Ciao,

Io ho installato openoffice-bin-2.0 e il file /etc/openoffice/openoffice.conf non lo trovo, io ho sempre posizionato l'export della variabile nel file /etc/profile.
Back to top
View user's profile Send private message
Guglie
Apprentice
Apprentice


Joined: 01 Mar 2004
Posts: 240
Location: switzerland - zürich

PostPosted: Thu Oct 20, 2005 8:50 pm    Post subject: Reply with quote

infatti quel file non esiste di default: devi creare tu la directory openoffice in /etc e il file openoffice.conf

puoi esportare quella variabile da dove vuoi, ma lo script che lancia openoffice (/usr/bin/xooffice) fa il source di /etc/openoffice/openoffice.conf:
Code:
##
## Source system configuration file
##
[ -r /etc/openoffice/openoffice.conf ] && . /etc/openoffice/openoffice.conf

_________________
A! Elbereth Gilthoniel! silivren penna míriel o menel aglar elenath!
Back to top
View user's profile Send private message
JacoMozzi
l33t
l33t


Joined: 12 May 2003
Posts: 645
Location: Giubiasco world(EU(CH(TI)))

PostPosted: Thu Oct 20, 2005 9:33 pm    Post subject: Reply with quote

Urca, funziona :-D

Grazie milleeeeee

Jaco
Back to top
View user's profile Send private message
knefas
l33t
l33t


Joined: 21 Dec 2003
Posts: 828

PostPosted: Thu Oct 20, 2005 11:04 pm    Post subject: Reply with quote

con oo2 (almeno!) non c'e' bisogno di aggiungere nelle USE gnome.

ah, funziona anche con kde al posto di gnome...
Back to top
View user's profile Send private message
Guglie
Apprentice
Apprentice


Joined: 01 Mar 2004
Posts: 240
Location: switzerland - zürich

PostPosted: Sat Oct 22, 2005 8:56 am    Post subject: Reply with quote

knefas wrote:
con oo2 (almeno!) non c'e' bisogno di aggiungere nelle USE gnome.

hai ragione, adesso modifico il post iniziale
_________________
A! Elbereth Gilthoniel! silivren penna míriel o menel aglar elenath!
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Sun Oct 30, 2005 8:49 am    Post subject: Reply with quote

Moved from Italian to Off Topic.
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Risorse italiane (documentazione e tools) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum