![]() Registered Member ![]()
|
Running Mint 12 KDE. I have Evolution installed. I would like it to autostart with the icon in the system tray as well. From the KDE Menu, there is a way to have it in the system tray (a little check box). I'm wondering if there is a way to do this from startup applications, or a command-line option to tell it to run in the system tray?
- X-Man
|
![]() Manager ![]()
|
run the command prefixed by ksystraycmd ie "ksystraycmd evolution"
also look at kdocker and alltray |
![]() Registered Member ![]()
|
Thanks, google01103! That's exactly what I was looking for!
- X-Man
|
![]() Registered Member ![]()
|
As helpful as this is, and as correct as it seemed (and probably is), it's still not working. When I start the application from the system menu, it works fine. When I include the kdesystraycmd in the startup area for the program to auto-launch, it launches, but not in the system tray.
- X-Man
|
![]() Manager ![]()
|
it ksystemtraycmd not kdesystraycmd
does it work if you run ksystemtraycmd evolution in konsole? |
![]() Registered Member ![]()
|
Oops
![]()
- X-Man
|
![]() Registered Member ![]()
|
That didn't work, even from a Konsole window. ksystraycmd works in the Konsole window, but still not in the startup section.
- X-Man
|
![]() Administrator ![]()
|
Have you checked the output of "evolution --help" to see if it offers any deliberate options to simply hide in the system tray, or not show it's main window?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
OK, I think I'm on to something here. When I look at the startup properties for the entry, I select Properties, then Preview, and it shows: Exec=ksystraycmd ksystraycmd evolution. That looks like a problem to me. But... the exec line in the Application tab only shows one ksystraycmd. I'm assuming this preview relates to a startup file somewhere. Anyone know where?
- X-Man
|
![]() Manager ![]()
|
look at the application tab -> command
|
![]() Registered Member ![]()
|
OK, the file in ~/.config/autostart (there's one for Evolution.desktop) looks like this:
[Desktop Entry] Comment[en_US]= Comment= Exec=ksystraycmd evolution GenericName[en_US]= GenericName= Hidden=false Icon=system-run MimeType= Name[en_US]=Evolution Name=Evolution Path= StartupNotify=true Terminal=false TerminalOptions= Type=Application X-DBUS-ServiceName= X-DBUS-StartupType= X-KDE-SubstituteUID=false X-KDE-Username= When I execute "ksystraycmd evolution" at the command line, it works fine. Is one of these other settings wrong?
- X-Man
|
![]() Administrator ![]()
|
Try setting "Terminal=true".
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
<spock> fascinating </spock>
OK, with the terminal setting true, I got a terminal window (of course), and it launched, and I got an extra icon in the tray, but oddly the wrong icon. I got two icons for my alarm application (and both seeming to be attached to the alarm app). Weird.
- X-Man
|
![]() Manager ![]()
|
clicking the 2 icons open Kalarm?
down load and install kdocker and see if that works as an alternative to ksystraycmd |
![]() Registered Member ![]()
|
Thanks. I've tried the kdocker, and I didn't really like it. I just removed and re-added Evolution, and it did the same thing, only this time, it opened an icon of another app. So, it seems, it's putting something in the system tray, just the WRONG thing. Very weird. Well, I don't think this is going to work as advertised. Perhaps I can do it in a script?
- X-Man
|
Registered users: Bing [Bot], Evergrowing, Google [Bot], q.ignora, watchstar