Is it possible to set Hyper as the default terminal?
I tried to run
sudo update-alternatives --config x-terminal-emulatorbut it doesn't show up in the list, just the default gnome one, this is in Ubuntu 20.04.
22 Answers
you need to install hyper as update-alternatives first.. then you can select it from your command in the question..
I tried to install it and see.. I installed it with a deb package..
and ran which hyper
pratap@i7-6550U:~$ which hyper
/usr/local/bin/hyper
pratap@i7-6550U:~$ Create a script with below content and run it with root priviliges
#!/bin/bash
update-alternatives --install /usr/bin/x-terminal-emulator x-terminal-emulator /usr/local/bin/hyper 0
update-alternatives --set x-terminal-emulator /usr/local/bin/hyperExample:
pratap@i7-6550U:~$ sudo update-alternatives --config x-terminal-emulator
[sudo] password for pratap:
There are 2 choices for the alternative x-terminal-emulator (providing /usr/bin/x-terminal-emulator). Selection Path Priority Status
------------------------------------------------------------ 0 /usr/bin/gnome-terminal.wrapper 40 auto mode 1 /usr/bin/gnome-terminal.wrapper 40 manual mode
* 2 /usr/local/bin/hyper 0 manual mode
Press <enter> to keep the current choice[*], or type selection number: After reading the comments,
By tweaking the desktop-icons extension you can somewhat achieve this.
sudo update-alternatives --install /usr/bin/x-terminal-emulator x-terminal-emulator /opt/Hyper/hyper 50See
1