Bug 175623

Summary: execute in terminal window doesn't works
Product: [Applications] kalarm Reporter: Christoph Paasch <christoph.paasch>
Component: generalAssignee: David Jarvie <djarvie>
Status: CLOSED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Christoph Paasch 2008-11-19 22:31:49 UTC
Version:           2.0.6 (using 4.1.3 (KDE 4.1.3), Kubuntu packages)
Compiler:          cc
OS:                Linux (x86_64) release 2.6.27-8-generic

When having a "Command Alarm", and trying to execute it in a terminal window by checking "Execute in terminal window", it will report an Error-code 254.

This is due to the fact that it tries to execute:
konsole --noclose -T KAlarm -e ${Shell:-sh} -c [path to command/executable]

But konsole doesn't accepts the -T option, when trying to execute the above command in a terminal.

So, the solution to the bug could be, to remove that -T option.
Comment 1 David Jarvie 2008-11-20 02:50:45 UTC
It turns out that konsole in KDE 4 uses "-p tabtitle=xxx" instead of "-T xxx".

Fixed in KDE 4.1 and 4.2 (SVN commits 886786, 886788).
Comment 2 Christoph Paasch 2009-01-28 20:49:29 UTC
Well, the problem is now, that you have to delete the config file .kde/share/config/kalarmrf to make this bug to work, because in this file there is still the old command stored.

I'm sure there is a way to change that...
Comment 3 David Jarvie 2009-01-29 19:58:06 UTC
Now fixed for KDE 4.2.1. SVN commits 918286, 918287.