Bug 137031 - options -profile and -e do not work together
Summary: options -profile and -e do not work together
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 1.6.5
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-08 11:29 UTC by Ferdinand Gassauer
Modified: 2007-03-13 13:32 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ferdinand Gassauer 2006-11-08 11:29:50 UTC
Version:           1.6.5 (using KDE 3.5.5 "release 19.1" , openSUSE )
Compiler:          Target: i586-suse-linux
OS:                Linux (i686) release 2.6.16.21-0.25-default

Hi!

the -e options seems to work only if no other option is given

konsole --profile <name> -e ssh <server>
opens a local shell instead of ssh to the server

konsole -e ssh <server> works
Comment 1 Philip Rodrigues 2006-11-09 19:31:20 UTC
I can confirm on r601002
Comment 2 ietc 2007-03-11 03:34:54 UTC
Confirm the same on 1.6.5 using KDE 3.5.5 on Gentoo.

I think that it may be because a line in the profile overrides the command you give via '-e'; for example:

~/.kde/share/apps/konsole/profiles/ProfileName:
[1]
...
Pgm0=/bin/bash

I should note that I have not been able to change this line to successfully start Konsole logged into an SSH account, either.
Comment 3 Robert Knight 2007-03-13 13:32:11 UTC
Fixed in Subversion.  Example of usage with -e and --profile:

konsole --profile 2shells -e ssh user@hostname