LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


View Poll Results: Should Pat just drop KDE?
Yes 58 22.92%
No 154 60.87%
Undecided or don't care 41 16.21%
Voters: 253. You may not vote on this poll

Reply
  Search this Thread
Old 10-20-2019, 01:24 PM   #256
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625

Quote:
Originally Posted by Alien Bob View Post
Just click on the desktop background and start typing - Baloo will find anything related to your typing and show it on-screen.
Several GB spent on that index? I do not care.
Impressive. But can't spare several GB for file index. What about xapian? Is also kind of file indexer and search engine. And it is already provided in -current. For me I can use is it to look for some term word in multiple pdf files. However it is in most cases author/title or inline search. I tried to build xapian myself on 14.2 but I failed. More or less these things I should have in my head rather than on the computer. I tried myself little work-around - convert pdf to text and then use simple text search - whatever - cat | grep, awk - little bash. That's kind of sort.

Edit: but of course this is all about choices: to have a choice to use and to have a choice to not use.

Last edited by igadoter; 10-20-2019 at 01:33 PM.
 
Old 10-20-2019, 02:27 PM   #257
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
My baloo index is roughly 7% of my total data in ${HOME}:

Code:
$ balooctl status
Baloo File Indexer is running
Indexer state: Idle
Total files indexed: 53,494
Files waiting for content indexing: 0
Files failed to index: 0
Current size of index is 2.67 GiB

$ du -sh /home/a/
37G     /home/a/
 
1 members found this post helpful.
Old 10-20-2019, 02:30 PM   #258
zeebra
Senior Member
 
Registered: Dec 2011
Distribution: Slackware
Posts: 1,834
Blog Entries: 17

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
Why are you guys talking about file indexing? And why do you use it?
I've never used file indexing, and bash/coreutils do provide som rather hefty tools to find files if need be.

Never needed anything like that though. I try t keep my files in some kind of order.
 
2 members found this post helpful.
Old 10-20-2019, 02:36 PM   #259
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by zeebra View Post
Why are you guys talking about file indexing? And why do you use it?
I've never used file indexing, and bash/coreutils do provide som rather hefty tools to find files if need be.

Never needed anything like that though. I try t keep my files in some kind of order.
Finding files is easy using locate in a console. Finding file content is not so easy in a console. Baloo shines in indexing the contents of your files.
 
Old 10-20-2019, 02:55 PM   #260
rogan
Member
 
Registered: Aug 2004
Distribution: Slackware
Posts: 216

Rep: Reputation: 117Reputation: 117
It's a killer app for sure. It seems that indexing stopped at about 60000 of 230000 files in my ~/.

From syslog:
KDE Baloo File Indexer has reached the inotify folder watch limit. File changes will be ignored.

A lot of the files are duplicates in different folders, so maybe it's smart enough to skip duplicates.
I'll move my kernel trees someplace else just to see what happens

Inotify folder watch limit can be set higher apparently.
fs.inotify.max_user_watches=524288 in sysctl.conf should be enough.

Last edited by rogan; 10-20-2019 at 03:24 PM.
 
1 members found this post helpful.
Old 10-20-2019, 03:32 PM   #261
Poprocks
Member
 
Registered: Sep 2003
Location: Toronto, Canada
Distribution: Slackware
Posts: 522

Rep: Reputation: 279Reputation: 279Reputation: 279
Traditionally I have enabled only basic indexing in baloo, but I may try the full shebang again. Being able to hit alt+f2 and search for a file directory name is powerful. Searching content is never something I thought I would need but I'm starting the see the appeal.

For what it's worth, with basic indexing enabled my baloo index has never gone above a nominal amount of disk space usage.
 
Old 10-20-2019, 03:36 PM   #262
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,445

Rep: Reputation: Disabled
Quote:
Originally Posted by Alien Bob View Post
Finding files is easy using locate in a console. Finding file content is not so easy in a console. Baloo shines in indexing the contents of your files.
I have no opinion either way on baloo because I don't use KDE, but when searching for content I usually just:
Code:
grep -rnw '/path/' -e 'string'
Works quick enough for me anyways.

Edit,
However this does not work well with archives.

Last edited by Skaendo; 10-20-2019 at 03:41 PM.
 
Old 10-20-2019, 05:05 PM   #263
zeebra
Senior Member
 
Registered: Dec 2011
Distribution: Slackware
Posts: 1,834
Blog Entries: 17

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
Quote:
Originally Posted by Alien Bob View Post
Finding files is easy using locate in a console. Finding file content is not so easy in a console. Baloo shines in indexing the contents of your files.
Ahh, good point. I can understand that. But what are some practical uses for that for normal private individuals? Can anyone mention any common examples? I just can't understand how file indexing can be such a big thing..

I have to admit that my comments about liking, the stability and resource use of KDE(5) is for someone who has never used any file indexing functions.
 
Old 10-20-2019, 05:07 PM   #264
Poprocks
Member
 
Registered: Sep 2003
Location: Toronto, Canada
Distribution: Slackware
Posts: 522

