[Konsole-devel] [Bug 297224] New: Command-line options ignored when stdout redirected to /dev/null
Rogier
rogier777 at gmail.com
Sun Apr 1 08:39:47 UTC 2012
https://bugs.kde.org/show_bug.cgi?id=297224
Bug ID: 297224
Severity: normal
Version: unspecified
Priority: NOR
Assignee: konsole-devel at kde.org
Summary: Command-line options ignored when stdout redirected to
/dev/null
Classification: Unclassified
OS: Linux
Reporter: rogier777 at gmail.com
Hardware: Debian testing
Status: UNCONFIRMED
Component: general
Product: konsole
User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:10.0.2)
Gecko/20100101 Firefox/10.0.2 Iceweasel/10.0.2
Build Identifier:
When starting konsole from the command-line, with stdout redirected to
/dev/null, it ignores certain command-line options.
Examples:
prompt $ konsole --title "My custom title"
Results in a new konsole window with the desired title, whereas
prompt $ konsole --title "My custom title" > /dev/null
Results in a new konsole window with the default title
Whereas the title is a minor inconvenience (AFAIAC), the display option is also
ignored:
prompt $ konsole --display :1.0
Results in a new konsole window on display :1.0
prompt $ konsole --display :1.0 > /dev/null
Results in a new konsole window on (presumably) the display that konsole was
first started on. This is particularly inconvenient in the following case:
session-on-display 0 $ konsole --display 1:0
new konsole session opens on display 1:0
session-on-display 1 $ konsole
another new konsole session opens on display 1:0, as expected
session-on-display 1 $ konsole > /dev/null
a new konsole session opens on display 0, whereas it is obviously expected on
display 1.
When started with --nofork, the following message is printed:
prompt $ konsole --nofork > /dev/null
unnamed app(12905): KUniqueApplication: Can't setup D-Bus service. Probably
already running.
The above tests were run from my standard KDE session.
When konsole is started outside of a KDE session, e.g. from a remote login
shell, this problem does not occur, and the command-line options are processed
as expected. Example:
myhost $ konsole --title custom > /dev/null
opens a konsole window with the default title, ignoring the command-line option
myhost $ rsh myhost
Last login: Sun Apr 1 10:23:54 CEST 2012 from myhost on pts/48
Linux myhost 3.1.0-1-amd64 #1 SMP Tue Jan 10 06:25:07 UTC 2012 x86_64
myhost $ konsole --title custom > /dev/null
opens a konsole window with the title 'custom', as expected.
myhost (new konsole session) $ konsole --title different-custom-title >
/dev/null
again, opens a konsole window with the title 'different-custom-title', as
expected.
Regards,
Rogier
Reproducible: Always
Steps to Reproduce:
See description
Actual Results:
See description
Expected Results:
See Description
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the konsole-devel
mailing list