sioyek icon indicating copy to clipboard operation
sioyek copied to clipboard

opening config files

Open nobrowser opened this issue 1 year ago • 1 comments

The documenation https://sioyek-documentation.readthedocs.io/en/latest/configuration.html says:

The location of these files are OS-dependent. You can open these files by executing keys, keys_user, prefs and prefs_user commands using the sioyek command line (see Command Menu).

I am not sure what "opening" in this context means (I hope to modify my keys file, and it sounds unlikely I'll be able to do it from within the app), but in any case, when I try this by typing : keys_user <enter> , exactly nothing seems to happen.

If this is not the way to modify the config files, what is? Of course I can use a text editor, but then I need to know where the file lives (maybe it doesn't exist yet?)

I have installed sioyek via flatpak on an Ubuntu jammy derived system. I see a directory ~/.var/app/com.github.ahrm.sioyek/config/ , but that seems to contain just a couple of generic subdirs like QtConfig and what not.

-- Ian

nobrowser avatar Jun 30 '24 16:06 nobrowser

Running keys_user should open the file on your default text editor. It might be broken on the flatpak version (you would have to report that to the maintainer of the flatpak package). Either way, sioyek should print the location of these configs files on the console when it is launched so you can edit those files manually.

ahrm avatar Jun 30 '24 16:06 ahrm

It is under ~/.var/app/com.github.ahrm.sioyek/config/sioyek, and Sioyek fails to open it when it does not exist.

machitgarha avatar Oct 22 '24 20:10 machitgarha