Skip to main content

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

Project description


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


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



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



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.



Turn the touchpad on.

touchpad on

Turn the touchpad off.

touchpad off


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.


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


Copy the contents of a file into the clipboard

copy myfile.txt


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 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size laptop-1.0.0-py3-none-any.whl (32.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size laptop-1.0.0.tar.gz (31.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page