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

autostart stopped working in 4.3?

Tags: None
(comma "," separated)
yabolus
Registered Member
Posts
23
Karma
0

autostart stopped working in 4.3?

Fri Aug 07, 2009 10:10 am
Hi,
I have a strange issue with 4.3 I just upgraded to. In my /etc/xdg/autostart there are two entries: for wicd tray icon:
Code: Select all
[Desktop Entry]
Categories=Application;Network;
Exec=wicd-client
GenericName=Network Manager
Icon=wicd-client
Icon[en_US]=wicd-client
Name=Wicd Network Manager Tray
Name[en_US]=Wicd Network Manager Tray
Comment=Display network connection status in the system tray
Comment[en_US]=Display network connection status in the system tray
Terminal=false
Type=Application
Version=1.0
X-GNOME-Autostart-enabled=true
X-KDE-autostart-after=panel

and for hplip tray icon:
Code: Select all
[Desktop Entry]
Version=0.6
Type=Application
Name=HP System Tray Service
GenericName=Printer Status Applet
Comment=HP System Tray Service
Exec=hp-systray --qt4
Icon=/usr/share/hplip/data/images/128x128/hp_logo.png
Terminal=false
Categories=Application;Utility;
X-KDE-StartupNotify=false
StartupNotify=false

In 4.2 both worked, after I upgraded to 4.3 the first one is no longer ran when KDE starts. I can still get it to work by double-clicking it, but it should auto-start. The second one (hplip) is working fine. Why? What's the difference between them?

Just thought of it: is it because of the "X-KDE-autostart-after=panel"?
Edit: no, it's not.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Unfortunately I cannot reproduce. Please ensure that the file is owned by root or is executable.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
Kryten2X4B
Registered Member
Posts
911
Karma
4
OS

Re: autostart stopped working in 4.3?

Fri Aug 07, 2009 11:46 pm
yabolus wrote:In 4.2 both worked, after I upgraded to 4.3 the first one is no longer ran when KDE starts. I can still get it to work by double-clicking it, but it should auto-start. The second one (hplip) is working fine. Why? What's the difference between them?


Just wondering...did you do anything in particular to make hplip work as it should? The reason I'm asking is because when I have hplip installed I far too often get a window upon logging that says "No systray detected on this system. Exiting..." and the rest of the desktop refuses to load. I only got that when upgrading to 4.3 final. It worked fine in 4.2 and all the 4.3 RCs.


OpenSUSE 11.4, 64-bit with KDE 4.6.4
Proud to be a member of KDE forums since 2008-Oct.
yabolus
Registered Member
Posts
23
Karma
0

Re: autostart stopped working in 4.3?

Mon Aug 10, 2009 11:09 pm
bcooksley: I made the files executable, but it didn't help. However I noticed, that if I boot the computer, log in to kde, log out and back in, then the icon shows. Any thoughts on this?

Kryten2X4B: no, I've never had any problems with that.


yabolus, proud to be a member of KDE forums since 2008-Oct.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Interesting. Please disable / remove the autostart launcher by moving it to a different location, then upon starting KDE for the first time, open Konsole and enter the command shown in the desktop file. Does it work then?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
vanas
Registered Member
Posts
1
Karma
0
OS

Re: autostart stopped working in 4.3?

Wed Aug 12, 2009 11:38 am
Open Konsole and enter "wicd-client -n". Wicd-client should start.

From Wicd Network Manager GUI, choose Preferences -> General Settings...
and disable option "Display notifications about connection status".

Quit.

Start application using "wicd-client" command (no -n switch).

There is no visible icon on tray, but wicd is up and working.

From my point of view, root of problem is interoperability of gtk.StatusIcon and KDE's tray.


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]