You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Thursday, January 18th 2007, 4:33pm

Bug: ksystraycmd can't be used along with autostart?

I've seen this problem in Mandriva 2006, ie KDE 3.4.2, but then I thought I made some mistakes. I'm now using Mandriva 2007, thus KDE 3.5.4, and I can still see this problem. And now I'm very sure it's a problem within KDE.

Steps to reproduce the problem:
1. Create an application link (.desktop file) in Autostart.

2. Use the command "ksystraycmd --hidden kwrite" (without quotes, of course) to start kwrite. You could use any other program of your choice other than kwrite.

3. (Optional) Double-click the file to make sure it really starts kwrite in system tray.

4. Close the session and re-login again.

5. Observe how kwrite is launched; it's launched like a normal application:
ie its icon isn't in the system tray, and of course it's not possible to put it there.

Is this a known bug? Any solution?

Thanks for any help. Really appreciated.

This post has been edited 1 times, last edit by "Horinius" (Jan 18th 2007, 4:52pm)


2

Thursday, January 18th 2007, 9:36pm

Tried this, and i noticed that another application (kbabel) got into the systray, in stead of kwrite.

clicking on the .desktop file in autostart works fine though.

So i guess for some reason ksystraycmd has trouble putting the right application in systray when kde is starting.

I recall creating another bug report that is about strange behavior of ksystraycmd.
I'll look for it and post it here when i found it.

Regards, Rinse
Help mee om KDE 3.5.5 in het Nederlands te vertalen

3

Thursday, January 18th 2007, 9:47pm

Thanks :)

Just a question: are you using Mandriva as well? And your KDE version?

Actually, I'm looking for ways to make VMWare more friendly to Linux users. It needs to launch a utility called vmware-toolbox at startup. Without this, copy-n-paste between host system and guest system is impossible.

This post has been edited 1 times, last edit by "Horinius" (Jan 18th 2007, 10:43pm)


4

Saturday, October 27th 2007, 10:41am

I think I might have found one of the possible causes of the problem: session saving!

I've noticed that the next time I open a session again, I've got two kwrite.

However, I still think there's something wrong with ksystraycmd with autostart because sometimes I would just get one kwrite instead of two (one from previous session, and one from autostart). And sometimes no kwrite is in the systray while I expect one kwrite to be there since it's called by autostart in this session and ksystraycmd.

I'm now using KDE 3.5.6 inside Mandriva 2007 Spring and the problem is still perfectly reproducible.