Giter Site home page Giter Site logo

background_changer's Introduction

Desktop Background changer from Casper.


This is simple but very useful script can help you change you desktop background from yours lib.

Requirements.

ruby >= 1.9.3
GNOME desktop environment

Possibilities.

Change desktop background from a specified folder with a specified time.
Random pictures.
Working like a daemon.
Auto start with OS.

Install.

1. Copy this files to yours filesystem in '/home/<your user>/.casper_background/'
2. Run 'bundle' to make sure all gems was installed.
3. Create/copy config.txt file in '/home/<your user>/.casper_background/'
    default settings are: 
        folder: /home/<your name>/Pictures/
        time: 10 min
        using_photo_in_log: '2' # means: put picture name used in log file.(1 - true, 2 - false)
4. Add casper_background_demon_autostart.rb file in "Startup Applications".

Testing.

For testing purpose you can run casper_background_demon.rb <command>
  * where <command> is one of:
        start         start an instance of the application
        stop          stop all instances of the application
        restart       stop all instances and restart them afterwards
        reload        send a SIGHUP to all instances of the application
        run           start the application and stay on top
        zap           set the application to a stopped state
        status        show status (PID) of application instances

Logs.

Log file located in '/home/<your user>/.casper_background/log.txt'

background_changer's People

Contributors

caspernik avatar

Watchers

James Cloos avatar  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.