Re: Gnome 3: change wallpaper via commandline

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jatin,

..snip..
>
> Cool script though. I'll spend some time on this today and let you
> know the new command-line.

I eventually ditched dconf too. "dconf write" kept saying that the
value needed to be in GVariant format. I did have a "file://" URI
specifier at the start. Anyway, I couldn't easily find what a GVariant
is, so I went over to gsettings.

It is a pretty straightforward change using gsettings. So now I am
using the command-line
/usr/bin/gsettings set org.gnome.desktop.background picture-uri "file://$PIC"

$PIC = full-path to the image file.

I just put this in a cron hourly script and it works like a charm :-)

Jitesh
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux