![]() Registered Member ![]()
|
I posted this in LinuxQuestions before I figured out that the problem(?) was with yakuake itself.
I'm trying to run 4 instances of folding@home (one for each core) in a quad yakuake session. I tried with the following:
(Needless to say: my bash skills are extremely poor). The problem is that when when a quad session is created, no active terminal is defined. This is certainly not a bug but rather a feature (or the lack of it). Examples:
Is there any workaround for this? |
![]() KDE Developer ![]()
|
One of the forum admins kindly pointed me toward this thread
![]() The reason this doesn't quite work is because the focus event that sets the active terminal id only occurs once the window is opened (or immediately when it's already open while the D-Bus call is made). I.e. if you do addSessionQuad while the window is closed, the active terminal id isn't set immediately because technically there is no active terminal yet. I've fixed this now in the development version so that the terminal that will receive focus once the window opens is immediately set as the active terminal even while the window is closed, so activeTerminalId will return something useful. Another interesting tidbit: Already as of a few weeks ago the addSession* and split* D-Bus calls return the id's of the newly-created sessions/terminals in the dev version. Tip for the future: A Bugzilla report has a greater chance of reaching me, even if it worked this time ![]()
Plasma, apps hacker. KDE e.V. vice president.
|
![]() Registered Member ![]()
|
Hein:
First of all, congratulations for your work and thanks. Yakuake is a work of art. Concerning the question of the post, I didn't post it in bugzilla since I didn't consider it a bug per se. That's why I asked for a workaround. Thanks again. |
![]() KDE Developer ![]()
|
Yeah, it's not necessarily a bug, but Bugzilla is also appropriate for wishes, or generally if you have a problem accomplishing something with our software, so don't hesitate to go there in need. Also, thanks for your kind words
![]()
Plasma, apps hacker. KDE e.V. vice president.
|
![]() Registered Member ![]()
|
I've just find sort of a workaround.
All I have to do is know hot to cut those final digits, but I'm sure a google and man cut will do. This is perhaps the nastiest workaound imaginable, but it works:
|
Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]