raspberry:install:ecran
Pour rallumer l'écran du Raspberry (qui s'éteint au bout de 10 mn de fonctionnement), on ajoute l'alias de commande à la fin du fichier ~/.bashrc :
alias ecran-on='export DISPLAY=:0 ; xset dpms force on'
Dès lors, il suffit de taper ecran-on.
Pour éteindre, on ajoute :
alias ecran-off='export DISPLAY=:0 ; xset dpms force off'
On tape ecran-off.
On peut évidemment modifier le alias.
/boot/cmdline rajout à la fin d ela ligne : <serial-consoles video=HDMI-A-1:1024×768@60D
DISPLAY=0 xrandr –verbos
# uncomment if hdmi display is not detected and composite is being output hdmi_force_hotplug=1
raspberry/install/ecran.txt · Dernière modification : 2024/03/11 18:45 de 82.64.116.81
