GithubHelp home page GithubHelp logo

sherlockzh / usblock Goto Github PK

View Code? Open in Web Editor NEW

This project forked from svenito/usblock

0.0 1.0 0.0 352 KB

Lock and unlock your desktop using a USB stick as a key

License: GNU General Public License v3.0

Python 100.00%

usblock's Introduction

======= USBLock

Copyright (C) 2013 Sven Steinbauer http://www.unlogic.co.uk

Build Status

USBlock is a Python script that will lock and unlock your linux box using any old USB storage device as a key.

** NOTE ** V0.1 only works on Linux. OS X and Windows will have to wait a little.

Installation

Install with pip install usblock or run sudo python ./setup.py install from the directory you downloaded USBLock into.

See requirements.txt for a list of required Python modules.

Non Python dependencies

Linux

You will need dbus and python-dbus as well as hal. These should all be available via your package manager. See below why python-dbus is listed here.

Known Issues

  • I've had some devices not mount on external USB ports (like on a Mac keyboard or hub). DBus does not register the device insertion and so USBLock cannot lock or unlock your machine. Try a different memory stick or USB port.

  • On linux you need dbus installed. pip install dbus-python doesn't work, so you may have to install it via your system's package manager or from source.

Thanks for the patches

Joel Semar, Natan L

usblock's People

Contributors

svenito avatar chriscooper avatar

Watchers

Sherlock.Z 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.