Bug 50695 - Recent konsole doesn't accept an Exec= field in <session>.desktop files which includes a shell variable assignment
Summary: Recent konsole doesn't accept an Exec= field in <session>.desktop files which...
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 1.2
Platform: Unlisted Binaries Linux
: NOR wishlist
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-14 07:47 UTC by rakko
Modified: 2002-11-18 18:04 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rakko 2002-11-14 07:47:31 UTC
Version:           1.2 (using KDE 3.0.9)
Compiler:          gcc version 2.95.4 20011002 (Debian prerelease)
OS:          Linux (i686) release 2.4.19

In KDE 3.0.x I had a file ~/.kde/share/apps/konsole/mutt.desktop to launch mutt (email client) sessions. It had the line
  Exec=LC_CTYPE=en_US.ISO-8859-1 mutt -f =inbox
with LC_CTYPE defined to specify the locale explicitly. However, in 3.1 RC2 konsole doesn't seem to recognize the variable assignment in the Exec= line, and skips the session, not listing it in the menu of sessions.
Comment 1 Stephan Binner 2002-11-14 11:53:40 UTC
Konsole now checks if the entry you specify is installed on your system, that 
means it checks if program "LC_CTYPE=en_US.ISO-8859-1" is installed. :-) 
I think we cannot/should add handling for every possible command line, so better 
put this in a script which you specify to be executed. 
Comment 2 rakko 2002-11-15 06:38:42 UTC
Subject: Re:  Recent konsole doesn't accept an Exec= field in <session>.desktop files which includes a shell variable assignment

On Thu, Nov 14, 2002 at 10:53:41AM -0000, Stephan Binner wrote:
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>      
> http://bugs.kde.org/show_bug.cgi?id=50695     
> binner@kde.org changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|UNCONFIRMED                 |RESOLVED
>            Platform|                            |Unlisted Binaries
>          Resolution|                            |WONTFIX
> 
> 
> 
> ------- Additional Comments From binner@kde.org  2002-11-14 11:53 -------
> Konsole now checks if the entry you specify is installed on your system, that 
> means it checks if program "LC_CTYPE=en_US.ISO-8859-1" is installed. :-) 
> I think we cannot/should add handling for every possible command line, so better 
> put this in a script which you specify to be executed.

Grumble. Couldn't it at least parse out things like <foo>=<bar> at the
beginning of the command line? That shouldn't be hard.

Comment 3 Stephan Binner 2002-11-17 10:47:18 UTC
Perhaps 
Comment 4 Waldo Bastian 2002-11-18 18:04:41 UTC
Subject: kdebase/konsole/konsole

CVS commit by waba: 

CCMAIL: 50695-done@bugs.kde.org
Use KRun::binaryName(exec, false) to find the binary in the Exec line.
Fixes BR50695


  M +1 -5      konsole.cpp   1.343