Results 1 to 4 of 4

Thread: [SOLVED] Nautilus command line option to set desktop wallpaper?

  1. #1
    Join Date
    Nov 2007
    Location
    Louisville Ky
    Beans
    96
    Distro
    Ubuntu 8.04 Hardy Heron

    [SOLVED] Nautilus command line option to set desktop wallpaper?

    Hey guys

    Is there a way to set the nautilus wallpaper from the command line? I have a script to set a random wallpaper at each login in openbox (using feh) and I'd like to do something similar on my gnome desktop.
    Those who don't understand UNIX are doomed to reimpliment it... poorly.

  2. #2
    Join Date
    May 2007
    Beans
    980
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Nautilus command line option to set desktop wallpaper?

    That is similar to what was done in this thread: http://ubuntuforums.org/showthread.p...wallpaper+perl

    What solved it was this post: http://ubuntuforums.org/showpost.php...00&postcount=3

    The command that you actually want to use is a gnome key:
    Code:
    gconftool-2 -t str --set /desktop/gnome/background/picture_filename "Path to the image file"

  3. #3
    Join Date
    Nov 2007
    Location
    Louisville Ky
    Beans
    96
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Nautilus command line option to set desktop wallpaper?

    Okay, thanks. That's exactly what I was looking for.
    Those who don't understand UNIX are doomed to reimpliment it... poorly.

  4. #4
    Join Date
    Dec 2007
    Beans
    11

    Smile Re: [SOLVED] Nautilus command line option to set desktop wallpaper?

    gconftool-2 -t str --set /desktop/gnome/background/picture_filename "/home/beetle/Desktop/yourfilename"

    That is one way which you can do it.

    It was even put in a script to make things easier, so you can just right click an image and click "set as wallpaper", and it does it automatically: http://www.kompulsa.com/it/itdownloa...utilus_scripts

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •