Désactiver l'IA sur Firefox 141 - Strak.ch | Actu et liens en vrac
browser.ml.chat.enabled -> false
browser.tabs.groups.smart.enabled -> false
browser.ml.enable -> false
via https://warriordudimanche.net/article2143/689aef5535a05
— Permalink
browser.ml.chat.enabled -> false
browser.tabs.groups.smart.enabled -> false
browser.ml.enable -> false
via https://warriordudimanche.net/article2143/689aef5535a05
— Permalink
Exemple d'utilisation:
Address: 192.168.0.1 11000000.10101000.00000000. 00000001
Netmask: 255.255.255.0 = 24 11111111.11111111.11111111. 00000000
Wildcard: 0.0.0.255 00000000.00000000.00000000. 11111111
=>
Network: 192.168.0.0/24 11000000.10101000.00000000. 00000000
HostMin: 192.168.0.1 11000000.10101000.00000000. 00000001
HostMax: 192.168.0.254 11000000.10101000.00000000. 11111110
Broadcast: 192.168.0.255 11000000.10101000.00000000. 11111111
Hosts/Net: 254 Class C, Private Internet
But : avoir un raspberry pi qui affiche, au démarrage, firefox en plein écran et rien de plus. C'est pour une TV d'information / monitoring.
Pour ça, j'utilise la version «no desktop» de «Raspberry Pi OS» avec un auto login.
sudo apt-get install xorg firefox
echo '#!/bin/sh
xrandr -s 1920x1080
exec firefox -height 1080 -width 1920 --window-size 1920,1080 --kiosk file:///home/pi/index.html
' > ~/.xinitrc
# là, ça devient crade mais ça «marche»
echo 'if [[ -z "$DISPLAY" && $(tty) == /dev/tty1 && "$(pgrep firefox)" == "" ]]; then startx -- -nocursor; fi' >> ~/.profile
Pour éteindre ou allumer la TV :
DISPLAY=:0.0 xrandr --listmonitors
DISPLAY=:0.0 xrandr --output HDMI-1 --off
DISPLAY=:0.0 xrandr --output HDMI-1 --auto