move ptyxis, clarify preferred terminals in docs

This commit is contained in:
Dvlv 2024-02-24 10:07:08 +00:00
parent 2483d90a04
commit 8e40757909
No known key found for this signature in database
GPG key ID: 1F4BD7220B7FDCFA
2 changed files with 9 additions and 7 deletions

View file

@ -7,15 +7,17 @@ Rootful distroboxes are not supported by BoxBuddy, as they are owned by the root
Some features require filesystem access, which is not granted by default. Please see [this tutorial](/BoxBuddyRS/tips) for a walkthrough of enabling or removing filesystem access.
## What terminals are supported?
BoxBuddy will try to spawn the following terminals, in the following order:
If your preferred terminal is set via the menu, BoxBuddy will first try and spawn that one. If unset, or your preference cannot be found, BoxBuddy will then check for the first supported terminal in the priority list.
Terminals are searched in the following order:
- Ptyxis
- GNOME Console
- GNOME Terminal
- Konsole
- Tilix
- Kitty
- Alacritty
- Ptyxis
- XTerm
## Can I use [some_terminal] instead?

View file

@ -177,11 +177,6 @@ pub fn has_distrobox_installed() -> bool {
pub fn get_supported_terminals() -> Vec<TerminalOption> {
vec![
TerminalOption {
name: String::from("Ptyxis"),
executable_name: String::from("ptyxis"),
separator_arg: String::from("--"),
},
TerminalOption {
name: String::from("GNOME Console"),
executable_name: String::from("kgx"),
@ -212,6 +207,11 @@ pub fn get_supported_terminals() -> Vec<TerminalOption> {
executable_name: String::from("alacritty"),
separator_arg: String::from("-e"),
},
TerminalOption {
name: String::from("Ptyxis"),
executable_name: String::from("ptyxis"),
separator_arg: String::from("--"),
},
TerminalOption {
name: String::from("Xterm"),
executable_name: String::from("xterm"),