You are not logged in.

#1 2005-07-18 18:32:38

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Set favorite terminal in .bashrc?

Is there a way to do this? I'm pretty sure that I saw somewhere that it was

export TERMINAL='foo'

somewhere, but I'm not so sure about that...

Offline

#2 2005-07-18 18:37:56

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: Set favorite terminal in .bashrc?

I think you can do it in /etc/profile with...

export TERM='foo'

I am a gated community.

Offline

#3 2005-07-18 19:31:04

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Set favorite terminal in .bashrc?

wait... wha? favorite terminal? as in an X application? that doesn't make sense as a bash variable...

the TERM variable is for termcap/terminfo settings (basically how function keys, backspace, delete, etc behave)...

If you're trying to setup the terminal app that runs when you click the terminal icon on your DE you need to change that directly... there is no generic $TERMINAL variable

Offline

#4 2005-07-18 21:11:24

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: Set favorite terminal in .bashrc?

Mmaker opens console apps in xterms by default, and I'd like to change that to aterms.

Offline

#5 2005-07-18 21:53:19

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Set favorite terminal in .bashrc?

You'll probably have to change that in Wmaker's setting.

Offline

#6 2005-07-18 23:36:26

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: Set favorite terminal in .bashrc?

Menumaker, not Windowmaker. I don't think there are any settings I can change, but I'll take a look. If that fails, I suppose I'll just edit my menus with Bluefish.

Offline

#7 2005-07-18 23:40:43

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Set favorite terminal in .bashrc?

you could always cd /usr/bin rm xterm ln -s xterm aterm... ugly, but effective.

Dusty

Offline

#8 2005-07-18 23:53:47

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Set favorite terminal in .bashrc?

Gullible Jones wrote:

Menumaker, not Windowmaker.

I tought that it was a W upside down  tongue 

Since Mmaker is in python, you could patch the code with sed line to replace xterm to aterm and rebuild the pkg with abs. Just an idea.

Offline

#9 2005-07-19 08:14:21

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Set favorite terminal in .bashrc?

I have in my ~/.shellrc (source by zshrc and bashrc)
export XTERM="aterm -e screen -D -R"

and then i have a script in /usr/bin/xprompt, which just has

#! /bin/bash
source /home/iphitus/.shellrc
$XTERM

Offline

Board footer

Powered by FluxBB