You are not logged in.

#1 2010-08-26 14:24:29

toad
Member
From: if only I knew
Registered: 2008-12-22
Posts: 1,775
Website

[SOLVED] - KDE and go-openoffice - semi success

I installed go-openoffice from the normal repos, typed in OOO_FORCE_DESKTOP=kde4 soffice and lo and behold openoffice dialogues are now KDE - hurray!!!

Checked the wiki which says to put the above line in /etc/profile.d/openoffice.sh - so I did as I was told (and created /etc/profile.d/openoffice.sh in the process) but when I start writer I still get the old gtk dialogues.

The second approach says it should be put into /usr/bin/soffice but that has ended in total disaster for me in that the cpu went into overdrive and stopped accepting anything I was able to throw at it.

Has anybody managed to automate this process so that kde integration works even when it is not started from the command line?

Last edited by toad (2010-08-28 07:47:35)


never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::

Offline

#2 2010-08-26 15:25:42

Singul
Member
Registered: 2010-03-24
Posts: 25

Re: [SOLVED] - KDE and go-openoffice - semi success

Uhm, maybe I don't get that right, but when "Use OpenOffice.org dialogs" is disabled in the general options, the dialogs are KDE stuff for me anyway...

Offline

#3 2010-08-26 15:34:45

toad
Member
From: if only I knew
Registered: 2008-12-22
Posts: 1,775
Website

Re: [SOLVED] - KDE and go-openoffice - semi success

So what are you doing right and I am doing wrong?

Did you just install and it worked out of the box?


never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::

Offline

#4 2010-08-26 15:36:46

Singul
Member
Registered: 2010-03-24
Posts: 25

Re: [SOLVED] - KDE and go-openoffice - semi success

I have to say that I had the "normal" openoffice-packages installed before. Maybe this has something to do with it? Not sure..I'm not using it very often anyway, so I didn't care what the menus are like, but just looked it up when I saw this thread...does the mentioned option have any effect for you or none at all?

Offline

#5 2010-08-26 16:30:22

toad
Member
From: if only I knew
Registered: 2008-12-22
Posts: 1,775
Website

Re: [SOLVED] - KDE and go-openoffice - semi success

Yes and no - gtk dialogues stay but look different tongue


never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::

Offline

#6 2010-08-27 10:58:47

mythus
Member
From: MS Gulf Coast
Registered: 2008-05-15
Posts: 509
Website

Re: [SOLVED] - KDE and go-openoffice - semi success

ave pretty good open office integration in KDE, and I didn't run the FORCE DESKTOP string. I think though it is because I am using qtcurve for kde and gtk apps and am not using the qt-gtk engine.

Furthermore, in the options menu for Open office, I do not have the Use Open Office Dialogs checked, meaning it is not using them and instead is using dialogs provided by the WM engine. Since qtcurve allows me to have a similar look for kde and gtk aps, this gives me what I believe to be as close to perfect integration as you can get.


Legends of Nor'Ova - role playing community devoted to quality forum-based and table-top role play, home of the Legends of Nor'Ova Core Rule Book and Legends of Nor'Ova: Saga of Ablution steam punk like forum based RPG

Offline

#7 2010-08-27 13:18:54

toad
Member
From: if only I knew
Registered: 2008-12-22
Posts: 1,775
Website

Re: [SOLVED] - KDE and go-openoffice - semi success

Okay, time for some piccies:

With KDE enforced:
tNWN3Mw

With openoffice dialogue:
tNWN3NQ

Without openoffice dialogue:
tNWN3Ng

EDIT:

Solved. I knew it was me being plain thick, so a night's sleep or two sorted it. Instead of following the wiki I edited the menu entries for OpenOffice and placed OOO_FORCE_DESKTOP=kde4 in front of the actual command - bingo. Okay, it is not global, but enough for me.

Will adjust the wiki accordingly.

Last edited by toad (2010-08-28 07:51:11)


never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::

Offline

#8 2010-08-28 17:25:59

Gillian00
Member
From: Belgium
Registered: 2010-05-25
Posts: 100

Re: [SOLVED] - KDE and go-openoffice - semi success

toad wrote:

Solved. I knew it was me being plain thick, so a night's sleep or two sorted it. Instead of following the wiki I edited the menu entries for OpenOffice and placed OOO_FORCE_DESKTOP=kde4 in front of the actual command - bingo. Okay, it is not global, but enough for me.

Will adjust the wiki accordingly.


what do you mean with: in front of the command ??


Dell Studio XPS 1647 | i5-560m | 4go ddr3 | ATI radeon mobility 4670HD 1go gddr3 | Seagate Momentus 7200.4 G-force | wled 1600x900

Offline

#9 2010-08-28 17:38:44

toad
Member
From: if only I knew
Registered: 2008-12-22
Posts: 1,775
Website

Re: [SOLVED] - KDE and go-openoffice - semi success

Open your menu editor - office - OpenOffice Writer - general tab/Command.

It currently reads "/usr/bin/soffice -writer" and it should read "OOO_FORCE_DESKTOP=kde4 /usr/bin/soffice -writer"

HTH


never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::

Offline

#10 2010-08-28 17:57:49

kevku
Member
From: Estonia
Registered: 2009-11-21
Posts: 73

Re: [SOLVED] - KDE and go-openoffice - semi success

I think it should be export OOO_FORCE_DESKTOP=kde4 in the /etc/profile.d/openoffice.sh file

Offline

#11 2010-08-28 18:02:44

toad
Member
From: if only I knew
Registered: 2008-12-22
Posts: 1,775
Website

Re: [SOLVED] - KDE and go-openoffice - semi success

kevku, I had that as well, adjusting the /etc/profile.d/openoffice.sh file after I tried with the "normal" OpenOffice. Didn't work, but my method did. Still looking for a more elegant cli solution which would be global... Any offers?


never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::

Offline

#12 2010-08-28 18:12:06

kevku
Member
From: Estonia
Registered: 2009-11-21
Posts: 73

Re: [SOLVED] - KDE and go-openoffice - semi success

/etc/profile.d/openoffice.sh needs to be executable and you need to source/relogin after you change it.

Offline

#13 2010-08-30 18:32:57

Gillian00
Member
From: Belgium
Registered: 2010-05-25
Posts: 100

Re: [SOLVED] - KDE and go-openoffice - semi success

you surely know about that  but it changed everything for me :


putting this in /home/user/.Xdefaluts

! Xft settings ---------------------------------------------------------------

Xft.dpi:        96
Xft.antialias:  true
Xft.rgba:       rgb
Xft.hinting:    true
Xft.hintstyle:  hintslight

Xft.lcdfilter: lcddefault


REALLY improved font rendering in Openoffice and  general quality fonts in gtk apps  under kde desktop


hope it helps  smile


Dell Studio XPS 1647 | i5-560m | 4go ddr3 | ATI radeon mobility 4670HD 1go gddr3 | Seagate Momentus 7200.4 G-force | wled 1600x900

Offline

Board footer

Powered by FluxBB