This forum has been archived. All content is frozen. Please use KDE Discuss instead.

locking baloo settings - kiosk mode

Tags: None
(comma "," separated)
St??phane ANCELOT
Registered Member
Posts
35
Karma
0
OS

locking baloo settings - kiosk mode

Tue Oct 27, 2015 9:49 am
Hi,
I wanted to setup some immutable restrictions. Like disabling baloo file indexing.
So , I setted up a /etc/kde4/share/config/baloofilerc file

[Basic Settings]
Indexing-Enabled[$i]=false

but unfortunately, after launching kde, I can override this setting .

I may have missed something ?
Regards
Steph

Last edited by St??phane ANCELOT on Thu Oct 29, 2015 8:21 am, edited 1 time in total.
User avatar
einar
Administrator
Posts
3402
Karma
7
OS
Can you file a bug against Baloo on bugs.kde.org?


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
User avatar
vHanda
KDE Developer
Posts
84
Karma
0
OS
Please use `$ balooctl disable` or the KCM. You have not disabled it correctly (extra [$i]), and you may have done it for kde4 instead of version 5.
luebking
Karma
0
@Vishesh, that's no "extra" [$i] - the addition tags a key immutable and if it's a correct key in the proper group and the config resource is taken into account (that is, it's a kconfig path (see "kde4-config --path config" for KDE4) AND baloo opens the config with the CascadeConfig flag (default), the key setting will take precedence and whatever the user has in his local ~/.kde/share/config/baloorc is ignored.

https://techbase.kde.org/KDE_System_Adm ... Kiosk/Keys

@Stéphane
"/etc/kde4/share/config/ballofilerc" does not look like a proper path at all.
1. it's certainly not "ballofilerc" ;-P
2. The global path is partially downstream dependant, but i'd expect it to be rather /usr/share/config/ - please consult "kde4-config --path config"
St??phane ANCELOT
Registered Member
Posts
35
Karma
0
OS
You are right, I made a mistake writting post, it is "baloofilerc" file , but that does not change anything to the problem

output of "kde4-config --path config" :
/home/macsoft/.kde4/share/config/:/usr/share/kde4/config/:/etc/kde4/share/config/

I am too a bit confused between kde4/5 this is for kde 5.
St??phane ANCELOT
Registered Member
Posts
35
Karma
0
OS
Ok,...baloo is a kf5 application.

the paths for kf5 config files is obtained using :
kf5-config --path config:
/home/macsoft/.config/:/etc/xdg/

next, setting up /etc/xdg/baloofilerc as follow keeps baloo disabled and immutable
[Basic Settings]
Indexing-Enabled[$i]=false
User avatar
einar
Administrator
Posts
3402
Karma
7
OS
If your issue is solved, please mark it as such using the "Accept this answer" button. Thanks!


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]