Mais pas de commande utilisable pour associer à une combinaison de touches.
Voici l'échange que j'avais eu alors 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 :).
[^] # Re: Problèmes identifiés
Posté par antistress (site web personnel) . En réponse au journal Paramétrer Wayland et WebRender pour Firefox sur ma distrib. Évalué à 3. Dernière modification le 12 avril 2020 à 00:40.
je te réponds pour les combinaisons de touches.
En ce qui me concerne sous X11 j'avais programmé une combinaison de touches pour gérer la rotation de l'écran : horaire, anti-horaire.
Sous Wayland il a d'abord fallu que la fonctionnalité soit réimplémentée, ce qui a été fait via le Centre de contrôle de GNOME 3.22 (sous Matériel→Écrans).
Mais pas de commande utilisable pour associer à une combinaison de touches.
Voici l'échange que j'avais eu alors avec Carlos Garnacho :
Enfin, l'an dernier j'en ai fait part à Hans de Goede, de Red Hat, qui a semblé retenir ma demande dans le cadre du The Wayland Itches project.
En attendant j'utilise une extension pour GNOME Shell : Display Button, qui offre un accès rapide aux réglages d’orientation de l'affichage.
Je ne sais pas si ces pistes pourront se servir...