Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 243076 - KDE does not autostart applications anymore
Summary: KDE does not autostart applications anymore
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
Depends on:
Blocks: kde-3.5.10
  Show dependency tree
Reported: 2008-10-21 18:01 UTC by Davide Pesavento
Modified: 2009-11-07 21:09 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Davide Pesavento gentoo-dev 2008-10-21 18:01:50 UTC
After updating to kdelibs-3.5.10-r2 and kdebase-startkde-3.5.10-r4, when I login to a kde session, applications which have a desktop file in /usr/share/autostart/ or /etc/xdg/autostart/ are not autostarted anymore.
Comment 1 Davide Pesavento gentoo-dev 2008-10-21 18:03:15 UTC
I only have KDE 3.5.10 installed at the moment.

emerge --info:
Portage 2.2_rc12 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.7-r2, 2.6.27-wl x86_64)
System uname: Linux-2.6.27-wl-x86_64-Intel-R-_Core-TM-2_CPU_T7600_@_2.33GHz-with-glibc2.2.5
Timestamp of tree: Mon, 20 Oct 2008 21:15:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     9999
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-O2 -march=nocona -pipe"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -pipe"
FEATURES="distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
PORTAGE_RSYNC_EXTRA_OPTS="--human-readable --prune-empty-dirs"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
USE="X a52 aac acl acpi alsa amd64 audiofile avahi bash-completion berkdb bluetooth branding bzip2 cairo caps cddb cdr cli cracklib crypt curl curlwrappers dbus djvu dri dts dv dvd dvdr dvdread emboss encode evo exif expat fam ffmpeg fftw flac fontconfig ftp gd gdbm gif glut gmp gnutls gpm graphviz hal iconv idn ieee1394 imagemagick imlib ipod ipv6 isdnlog jabber javascript jpeg jpeg2k kde kdehiddenvisibility lame latex lcms ldap libsamplerate lirc lm_sensors lua lzo mad matroska midi mmap mmx mng mozilla mp3 mpeg mplayer msn mudflap multilib musepack musicbrainz ncurses nls nptl nptlonly nsplugin offensive ogg opengl openmp pam pcre pdf png ppds pppd pulseaudio python qt3 qt3support qt4 quicktime readline reflection ruby samba sasl sdl session slang sndfile snmp socks5 speex spell spl sqlite sqlite3 sse sse2 ssl startup-notification svg sysfs tcpd theora threads tiff truetype unicode usb v4l2 vcd vorbis wifi wmf x264 xcb xcomposite xine xinerama xml xorg xpm xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" LIRC_DEVICES="inputlirc sir" USERLAND="GNU" VIDEO_CARDS="radeonhd vesa"
Comment 2 Fabio Erculiani (RETIRED) gentoo-dev 2009-01-06 21:40:29 UTC
I can confirm this.
Comment 3 Maciej Mrozowski gentoo-dev 2009-05-29 18:40:36 UTC
Yeah, startkde script lacks XDG handling.
Comment 4 Maciej Mrozowski gentoo-dev 2009-05-29 20:21:47 UTC
After second thought that partially seems to be intentional - at least with /usr/share/autostart - it contains kde4 specific .desktop files (like plasma, krunner, nepomukservices) and you certainly wouldn't want the to be started in KDE3 session (hopefully /usr/share/autostart is kde4 (-kdeprefix) specific location so your kde3 should not even try to touch it.
But speaking of XDG location (/etc/xdg) - it seems to be safe to add /etc/xdg/autostart and /etc/xdg/shutdown sypport.

Anyway - for KDE3 you still have private KDE3 startup/shutdown locations in /usr/kde/3.5/env/ and /usr/kde/3.5/shutdown respectively

XDG location is /usr/kde/3.5/etc/xdg is not used so far for startup/shutdown (should be?)
Comment 5 Maciej Mrozowski gentoo-dev 2009-05-29 21:40:17 UTC
After deeper digging - I guess /usr/share/autostart worked for you as it used to be accessible thanks to KDEDIRS=/usr and later entries in kdeglobals.
We can no longer provide any of the above because of known issues with KDE4 installed in /usr.
/etc/xdg/autostart handling should be fixed with next update.
Comment 6 Maciej Mrozowski gentoo-dev 2009-05-29 22:33:06 UTC
Unfortunately KDE3 (as of 3.5.10) doesn't seem to support XDG autostart locations... so unfortunately I suggest WONTFIX/UPSTREAM.
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2009-11-07 21:09:00 UTC
(In reply to comment #6)
> Unfortunately KDE3 (as of 3.5.10) doesn't seem to support XDG autostart
> locations... so unfortunately I suggest WONTFIX/UPSTREAM.

KDE3 is also masked for removal, closing...