Re4son / RPi-Tweaks

GNU General Public License v3.0
215 stars 55 forks source link

The file /etc/kbd/config doesn't exdist anymore #8

Open steev opened 5 years ago

steev commented 5 years ago

https://github.com/Re4son/RPi-Tweaks/blob/e0b15714bc41e0312f0eae053ef4b74033765825/kalipi-tft-config/kalipi-tft-config#L96 does a sed on /etc/kbd/config but that doesn't work as of anything newer than debian 9.3 (Kali rolling release is based on testing which is 10+) - we should actually be adding a consoleblank=X in /boot/cmdline.txt instead.

(from hyperpixel repository README) If you're on Raspbian Stretch (Debian 9.3), that config file doesn't exist. Instead, append consoleblank=0 to the boot command in /boot/cmdline.txt and reboot.

Re4son commented 5 years ago

Good point. We've been creating the file here for legacy reasons but might probably be about time to test if the cmdline option is supported by all the screens. Leave that with me I'll do some tests