Please help me to find out the list of command required to process a operation in GUI ?

For example,

If I change the wallpaper from GUI what is the command behind this .

Actually I was trying to change the background using the below command:

gsettings set org.gnome.desktop.background picture-uri file://(Path of the image)

But it resulting in below error:

(process:2658): dconf-WARNING **: failed to commit changes to dconf: The connection is closed

But when I tried deleting old ~/.config/dconf but the error still there.

From GUI I can easily change it.

  • You forgot to use "sudo". – Rinzwind Apr 20 '17 at 10:06
  • @Rinzwind - really ? I can't believe Ubuntu is so dumb that it requires sudo to change a user setting... – don_crissti Apr 20 '17 at 10:49
  • Why? A user does this from a gui (there is a system in place there to allow this). Doing it from command line should need elevation. – Rinzwind Apr 20 '17 at 10:51
  • @Rinzwind - it doesn't on any of the (sane) distros I'm using. I can't see why I'd need sudo to change any of my files. I mean really... – don_crissti Apr 20 '17 at 10:54

Changing background depends on desktop environments, I use Mate and I change background picture using the following command:

gsettings set org.mate.background picture-filename /path/to/file.jpg

I'm not sure about other desktop environments but you should check if your desktop exists using tab completion

gsettings set org.* [2tabs]

and again not sure what do you want to know from command functionalities but I usually use "strace" to track down all works behind the scene after command execution.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.