On Wed, Sep 06, 2023 at 03:14:57PM +0200, Rafael Sadowski wrote: > On Wed Sep 06, 2023 at 12:50:22PM +0000, Klemens Nanni wrote: > > On Wed, Sep 06, 2023 at 02:25:23PM +0200, Rafael Sadowski wrote: > > > On Wed Sep 06, 2023 at 02:16:29PM +0200, Antoine Jacoutot wrote: > > > > On Wed, Sep 06, 2023 at 12:52:35PM +0200, Rafael Sadowski wrote: > > > > > Stop staring baloo indexer in XDG based setup. Baloo can be a pain > > > > > when > > > > > you have a lot of files to index in your $HOME. kn@ has found it the > > > > > hard way. > > > > > > > > > > OK? > > > > > > > > Woulnd't OnlyShowIn work in this case? > > > > > > Good point, maybe. After a short research I would prefer the way Debian > > > is going and disable indexing by default: > > > > > > https://salsa.debian.org/qt-kde-team/kde/baloo/-/blob/master/debian/patches/Disable-the-file-indexer-by-default.patch > > > > > > Objections, Opinions? > > > > Even better, that works just fine for me. > > > > baloo's desktop file already sets OnlyShowIn to KDE, GNOME, Unity and Xfce. > > With indexing off, there is no resource hogging and may as well be enabled > > by default everywhere. > > > > Thanks, OK kn > > > > (this is what I tested) > > Thanks, OK rsadowski
Same here FWIW > > > > > Index: Makefile > > =================================================================== > > RCS file: /cvs/ports/devel/kf5/baloo/Makefile,v > > retrieving revision 1.37 > > diff -u -p -r1.37 Makefile > > --- Makefile 2 Sep 2023 21:18:26 -0000 1.37 > > +++ Makefile 6 Sep 2023 12:36:09 -0000 > > @@ -2,7 +2,7 @@ COMMENT = KDE file search and metadata h > > DISTNAME = baloo-${VERSION} > > PKGNAME = kf5-${DISTNAME} > > EPOCH = 0 > > -REVISION = 0 > > +REVISION = 1 > > > > SHARED_LIBS += KF5Baloo 5.0 # 4.0 > > SHARED_LIBS += KF5BalooEngine 7.0 # 5.0 > > Index: patches/patch-src_lib_baloosettings_kcfg > > =================================================================== > > RCS file: patches/patch-src_lib_baloosettings_kcfg > > diff -N patches/patch-src_lib_baloosettings_kcfg > > --- /dev/null 1 Jan 1970 00:00:00 -0000 > > +++ patches/patch-src_lib_baloosettings_kcfg 6 Sep 2023 12:39:06 > > -0000 > > @@ -0,0 +1,14 @@ > > +Disable indexing by default, it hogs the entire machine. > > + > > +Index: src/lib/baloosettings.kcfg > > +--- src/lib/baloosettings.kcfg.orig > > ++++ src/lib/baloosettings.kcfg > > +@@ -9,7 +9,7 @@ > > + <group name="Basic Settings"> > > + <entry name="indexingEnabled" key="Indexing-Enabled" type="Bool"> > > + <label>Indexing-Enabled</label> > > +- <default>true</default> > > ++ <default>false</default> > > + </entry> > > + </group> > > + <group name="General"> > > > -- Antoine