Gentoo Archives: gentoo-user

From: Francisco Ares <frares@×××××.com>
To: gentoo-user <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] nepomuk gone, baloo enters
Date: Mon, 24 Aug 2015 14:31:53
Message-Id: CAHH9eM6L01imXjThRJs9nyhkkMgvfjq4sJhoEskzRSZzJp9skg@mail.gmail.com
In Reply to: Re: [gentoo-user] nepomuk gone, baloo enters by Francisco Ares
1 2015-08-24 10:13 GMT-03:00 Francisco Ares <frares@×××××.com>:
2
3 >
4 >
5 > 2015-08-24 9:14 GMT-03:00 Francisco Ares <frares@×××××.com>:
6 >
7 >> Thanks, Dale, for your point of view.
8 >>
9 >> But since I'm not the only user (my wife is forced to use it, too ;-)
10 >> )and I am the only one that knows how to use a command line session, for
11 >> instance, I still want to try to make this semantic desktop thing to work.
12 >>
13 >> Thanks, again, and
14 >> Best Regards
15 >> Francisco
16 >>
17 >> 2015-08-21 22:36 GMT-03:00 Dale <rdalek1967@×××××.com>:
18 >>
19 >>> Fernando Rodriguez wrote:
20 >>> > On Friday, August 21, 2015 6:27:36 PM Dale wrote:
21 >>> >> Francisco Ares wrote:
22 >>> >>> Hi,
23 >>> >>>
24 >>> >>> In fact, I can only suppose there's something related to changing
25 >>> from
26 >>> >>> nepomuk to baloo:
27 >>> >>>
28 >>> >>> Now, every time I log in, a window pops up asking for root password.
29 >>> >>> The window title is "PolicyKit - KDE" and pressing the button
30 >>> >>> "Details", it shows:
31 >>> >>>
32 >>> >>> Action: Folder Watch Limit
33 >>> >>> polkit.subject-pid: 5254
34 >>> >>> polkit.caller-pid: 6699
35 >>> >>>
36 >>> >>> Looking for those PIDs:
37 >>> >>>
38 >>> >>> ~ $ ps -A | grep 5254
39 >>> >>> 5254 ? 00:00:07 baloo_file
40 >>> >>>
41 >>> >>> and PID 6699 doesn't show up any more, probably the process has
42 >>> >>> already ended.
43 >>> >>>
44 >>> >>> Did I miss something? How do I set up Baloo? Looking on the net, I
45 >>> >>> only found how to set up a file ~/.kde4/share/config/nepomukserverrc
46 >>> >>> (that was nonexistent, which seemed strange), is there something else
47 >>> >>> regarding the database it might be willing to use?
48 >>> >>>
49 >>> >>> Thank you all.
50 >>> >>> Francisco
51 >>> >>>
52 >>> >>
53 >>> >> Reading your posts, it seems you don't really want this "feature" of
54 >>> >> KDE. Why not disable the thing? I have this in make.conf:
55 >>> >>
56 >>> >> -nepomuk -semantic-desktop
57 >>> >>
58 >>> >> So far, that has disabled the whole desktop search thingy, that I also
59 >>> >> found to be a pest and never needed.
60 >>> >>
61 >>> >> Just a thought, in case you wasn't aware.
62 >>> >>
63 >>> >> Dale
64 >>> >>
65 >>> >> :-) :-)
66 >>> > Do you use kmail? I disabled nepomuk at one point and I wasn't able to
67 >>> access
68 >>> > my contacts on kmail. I think it's the same with baloo. And from what
69 >>> I've
70 >>> > read the plan is for more applications to use it so you may miss
71 >>> important
72 >>> > features. They recommend just disabling file indexing or adding your
73 >>> home
74 >>> > directory to the exclusion list on system settings, But after doing
75 >>> that I
76 >>> > still got that popup a few times until I okay'd it.
77 >>> >
78 >>>
79 >>>
80 >>> I used to use Kmail until all this mess started. I think the last I
81 >>> used Kmail was back in KDE3. When I saw all this mess coming, I
82 >>> switched to Seamonkey. Seamonkey does all my email stuff and I'm happy
83 >>> with it. I do wish the sound notification thingy would work tho. Maybe
84 >>> I just need to sit down one day and try to figure out why it doesn't
85 >>> work. Sound works everywhere else. Still, it does what I really need
86 >>> without to much bloat.
87 >>>
88 >>> I installed KDE with the kde-meta. It basically installs everything but
89 >>> the kitchen sink. To be honest tho, I could likely install it in a
90 >>> better way that leaves out TONS of stuff I never use. This file indexer
91 >>> thingy is one of the ones I have never had a need for. If I want to
92 >>> find some file, locate, find and etc works for those rare occasions. It
93 >>> is rare since I'm fairly well organized with my stuff. Well, computer
94 >>> files at least. My closet and shop is a different matter tho. lol
95 >>>
96 >>> My point was that this can be disabled IF it is not needed. If it is
97 >>> needed, then fixing it is the solution. If it is not, disable it and
98 >>> shove the problem into the trash can. ;-)
99 >>>
100 >>> Dale
101 >>>
102 >>> :-) :-)
103 >>>
104 >>>
105 >>>
106 >>
107 > Thanks to all that have posted.
108 >
109 > I tried a "clean start": I've deleted all related (at least all that I
110 > could find) files used by baloo (just kept some backup copies in a ZIP
111 > file, just in case).
112 >
113 > As expected, all of them are back, and also that popup window, requiring
114 > root password.
115 >
116 > I guess, now, I am (we are) looking on the wrong place, perhaps this is a
117 > global setting, not a user one.
118 >
119 > Going to check this out.
120 >
121 > Thanks again, and
122 > Best Regards
123 > Francisco
124 >
125
126
127 Found this:
128
129 ~ # cat /etc/dbus-1/system.d/org.kde.baloo.filewatch.conf
130 <!DOCTYPE busconfig PUBLIC
131 "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
132 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
133 <busconfig>
134
135 <!-- Only user root can own the foo helper -->
136 <policy user="root">
137 <allow own="org.kde.baloo.filewatch"/>
138 </policy>
139
140 </busconfig>
141
142
143 Looks like there might be something related to what I am facing, isn't it?
144
145 Googling the file name, I got this:
146
147 https://bugs.kde.org/show_bug.cgi?id=339465
148 https://www.reddit.com/r/kde/comments/2ibdf7/what_is_baloo_file_watch_and_why_does_it_need/
149 http://www.linuxquestions.org/questions/slackware-14/kde-4-13-3-%5Balien%5D-annoying-kde-polkit-and-wallet-prompts-4175517244/
150
151 So, got back to the first and (as it seems) proper solution, but with no
152 effects, for now.
153
154 Perhaps I'll just wait and see future upgrades on baloo. Meanwhile I will
155 try to filter more directories not to be indexed, and/or increasing the
156 limit on "/etc/sysctl.d/97-kde-baloo-filewatch-inotify.conf" by hand.
157
158 Thanks!
159 Francisco

Replies

Subject Author
Re: [gentoo-user] nepomuk gone, baloo enters Fernando Rodriguez <frodriguez.developer@×××××××.com>