https://bugs.kde.org/show_bug.cgi?id=482817

--- Comment #3 from Max <max.yego...@mail.ru> ---
I need to change the profile on the hot key. I get ID:
id = $ (qdbus org.kde.yakuake / yakuake / sessions
org.kde.yakuake.activeSessionId)
The numbering is 0 1 2 3 4 5 ...
Then, use it to change the profile:
qdbus org.kde.yakuake /Sessions/$id org.kde.konsole.Session.setProfile "Profile
1"

The fact is that here /yakuake/sessions ID will be incremental after closing
the tabs.
And here /Sessions numbers go without considering closed tabs (always 1 2 3 4 5
...).
Until the tabs close, everything works. When several tabs close (those on the
right),
then here /yakuake/sessions the numbering becomes so 0 4 5 8 ... And it becomes
impossible,
use of this data here /Sessions/$id

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to