edouardparis 0c1c82984c
Merge #1145: Add -h/--help args to the GUI
243f4eac0aaf3def57b3a1107ff8db67749609e7 Add -h/--help args to the GUI (pythcoiner)

Pull request description:

  ```shell
  $ liana-gui -h

  Usage: liana-gui [OPTIONS]

  Options:
      --conf <PATH>       Path of configuration file (gui.toml)
      --datadir <PATH>    Path of liana datadir
      -v, --version       Display liana-gui version
      -h, --help          Print help
      --bitcoin           Use bitcoin network
      --testnet           Use testnet network
      --signet            Use signet network
      --regtest           Use regtest network

  ```

  Closes #1073

ACKs for top commit:
  jp1ac4:
    Tested ACK 243f4eac0aaf3def57b3a1107ff8db67749609e7.

Tree-SHA512: a046966f40da178fd736bcbe0e8042b03fc671baafab71ea3e1413ece3667f915d40f40437c10ecdd27476454d3e552760ac0d2c5d5bc8b21a0b519980cfa9b6
2024-07-17 11:22:32 +02:00
..
2024-06-25 03:01:29 +02:00
2024-06-28 14:19:20 +02:00
2024-06-28 14:19:20 +02:00
2023-04-18 13:48:24 +02:00
2024-06-16 16:02:07 +02:00

Liana GUI

The Liana graphical interface.

Dependencies

You will need a few dependencies in order to run correctly this software. For Linux systems, those are:

  • fontconfig for access to fonts (On Debian/Ubuntu apt install libfontconfig1-dev)
  • libudev-dev to communicate with devices through USB (On Debian/Ubuntu apt install libudev-dev)

In addition, if you want to build the project from source, you will need:

  • pkg-config (On Debian/Ubuntu apt install pkg-config)

Usage

For a quick guide to try out the software see ../doc/TRY.md.

liana-gui --datadir <datadir> --<network>

The default datadir is the same as for lianad (~/.liana for Linux). The default network is Bitcoin mainnet, but testnet signet and regtest are supported.

If the software is started with no parameter and no data directory is detected, a Liana installer will be spawned that will guide you in the processing of configuring Liana.

If the software is started and a reachable lianad is running, it will plug to it via lianad's JSONRPC interface.

The environment variable LOG_LEVEL with values error, warn, info, debug, trace, overrides the log settings from the config file.

Troubleshooting

  • If you encounter layout issue on X11, try to start the GUI with WINIT_X11_SCALE_FACTOR manually set to 1