ahrm / sioyek

Sioyek is a PDF viewer with a focus on textbooks and research papers
https://sioyek.info/
GNU General Public License v3.0
6.98k stars 228 forks source link

opening config files #1119

Open nobrowser opened 2 months ago

nobrowser commented 2 months ago

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

ahrm commented 2 months ago

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.