Registered Member
|
Can anybody give any hint on how to use the -p option? The help says:
-p Change the value of a profile property. But no matter how hard I shake or how hard I dance, nothing seems to work. I want to use this in combo with --new-tab. Is there a property list somewhere? Thx. |
Administrator
|
You can probably find a list of properties in one of the profiles files located in the profiles folder ( $(kde4-config --localprefix)/share/apps/konsole )
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
I had looked at that, but there were relatively few there (maybe 10), so I was thinking there might be more. What I'd *like* to do, is open a tab with --new-tab, change directories and then set the tab title. The last one is where I'm stuck and thought there might be a "property" for that. Thx. |
Administrator
|
You may need to change the title from the default to make it write the property names.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Doesn't seem to save anything to disk. I am running konsole on gnome so maybe that effects things. Thx.
|
Administrator
|
The two property values appear to be:
According to my Konsole profile. The appropriate options look like "RemoteTabTitleFormat" and "LocalTabTitleFormat"
Last edited by bcooksley on Thu May 28, 2009 6:02 am, edited 1 time in total.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Ah! Excellent. The 'Format' in there threw me. I never would have associated that. Since I got you handy, I have one more problem. I have multiple console windows open. No matter which window I 'konsole --new-tab', the tab is created in the first window opened, and not the one from which it was invoked. I don't see an option to control this. Or is it something else? Thanks for the help. |
Administrator
|
You may be able to use Konsole's DBus interface to perform this. I believe it has options for parameters and creating new tabs.
Running konsole is always going to cause a new instance to be created unfortunately.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
You can. But why when konsole cli will do the same things for you?
You've been misinformed. e.g. the following will simply open a new konsole tab:-
Kind regards |
Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], lockheed, mesutakcan, Sogou [Bot]