• Home
  • Releases
  • Submit Vuln
  • Press
  • About
  • PGP
  • Contact
    • Contact
    • Submit Vuln
    • VDP
  • Tutorials
    • All Posts
    • Photoshop on Linux
    • macOS on Linux
  • Supporters
  • Projects
  • Training
Sick Codes - Security Research, Hardware & Software Hacking, Consulting, Linux, IoT, Cloud, Embedded, Arch, Tweaks & Tips!
  • Home
  • Releases
  • Submit Vuln
  • Press
  • About
  • PGP
  • Contact
    • Contact
    • Submit Vuln
    • VDP
  • Tutorials
    • All Posts
    • Photoshop on Linux
    • macOS on Linux
  • Supporters
  • Projects
  • Training
No Result
View All Result
Sick Codes - Security Research, Hardware & Software Hacking, Consulting, Linux, IoT, Cloud, Embedded, Arch, Tweaks & Tips!
  • Home
  • Releases
  • Submit Vuln
  • Press
  • About
  • PGP
  • Contact
    • Contact
    • Submit Vuln
    • VDP
  • Tutorials
    • All Posts
    • Photoshop on Linux
    • macOS on Linux
  • Supporters
  • Projects
  • Training
No Result
View All Result
Sick Codes - Security Research, Hardware & Software Hacking, Consulting, Linux, IoT, Cloud, Embedded, Arch, Tweaks & Tips!
No Result
View All Result
Home Tutorials

XFCE4 Brightness Button on Launcher Bar – Increase & Decrease Backlight Manually

by Sick Codes
July 1, 2019 - Updated on June 24, 2020
in Tutorials
0

First, find out your hardware backlight files

ls /sys/class/backlight/

this should list the device name that controls your backlight

In our case, it is amdgpu_bl0 so we cd into that folder and see the brightness file. Brightness is stored in the file ./amdgpu_bl0/brightess

cat /sys/class/backlight/amdgpu_bl0/brightness

In Arch:

sudo pacman -S acpilight

This gives us xbacklight command ability in XFCE4 without using root

This is a bash shell script to first check whether brightness is going to completely dim the backlight to zero (display off)

# /bin/bash
min_light=$(cat /sys/class/backlight/amdgpu_bl0/brightness)
echo $min_light
if [ "$min_light" -lt 50 ]
then
echo Too Dim
else
sudo xbacklight -dec 10
fi
exit

Next Post
Photoshop CC 2018 on Arch Linux 64bit Crossover Wine PlayOnLinux Tutorial

Arch Linux Photoshop CC 2018-2019 WORKING

GParted GPT Disk Create Partition Table

How To Install rEFInd Using Gparted, Arch Linux and Super Grub2 Disk

Twilio Markup TwiML Record Calls Code

How to Record Calls on Twilio with TwiML Automatically

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

No Result
View All Result
  • Home
  • Releases
  • Submit Vuln
  • Press
  • About
  • PGP
  • Contact
    • Contact
    • Submit Vuln
    • VDP
  • Tutorials
    • All Posts
    • Photoshop on Linux
    • macOS on Linux
  • Supporters
  • Projects
  • Training

© 2017-2021 Sick.Codes

@sickcodes

@sickcodes

@sickcodes

Discord Server

sickcodes.slack.com

t.me/sickcodeschat

./contact_form