You are not logged in.

#1 2012-04-12 17:10:17

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

default terminal emulator

hi to everybody,

i'm on openbox and if i launch sakura (through kupfer) i get executed it in xterm
despite i've installed sakura

so my question is: how can i set the default terminal emulator ???

thanks

Last edited by nTia89 (2012-04-14 12:17:01)


+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

#2 2012-04-12 23:43:37

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: default terminal emulator

Does this help?  http://live.gnome.org/Kupfer/FAQ#Why_do … mulator.3F

I think a possible solution for you might be included in the bug report linked from there.

Offline

#3 2012-04-13 17:40:54

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

Re: default terminal emulator

hi, this solve my problem with kupfer

but going forward, there is a flag or something similar, such as $EDITOR in bash , for terminal emulator ????


+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

#4 2012-04-13 19:09:11

bohoomil
Banned
Registered: 2010-09-04
Posts: 2,377
Website

Re: default terminal emulator


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#5 2012-04-13 19:46:46

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

Re: default terminal emulator

thanks, this i meaning.

SOLVED, rather, double solved


+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

#6 2012-04-13 19:53:02

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: default terminal emulator

FYI you don't use the $TERM variable to specify the "default terminal emulator" - that variable is set by the terminal app that you decide to use.

Offline

#7 2012-04-13 19:54:17

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

Re: default terminal emulator

tomk wrote:

FYI you don't use the $TERM variable to specify the "default terminal emulator" - that variable is set by the terminal app that you decide to use.

what ?


+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

#8 2012-04-13 20:51:23

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: default terminal emulator

The $TERM variable will be set by whatever terminal application you decide to use. If you're for example doing some stuff in xterm, the $TERM variable will be "xterm", in urxvt it'll be "rxvt-unicode" etc.

Issue a "echo $TERM" in said terminals and you'll see what we mean.


Burninate!

Offline

#9 2012-04-14 12:16:52

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

Re: default terminal emulator

i'm confused  ----

in sajura $TERM is xterm
and
if i export $TERM='sakura' many application return an error


+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

#10 2012-04-14 12:48:39

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: default terminal emulator

TERM is a variable that is meant to be read by applications to determine the capabilities of the console or emulator.  It does not determine which terminal app will be opened.

TERM is not a variable like EDITOR.  Setting TERM, as you did creates errors for programs that depend on valid values from 'termcap' or 'terminfo'.

Offline

#11 2012-04-14 14:04:10

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

Re: default terminal emulator

oh, yes, now i understand .....
so doesn't exist a variable that works as EDITOR


+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

#12 2012-04-14 14:55:25

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: default terminal emulator

nTia89 wrote:

oh, yes, now i understand .....
so doesn't exist a variable that works as EDITOR

Correct.

Offline

#13 2016-01-24 22:10:44

npinkerton
Member
Registered: 2016-01-24
Posts: 2

Re: default terminal emulator

I am having a similar issue.

When I try to launch htop (or any application that runs in a terminal) from my OpenBox menu (auto-generated by xdg-menu), I get an error stating "Failed to execute child process "xterm" (No such file or directory)"

I am using lxterminal as my terminal emulator, and do not have xterm installed (never have had xterm installed).

printenv | grep TERM

returns

TERM=xterm
TERMINAL=lxterminal

I have tried setting TERM=lxterminal in /etc/environment and tried running

env TERM=lxterminal

But neither of those did anything.

What am I missing?

Offline

#14 2016-01-24 22:46:39

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,716
Website

Re: default terminal emulator

*sigh*

The majority of this topic is people explaining that you shouldn't manually set $TERM, so what were you expecting "TERM=lxterminal" to accomplish?

It doesn't look like nTia89 found a way to set the default terminal in kupfer, but I imagine that you would have to edit one of kupfer's config files. I will leave this topic open in case they want to share their solution (if they found one), but please avoid bumping really old topics, such as this one, in the future.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#15 2016-01-24 22:59:48

npinkerton
Member
Registered: 2016-01-24
Posts: 2

Re: default terminal emulator

WorMzy wrote:

*sigh*

The majority of this topic is people explaining that you shouldn't manually set $TERM, so what were you expecting "TERM=lxterminal" to accomplish?

Well, there was a link to the wiki page about setting environment variables, and the OP said that is solved his problem... so I tried it... it didn't work, so I read on, and saw the posts about why that shouldn't be manually set... after reading the whole thread, I didn't find anything that sollved my issue, so I thought I would add my question, rather than starting a new thread about the same problem.

And I included the information about the TERM environment variable, because it seems odd to me that it is set to a terminal emulator that I don't have installed, and have never had installed.

My apologies.

Should I start a new thread?

Last edited by npinkerton (2016-01-24 23:05:26)

Offline

#16 2016-01-24 23:06:24

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

Re: default terminal emulator

npinkerton wrote:

Should I start a new thread?

Yes.  Your issue has nothing to do with this thread.  You are not using Kupfer.

Closed.


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

Offline

Board footer

Powered by FluxBB