2022-07-31 00:45:48 +03:00
|
|
|
|
---
|
2022-11-19 03:52:10 +03:00
|
|
|
|
title: "🔲 Установка однотонных обоев в Linux DE"
|
2022-11-19 03:36:06 +03:00
|
|
|
|
date: 2022-11-19T3:19:58+03:00
|
|
|
|
|
draft: false
|
2022-07-31 00:45:48 +03:00
|
|
|
|
tags: [linux, tips, kde, gnome]
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
## KDE
|
|
|
|
|
|
2022-11-19 03:52:10 +03:00
|
|
|
|
Цвет указывается в формате **RGB**, `93,93,93`:
|
|
|
|
|
|
|
|
|
|
Команда:
|
2022-07-31 00:45:48 +03:00
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
dbus-send --session --dest=org.kde.plasmashell --type=method_call /PlasmaShell org.kde.PlasmaShell.evaluateScript 'string:
|
|
|
|
|
var Desktops = desktops();
|
|
|
|
|
for (i=0; i < Desktops.length; i++) {
|
|
|
|
|
d = Desktops[i];
|
|
|
|
|
d.wallpaperPlugin = "org.kde.color";
|
|
|
|
|
d.currentConfigGroup = Array("Wallpaper", "org.kde.color", "General");
|
|
|
|
|
d.writeConfig("Color", "93,93,93");
|
|
|
|
|
}'
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Мусор
|
|
|
|
|
|
|
|
|
|
Просто код, не обращайте внимания
|
|
|
|
|
```
|
|
|
|
|
kwriteconfig5 --file plasma.desktop-appletsrc --group 'Containments' --group '31' --key 'wallpaperplugin' 'org.kde.color'
|
|
|
|
|
kwriteconfig5 --file plasma.desktop-appletsrc --group 'Containments' --group '31' --group 'Wallpaper' --group 'org.kde.color' --group 'General' --key 'Color' '255,255,255'
|
|
|
|
|
|
|
|
|
|
dbus-send --session --type=signal --dest=org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.reloadConfig
|
|
|
|
|
|
|
|
|
|
dbus-send --session --dest=org.kde.plasmashell --type=method_call /PlasmaShell org.kde.PlasmaShell.reloadConfig
|
|
|
|
|
```
|
|
|
|
|
|