
タイトルがひどすぎてすみません。どのように表現するのか分かりません。
そのため、デフォルトの端末エミュレータをst(Simple Terminal、最悪のプログラムの1つ)に変更しようとするコマンドを実行するとsudo update-alternatives --config x-terminal-emulator
表示されません。これは設計上のソースでコンパイルする必要があるstに関連していますか?どうすれば解決できますか?
adamfra@pop-os:~$ sudo update-alternatives --config x-terminal-emulator
[sudo] password for adamfra:
There are 2 choices for the alternative x-terminal-emulator (providing /usr/bin/x-terminal-emulator).
Selection Path Priority Status
------------------------------------------------------------
* 0 /usr/bin/terminator 50 auto mode
1 /usr/bin/gnome-terminal.wrapper 40 manual mode
2 /usr/bin/terminator 50 manual mode
Press <enter> to keep the current choice[*], or type selection number: 0
答え1
stをコンパイルし、それが/usr/local/bin/stにあると仮定すると...
# Register st terminal
sudo update-alternatives --install /usr/bin/x-terminal-emulator x-terminal-emulator /usr/local/bin/st 50
# Select your terminal
sudo update-alternatives --config x-terminal-emulator
注:最初のステートメントでstへの正しいパスを入力してください。