Bug 163750 - No --ls command line option
Summary: No --ls command line option
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 2.0
Platform: Fedora RPMs Linux
: NOR wishlist
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-11 05:40 UTC by Ian Mortimer
Modified: 2008-07-13 02:27 UTC (History)
0 users

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 Ian Mortimer 2008-06-11 05:40:09 UTC
Version:           2.0 (using KDE 4.0.4)
Installed from:    Fedora RPMs
OS:                Linux

The very useful --ls command line option has disappeared from konsole in kde4.  With previous versions I could make a login shell the default for all users by adding --ls to the Exec= line in /usr/share/applications/kde/konsole.desktop
Comment 1 Robert Knight 2008-06-11 16:38:05 UTC
There are two ways to do this in KDE 4:

1.  Add a command-line option to Konsole to run a login shell by default (any environment variables will be expanded at runtime):

Exec=konsole -e $SHELL --login

2.  Changing the settings in the default profile (/usr/share/apps/konsole/Shell.profile) to run a login shell.

Under the '[General]' section, set the Command to:

Command=$SHELL --login

The second approach is preferred because it won't interfere with users if they create their own profiles to run different commands.
Comment 2 Ian Mortimer 2008-06-12 00:28:43 UTC
With kde 4.0.4 on Fedora 9 it's:

/usr/share/kde4/apps/konsole/Shell.profile

Works perfectly.  Thanks for the advice.
Comment 3 Robert Knight 2008-07-13 02:27:23 UTC
Proposed solution works for reporter.