![]() Registered Member ![]()
|
I have multiple desktop theme packages I occasionally switch. They mainly consist of different system sounds, different wallpaper slideshows, a different lock screen background (for widget locker) and a different color scheme. So for example, one theme has the logon and logoff sounds X and Y, the wallpaper slideshow folder Z, the lock screen image Q, and the saved color scheme W. Those so called theme packages are something I did for my system since I like it that way... having window colors match the wallpaper set and what not
![]() Of course I know how to change these things manually from their specific GUI. But since switching the theme means manually modifying all of those things, I'd much rather have a shell script do it. Problem is I don't know how to change those options from a console. I assume there might be commands for some, and for others I'd simply have to edit a text file (eg: to change the path to a slideshow wallpaper). So my questions are: - How do you change the custom folders of a wallpaper Slideshow from the console, as well as instantly apply the changes? To do so the normal way, you right click the desktop and go to Settings, select Slideshow for wallpaper, and add folders under the "Custom folders" list. Then you click OK or Apply for them to be updated right away. - How do you change the background of the screen locker via console command, for the Desktop Widgets locker type? To do it via the GUI, you simply click the upper-right button during the lock screen and enter the menu to select your wallpaper. - How do you change (and instantly apply) a color scheme via console? The normal way is going to Configure Desktop - Application Appearance - Colors, selecting your scheme and clicking Apply. - How do you change a given notification sound from the console? Normal way is going to Configure Desktop - Application And System Notifications where you select your event and change the sound / notification / etc. This mustn't affect other notifications however... only change the Logon and Logoff sounds for example. |
![]() Administrator ![]()
|
From what I recall, this involves sending out a series of D-Bus signals to get applications to reload the relevant configuration files. It differs depending on which configuration you are changing however.
You'd need to study the source code though i'm afraid to figure out which signals are being sent, and with what parameters however.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: Bing [Bot], Evergrowing, Google [Bot]