Registered Member
|
I don't know when it got missing, but I suppose when I upgraded to Plasma 5. There used to be a useful command called "ksystraycmd" which I used to start non-kde programs at system startup. Some of these programs - and also some qt-based - don't minimize to the systemtray when started automatically at startup. Right now I've got this problem with "Pidgin", "Choqok" and "Teamdrive". That is why I excluded them from session management - saving and autostart - and started them separately in a script. These scripts do not work anymore. Interesting is, when I close them minimized and restart them after Plasma has been started and is running they start minimized. This holds true at least for "Pidgin" and "Choqok".
Any idea how I can start these programs minimized at system start without ksystraycmd? Cheers Knut |
Registered Member
|
I found a workaround for this trouble.
Just copy "ksystraycmd" binary from KDE4 to "/usr/bin/", not sure how it works but it works. At least now I can use "place to system tray" checkbox in desktop shortcuts settings. I think It could be found in "kdebase" or similar package for a suitable architecture, I had a previous debian distribution with KDE4 installed and just copied it from there. You can quickly test how it works by running something like this:
It throws some errors, but icons places ok, also there is a trouble with window position when you click a few times on the tray icon, the window tries to move to top and left corner, but for the certain application you can lock this using "special window parameters" in right menu click on window title.
kubuntu/debian user
|
Registered Member
|
Hey xwild,
sounds interesting what you write. Unfortunately I have no KDE4 installed anymore. Kicked it out about half a year ago. Thus no way to come by it easily. Would you be so kind to upload your binaries here. It should not make a difference what distro they were compiled for. Cheers Knut |
Registered Member
|
It's "kde-workspace-bin" .deb package, for debian/ubuntu, you can download it here (scroll to the bottom of the page and select your architecture):
https://packages.debian.org/jessie/kde-workspace-bin http://packages.ubuntu.com/trusty/kde-workspace-bin
kubuntu/debian user
|
Registered Member
|
Hey xwild,
thanks for the tip. Unfortunately Ubuntu/Debian have a different repository structure than Arch based Chakra Linux. Thus I ran into a missing library problem or should I better say a problem with conflicting 32/64 bit versions. Eventually I managed to extract ksystraycmd from an old image of my KDE4 installation and now it works fine. Knut |
Registered Member
|
Nice
At least now it's possible to find the confirmed solution on google for anyone. UPDATE: Also there is the "kdocker" package which is available in repositories, it allows to tray any appication by running it this way
But I have black background on trayed icons in my applications, so it's not a perfect solution, but it works without hacks.
kubuntu/debian user
|
Registered Member
|
You can add a custom icon and set it to be remembered. |
Registered users: Bing [Bot], Google [Bot], kesang, Yahoo [Bot]