wez / wezterm

A GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust
https://wezfurlong.org/wezterm/
Other
16.75k stars 751 forks source link

Missing Guidance on Howto set WezTerm as default terminal #5861

Open jreuben11 opened 1 month ago

jreuben11 commented 1 month ago

sudo update-alternatives --config x-terminal-emulator is not listing WezTerm as an option (installed from Snap)

ViniciussSantos commented 1 month ago

The guidance isn't shown because it changes depending on your system. If I'm not mistaken, gnome uses update-alternatives, kde uses its system config GUI, some window managers just ask you to modify a line in some random config file, etc. It would be a waste of time to document something that is so specific to the user's system and that is already documented in the window manager docs.

holocronweaver commented 1 day ago

As @jreuben11 mentioned, if installed via flatpak/snap then wezterm does not show up in update-alternatives. However directly setting gsettings works for me:

for flatpak

gsettings set org.gnome.desktop.default-applications.terminal exec 'flatpak run org.wezfurlong.wezterm'

or for snap it should be directly on your path IIRC

gsettings set org.gnome.desktop.default-applications.terminal exec 'wezterm'