Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 86280 - unable to launch arbitrary progs with args at login time
unable to launch arbitrary progs with args at login time
Product: Red Hat Linux
Classification: Retired
Component: kdebase (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Petr Rockai
Ben Levenson
: FutureFeature
Depends On:
  Show dependency treegraph
Reported: 2003-03-18 15:01 EST by Landon Curt Noll
Modified: 2007-04-18 12:52 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-03-11 08:21:35 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Landon Curt Noll 2003-03-18 15:01:08 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003

Description of problem:
Under the most up2date KDE from RH8.0, one does not seem to have
the ability to launch programs with arguments at login time.

One can save a current KDE desktop environment but that is
not sufficient.   Consider the konsole.  KDE will preserve
the location of a konsole window, but one does not have
the ability to supply an -e command as well.

We need to launch a number of windows at login time where
the application needs additional arguments.  For example:

    konsole -e /usr/bin/ssh remote.host
    konsole -e /usr/bin/tail --retry --follow=name \
        --max-unchanged-stats=61 /some/log.file
    /usr/local/bin/some-x11-app args ...

Unless I have missed something somewhere, the current KDE
bluecurve setup does not give one the ability to launch
any program with args at login time.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.try to launch a konsole with the arguments:
    konsole -e /usr/bin/tail --retry --follow=name /tmp/foobar

Actual Results:  KDE does not give you the ability

Expected Results:  Something under Preferences will allow you to enter commands
for KDE to execute on login.

Additional info:

Had this ability been in place, then a work-a-round for
bug #86278 would have been possible.
One could have simply added /usr/bin/rhn-applet-gui to
the startup command list ...
Comment 1 Miloslav Trmac 2003-03-19 14:56:50 EST
See ~/.kde/Autostart.

I'm not sure how to open this from the GUI though.
Comment 2 Landon Curt Noll 2003-03-20 14:19:41 EST
Thanks Miloslav, for your clarification. 
The issue with this enhancement request IS the GUI. 
"Power users" can create files under ~/.kde/Autostart by hand, but 
not by means of the GUI. 
Comment 3 Miloslav Trmac 2003-03-20 14:43:09 EST
Hey, I didn't say it is not in the GUI. I just honestly
don't remember where it is because I'm not using KDE
nowadays. I'm *sure* that there was a GUI way to open this
folder at some point in the past though.
Comment 4 Petr Rockai 2005-03-11 08:21:35 EST
I suppose if you need to write shell scripts to be ran on login time, you can   
probably open the Autostart folder too. However, i leave this on upstream   
decision. Closing as UPSTREAM. (Note: for konsole, you can probably fix this 
by saving sessions that have ssh as their command and open those sessions and 
log out, you should get them back on login via session restoration). 

Note You need to log in before you can comment on or make changes to this bug.