[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A KDE/Konsole question
- To: Daniel Feiglin <dilogsys(at-nospam)inter.net.il>
- Subject: Re: A KDE/Konsole question
- From: Ilya Konstantinov <linux-il(at-nospam)future.galanet.net>
- Date: Mon, 23 Jul 2001 21:24:57 +0300
- Cc: IGLU <linux-il(at-nospam)linux.org.il>
- Delivered-To: linux.org.il-linux-il@linux.org.il
- In-Reply-To: <3B5C656A.6000603@inter.net.il>
- References: <3B5C656A.6000603@inter.net.il>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
- User-Agent: Mutt/1.3.19i
On Mon, Jul 23, 2001 at 08:56:58PM +0300, Daniel Feiglin wrote:
> Hello!
>
> Does anyone know how to get konsole to execute a command or a script before
> passing control to the user? (NB The -e <cmd> option executes command cmd
> and exits - not very helpful.)
>
> I would like, for example, to preset TERM=xterm as a default for all konsole
>
> sessions. If you do this, the mouse works correctly for apps like mc.
>
> Environment: SuSE 7.1/KDE 2.0
> Reference: kconsole --help-all (No much!)
My Konsole (on KDE 2.2beta1) sets TERM=xterm itself.
Alternatively, you can create a little script to do this:
#!/bin/sh
export TERM=xterm
exec bash
and use 'konsole -e your_script'
Of course, replace bash with your prefered shell, and make the script
executable.
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il