You are not logged in.

#1 2024-06-20 23:58:49

Birds
Member
Registered: 2024-06-20
Posts: 10

[SOLVED] The stock Arch Linux terminal and its configurating

Hi!

I want to use Vim in Arch Linux, but its Alt+key mappings don't work with the stock terminal. By "stock" I mean the one that opens if I click on the "Console" application in GNOME.

The problem with mappings is described in the Vim docs, but I don't know the name of the terminal and thus can't google the ways to configure it. "echo $TERM" reports "xterm-256color", but as far as I can tell it's not xterm.

So can anybody tell me how I figure out what terminal I'm using? Thanks!

Last edited by Birds (2024-07-25 16:21:58)

Offline

#2 2024-06-21 00:58:31

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: [SOLVED] The stock Arch Linux terminal and its configurating

Either gnome-terminal or gnome-console.  Just look at the output of ps or top to see which is running.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2024-06-21 02:10:53

sukolyn
Member
Registered: 2024-02-14
Posts: 156

Re: [SOLVED] The stock Arch Linux terminal and its configurating

hey,

terminal's name is available in $TERM, and it may be useful in vim's config, as partial name, and maybe as a regex...

Last edited by sukolyn (2024-10-30 23:59:57)

Offline

#4 2024-06-21 02:59:12

Birds
Member
Registered: 2024-06-20
Posts: 10

Re: [SOLVED] The stock Arch Linux terminal and its configurating

sukolyn wrote:

terminal's name is available in $TERM ?

Yes, as I said, $TERM is "xterm-256color", but the stock Arch Linux GNOME terminal is definitely not xterm.

sukolyn wrote:

and it may be useful in vim's config ?

I don't know yet, but I think for Alt+key mappings to work in Vim in the stock terminal something should be changed on the OS level, not in Vim.

Offline

#5 2024-06-21 04:14:40

Birds
Member
Registered: 2024-06-20
Posts: 10

Re: [SOLVED] The stock Arch Linux terminal and its configurating

Trilby wrote:

Either gnome-terminal or gnome-console.  Just look at the output of ps or top to see which is running.

Thank you, I did "ps", then "top", and neither "gnome-terminal" nor "gnome-console" were in the lists. "top", however, showed (among other processes) "kgx" - perhaps, that's the terminal.

Offline

#6 2024-06-21 04:21:09

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: [SOLVED] The stock Arch Linux terminal and its configurating

kgx is gnome-console.

Offline

#7 2024-06-21 07:11:30

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,946

Re: [SOLVED] The stock Arch Linux terminal and its configurating

There's no "stock Arch Linux terminal", gnome-console is a wrapper around VTE4, which is maybe easier to google than "console"…

Online

Board footer

Powered by FluxBB