Skip to content

Graphics

GradedJestRisk edited this page Dec 10, 2020 · 2 revisions

Display

Brightness

  • CLI:
    • identify a screen: xrandr -q | grep " connected"
    • change its brightness (0 to 1): xrandr --output SCREEN -1 --brightness BRIGHTNESS
  • GUI

Picture

Shrink imaage to fit a given size

sudo apt-get install jpegoptim
# Create the new file in a folder (same name)
jpegoptim --size=15k <SOURCE_FILE> --dest <TARGET_DIRECTORY>
# Overwrite existing
jpegoptim --size=100k <FILE> --overwrite
Clone this wiki locally