Home > python, ubuntu > Set a local file or an image by URL as your wallpaper

Set a local file or an image by URL as your wallpaper

Problem
You browse the web and you find a nice image file. “Hey, it’d look cool on my desktop!” Or, you browse your local image files: “Hey, I want to see it as my wallpaper!” How to set a background image painlessly?

Solution
With jabbapylib, of course :) Just use my new little script:

# the image is on the web:
set_wallpaper http://i.imgur.com/t1FRG.jpg

# the image is a local file:
set_wallpaper sunshine.png

That’s all. The script is here. It relies on jabbapylib. Tested under Ubuntu Linux.

Advertisements
Categories: python, ubuntu Tags: ,
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: