After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 338370 - Autostart .desktop files should be used to start beagled and beagle-search
Autostart .desktop files should be used to start beagled and beagle-search
Status: RESOLVED FIXED
Product: beagle
Classification: Other
Component: General
0.2.4
Other All
: Normal enhancement
: ---
Assigned To: Beagle Bugs
Beagle Bugs
: 341709 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-04-13 16:16 UTC by Götz Waschk
Modified: 2006-12-04 19:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
autostart .desktop for kde (261 bytes, text/plain)
2006-04-30 12:56 UTC, Brandon Hale
Details
autostart .desktop for gnome (315 bytes, text/plain)
2006-04-30 12:57 UTC, Brandon Hale
Details

Description Götz Waschk 2006-04-13 16:16:49 UTC
Please describe the problem:
beagled doesn't start automatically after login. "Start search & indexing
services automatically" is checked.

Steps to reproduce:
1. 
2. 
3. 


Actual results:


Expected results:


Does this happen every time?


Other information:
This is on Mandriva Cooker i586 with GNOME 2.14.
Comment 1 Joe Shaw 2006-04-13 19:01:44 UTC
Traditionally this is integration that needs to be done by your distro.  In the short term if you want this, I'd suggest filing a bug against Mandriva.

There is already an autostart mechanism for KDE, and with 2.14 we can do it with GNOME as well.  What we need to do is drop special autostart .desktop files in the special directories when that setting is toggled.
Comment 2 Adam Williamson 2006-04-13 19:04:27 UTC
We already have a bug filed on MDV - http://qa.mandriva.com/show_bug.cgi?id=21985 . Goetz is the Beagle packager for MDV. If we need to do something to make this option work in our distro, could this perhaps be explained more obviously in the Beagle documentation? I don't remember this being mentioned. What does toggling the box actually *do*, and how would you recommend we use this to truly start the daemon? Thanks.

(I'm not posting in any official capacity, I'm not a developer, just a GNOME user butting in. :>)
Comment 3 Joe Shaw 2006-04-13 19:57:01 UTC
Toggling the box tells beagled and beagle-search whether to keep running or exit immediately when run with the --autostarted switch.  Yeah, it's a hack, but it was to work around the fact that GNOME didn't have an autostart mechanism until 2.14.  Going forward, it's probably something we can switch to.

So what you might want to do (we're doing this in SUSE for now) is to drop an autostart desktop file in which runs these two programs with the --autostarted flag.
Comment 4 Adam Williamson 2006-04-14 18:28:22 UTC
Thanks, Joe, we've now fixed this 'downstream' :)
Comment 5 Götz Waschk 2006-04-15 14:31:57 UTC
What we need now is a system-wide configuration file. I'd like to automatically set the autostart option and I'd like to set some sane defaults (don't index the temp dir, add the static indexes from beagle-crawl-system).
Comment 6 Brandon Hale 2006-04-30 12:55:35 UTC
Hi, I also use the autostart .desktop approach in Ubuntu to start beagled for each user's session. gnome-session-properties gives users a mechanism to enable and disable beagled, and other autostart apps.  

I think ideally beagled should ship autostart files for Gnome and KDE and drop the "Start search & indexing services automatically checkbox" (or tie it into the autostart spec). I will attach my autostart files here.
Comment 7 Brandon Hale 2006-04-30 12:56:34 UTC
Created attachment 64558 [details]
autostart .desktop for kde
Comment 8 Brandon Hale 2006-04-30 12:57:00 UTC
Created attachment 64559 [details]
autostart .desktop for gnome
Comment 9 Brandon Hale 2006-04-30 13:05:57 UTC
Gnome .desktop : $sysconfdir/xdg/autostart
KDE .desktop : $prefix/share/autostart
Comment 10 Kevin Kubasik 2006-05-24 21:09:40 UTC
*** Bug 341709 has been marked as a duplicate of this bug. ***
Comment 11 Joe Shaw 2006-12-04 19:54:41 UTC
I just checked in code to autostart in GNOME.  My understanding is that KDE4 will adopt the XDG autostart spec, so we only have support for that (for now).