Giter VIP home page Giter VIP logo

autostart's Introduction

Autostart

stable license download_count download

autostart tools to set your application auto startup after desktop login,only for desktop version of linux , windows , mac.

Behavior

On Linux and BSD, it creates a .desktop file in $XDG_CONFIG_HOME/autostart (i.e. $HOME/.config/autostart). See http://askubuntu.com/questions/48321/how-do-i-start-applications-automatically-on-login
On macOS, it creates a launchd job. See http://blog.gordn.org/2015/03/implementing-run-on-login-for-your-node.html
On Windows, it creates a link to the program in %USERPROFILE%\Start Menu\Programs\Startup

Usage

On linux and mac , the command is autostart.
On windows , the command is autostart.exe.

1.Enable Application autostart.

linux&mac
autostart enable -k "demokey" -n "my demo application" -c "echo \"autostart\">~/autostart.txt"
help:
autostart enable --help

windows
autostart.exe enable -k test -n test -c "c:\\windows\explorer.exe c:"
help:
autostart.exe enable --help

2.Disable Application autostart.

linux&mac
autostart disable -k "demokey"
help:
autostart disable --help

windows
autostart.exe disable -k "test"
help:
autostart.exe disable --help

autostart's People

Contributors

snail007 avatar

Watchers

 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.