PROJET AUTOBLOG


Planet-Libre

source: Planet-Libre

⇐ retour index

antistress : Test de GNOME-Wayland sur Debian : pas encore tout à fait ça

mardi 11 octobre 2016 à 23:50

Capture d'écran d'un bureau GNOME avec le logo Wayland en surimpression

Ma machine tourne sous Debian Sid, alias Unstable, avec GNOME actuellement en version 3.22, soit une version particulièrement bien adaptée à Wayland.

J'ai donc à nouveau tenté la bascule, et je dois dire que les progrès accomplis impressionnent, dans le sens où il devient très difficile de distinguer une session GNOME-Wayland d'une session GNOME-X11 (la vie est ainsi faite que les différences au niveau de l'interface sauteront aux yeux des utilisateurs autant que les gains en termes de sécurité et d'éradication de bogues insolubles passeront inaperçus). Pour résumer la chose en quatre petits mots : on y est presque !

Presque ?

Les régressions agaçantes

Les petits bogues occasionnels

Le gros bogue pas si occasionnel que ça

Les fonctionnalités manquantes

À ce dernier sujet, je recopie ici ma toute récente conversation avec Carlos Garnacho :

Q: With GNOME-X11 I used to assign screen rotation commands ("xrandr -o normal" and "xrandr -o left") to Keyboard Shortcuts. Could you please tell me what are the corresponding commands with GNOME-Wayland ?

A: There is currently no easy way to do that from the command line, you could use the gdbus CLI tool to send messages to the org.gnome.Mutter.DisplayConfig interface [1], but the content of the messages is somewhat setup dependent, as the configuration for all monitors is sent in one go.

A more... engineered option is doing a python script (or any with gobject-introspection binding support) using the libgnome-desktop API available for output configuration, which is the same than gnome-control-center uses. Perhaps libgnome-desktop should provide a small utility tool itself, although in honesty I wouldn't like seeing people take it as a drop-in replacement to xrandr.

Oh, also, GNOME does already honor the key(s) mapped to XF86RotateWindow, toggling across all rotations in the main output, it's unfortunate that we don't offer configuration for mapping that action to other keybinding though...

Q: If I understand correctly there is no easy way to get that on GNOME-Wayland ?

A: Right, just not yet... I'm sure some command line tool will appear to compensate somewhat for the lack of xrandr for wayland, there's just been more crippling bugs to focus on :).

Et c'est tout ! Pour le reste, la différence est imperceptible dans mon cas, c'est dire le boulot qui a été abattu pour que ce changement majeur puisse se faire sans heurt : bravo ! J'ai hâte de récupérer les différents correctifs évoqués...

(Sources pour ce billet ici, ici et )

Gravatar de antistress
Original post of antistress.Votez pour ce billet sur Planet Libre.

Articles similaires