Re: TDE menu color

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/10/25 9:43 AM, Jim via tde-users wrote:
On Thu, Jun  5, 2025 at 20:51 (-0700), William Morder via tde-users wrote:

On Thursday 05 June 2025 14:50:17 David C Rankin via tde-users wrote:
On 6/5/25 11:47 AM, Darrell Anderson via tde-users wrote:

If you find anything in a stroke of brilliance, let us know.

Don't know if this will help at all.

<snip>

If you do go this route at some point, remember the last step, which is
essential:
sudo sh -c "echo 'export QT_QPA_PLATFORMTHEME=qt5ct' >> /etc/environment"
Then, if memory serves, reboot.

Surely you shouldn't be modifying /etc/environment for your own
preferences.

Looking at /etc/trinity/tdm/Xsession (and assuming that you use tdm, other
display managers will be similar), I see

case $SHELL in
   */bash)
     [ -z "$BASH" ] && exec $SHELL $0 "$@"
     set +o posix
     [ -f /etc/profile ] && . /etc/profile
     if [ -f $HOME/.bash_profile ]; then
       . $HOME/.bash_profile
     elif [ -f $HOME/.bash_login ]; then
       . $HOME/.bash_login
     elif [ -f $HOME/.profile ]; then
       . $HOME/.profile
     fi
     ;;
(and similar code for other shells), so shouldn't you just put your own
personal configs in, whichever of .bash_profile, .bash_login and .profile
you have?
To my memory, /etc/environment is sourced only by PAM. Other global system-wide variables should be set elsewhere, such as /etc/bashrc, /etc/profile.d, etc.

The qt5ct package is needed only in environments where no support is provided for qt5 themes and styles, such as window managers and TDE.

Since the qt5ct package is needed in TDE, an appropriate place to source 'export QT_QPA_PLATFORMTHEME=qt5ct' is $TDEHOME/env/qt5ct.sh. The 'sh' extension is required -- look in $TDEDIR/bin/starttde for how scripts in the env directory are sourced.

I hope that helps. :)
____________________________________________________
tde-users mailing list -- users@xxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxx
Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@xxxxxxxxxxxxxxxxxx



[Index of Archives]     [Trinity Devel]     [KDE]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]     [Trinity Desktop Environment]

  Powered by Linux