WaylandサーバーでUbuntun 20.04を実行するときにVTコンソールを無効にする方法

WaylandサーバーでUbuntun 20.04を実行するときにVTコンソールを無効にする方法

私は現在Ubuntu 20.04を実行しており、Waylandサーバーを使用しています。 Waylandで仮想コンソールスイッチを無効にする方法がわかりません。

X.orgサーバーの下に以下を追加して、仮想コンソールの切り替えを防ぎますOption "DontVTSwitch" "True"/etc/X11/xorg.conf

ベストアンサー1

Gnome Waylandでは、次のdconfプロパティを設定して、仮想ターミナル切り替えのキーバインドを無効にできます。

dconf write /org/gnome/mutter/wayland/keybindings/switch-to-session-1 "['']"
dconf write /org/gnome/mutter/wayland/keybindings/switch-to-session-2 "['']"
dconf write /org/gnome/mutter/wayland/keybindings/switch-to-session-3 "['']"
dconf write /org/gnome/mutter/wayland/keybindings/switch-to-session-4 "['']"
dconf write /org/gnome/mutter/wayland/keybindings/switch-to-session-5 "['']"
dconf write /org/gnome/mutter/wayland/keybindings/switch-to-session-6 "['']"
dconf write /org/gnome/mutter/wayland/keybindings/switch-to-session-7 "['']"
dconf write /org/gnome/mutter/wayland/keybindings/switch-to-session-8 "['']"
dconf write /org/gnome/mutter/wayland/keybindings/switch-to-session-9 "['']"
dconf write /org/gnome/mutter/wayland/keybindings/switch-to-session-10 "['']"
dconf write /org/gnome/mutter/wayland/keybindings/switch-to-session-11 "['']"
dconf write /org/gnome/mutter/wayland/keybindings/switch-to-session-12 "['']"

おすすめ記事