You are not logged in.

#1 2014-04-19 20:07:11

helq
Member
Registered: 2012-09-09
Posts: 10

Force baloo to follow symlinks

I have plenty of symlinks in my home directory that point to another directory where most of my personal files are. For example:

/home/helq/Music point to /home/myfiles/Music (real directory)
/home/helq/Documents point to /home/myfiles/Documents (real directory)
/home/helq/Books point to /home/myfiles/Books (real directory)

It's possible force baloo to follow the sysmlinks?

PS: I'm sorry by my bad Grammar. ^^

Offline

#2 2014-04-20 17:08:56

helq
Member
Registered: 2012-09-09
Posts: 10

Re: Force baloo to follow symlinks

Well, maybe follow the symlinks is not a good idea. Because is possible create "recursive symlinks" and that can be difficult for baloo.

The other way is add the another directory to the search of baloo. Well, there is not GUI way to do this, why? (kde always has advanced options, but apparently not for baloo. GTK minimalism?).

It's possible that we have problems if we try to modify the values of the configuration file of baloo with baloo running. Then try this after log out:

Start session in a tty and:
1. open the file ~/.kde4/share/config/baloofilerc and add the path you want to folders[$e]=$HOME, for example: folders[$e]=$HOME,/home/myfiles
2. recreate the database, for this: change first run=false to first run=true and delete the old database rm -r ~/.local/share/baloo and start session in kde.

PS: sorry for my bad grammar.

Offline

#3 2015-04-16 19:21:21

Carl Karl
Member
Registered: 2013-06-12
Posts: 231

Re: Force baloo to follow symlinks

I hope this doesn't count as a necro-bump, but I recently ran into this timeless problem and found this solution:
bind-mounts instead of symlinks.
E.g. in /etc/fstab:

/source/		/destination/   	bind,auto	0	0

baloo will index in them. restart it if necessary:

$ balooctl disable
$ balooctl enable

Offline

Board footer

Powered by FluxBB