forked from andonome/lk
initial commit
This commit is contained in:
4
hardware/brightness.md
Normal file
4
hardware/brightness.md
Normal file
@@ -0,0 +1,4 @@
|
||||
# Brightness
|
||||
/sys/class/backlight/*/brightness
|
||||
|
||||
|
8
hardware/monitor.md
Normal file
8
hardware/monitor.md
Normal file
@@ -0,0 +1,8 @@
|
||||
See screen size
|
||||
|
||||
> xrandr -q
|
||||
|
||||
Automatically configure:
|
||||
|
||||
> xrandr --auto
|
||||
|
36
hardware/printers.md
Normal file
36
hardware/printers.md
Normal file
@@ -0,0 +1,36 @@
|
||||
# Cups: The Common Unix Printing System
|
||||
|
||||
Configure cups at /etc/cups/supsd.conf, or visit the local webpage at http://localhost:631 if you want to use the Apple interface, otherwise, it's the printing daemon.
|
||||
|
||||
# The Printing Daemon
|
||||
|
||||
The printing daemon automatically reads the cups configuration file. It prints with:
|
||||
|
||||
> lp mytext.txt
|
||||
|
||||
Find a list of printers with:
|
||||
|
||||
> lpq
|
||||
|
||||
You can specify a printer with `-d`:
|
||||
|
||||
> lp -d DCP7060D article.pdf
|
||||
|
||||
Alternatively, if you see a printer number, cancel job 33 with:
|
||||
|
||||
> lprm 33
|
||||
|
||||
or just cancel all jobs:
|
||||
|
||||
> lprm -
|
||||
|
||||
See printers on network:
|
||||
|
||||
> lpstat -a
|
||||
|
||||
Block or accept all jobs with:
|
||||
|
||||
> cupsreject DCP7060D
|
||||
|
||||
> cupsaccept DCP7060D
|
||||
|
Reference in New Issue
Block a user