LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 03-24-2013, 08:50 AM   #1
thund3rstruck
Member
 
Registered: Nov 2005
Location: East Coast, USA
Distribution: Fedora 18, Slackware64 13.37, Windows 7/8
Posts: 346

Rep: Reputation: 38
Cinammon Wallpaper Changer


I have recently discovered that KDE 4 provides no API or mechanism to programmatically change the desktop wallpaper
(ref: http://www.linuxquestions.org/questi...ne-4175454383/) which makes it unsuitable for these clients. As a result, I am investigating Cinnamon.

I want to be absolutely certain before I go down this path that I can change the desktop background per the requirements (currently a python script fetches backgrounds from a web service and sets the wallpaper appropriately based on organizational membership and structure).

Since Cinnamon is a fork of gnome, can I assume that the standard gnome way of setting wallpaper will work:

Code:
subprocess.call(["gsettings", "set", "org.gnome.desktop.background", "picture-uri", '"file://' + filename + '"'])
 
Old 03-25-2013, 08:52 AM   #2
thund3rstruck
Member
 
Registered: Nov 2005
Location: East Coast, USA
Distribution: Fedora 18, Slackware64 13.37, Windows 7/8
Posts: 346

Original Poster
Rep: Reputation: 38
Still works like a champ.
 
  


Reply

Tags
cinnamon, python, wallpaper


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: 5 wallpaper changer for Linux LXer Syndicated Linux News 1 10-16-2010 04:32 PM
Desktop Wallpaper Changer theunixwizard Linux - Software 12 04-24-2010 02:01 PM
FTP wallpaper changer verbose Linux - Software 0 08-05-2005 09:43 PM
Automated Wallpaper Changer davethegenius Linux - Software 3 04-02-2005 04:12 PM
random wallpaper changer for linux mlu Linux - Software 1 02-11-2005 11:12 PM


All times are GMT -5. The time now is 11:18 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration