Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Using KDE file picker in libre office
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
mole
Tux's lil' helper
Tux's lil' helper


Joined: 07 Nov 2009
Posts: 82

PostPosted: Thu Nov 28, 2024 9:50 am    Post subject: Using KDE file picker in libre office Reply with quote

I'm trying to set all applications to use the KDE file picker using
Code:
XDG_CURRENT_DESKTOP=KDE

with kde-plasma/xdg-desktop-portal-kde-6.2.2 and sys-apps/xdg-desktop-portal-1.18.4 installed.

This works for Firefox, Opera, Chrome and Thunderbird, but not for Libreoffice-bin.

The kde USE flag wasn't set, and rebuilding it with the kde USE flag only makes the overall appearance look like something from 2001. Also the option to use the inbuilt file picker or not disappeared (I had unset it previously).
Code:
GTK_USE_PORTAL=1

doesn't work either.

I suspect it's missing KDE libraries? I use KDE apps with Openbox, a lot of the KDE libraries are pulled in, kwin and kdewindowsystem are installed but Libreoffice maybe needs something else?

I've not tried installing the source libreoffice version due to the compile time.

Has anyone had success with this? Or know of anything to try?
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9312

PostPosted: Thu Nov 28, 2024 4:11 pm    Post subject: Re: Using KDE file picker in libre office Reply with quote

mole wrote:
The kde USE flag wasn't set, and rebuilding it with the kde USE flag only makes the overall appearance look like something from 2001. Also the option to use the inbuilt file picker or not disappeared (I had unset it previously).
Code:
GTK_USE_PORTAL=1

doesn't work either.

Your description just sounds like LO is started with the wrong VCL plugin at runtime, even if a KF-based VCL exists. LO will on startup make assumptions about what VCL plugin to choose depending on some crude environment detection, and probably simply dismisses "kf5" or "kf6" when faced with Openbox.

Use SAL_USE_VCLPLUGIN to override that detection and force your VCL plugin of choice:
https://wiki.documentfoundation.org/Development/Environment_variables
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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