You are not logged in.

#1 2025-08-02 10:48:26

Efka
Member
From: Klaipeda
Registered: 2014-04-27
Posts: 112
Website

How to change terminal for headless Arch host

Im running headless Arch inside VM and "echo $TERM" brings me to xterm-256-color but i would like to have Wezterm which i have installed from source.


IBM Lenovo ThinkPad T61 ; Lenovo ThinkPad X220; Lenovo ThinkPad T440p; Lenovo Thinkpad W520; Lenovo Thinkpad P71; ThinkPad X1 Yoga Gen1;  FrankenPad T25
Asus Z10PE D-16 WS; 2x Intel Xeon E-5 2690V4; 32GB ECC; nVidia Titan V CEO

Offline

#2 2025-08-02 11:07:33

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,419
Website

Re: How to change terminal for headless Arch host

As with any environment variable, you'd change it where appropriate, depending on whether you want to set it system-wide or for a specific user only.


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

#3 2025-08-02 12:53:23

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,157

Re: How to change terminal for headless Arch host

https://wezterm.org/config/lua/config/term.html?h=term
Do NOT export TERM in some global profile or shell config!

Offline

#4 2025-08-07 06:28:13

sipak
Member
Registered: 2019-02-03
Posts: 50

Re: How to change terminal for headless Arch host

What do you mean "headless wezterm"? Headless usually means no video output at all.
Anyway, as seth said, it is perhaps a pretty bad idea to set the TERM globally, just set the default shell in whatever terminal emulator you are using (konsole, xterm, gnome-terminal, etc).


A problem to do what everybody else does without questioning. A danger to go against the way things are just because. Too much or too little, ivory towers of perfection or functional mess... Balance is what this world needs. Selective, not the middle ground. Objectivity and idealism, but within a pragmatic scope. - Minimalism is achieved through efficiency, not deficiency.

Offline

#5 2025-08-07 06:38:31

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,157

Re: How to change terminal for headless Arch host

I suspect the OP runs arch headless in the VM and ssh's into it and wezterm is the TE used on the host.
ncurses provides the wezterm terminfo and is most likely installed (because pretty much everything depends on ncurses through a couple of fundamental packages) so it would be ok to configure

the wezterm link wrote:

term = "wezterm" in your .wezterm.lua

away from the stated there default of "xterm-256-color"

it is perhaps a pretty bad completely idiotic idea to set the TERM globally

ftfy tongue

Offline

Board footer

Powered by FluxBB