Allows limited keyboard use on a locked desktop
Project description
Overview
Monitors key presses system-wide and runs custom commands in response to certain key presses.
This script was initially designed to allow the multimedia keys to still function despite the desktop being locked, since the default behavior in some Gnome configurations disable all special function keys when locked.
Installation
sudo apt-get install python-xlib sudo pip install https://github.com/chrisspen/freekey/zipball/master sudo freekey install
Usage
Modify /etc/freekey.conf to associate events with shell commands.
Each line is of the form <event> <command>, where <event> is either a key name or scan code, and <command> is an arbitrary shell command.
To find a key’s name or code, run freekey echo and press the key.
To purge it from your system run:
sudo freekey uninstall sudo pip uninstall freekey
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file freekey-0.1.3.tar.gz
.
File metadata
- Download URL: freekey-0.1.3.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cbf5ba4723c3bfe2f37926856efdbbde049a808605f336c6c45fa870674b9a74 |
|
MD5 | 35fbdcd20da95b630e989d6364682c64 |
|
BLAKE2b-256 | 52d1b0c4354ca8ab63ae10eaf4d4932d2350e2f2a4320484be51045bff4a799a |