trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: February 2011

Can we make Trinity ignore /usr/share/autostart?

From: "David C. Rankin" <drankinatty@...>
Date: Wed, 16 Feb 2011 22:18:00 -0600
Tim, Robert, Serghei, all

  Is there a way to tell Trinity to ignore all the kde4 junk in
/usr/share/autostart? (other than uninstalling kde4) I say this because I just
took all my binary packages and installed them on a box with both a prior kde3
install (in /opt/kde) and a kde4 install (/usr/bin) and things were wild to say
the least.

  I moved both existing ~/.kde and ~/.kde4 directories to ~/.kde-sav and
~/.kde4-sav before launching Trinity. (I forgot to delete the ksycoca from
/var/tmp though and I suspect that caused 90% of the problem)

  Trinity started just fine and did the initial configuration. Then ksplash from
the old kde3 install appeared. Then akonadi/nepomuk started trying to index
everything, then the kde4 plasma-panel loaded over the Trinity kicker and all
the window decorations were gone.

  I suspect Trinity was trying to pull the decorations from the old kde3 install
due to the sysconfigcache in /var/tmp (I'll try deleting that next time), but
the real issue is the kde4 autostart mess:

[21:42 supersff:/usr/share/apps/kdm/sessions] # l /usr/share/autostart/
total 128
drwxr-xr-x   2 root root  4096 Feb 10 16:53 .
drwxr-xr-x 408 root root 12288 Feb 15 11:49 ..
-rw-r--r--   1 root root  4417 Jan 27 08:47 kaddressbookmigrator.desktop
-rw-r--r--   1 root root  3649 Jan 27 08:46 kalarm.autostart.desktop
-rw-r--r--   1 root root  6539 Jan 18 15:24 kgpg.desktop
-rwxr-xr-x   1 root root 11509 Jan 19 16:04 klipper.desktop
-rw-r--r--   1 root root  4196 Jan 19 16:23 kmix_autostart.desktop
-rw-r--r--   1 root root  6638 Jan 19 16:03 konqy_preload.desktop
-rw-r--r--   1 root root  5846 Jan 27 08:46 korgac.desktop
-rw-r--r--   1 root root  2881 Jan 19 16:04 krunner.desktop
-rw-r--r--   1 root root 13602 Jan 19 16:04 kwrited-autostart.desktop
-rw-r--r--   1 root root 10584 Jan 19 16:04 nepomukserver.desktop
-rw-r--r--   1 root root  3710 Jan 19 16:05 plasma-desktop.desktop
-rw-r--r--   1 root root    28 Jan 19 16:05 plasma.desktop
-rw-r--r--   1 root root   908 Dec  9 02:51
polkit-kde-authentication-agent-1.desktop
-rw-r--r--   1 root root  6000 Jan 18 15:24 printer-applet.desktop
-rw-r--r--   1 root root  3506 Jan 19 16:23 restore_kmix_volumes.desktop

  In order to make Trinity play nicely with an existing kde4 install, can
something be changed in the Trinity code to tell it to ignore all the kde4
autostart files?


-- 
David C. Rankin, J.D.,P.E.