tech:notes_wayland
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| tech:notes_wayland [2026/01/20 17:04] – Jean-Baptiste | tech:notes_wayland [2026/05/29 18:22] (Version actuelle) – Jean-Baptiste | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| + | < | ||
| + | {{tag> | ||
| + | |||
| + | # Notes Wayland | ||
| + | |||
| + | Voir : | ||
| + | * slurp | ||
| + | * X11 | ||
| + | * PipeWire | ||
| + | * seat & seatd | ||
| + | * https:// | ||
| + | * https:// | ||
| + | |||
| + | Voir aussi : | ||
| + | * Sway WM (Windows Manager) | ||
| + | * https:// | ||
| + | * hyprland | ||
| + | |||
| + | |||
| + | |||
| + | ## Désactiver Wayland et repasser à Xorg | ||
| + | |||
| + | `/ | ||
| + | ~~~ini | ||
| + | [daemon] | ||
| + | WaylandEnable=false | ||
| + | |||
| + | [debug] | ||
| + | # Uncomment the line below to turn on debugging | ||
| + | # | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | ## Suis-je sous Xorg X11 ou sous Wayland | ||
| + | |||
| + | ~~~ | ||
| + | $ echo $XDG_SESSION_TYPE | ||
| + | x11 | ||
| + | |||
| + | $ echo $XDG_SESSION_TYPE | ||
| + | wayland | ||
| + | |||
| + | # Xorg ou Xwayland ? | ||
| + | $ ps -e |grep X | ||
| + | 1467 tty7 | ||
| + | ~~~ | ||
| + | |||
| + | ~~~ | ||
| + | jean@debian10: | ||
| + | SESSION | ||
| + | 1 1000 jibe seat0 | ||
| + | |||
| + | 1 sessions listed. | ||
| + | jibe@debian10: | ||
| + | Id=1 | ||
| + | User=1000 | ||
| + | Name=jean | ||
| + | Timestamp=Wed 2019-12-18 15:33:31 CET | ||
| + | TimestampMonotonic=17592338 | ||
| + | VTNr=7 | ||
| + | Seat=seat0 | ||
| + | Display=:0 | ||
| + | Remote=no | ||
| + | Service=sddm-autologin | ||
| + | Scope=session-1.scope | ||
| + | Leader=589 | ||
| + | Audit=1 | ||
| + | Type=x11 | ||
| + | Class=user | ||
| + | Active=yes | ||
| + | State=active | ||
| + | IdleHint=no | ||
| + | IdleSinceHint=0 | ||
| + | IdleSinceHintMonotonic=0 | ||
| + | LockedHint=no | ||
| + | ~~~ | ||
| + | |||
| + | ou | ||
| + | |||
| + | ~~~ | ||
| + | $ loginctl | ||
| + | SESSION | ||
| + | 1 1000 management - pts/1 active yes 2 weeks 1 day ago | ||
| + | |||
| + | 1 sessions listed. | ||
| + | |||
| + | $ loginctl show-session 1 -p Type | ||
| + | Type=tty | ||
| + | |||
| + | $ echo $XDG_RUNTIME_DIR | ||
| + | / | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | ## Faire fonctionner Synaptic en root | ||
| + | |||
| + | ~~~bash | ||
| + | xhost +si: | ||
| + | ~~~ | ||
| + | |||
| + | `~/.bashrc` | ||
| + | ~~~bash | ||
| + | alias synaptic=" | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | ## VNC | ||
| + | |||
| + | |||
| + | #### WayPipe | ||
| + | |||
| + | Le déport d' | ||
| + | |||
| + | Voir https:// | ||
| + | |||
| + | Concrètement, | ||
| + | |||
| + | ~~~bash | ||
| + | waypipe ssh user@192.168.1.20 xterm | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | #### gnome-remote-desktop | ||
| + | |||
| + | Voir : | ||
| + | * https:// | ||
| + | * https:// | ||
| + | |||
| + | Install de Gnome Remote Desktop (dépend de PipeWire) | ||
| + | ~~~bash | ||
| + | apt-get install gnome-remote-desktop | ||
| + | ~~~ | ||
| + | |||
| + | Enabling | ||
| + | ~~~ | ||
| + | Open Settings, select Sharing, and enable Screen sharing. This should automatically enable the service and you should immediately be able to connect via VNC. | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | ## Autres | ||
| + | |||
| + | ~~~bash | ||
| + | MOZ_ENABLE_WAYLAND=1 firefox | ||
| + | |||
| + | sudo flatpak override --socket=wayland org.mozilla.firefox | ||
| + | sudo flatpak override --env MOZ_ENABLE_WAYLAND=1 org.mozilla.firefox | ||
| + | ~~~ | ||
| + | |||
| + | Voir https:// | ||
| + | |||
| + | |||
| + | ## Pb | ||
| + | |||
| + | ### Err | ||
| + | |||
| + | ~~~ | ||
| + | $ kitty | ||
| + | [066 14: | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | #### Solution | ||
| + | |||
| + | https:// | ||
| + | |||
| + | ~~~bash | ||
| + | mv / | ||
| + | ~~~ | ||
| + | |||
| + | |||
