View previous topic :: View next topic |
Author |
Message |
Beetle B. Guru
Joined: 01 Mar 2003 Posts: 524
|
Posted: Tue May 29, 2007 4:49 am Post subject: Way to get KDE apps to "restore" in a non-KDE envi |
|
|
I use FVWM.
KDE apps that can be "minimized to the tray" don't have a place on my current window manager to put their icon. So if I accidentally minimize, they just vanish, and I have to kill the process.
Is there a simple command line way to get such an app to "restore"? I've grown attached to Basket. _________________ Beetle B.
Please update the table of equivalents.
A Firefox guide. |
|
Back to top |
|
|
ricce_n Tux's lil' helper
Joined: 01 Jul 2004 Posts: 130
|
Posted: Tue May 29, 2007 3:44 pm Post subject: |
|
|
You offten can do this with dcop.
For example, to "restore" kopete:
Code: |
dcop kopete mainWindow show
|
For kmail:
Code: |
dcop kmail kmail-mainwindow#1 show
|
etc.
try writing writing dcop alone on the comman line will list all connected apps. writing dcop and appname will list all objects that app have, writing dcop, appname and objectname will list all functions that object have. |
|
Back to top |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Tue May 29, 2007 4:17 pm Post subject: |
|
|
It just depends on the exact situation.
If your problem is that you are not using a systray, then the icon that would go in the tray, must be somewhere lying around on your desktop, search for it and hopefully you will see it and will be able to restore your application using it. In this case, the way to go if you can't find the icon is dcop. Like described above. The kde system tray specification is not too funny, since no tray but the kde one seems to work ok with every kde application. The closer I got was using stalonetray (I think there's an ebuild in bugzilla, I can provide one if needed), but even stalonetray fails with some kde applications. So, if you are not using a tray program, you should configure your applications not to use the tray icon. It can *almost* always be disabled. And by disabling it, you will remove the possibility of making your apps dissapear. |
|
Back to top |
|
|
ThomasAdam Guru
Joined: 20 Mar 2005 Posts: 448 Location: England
|
Posted: Tue May 29, 2007 9:32 pm Post subject: Re: Way to get KDE apps to "restore" in a non-KDE |
|
|
Beetle B. wrote: | I use FVWM.
KDE apps that can be "minimized to the tray" don't have a place on my current window manager to put their icon. So if I accidentally minimize, they just vanish, and I have to kill the process. |
Except of course, they don't disappear:
Code: | Next (some_window, Iconic) Iconify off |
-- Thomas Adam |
|
Back to top |
|
|
ppurka Advocate
Joined: 26 Dec 2004 Posts: 3256
|
Posted: Tue May 29, 2007 9:38 pm Post subject: |
|
|
Most kde apps which have a running system tray icon, including basket, should pop up the old window if you execute the application again. _________________ emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/ |
|
Back to top |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Tue May 29, 2007 9:52 pm Post subject: Re: Way to get KDE apps to "restore" in a non-KDE |
|
|
ThomasAdam wrote: | Beetle B. wrote: | I use FVWM.
KDE apps that can be "minimized to the tray" don't have a place on my current window manager to put their icon. So if I accidentally minimize, they just vanish, and I have to kill the process. |
Except of course, they don't disappear:
Code: | Next (some_window, Iconic) Iconify off |
-- Thomas Adam |
I don't think he is talking about Iconified apps, but about those apps that, when you close them, are not any more iconified or in your taskbar. When they only reside in the tray, as far as I know, that will not work, since they are not really iconified (and even if they are, that is not the cause why they become invisible).
I just tried with psi to test before posting. |
|
Back to top |
|
|
ppurka Advocate
Joined: 26 Dec 2004 Posts: 3256
|
Posted: Tue May 29, 2007 11:16 pm Post subject: Re: Way to get KDE apps to "restore" in a non-KDE |
|
|
6thpink wrote: | I don't think he is talking about Iconified apps, but about those apps that, when you close them, are not any more iconified or in your taskbar. When they only reside in the tray, as far as I know, that will not work, since they are not really iconified (and even if they are, that is not the cause why they become invisible).
I just tried with psi to test before posting. | I did have "the window was closed (not minimized) and system tray is running somewhere in background" in mind when I wrote the above post. Simply executing the application again works ,i.e. it "unminimizes" the old window, in many cases (basket, amarok, kopete, etc). _________________ emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/ |
|
Back to top |
|
|
Beetle B. Guru
Joined: 01 Mar 2003 Posts: 524
|
Posted: Thu May 31, 2007 5:06 pm Post subject: |
|
|
Thanks, both the dcop and simply re-executing basket were good things to know.
(And yes, the problem is that it is not iconified). _________________ Beetle B.
Please update the table of equivalents.
A Firefox guide. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|