Gentoo Archives: gentoo-user

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