Re: KDE file dialogs in Thunderbird and Firefox

Wolfgang Rosenauer <[email protected]> Fri, 17 Jul 2020 23:02:33 +0200
Newsgroups gmane.linux.suse.kde
Organization openSUSE
Message-ID <[email protected]>
Am 17.07.20 um 22:49 schrieb Carlos E. R.:
> On 17/07/2020 22.44, Wolfgang Rosenauer wrote:
>> Hi,
>>
>> Am 17.07.20 um 20:11 schrieb Carlos E. R.:
>>> On 10/07/2020 08.26, Tom wrote:
>>>> Hi all,
>>>>
>>>> it seems like Thunderbird and Firefox use GTK dialogs for opening and saving
>>>> files by default. To make them use native KDE dialogs the environment variable
>>>> GTK_USE_PORTAL must be set to 1. One way to do that is to edit the .desktop
>>>> files for the applications [1].
>>>>
>>>> Alternatively, the line
>>>>
>>>> export GTK_USE_PORTAL=1
>>>>
>>>> can be added in ~/.profile or even globally under /etc/profile.d/.
>>>>
>>>> Would it make sense to add the global export in a package (e.g., a branding
>>>> package)? This should make Firefox and Thunderbird use the KDE file dialogs by
>>>> default for most users. Or would that have any unwanted side effects?
>>>
>>> What about the people that are not using a KDE desktop?
>>
>> I do not understand the question I have to say. You want KDE dialogs when not
>> using KDE?
> 
> Nononono. The contrary, I do not want KDE dialogs forced on me when not using
> KDE, which is what I understand would do setting GTK_USE_PORTAL to 1 in the
> .desktop file.
> 
> I must be mistaken somewhere, so I'm asking :-)

since GTK_USE_PORTAL enables some xdg stuff and xdg (AFAIK) is meant to
standardize Linux desktop things I would expect that GTK_USE_PORTAL going to xdg
would try to use the best match for your desktop.

But probably I'm wrong ;-)


Wolfgang
-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]