Fond d'écran uni en ligne de cmd (sans utiliser feh ou autres)?

Hello

Tout est dans le titre :wink:

J’utilise feh pour mettre un fond d’écran.
Mon fond est de couleur unie.
J’ai donc créer fichier image de un pixel de la couleur choisie … car je ne pense pas que feh, puisse afficher autre chose que des images…

Y a t-il un moyen en ligne de commande pour mettre une couleur en fond d’écran ?
sans utiliser feh et mon fichier de un pixel ??

merci

a+

wmsetbg ?
Oui :

> wmsetbg --help
Usage: wmsetbg [options] [image]
Sets the workspace background to the specified image or a texture and
optionally update Window Maker configuration

 -display <display>            display to use
 -d, --dither                  dither image
 -m, --match                   match  colors
 -S, --smooth                  smooth scaled image
 -X, --xinerama                stretch image across Xinerama heads
 -b, --back-color <color>      background color
 -t, --tile                    tile   image
 -e, --center                  center image
 -s, --scale                   scale  image (default)
 -a, --maxscale                scale  image and keep aspect ratio
 -f, --fillscale               scale  image to fill screen and keep aspect ratio
 -u, --update-wmaker           update WindowMaker domain database
 -D, --update-domain <domain>  update <domain> database
 -c, --colors <cpc>            colors per channel to use
 -p, --parse <texture>         proplist style texture specification
 -w, --workspace <workspace>   update background for the specified workspace
 -v, --version                 show version of wmsetbg and exit
 -h, --help                    show this help and exit

Un petit script peut t’aider: Set the background color of xfce4-panel from the command line · GitHub
Examines-le avant, pour les 4 arguments.

merci … vais essayer tout cela

Bonsoir …

@DarkGagan :
J’ai donc chargé le script « set-xfc4-panel-bgcolor.sh » et ouvert…
Il me propose quatre arguments : r, g, b, a a adapté donc … dans des valeurs comprises entre 0,0 et 1,0 … à une décimal après le virgule …

Mais voilà, la couleur que j’aimerais affiché est #0811c :
#08111c sur encycolorpedia.com
… rgba(8, 17, 28, 1.0)

Du coup, ça ne marche pas trop … par argument, il y a qu’une grosse dizaine de valeurs possible


(merci tout en passant)

wmsetbg ne fonctionne pas seulement avec WindowMaker et son option -b accepte un nom de couleur au format X11 ou RGB ("#RRGGBB"), ici ça serait wmsetbg -b "#00811c".

merci

j’ai installé wmaker : mais … ceci …
car j’avoue et je n’avais préciser (veuillez m’excuser) que je pensais qu’il y aurait une « commande système » sans devoir passer par une install (sais pas pourquoi à vrai dire maintenant que j’y pense)
type une commande fournie à l’installation comme ‹ ls › ou ‹ cd › ou … mais j’avoue que cela n’a pas de sens sauf si on charge un environement graphique complet à l’install …

enfin voilà

chez moi :
wmsetbg -b "#00EEEE"

me donne rien du tout d’un bleu claire
le terminal me répond:
wmsetbg: you must specify a image file name or a texture
Try ‹ wmsetbg --help › for more information

man wmsetbg 

me propose aussi la possibilité de
wmsetbg -b "rgb:00/55/88"

qui ne me renvoie pas plus de résultats

voilà voilà
a+ merci

Ah flûte, je pensais que ça marchait.
Sinon, j’ai trouvé ça : wallpaper - Ubuntu 20.04 change background to solid colour - Ask Ubuntu