Skip to main content

Command-line tools for the HP Spectre laptop and Fujitsu ScanSnap scanner

Project description

Laptop

Command-line tools for the HP Spectre laptop and Fujitsu ScanSnap scanner (Linux only)

Installation

sudo apt-get update
sudo apt install python3 upower scrot
sudo pip3 install laptop

Commands

Battery

Check the status of the laptop battery (just percent remaining)

battery

Scan

Scans a collection of pages on the Fujitsu scanner. Always scans black and white, 2-sided, and generates a PDF. When one document is finished, load another document and press the Enter key to scan it. Simply hit ctrl-C to quit the loop.

scan

Touchpad

Turn the touchpad on.

touchpad on

Turn the touchpad off.

touchpad off

Screenshot

Take an interactive (drag the cursor) screenshot, names it with the date and time, and drop it in the .screenshot directory in the user's home folder. Note the directory must already exist; we recommend making it a symlink to a frequently-used directory such as Desktop.

screenshot

Note that this command was designed to be assigned to a keyboard shortcut for a faster screenshot than the default one in Ubuntu.

Copy

Copy the contents of a file into the clipboard

copy myfile.txt

UnDeb

Unpack and install a .deb file

undeb myfile.deb

Note that Copy and UnDeb are generically useful Linux simplifications, not specific to the HP Spectre laptop or the Fujitsu scanner.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for laptop, version 0.3.3
Filename, size File type Python version Upload date Hashes
Filename, size laptop-0.3.3-py3-none-any.whl (32.2 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size laptop-0.3.3.tar.gz (31.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page