You are not logged in.

#1 2010-01-21 20:41:43

Mardoct
Member
Registered: 2009-08-17
Posts: 208

Automatically Restart Program After Exit? [ SOLVED ]

I've been using tilda as a terminal emulator, and love it, but there's a slight problem. Pressing the hotkey for tilda doesn't spawn a new instance of it, it just makes pulls an existing instance onto the desktop. The problem is that I have a tick developed to use exit to close terminal emulators and this means that I have to re-run tilda from xterm to be able to use the hotkey again. I guess I could just make my Openbox autostart.sh include

(tilda && tilda && tilda && tilda) &

but I'm wondering if any of you have a more elegant solution to make sure that tilda respawns if I run exit.

Last edited by Mardoct (2010-01-21 20:55:15)


The human being created civilization not because of willingness but of a need to be assimilated into higher orders of structure and meaning.

Offline

#2 2010-01-21 20:43:47

res
Member
Registered: 2010-01-14
Posts: 55

Re: Automatically Restart Program After Exit? [ SOLVED ]

Save as tilda-start and run it instead:

#!/bin/sh
while true; do tilda; done

Offline

#3 2010-01-21 20:53:48

Mardoct
Member
Registered: 2009-08-17
Posts: 208

Re: Automatically Restart Program After Exit? [ SOLVED ]

That's so simple I feel like an idiot. Thanks.


The human being created civilization not because of willingness but of a need to be assimilated into higher orders of structure and meaning.

Offline

Board footer

Powered by FluxBB