Xfce Forum

Sub domains
 

You are not logged in.

#1 2018-06-25 10:01:44

CarlosRaúlCárcamoTejada
Member
Registered: 2018-06-25
Posts: 2

Change backround by terminal on xubuntu 16.04 using xfce 4.12

Hi, everybody , my problem is I can't set the wallpaper by terminal on xubuntu 16.04  using xfce 4.12.
I 've looking for a lot and i found some commands but neither works for me.

any ideas?

this is the command i've been trying

xfconf-query -c xfce4-desktop -p /backdrop/screen0/monitor0/image-path -s /path/image.jpg

obviously i changed the path of the image

Offline

#2 2018-06-25 12:30:27

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 4,421

Re: Change backround by terminal on xubuntu 16.04 using xfce 4.12

Hello and welcome.

Run the following command in a terminal window:

xfconf-query -c xfce4-desktop -m

...and then change the background using the Settings Manager > Desktop.

Note the information that is displayed in the terninal window. This will let you know the path that you need to use instead of "/backdrop/screen0/monitor0/image-path". The command you've typed in is for an earlier version of xfdesktop.


How To Ask For Help           Xfce FAQ                            Xfce Release Information
The Xfce Community          Xfce Tips and Tricks

Offline

#3 2018-06-25 22:14:27

CarlosRaúlCárcamoTejada
Member
Registered: 2018-06-25
Posts: 2

Re: Change backround by terminal on xubuntu 16.04 using xfce 4.12

ToZ wrote:

Hello and welcome.

Run the following command in a terminal window:

xfconf-query -c xfce4-desktop -m

...and then change the background using the Settings Manager > Desktop.

Note the information that is displayed in the terninal window. This will let you know the path that you need to use instead of "/backdrop/screen0/monitor0/image-path". The command you've typed in is for an earlier version of xfdesktop.

Hi Toz thank you much , this works really well the new command with your help looks like this:

xfconf-query -c xfce4-desktop -p /backdrop/screen0/monitor0/workspace0/last-image -s path/image


works perfectly thanks

Offline

Board footer

Powered by FluxBB