Skip to content

Commit

Permalink
Fix info about configuration files (again, missed some last time)
Browse files Browse the repository at this point in the history
  • Loading branch information
CoolCat467 committed Apr 7, 2024
1 parent b0fcfbb commit 1226501
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ This is basically a web interface for scanner devices through the SANE (Scanner
This program is intended to be used alongside CUPS, but this should not be required.

On default, the web server is hosted on port `3004`.
This can be changed in `~/.sanescansrv/config.ini`
This can be changed in the configuration file (more info below)

You will need `libsane-dev` to be able to install `python-sane`.
Use APT or your system's equivalent to install.
Expand All @@ -30,9 +30,9 @@ pip install git+https://github.com/CoolCat467/Scanner-Server.git
```

## Run
Important: When you run this program, the configuration file and the
logs folder will be saved in `~/.sanescansrv/` and the program
will create it if it does not exist.
Important: When you run this program, the configuration file will be saved in `$XDG_CONFIG_HOME/sane_scanner_webserver` (`~/.config` if $XDG_CONFIG_HOME not set) and the logs folder will be saved in
`$XDG_DATA_HOME/sane_scanner_webserver` (`~/.local/share/` if $XDG_DATA_HOME not set)
and the program will create these files if they do not exist.
```console
sanescansrv
```
Expand Down

0 comments on commit 1226501

Please sign in to comment.