jlarriba / astounding

A multiplatform GUI for the reMarkable tablet
Apache License 2.0
48 stars 3 forks source link

.rmapi config file not found #2

Closed KarmaMonk closed 3 years ago

KarmaMonk commented 4 years ago

I found the config file for rmapi under ~/.config/rmapi/rmapi.conf
not under ~/.rmapi

Thx for your app

jlarriba commented 4 years ago

The file that the application reads is the one rmapi uses to store the tokens. This file can be set by an environment variable, but by default is ~/.rmapi as stated in the rmapi Github repo:

_RMAPICONFIG: filepath used to store authentication tokens. When not set, rmapi uses the file .rmapi in the home directory of the current user.

Maybe you changed it in your environment?

errotu commented 3 years ago

Thanks for the great work! I have the same issue on Ubuntu 20.10. I have not (consciously) changed the anything in my environment.

Nachasic commented 3 years ago

I've managed to get it working without tinkering with env. variables, by using a sym link:

ln -s ~/.config/rmapi/rmapi.conf ~/.rmapi   
jlarriba commented 3 years ago

As this is a matter of finding where rmapi is locating the .rmapi file with the credentials, which seems to be in two well known locations:

~/.rmapi ~/.config/rmapi/rmapi.conf

I will close the issue.