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

[SOLVED] Bring up application minimized in system tray

Tags: None
(comma "," separated)
User avatar
dpalacio
Registered Member
Posts
240
Karma
2
OS
I use some applications (konversation, kontact through kmail icon, ktorrent) and minimize them in the system tray. What I am missing is a shortcut to bring one of those applications back to the front. Is it implemented? Where?


connect(post, SIGNAL(readSignature()), qapp, SLOT(quit()));
User avatar
toad
Global Moderator
Posts
1258
Karma
7
OS
I believe you will have to wait until KDE4.3 - end of July. Until then the mouse will have to be your friend.


Debian testing
User avatar
dpalacio
Registered Member
Posts
240
Karma
2
OS
The future is now, er... I am using KDE 4.trunk/

Alt+Tab->Expose windows, Control+Alt+/->switch current screen, all those work great. The missing bit is returning to those tray'd applications.


connect(post, SIGNAL(readSignature()), qapp, SLOT(quit()));
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
You should be able to configure System Settings > Input Actions with the relevant Keyboard shortcut and DBus call to show the application.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
dpalacio
Registered Member
Posts
240
Karma
2
OS
I did not see input actions. Yes, that's it, almost! So, for Konversation is:
org.kde.konversation /konversation/MainWindow_1 show

It does open the window, but behind the current one, maybe others too. It would be great to have the system tray icon raise action available too. Or, if I am missing another DBus call, please tell me.


connect(post, SIGNAL(readSignature()), qapp, SLOT(quit()));
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
You could try enabling some Window rules by right clicking on the window decoration, which lists access to several configuration dialogs.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
dpalacio
Registered Member
Posts
240
Karma
2
OS
I did not like forcing the window to be above all, so I disabled focus prevention in general and it works. But I still think both methods are workarounds. I have been considering doing a bug report like this:

============
Bug report deleted by the author.
============

Disabling focus prevention per application is fine. Solved! Thanks.


connect(post, SIGNAL(readSignature()), qapp, SLOT(quit()));


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]