Coder Social home page Coder Social logo

qqldd / bing-wallpaper Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thejandroman/bing-wallpaper

0.0 1.0 0.0 1.52 MB

Bing.com wallpaper for OS X, and any Unix like desktop (eg. Ubuntu).

License: GNU General Public License v3.0

Shell 100.00%

bing-wallpaper's Introduction

Bing Wallpaper for Mac and Ubuntu

Information

A script which downloads the latest picture of the day from Bing.com and saves it to a directory.

The script was tested on: Mac OS X 10.8.2 and 10.8.3 Ubuntu 12.04 - 13.10

Blog entry

How to use?

  • Just run the bing-wallpaper.sh script from the terminal. The script will download the bing image.
  • If desired, change the default PICTURE_DIR in bing-wallpaper.sh to the wallpaper directory. If left unchanged the default value is ~/Pictures/bing-wallpapers/.

Configuration on Mac

  • Open Mac's System Preferences -> Desktop & Screensaver, add the wallpaper directory, and configure to taste.

  • To have the script run everyday automatically you will need to setup launchd (Mac only, for Ubuntu see below). I have provided a sample plist file, found in the Tools directory, which can be copied to $HOME/Library/LaunchAgents and loaded with the command launchctl load $HOME/Library/LaunchAgents/com.ideasftw.bing-wallpaper.plist Modify the plist as needed to point to bing-wallpaper.sh. For more information on configuring launchd see here.

  • Another option on Mac (and arguably a little simpler) is to set the Calendar app to run the Tools/Bing Wallpaper.app at a recurring daily time. Modify the app (from within Automator) as it needs to point to bing-wallpaper.sh and the correct PICTURE_DIR.

Configuration on Ubuntu

TL;DR:

  • To install Gnome background slideshow, in the terminal run:
$ git clone [email protected]:thejandroman/bing-wallpaper.git
$ bing-wallpaper/Tools/gnome-bing-slideshow/deploy-gnome-settings.sh
  • Register bing-wallpaper/bing-random-pic.sh to run regularly.

  • Change the background properties to use the new slideshow.

How to register bing-wallpaper.sh or bing-random-pic.sh to run regularly.

There are two ways to run the scipts regularly: cron jobs and startup applications.

  • Cron jobs:
    • Change the path of bing-wallpaper.sh in Tools/bing-cron to the desired script location. If left unchanged the default value is ~/Pictures/bing-wallpaper.sh.
    • From the terminal run crontab /path/to/bing-cron to setup the cronjob.
  • Startup programs:
    • From HUD, search for startup applications.
    • Add bing-random-pic.sh or bing-wallpaper.sh.

The Ubuntu script was tested in Ubuntu 12.04 - 13.10.

Acknowledgement

Original script by ktmud can be found at https://github.com/ktmud/bing-wallpaper.

Bitdeli Badge

bing-wallpaper's People

Contributors

bitdeli-chef avatar ktmud avatar qqldd avatar thejandroman avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.