Re: Lumina and env variables

Ken Moore <[email protected]>
Newsgroups gmane.os.freebsd.devel.x11
Organization iXsystems
Message-ID <[email protected]>
On Saturday, January 19, 2019 9:33:41 AM EST, Grzegorz Junka wrote:
> Hello,
> Does anyone know how to set an environment variable so that 
> it's visible when running Lumina applications? Currently I have 
> QT_QPA_PLATFORMTHEME set in .profile and .cshrc but these are 
> not visible when I run qt5ct from the Lumina launch menu. They 
> only take effect when I run qt5ct from the command line 
> (Konsole).
>
> This is quite strange because I start Lumina with startx and my 
> .xinitrc looks like this
>
> exec /usr/local/bin/start-lumina-desktop
>
> I would have hoped that these environment variables should be 
> inherited by the Lumina process and subsequently by all 
> applications launched from the menu. Unless something overwrites 
> them later?
>
> Thanks
> GrzegorzJ
>

The QT_QPA_PLATFORMTHEME environment variable is special to Lumina and will 
automatically get overwritten when the desktop starts up.

Lumina will automatically change that variable to "lthemeengine" (Lumina 
theme engine), which is a custom fork of the qt5ct theme engine with 
additional support/features specifically for desktop/application theming 
(such as more color palette support, ability to scan system-installed 
palette and theme files for availability, things of that nature).

TLDR: Don't use qt5ct with Lumina. Just make your changes in the Lumina 
theme engine utility instead (nearly identical to qt5ct and behaves the 
same way).

-- 
~~ Ken Moore ~~
[email protected]
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.