scasier writes

Hi there,

I’ve started using multiple indexes recently and it has been a great experience so far. Different indexing settings and schedules for different folder structures are a fantastic feature. In my case I have a general index for my home directory that I update every now and then and another index for my projects folder which I update every few hours.

I’ve been using this setup for the past couple of weeks now and there’s only one thing I direly miss: A way to distinguish between different Recoll instances. See, I oftentimes have two Recoll windows open: one for the "home" index, and one for the "projects" index. I try to keep them on different workspaces, but because there is no built-in visual indicator I often get confused about what index I am accessing. It would make my life much easier if there was a clear-cut way to identify each Recoll instance.

The solution I would like to propose in this feature request is to include the index directory or name in the window title. In practice Recoll could check if it has been run with a custom configuration directory (supplied by the -c switch) and display the DB_DIR name in the title, e.g. "Recoll – home" or "Recoll – projects".

Not only would this make it easier to work with multiple instances of Recoll, it would also allow more fine-grained control of specific Recoll instances by the window manager. For instance, with index-specific window titles in place, you could set up a KWIN or Openbox rule to always spawn specific Recoll instances on a specific workspace.

Thank you for considering this. SC.

medoc writes

Thanks, this is a good idea, I’ll implement it as soon as I have a moment.

scasier writes

Awesome! I’ll be happy to test it out when the time comes.

medoc writes

Set main window title according to config dir name. closes issue #218

→ <<cset d3fefc0387dc > >

scasier writes

It’s working great. Once again: Thanks a lot!