You are not logged in.
[Solved]
xfconf-query -c xfce4-desktop -p /backdrop/screen0/monitorLVDS1/workspace0/rgba1 -t double -t double -t double -t double -s 0.1 -s 0.3 -s 0 -s 0.5
Check out post #4 for changing more options via commands..
I have looked in these documentation but couldn't find any commands to change the color of horizontal gradient.
these two colors
Last edited by hisacro (2020-02-01 07:10:33)
Offline
Click on the color rectangles. This invokes a color selection dialog.
Offline
Click on the color rectangles. This invokes a color selection dialog.
Yeah, but I think what OP's looking for is a command to use in a script or directly in the terminal. Unluckily I don't have an answer either...
Offline
Update 1:
xfconf-query -c xfce4-desktop -lv
color-style [0-4] : Solid, HGradient, VGradient, Transparent
image-style [0 to 5] : None, centered, tiled, Stretced, Zoomed, spanning
last-image : path to background
rgba1, rgba2 : gradients
To change a property,
xfconf-query -c xfce4-desktop -p /backdrop/screen0/monitorLVDS1/workspace0/color-style -s 1
this changes solid color to HGradient.
well this should work with rgba1, rgba2 ???
Not yet...
RGBA1, RGBA2 are some sort of array (couldn't figure yet),
gdkrgba string syntax is rgba(r, g, b, a) all in floating range of 0 to 1
right now I tried few (*stupid) things
output,
"A value type must be specified to change an array into a single value."
--TL;DR --
I should pass gdkrgba array to property /backdrop/screen0/monitorLVDS1/workspace0/rgba1
which I guess a hassle in bash to pass array so, changing gdkrbga string to arrary then passing should work. (only when I figure the arrary syntax)
Offline
Something like this?
xfconf-query -c xfce4-desktop -p /backdrop/screen0/monitorLVDS1/workspace0/rgba1 -t int -t int -t int -t int -s 0 -s 0 -s 0 -s 1
Do you want to exit the Circus?
https://www.youtube.com/watch?v=ZJwQicZHp_c
Offline
@MIsko_2083 !!!
Got it working with
xfconf-query -c xfce4-desktop -p /backdrop/screen0/monitorLVDS1/workspace0/rgba1 -t double -t double -t double -t double -s 0.1 -s 0.3 -s 0 -s 0.5
(r,g,b,a) 'a' for transparency.
Hearty Thanks!
Offline
[ Generated in 0.011 seconds, 7 queries executed - Memory usage: 546.95 KiB (Peak: 547.8 KiB) ]