Reply to topic

How to change KDE colourscsheme from within a script

petrosyan
Registered Member
Posts
1
Karma
0
Hi all,

I want to implement a scheduled colourscheme changer. The idea is to set a kalarm script that edits a file and changes the colourscheme.

For example to automatically change the colourscheme to Breeze dark past 20:00, and to set uit back to Breeze at 19:00.

I tried to find a filethat defines the colourscheme, but it seems near impossible: the settings are duplicated all over the place and I don't know how to make the system refresh without logging out: the whole idea is to do this seamlessly.

Another possibility is to use
Code: Select all
kcmshell5 --args <something something=Breeze Dark> colors
trouble is to pass an argument that tells what to change the colorscheme to - Breeze Dark. Is there any documentation on supported arguments and or functions?

A third possibility is to implement this in the KCM colors itself, problem is I can't seem to find the repository and not everyone might like the change. It would still be a feature - changing colour contrast throughout the day, but you never know.

Last resort is to call
Code: Select all
kcmshell colors
and pass it a number of keypresses that changes the colourscheme. A terrible idea, but it might work for some simple usecases.

Any help would be much appreciated.
User avatar ganders
Registered Member
Posts
1
Karma
0
I use this script for me Plasma 5:
https://unix.stackexchange.com/question ... ell-script

Once I even used this script on the site, where you can get homework assignment help, for the term paper.
But I often use the console to change the color - for me, it's easier and more convenient. How to do it:
https://abdussamad.com/archives/503-Cha ... n-KDE.html
ztara
Registered Member
Posts
1
Karma
0
ganders wrote:I use this script for me Plasma 5:
https://unix.stackexchange.com/question ... ell-script

Once I even used this script on the site, where you can get homework assignment help, for the term paper.
But I often use the console to change the color -Phenq for me, it's easier and more convenient. How to do it:
https://abdussamad.com/archives/503-Cha ... n-KDE.html

thank you this script ...its very help full
napugh
Registered Member
Posts
1
Karma
0
Konsole you could trade the history and foreground colors of your terminal window, and one of the high-quality capabilities is the capacity to set the colors the use of the command line or Linux shell. This allows you to do some cool such things as exchange the color scheme relying on the software you're strolling. [url=Konsole you could trade the history and foreground colors of your terminal window, and one of the high-quality capabilities is the capacity to set the colors the use of the command line or Linux shell. This allows you to do some cool such things as exchange the color scheme relying on the software you're strolling.
UK assignment help
justinjack
Registered Member
Posts
2
Karma
0
troubling in trouble

 
Reply to topic

Bookmarks



Who is online

Registered users: airdrik, Baidu [Spider], Bing [Bot], Eazy, Exabot [Bot], Google [Bot], listeningalways, NginUS, ricardolaitano, Sogou [Bot], valtermura