You are not logged in.

#1 2014-01-03 07:28:35

BlueZero4
Member
Registered: 2013-09-13
Posts: 4

Synapse configuration help

I use AwesomeWM with Synapse as my main way to launch applications.  I'm a relatively new Arch Linux user.  I've used Synapse with AwesomeWM on Ubuntu before migrating to Arch Linux, so I've been missing some features I'm used to from Ubuntu.  I suspect these are mostly because I haven't configured Synapse in order for these features to work.

I go between two different computers, each with both a Windows and Arch Linux partition.  As such, I use Dropbox to keep all my files synced among my different partitions.  On Linux, my Dropbox has its files all in ~/.dropbox2/Dropbox/  My home directory is made of four symlinks -- each to a directory in the Dropbox folder -- alongside the usual array of hidden folders.  I mention this because I need Zeitgeist to make entries for files I created on other computers, even if I never opened them on my current computer.  Additionally, I don't know if part of the problem comes from needing Synapse (or Zeitgeist) to access files behind symlinks.

Synapse works perfectly fine with launching applications or using plugins like the Calculator function.  However, my main problem is that I can't open directories or files with Synapse.  Synapse seems to know that they're there -- pressing the down arrow key at a blank search does actually bring up the list of most recently accessed files gives (for All, Places, Documents, and Images; not for Audio) -- but Synapse doesn't seem to be able to find the entries when I type for them by name.  This happens even with files which were shown in the drop-down list previously.  This happens with both files in my Dropbox folder and files which are simply in the home directory (namely .xinitrc).  However, a few .mp3 files behind the my Downloads directory symlink show up when searched for, as well as a few documents hidden deeper into the Pictures symlink.  Synapse displays all directories as if the symlinks are actual folders (e.g. Synapse displays the file as if it's in ~/Downloads/song.mp3 rather than ~/.dropbox2/Dropbox/Downloads/song.mp3).

I've installed the packages "synapse", "zeitgeist", "libzeitgeist", and "libqzeitgeist".  I can't remember which packages are responsible for enabling these features, but the Synapse plugins "Directory Search", "Hybrid Search", and "Locate" are enabled among others.  Zeitgeist is not part of my .xinitrc because Synapse seems to open Zeitgeist on launch.  On my Ubuntu install I always had gnome-settings-daemon running in the background, but on my Arch Linux installs I've avoided installing gnome.  On my Arch desktop I've installed zeitgeist-extensions from the AUR, but not on my Arch laptop; the package didn't seem to change the behavior described above.

I can provide more information about my system as necessary.

tl;dr Synapse seems to know the files on my system are there, but won't access them by searching.

Offline

#2 2014-01-15 12:24:28

cccplex
Member
Registered: 2014-01-15
Posts: 7

Re: Synapse configuration help

Is your problem that files are not opened? I just installed the same combo. Although without zeitgeist but you don't need that for opening files. What you do need is setting up default applications. see https://wiki.archlinux.org/index.php/De … s#xdg-open I just tested it by creating a desktop file for ogg123 and adding it with xdg-mime. And now synapse plays oggs.

I don't know about searching. Isn't it that synapse only logs files you use?

btw How did you make synapse start at login?

Offline

#3 2014-02-15 08:05:13

BlueZero4
Member
Registered: 2013-09-13
Posts: 4

Re: Synapse configuration help

When running Synapse in a terminal, these two error messages come up over and over again:

[07:50:52.551521 Warning] [ZeitgeistPlugin] Zeitgeist search failed: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface 'org.gnome.zeitgeist.Index' on object at path /org/gnome/zeitgeist/index/activity
[07:50:52.551840 GLib-Critical] g_str_has_prefix: assertion 'str != NULL' failed

The core of my problem is:  Synapse thinks it knows where my folders are when I ask it for my most-recently-opened directories, but even if I search for a folder in that list, it refuses to show up.  After installing and using zeitgeist-explorer from the AUR, I'm pretty sure that Zeitgeist is making entries correctly.  Synapse just seems to have trouble searching through Zeitgeist's entries.

I'm starting Synapse in my xinitrc with "synapse -s".

It turns out Dropbox just doesn't log to Zeitgeist, so I'd need to open those files on the local machine before trying to Synapse them, but that's not too bad.

Offline

Board footer

Powered by FluxBB