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

Feature request: Change caption in Kwin scripts

Tags: None
(comma "," separated)
edwardo
Registered Member
Posts
8
Karma
0
According to the API doc, KWin:::Client.caption is a read-only property, and
Code: Select all
workspace.activeClient.caption = "Kwin scripts rocks !!!"
fails silently.

But Kwin itself can change it (adding e.g. "{Meta+K}" at the end of the windows which have hotkeys defined for them). Could this be exposed via the API ? I'm trying to get a similar hotkey visual clue behavior and can't without it.

Thanks !
luebking
Karma
0
feature exists in 4.10 - but not like this (wouldn't work anyway because the client can/may/will update the caption constantly and/or at any time)

see /usr/share/apps/kwin/stripTitle.js and activate "kwriteconfig --file kwinrc --group Windows --key CondensedTitle true" to have it invoked.


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], q.ignora, watchstar