https://bugs.kde.org/show_bug.cgi?id=428842
--- Comment #14 from Александр <cawa.sa...@yandex.ru> --- (In reply to Skeleton221 from comment #12) > (In reply to Александр from comment #11) > > Is it normal what your script forever repeat with 0.5 sec pause? 🤔🤔🤔🤔🤔 > > repeats the command until it has succeeded in setting the theme. > > > this is the way to set the gtk theme from terminal: > qdbus org.kde.GtkConfig /GtkConfig org.kde.GtkConfig.setGtkTheme $(grep > "gtk-theme-name" ~/.config/gtk-3.0/settings.ini | cut -d'=' -f2) > > this takes the name of the theme it has to set: > grep "gtk-theme-name" ~/.config/gtk-3.0/settings.ini | cut -d'=' -f2 > > this stops the repetition if the command worked: > [ "$?" = "1" ] || break > > > since at the start of the user session not everything has been loaded, but > it takes a few seconds (depending on the pc), in this way it repeats the > command until it works. > > another way is to add some delay before the command starts: > sleep 20 ; qdbus org.kde.GtkConfig /GtkConfig org.kde.GtkConfig.setGtkTheme > "Breeze-dark-gtk" > but it is not an accurate way, as the time varies from pc to pc. Ok.Thanks! But this script didn't help me( -- You are receiving this mail because: You are watching all bug changes.