Librum-Reader / Librum-Server

The Librum server
https://librumreader.com
GNU Affero General Public License v3.0
302 stars 22 forks source link

Configuring a Windows client with selfhosted server #12

Closed tenekev closed 1 year ago

tenekev commented 1 year ago

I decided to test your newly created docker image but hit a wall on the last step. The selfhosted instructions say that the config file is located in ~/.config/Librum-Reader/Librum.conf but that's Linux-agnostic.

On my Win11 installation, I can't find such a file. Not in my profile folder, or the Appdata folder or the installation directory.

DavidLazarescu commented 1 year ago

Hey, for windows, please try and look for such file in the following locations image

Where APPNAME is Librum-Reader

tenekev commented 1 year ago

Wow, such a fast reply.

C:\Users\User\AppData\Local\Librum-Reader\Librum contains only a cache folder for qmlcache and qtpipelinecache. C:\ProgramData does not contain any Librum-related stuff.

My Librum version is the latest 0.10.1 so that can't be the issue.

DavidLazarescu commented 1 year ago

Ok, I have booted into my windows machine to test this. It seems like Qt does not create a file for the settings like on liunx, but it uses the Windows Registry.

You will need to do the following to edit it:

  1. Open Registry Editor: Press Win + R to open the Run dialog. Type regedit and press Enter.
  2. Navigate to the Key: In Registry Editor, navigate to HKEY_CURRENT_USER\Software\Librum-Reader\Librum. You can do this by expanding the folders in the left pane.
  3. Edit Values: Once you've located the key, you can edit the values in the right pane. Right-click on the value you want to modify and choose Modify.
  4. Enter the new data in the "Value data" field.

This way you should be able to change it to what you need.