Nautilus-Action conf. tool - crafting a "set as background" action

Posted by EgyptBeast on Ask Ubuntu See other posts from Ask Ubuntu or by EgyptBeast
Published on 2014-08-18T16:17:36Z Indexed on 2014/08/18 16:45 UTC
Read the original article Hit count: 258

Filed under:

I wanted to create an option in the context menu to set the clicked picture to current desktop background (just like in Windows).
I read the the nautilus action help but I couldn't figure it out. This is by far the command I could craft: gsettings set org.gnome.desktop.background picture-uri file://$PWD/

What I need:

  • A command that correctly sets the current image to be the desktop background
  • This command should only appear to the proper files (picture extenstions like .jpg)

© Ask Ubuntu or respective owner

Related posts about nautilus-actions