You are here

System Notes

Raspberry Pi Touchscreen Brightness Control

Submitted by egbert on Fri, 06/04/2018 - 11:20

Using the "echo" command
echo %n% > /sys/class/backlight/rpi_backlight/brightness

%n% represents value between 0 - 255

Change the file permission for /sys/class/backlight/rpi_backlight/brightness to 666. This is not saved on reboot!

To make a permanent change:
1. sudo nano /etc/rc.local
2. Add 1 line above the "exit" line
3. Type in "sudo chmod 666 /sys/class/backlight/rpi_backlight/brightnes"

Fix GRUB na installatie Windows 10 - Debian Jessie

- De Debian DVD of USB Installer starten van 8.10 - live cd Debian 8.10
- Kies voor "Advanced options"
- Kies voor "Graphical rescue" mode
- Standaard keuzes accepteren, check op welk device je CDROM is gemount (Ctrl-Alt-F1 voor console, blkid of df -h)k ies voor de cd-rom voor /dev/sdb* (geef jouw partitie naam)
- Hardware en netwerk wordt geinitialiseerd
- kies willekeurig domein name, click en zo..
- check je harddisk voor partities (Ctrl-Alt-F1 voor console) via blkid en disk -l

Tilde fix Debian Jessie xfce xsession

Submitted by egbert on Wed, 15/11/2017 - 06:28

# find out what key code is mapping to the "less" and "greater" signs
$ xmodmap -pk | grep greater
60 0x002e (period) 0x003e (greater)
94 0x003c (less) 0x003e (greater) 0x007c (bar) 0x00a6 (brokenbar) 0x007c (bar) 0x00a6 (brokenbar)

# edit (or create) ~/.Xmodmap and include the following line in it
keycode 94 = grave asciitilde

# run xmodmap
$ xmodmap ~/.Xmodmap

For it to autorun on login: