Ubuntu 22.04でgnome terminalがアクティブだとalbertのホットキーが使えない
Ubuntu 22.04を新規に導入してランチャーソフトのAlbertを導入したものの、特定のアプリ(gnome terminal)だと Albert のホットキーを押しても反応いなかったので、自分用に設定メモとして残す。
そもそもの原因はどうやら、Ubuntu 21.04から採用されたWaylandセッションに起因している模様。
上記QAによると、「WaylandはXlib keygrabsをサポートしておらずxlibがインストールされていないAlbertはクラッシュすることさえあった」とあり、
さらにAlbertのIssueをみると以下のようなやり取りがあった模様。
From my latest irc talk: Wayland does not allow applications registering hotkeys. Wayland devs call this a security mechanism to avoid keyboard sniffing. There seem to be proposals for a hotkey system, but there are not even drafts. I dare to say, that this may take another 5 years or so.
なので、設定のカスタムキーボードショートカットに登録する方法がアナウンスされていた。
設定 > キーボード > キーボードショートカット

独自のショートカット

"+"ボタンを押して、下図のようにコマンドを入力する
今回は shift + space をホットキーとして設定した
