Starting applications from a single key

Asked by sfb on 2009-02-21

Hi,

I'm trying to set up my system to start applications using single keys. I have set up mutt and midnight commander to start in terminator but if I apply the same method to slrn and vnstat the terminal window starts and immediately closes. I use "terminator -e application" in all cases. Has anyone got any ideas or suggestions to make slrn and vnstat start as mutt and midnight commander already do.

Thanks in advance

sfb

Question information

Language:
English Edit question
Status:
Solved
For:
Terminator Edit question
Assignee:
No assignee Edit question
Solved by:
sfb
Solved:
2009-02-23
Last query:
2009-02-23
Last reply:
2009-02-21
Chris Jones (cmsj) said : #1

I'm not sure exactly why slrn isn't working, but I just tested out vnstat and it's because you run vnstat, it prints some information and then exits. When the child of terminator exits, the default behaviour is for the terminal to be closed.
It is possible to change this behaviour, but I think that will annoy you in most other situations.

Instead, with something like vnstat you probably want a constantly updating display of information, so I would suggest maybe running:

terminator -x watch vnstat

sfb (lp-e-dajand) said : #2

Hi Chris. Thanks for your quick reply. That's worked for vnstat, thank you very much. I've just got the slrn problem now, but I'll get there eventually.

Once again, thanks for your help.

Regards

sfb

sfb (lp-e-dajand) said : #3

Hi. I've sorted the slrn problem. For some reason, when invoked in the manner described above, it wasn't reading the NNTPSERVERHOST environmental variable. If I start using slrn -h my.news.server it works.

Good eh? :-)