Registered Member
|
I'm trying to add a konsole launcher to the KDE menu which has command line options for konsole.
If I have a konsole window open, and run "konsole --title foo" in it, I get a new konsole window with the expected title. If I use the KDE Menu Editor to create a new entry with "konsole --title foo" in the Command field, that menu entry will launch a konsole window with the default title, not "foo". However, I've noticed that if I close all of my konsole windows, then run the above menu entry, I get a konsole window with the expected title. In other words, the command line options don't work from the menu if konsole is already running. What can I do to get the command line options working from the menu if konsole is already running? |
Manager
|
this may help viewtopic.php?f=22&t=88745 & http://kdemonkey.blogspot.com/2007/12/m ... gging.html
has to do with konsole being a single-instance application, if kde sees konsole is already running it has the existing one start a child process not a separate instance. but creating a new konsole from within konsole does create a new instance. itdoes not appear there any options to change this behavior. |
Manager
|
this bug report may explain why it is as it is https://bugs.kde.org/show_bug.cgi?id=184964#c7 especially note Robert Knight's comments as he is one of the developers of Konsole
|
Registered Member
|
Thanks, that explains it.
I got what I wanted by doing "konsole -e konsole --nofork <other options I wanted>. But that creates an intermediate konsole window that's "dead" and can't be closed without killing the child window. For some reason "konsole -e konsole" doesn't work. The window opens and closes immediately. |
Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell