Configuration de deux écrans sur LXDE

LXDE, c'est un super gestionnaire de bureau, mais parfois on cherche un peu comment faire les trucs…

Avec deux écrans :

  • Avec ARandr, définir comment on a envie qu'ils fonctionnent. Enregistrer ça dans un fichier.
  • Ouvrir le fichier, et copier la disposition à la bonne ligne dans /home/user/.config/autostart/lxrandr-autostart.desktop

Par exemple :

[Desktop Entry]
Type=Application
Name=LXRandR autostart
Comment=Start xrandr with settings done in LXRandR
Exec=xrandr --output VGA-0 --primary --mode 1280x768 --pos 0x0 --rotate normal --output DVI-0 --mode 1024x768 --pos 1280x0 --rotate normal --output HDMI-0 --off
OnlyShowIn=LXDE

2e méthode

nano /etc/xdg/autostart/lxrandr-autostart.desktop
[Desktop Entry]
Type=Application
Name=Démarrage automatique de LXRandR
Comment=Démarrer xrandr avec les paramètres configurés dans LXRandR
Exec=sh -c 'xrandr --output VGA-0 --primary --mode 1680x1050 --pos 0x0 --rotate normal --output DVI-0 --mode 1360x768 --pos 1680x282 --rotate normal --output HDMI-0 --off'

3e méthode ?

J'ai aussi un truc ailleurs…

sudo nano /etc/lxdm/LoginReady
#!/bin/sh
#
# Note: this is a sample and will not be run as is.
xrandr --output DVI-0 --off --output HDMI-0 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output VGA-0 --mode 1360x768 --pos 1920x312 --rotate normal

Gérer la luminosité, le contraste, etc

CC Attribution-Noncommercial-Share Alike 4.0 International Driven by DokuWiki
pratique/informatique/lxde_2ecran.txt · Dernière modification : 30/07/2021 10:58 de Zatalyz