[xubuntu-users] Qt file selector with Kate
Antoine Pitrou
antoine at python.org
Sat Jun 27 22:01:04 UTC 2015
Ok, I've finally found a solution. I've installed the KDE desktop
(actually, the kdebase-apps package): this seems necessary so that Qt5
can inherit KDE-like behaviour.
Then I launch Kate with the following environment variables:
QT_QPA_PLATFORMTHEME=kde QT_STYLE_OVERRIDE=gtk
The first variable tells Qt to use KDE behaviour (e.g. file dialog, icon
theme...). The second variable tells Qt to force the widget them to the
given value ("gtk" simply means "current gtk theme").
Regards
Antoine.
Le 27/06/2015 22:19, Antoine Pitrou a écrit :
> Le 15/06/2015 03:56, Sébastien a écrit :
>> On Wed, 10 Jun 2015 14:07:42 +0200, Antoine Pitrou wrote:
>>> Under Xubuntu 15.04 when using Kate (the KDE text editor), the Gtk
>>> file selector is invoked when opening a file. I would rather use the
>>> Qt file selector (its keyboard navigation is better). Is there a way
>>> to do it?
>>
>> Sorry for not being of much help, but I just installed Kate (5.0.0) to
>> try it out and for me the file selector uses Qt (15.04 amd64).
>
> Thanks for the feedback! Unfortunately, I've tried to create a new user,
> and Kate under that user still gets the Gtk file chooser.
>
> Regards
>
> Antoine.
>
>
>
More information about the xubuntu-users
mailing list