Rep: Reputation: 279Reputation: 279Reputation: 279
Quote:
Originally Posted by Skaendo View Post
I have no opinion either way on baloo because I don't use KDE, but when searching for content I usually just:
Code:
grep -rnw '/path/' -e 'string'
Works quick enough for me anyways.

Edit,
However this does not work well with archives.
Sure, that works fine for plaintext files.

What were talking about here is indexing software that will scan the content of the likes of PDF files, Libreoffice documents, etc.

Baloo handles all of that and more, and it is very small (the sources were under 1MB last time I checked which was a while ago).

Its main problem right now is error handling and recovery or lack thereof. This has been a fairly longstanding bug:

https://bugs.kde.org/show_bug.cgi?id=368557
 
Old 10-20-2019, 05:14 PM   #265
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Quote:
Originally Posted by igadoter View Post
Impressive. But can't spare several GB for file index. What about xapian?
Recoll (see my earlier post in this thread) uses xapian under the hood.
 
Old 10-20-2019, 05:14 PM   #266
zeebra
Senior Member
 
Registered: Dec 2011
Distribution: Slackware
Posts: 1,834
Blog Entries: 17

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
Quote:
Originally Posted by Poprocks View Post
Sure, that works fine for plaintext files.

What were talking about here is indexing software that will scan the content of the likes of PDF files, Libreoffice documents, etc.

Baloo handles all of that and more, and it is very small (the sources were under 1MB last time I checked which was a while ago).
Sounds like pretty impressive capabilities.
 
Old 10-20-2019, 05:27 PM   #267
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
Quote:
Originally Posted by Alien Bob View Post
You can disable Baloo of course. It already helps if you let it index only the filenames, not their content. But for me, the initial few hours of increased CPU usage due to first indexing is acceptible in relation to what I get back in return: full search capability from the desktop.
Is a few hours all it normally takes? I've left mine on all day and it's still going. My home isn't that big, either; only 144 GB used. At the moment it seems to be usable despite the indexer running, but that hasn't been the case the whole time. The index is currently 5.3 GB. I'm just wondering why this seems to be having so much trouble on my system. I would like to use it, and the rest of my Plasma 5 experience has been very nice so far.
 
Old 10-20-2019, 08:32 PM   #268
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,445

Rep: Reputation: Disabled
Quote:
Originally Posted by Poprocks View Post
Sure, that works fine for plaintext files.
True, and that is pretty much all that I need. I do know a few people that would benefit from actually using baloo, but they are just as stubborn as I am and just don't use it.

While I do have a ton of PDFs and LO files, I generally keep them pretty well sorted and on a USB drive, so I really don't have a need for an indexer. Mostly I'm searching through SlackBuilds in my local mirror so grep is what works best for me.
 
Old 10-21-2019, 02:39 PM   #269
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,811

Rep: Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447
OK I think I get it now. Can't believe I didn't see it sooner. I apparently assumed we were all talking about recent installs but it must be that some of you have been running -current for quite awhile, perhaps even as your main which it certainly can do. Baloo takes time proportionate to the number of files in $HOME and my fresh install had very few when I upgraded from KDE4 to Plasma5 so that's why my "crippled" time was so short and sweet while others are hit for many hours. The sheer magnitude of difference between what was for me a few minutes compared to up to a full day for at least one member initially just knocked me senseless... that and the fact that I didn't relate to putting $HOME to such extensive purpose. My tendency on single owner systems is to integrate.

I'm sure this is obvious to those who use -current and Plasma 5 regularly but I will choke down my embarrassment at my oversight to point out that when Slackware 15 arrives, even if you decide to check out how Baloo might benefit you personally, any fresh installs will be EZPZ and since everything from then on is incremental, that too will never be a problem. Of course as we now know for certain it is also possible to disable all of the "nasties" so far mentioned by members here and it will be effortless to get a DE with Plasma 5 that will outperform Xfce in just about every way possible and look the way you prefer while doing it. This is likely good news for Xfce users since surely Xfce devs check out the competition and are aware of just how far KDE's sea change paradigm that began with a horrible start in KDE 4x has finally been beautifully refined. Xfce will need to up their game.
 
1 members found this post helpful.
Old 10-21-2019, 02:45 PM   #270
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
Quote:
Originally Posted by enorbet View Post
I'm sure this is obvious to those who use -current and Plasma 5 regularly but I will choke down my embarrassment at my oversight to point out that when Slackware 15 arrives, even if you decide to check out how Baloo might benefit you personally, any fresh installs will be EZPZ and since everything from then on is incremental, that too will never be a problem.
I don't know about most people, but I keep /home on a separate partition and don't format it when doing a fresh install. The initial baloo stuff will not be "EZPZ" for people like that.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] dropping KDE to stabilize -current textillis Slackware 5 07-19-2013 02:08 PM
Red Hat 7.3 Telnet sessions dropping Dalma Linux - Networking 8 01-16-2003 03:04 PM
[Counter Strike Server] - dropping players Robert0380 Linux - Software 2 12-29-2002 07:41 PM
networking problems with redhat 7.3 - dropping workstations linux 7.3 Linux - Networking 4 11-07-2002 12:01 PM
Kmail Dropping letters???? shooter Linux - Newbie 0 12-03-2001 05:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration