Skip to content

Instantly share code, notes, and snippets.

@barvian
Created April 23, 2021 13:06
Show Gist options
  • Save barvian/48b56d8577c743fa752bd49d3a4801a5 to your computer and use it in GitHub Desktop.
Save barvian/48b56d8577c743fa752bd49d3a4801a5 to your computer and use it in GitHub Desktop.
Dim backlight on Toshiba Portege R500
#
# Disabling RootFS Verification required first:
# https://cloudreadykb.neverware.com/s/article/Disabling-RootFS-Verification?ui-force-components-controllers-recordGlobalValueProvider.RecordGvp.getRecord=1&r=5
#
description "Dim screen"
author "Maxwell Barvian"
start on start-user-session
stop on stopping ui or starting halt or starting reboot
exec echo 0 | sudo tee /sys/class/backlight/toshiba/brightness
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment