Skip to main content
user7
Associate
April 1, 2024
Solved

Theme can not be switched on KDE Linux

I'm using STM32CubeIDE (Linux generic version) on Linux Mint Debian Edition, KDE Window Manager. 

When starting it as normal user the Themin is not working (Preferences-General-Appearance). The window has a dark theme (the one I choose in my KDE preferences). But I would like to use the default light theme. 

The only way to do this is by running STM32CubeIDE with sudo. Is this expected or is there a workaround? 

 

Thanks

    This topic has been closed for replies.
    user7
    user7Best answer
    Associate
    April 2, 2024

    I found the solution for this. You have to add a line to the startup script "stm32cubeide_wayland" which is located in the stm32cubeide_x.xx.x folder

    Before the last line that starts cubeide add the line:

    export GTK_THEME=Adwaita

    Would be nice if this could be added by ST per default into this script. 

     

    1 reply

    user7
    user7AuthorBest answer
    Associate
    April 2, 2024

    I found the solution for this. You have to add a line to the startup script "stm32cubeide_wayland" which is located in the stm32cubeide_x.xx.x folder

    Before the last line that starts cubeide add the line:

    export GTK_THEME=Adwaita

    Would be nice if this could be added by ST per default into this script.