This forum has been archived. All content is frozen. Please use KDE Discuss instead.

"Start terminal here" in Krusader and Konsole

Tags: None
(comma "," separated)
rsupremo
Registered Member
Posts
51
Karma
0
OS
I decided to tune up Krusader's "Start terminal here" to open a new tab in running Konsole instance (via adding --new-tab option) but now after invoking this action (pressing F2) the Konsole window is not focused even though the new tab is opened there.

I tried to use a wrapper script in Terminal Krusader settings which opens a new tab in Konsole and then invokes wmctrl -a "Konsole" but that failed to execute.

Can be script used instead of providing terminal program in Krusader settings?
How to make Konsole window go to top when F2 is pressed in Krusader?


openSUSE 13.2, KDE 4.14.2
Arch Linux, KDE 4.14.7
luebking
Karma
0
a) file a bug against konsole to request focus when called by that parameter (evtl. for a second switch only)
b) make the wrapper script work - if you can run "konsole --new-tab" there should be absolutely no problem to run a script either. (forgot +x?)
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Did you give the wrapper script a shebang and mark it as executable?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
rsupremo
Registered Member
Posts
51
Karma
0
OS
bcooksley wrote:Did you give the wrapper script a shebang and mark it as executable?


That shebank might have been the cause:)


openSUSE 13.2, KDE 4.14.2
Arch Linux, KDE 4.14.7
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Is the issue now fixed?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
Piotr Dobrogost
Registered Member
Posts
37
Karma
0
Related thread: Global shortcut for bringing win of a program to foreground

I tried to put
Code: Select all
konsole --new-tab --workdir %d && qdbus org.kde.konsole /konsole/MainWindow_1 hide && qdbus org.kde.konsole /konsole/MainWindow_1 show

into Terminal command line field in General > Terminal section of Krusader's settings but it does not work – Konsole's window is not brought to the front.
luebking
Karma
0
try "raise"?
Piotr Dobrogost
Registered Member
Posts
37
Karma
0
luebking wrote:try "raise"?


As I wrote at viewtopic.php?f=111&t=123976#p344015 raise did not work until I turned Focus stealing prevention in Window Management > Window Behavior from Low to None.


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft