Ruggi.Site Ruggi.Site
Ruggi Seek · Help

Ruggi Seek help

Setup, the window, the rseek command, what gets indexed, the settings, and what to do when something is wrong. In a terminal, rseek help shows the commands.

SetupThe windowThe terminalWhat gets indexedMeaning searchSettingsHow it worksPrivacy and speedTroubleshootingUpdate and remove

Setup

What you need

Needed forPackageNotes
Everythingsqlite3version 3.38 or newer (Mint 21 and later have it)
Meaning searchcurl, jqthey talk to Ollama
Reading PDFspoppler-utilswithout it PDFs are found by name only
Reading odt, ods, odp, docxunzip
Meaning searchOllama and an embedding model: nomic-embed-text (English only computer) or bge-m3 (any other language)optional; about 270 MB or about 1.2 GB for the model

Setup checks all of these and offers to install what is missing. It always shows the command first and waits for your answer.

Install

tar -xzf ruggi-seek.tar.gz
cd ruggi-seek
bash install.sh
  1. Packages. If something is missing, setup shows the nala (or apt) command and asks. sudo asks for your password itself.
  2. Program. rseek, rseek-vec and ruggi-seek (the window) go to ~/.local/bin. A Ruggi Seek entry appears in the Ruggi Site section of the menu.
  3. Nemo. Adds Seek here… to the right-click menu of folders.
  4. Folders. Which folders to index. Your Documents folder is offered; add any others.
  5. Timer. A timer of your own user runs rseek index five minutes after login and then every 30 minutes. It is not a system service.
  6. Keyboard shortcut. Ctrl+Alt+F opens the window. If that key is in use on your desktop, setup picks a free one and tells you which. Change it in Keyboard > Shortcuts > Custom Shortcuts.
  7. Meaning search (optional). If Ollama or the model is missing, setup prints what would be downloaded, from where and how big, and asks. The default answer is no.
  8. First index. Reads your folders.

bash install.sh --yes takes the default answer everywhere (the downloads stay no).

The window

Open it from the menu (Ruggi Site > Ruggi Seek), with the keyboard shortcut, or in Nemo: right-click a folder, or the empty background of a folder, and choose Seek here… to search only there.

  • Search box. Type words or a question. Results appear when you stop typing; Enter searches at once.
  • Look in. Empty means everywhere you index. Folder… picks one folder, Everywhere clears it.
  • Search by. Words + meaning (the usual choice), Words only, or Meaning only.
  • Results. The file name, its folder, a short piece of the text, and at the right the reason it was found: WORDS, MEANING or WORDS + MEANING. A meaning match also shows a number from 0 to 1: how similar the text is to your question. In a word match, the matched words are bold.
  • Open file, Open folder, Copy path act on the selected result.
  • Update index reads new and changed files now. Index a folder… adds a folder and reads it. Settings opens the settings file.
  • While the index is being read the bottom line shows how far it is, searching waits, and Update index becomes Stop indexing. What was read before you stop is kept. Before reading a whole disk or your whole home folder the window asks first: that can take hours.
  • Light theme / Dark theme switches the colours; the window remembers.
KeyDoes
Entersearch; in the list: open the file
Downfrom the search box into the list
Ctrl+Enteropen the folder of the selected result
Ctrl+C (in the list)copy the path
Ctrl+Lback to the search box
Escclose

The line at the bottom tells you what happened. When meaning search is not available it says so in one short note and shows the word matches.

The terminal

rseek "letter to the landlord about heating"
rseek budget 2026 --in ~/Documents/Work
rseek "error in the pump controller" --words
rseek "how do I reset the router" --meaning --limit 5
rseek invoice march --open 1
OptionDoes
--in DIRsearch only inside this folder
--words, --meaning, --bothhow to search this time
--limit Nhow many results (default 20)
--open Nopen result number N with its usual program
--tsv, --jsonoutput for scripts

Every word must be in the file; if no file has them all, files with any of them are shown. A word also matches longer words that start with it (invoic finds invoices). For an exact phrase put double quotes inside the quotes: rseek '"heat pump"'.

rseek index              read new and changed files (the timer does this every 30 minutes)
rseek index --rebuild    throw the index away and read everything again
rseek status             what is indexed, when, and whether meaning search is ready
rseek config             show the settings
rseek config add DIR     index this folder too
rseek config remove DIR  stop indexing it
rseek config set KEY VALUE
rseek config edit        open the settings file
rseek gui                open the window
rseek help

What gets indexed

Only the folders you name. Inside them:

  • Read: plain text and notes (txt, md, org, rst, tex, csv, log and more), source code and configuration files, web pages (html), PDFs, OpenDocument files (odt, ods, odp) and Word files (docx). Files without an ending are read when they are text (README, Makefile).
  • Left out: version-control folders (.git), node_modules, caches, trash, hidden folders, and every file that is not text: disk images, ISOs, archives, pictures, audio, video, programs. Also minified scripts and lock files.
  • Limits: text files up to 1 MB, PDFs and office files up to 64 MB; of a very long text the first 512 KB are indexed. Scanned PDFs without a text layer are found by name only.

A file is read again only when its size or time changes, and its vectors are made again only when its text really changed. If a folder is missing when the index runs (an unplugged drive, for instance), its files stay in the index and a note says so.

Meaning search

Meaning search needs a local Ollama server and an embedding model. If you skipped them during setup, add them at any time:

curl -fsSL https://ollama.com/install.sh | sh     # Ollama itself, about 1.5 to 2 GB, needs sudo
ollama pull $(rseek config model)                  # the model: nomic-embed-text (270 MB) or bge-m3 (1.2 GB)
rseek index                                        # makes the vectors
rseek status                                       # "ollama: ready"

Which model: with embed_model = auto (the default) Ruggi Seek goes by the languages of your computer. English only: nomic-embed-text. Another language, or more than one: bge-m3, which understands many languages, so a question in one finds text in another. rseek config model shows the pick. Change the two with embed_model_en and embed_model_multi, or use one model always: rseek config set embed_model mxbai-embed-large (any Ollama embedding model), then rseek index. rseek config set embed_model auto picks again. Vectors are kept per model.

Settings

~/.config/ruggi-seek/config, lines of key = value. Change them with rseek config set, in an editor, or with Settings in the window. After changing what is indexed, run rseek index.

KeyDefaultMeaning
folder(none)a folder to index; one line each
modebothwhat a plain rseek "…" uses: both, words, meaning
limit20results shown
min_scoreautoauto goes by the model (0.55 for nomic-embed-text, 0.50 for bge-m3 and others). A meaning match must be at least this similar (0 to 1). Raise it for fewer, closer matches; lower it for more
meaningonoff keeps Ruggi Seek to word search
embed_modelautothe Ollama embedding model; auto picks by the languages of your computer
embed_model_ennomic-embed-textwhat auto uses on an English only computer
embed_model_multibge-m3what auto uses with any other language (multilingual)
embed_urlhttp://127.0.0.1:11434/api/embedwhere Ollama listens
hiddennoyes also indexes folders whose name starts with a dot
max_file_kb1024largest text file read
max_doc_mb64largest PDF or office file read
extensions(none)extra file endings to read as text, space separated
skip_folders(none)extra folder names to leave out, space separated
WhatWhere
Settings~/.config/ruggi-seek/config
The index (one SQLite file)~/.local/share/ruggi-seek/index.sqlite
Commands~/.local/bin/rseek, rseek-vec, ruggi-seek
Timer~/.config/systemd/user/ruggi-seek-index.timer
Nemo entries~/.local/share/nemo/actions/ruggi-seek-*.nemo_action

How it works

  1. Each file's text is cut into overlapping pieces of about 1500 characters and stored in one SQLite database.
  2. Word search uses SQLite's full-text index (FTS5) over those pieces. A match in the file name counts more than a match in the text.
  3. For meaning search, a local Ollama server turns every piece into a list of numbers (an embedding) that places it near pieces about the same thing. Your question gets the same treatment and is compared with every piece.
  4. The two rankings are merged with Reciprocal Rank Fusion: a file gets 1/(60 + its place) from each ranking it is in, and the sums decide the order. A file both rankings like beats a file only one of them likes.

Privacy and speed

  • Nothing leaves your computer: the index is a local file and Ollama runs locally.
  • The index holds the text of your files and is readable only by you, like the files. Do not index folders you would not want copied into one file.
  • First index: about a hundred files a second for the words. Vectors depend on your computer: a graphics card makes thousands of pieces a minute, a processor alone some hundreds. You can search by words while the vectors are still being made; a stopped run goes on where it was.
  • Searching by words takes a few hundredths of a second. Searching by meaning takes about a tenth of a second per 5000 pieces, plus the time Ollama needs for your question (longer the first time, while it loads the model).

Troubleshooting

You seeDo
"nothing is indexed yet"rseek config add ~/Documents, then rseek index
"note: Ollama or model … is not answering; showing word matches"start Ollama and check that ollama list shows the model
"note: no meaning index yet"rseek index while Ollama is running
A new file is not foundrseek index (or wait for the timer); check that its folder is in rseek config and its type is read
Too many loose meaning matchesrseek config set min_score 0.6
PDFs found by name onlyinstall poppler-utils, then rseek index
The index looks wrongrseek index --rebuild
"another rseek index is running"the timer is at work; try again in a moment

rseek status shows folders, counts, the last run, whether Ollama answers and whether the timer is on.

Update and remove

To update, unpack the new version and run bash install.sh again; your settings and index stay.

bash install.sh --uninstall

This removes the commands, the menu entry, the Nemo entry, the icons, the timer and the keyboard shortcut. It asks before deleting your settings and the index (default: keep). Ollama and its models are never touched.