Git Product home page Git Product logo

Comments (4)

RedSoxFan avatar RedSoxFan commented on July 3, 2024 1
2019-04-15 08:33:45 - [swaylock-1.3/main.c:1008] Found config at /home/kp/.config/swaylock/config
2019-04-15 08:33:45 - [swaylock-1.3/main.c:936] Config Line #3: image /opt/images/lock_screen_image.jpg

It looks like your swaylock config has an invalid line. There is a missing equal sign, it should be:

image=/opt/images/lock_screen_image.jpg

Since you are also giving the image as a CLI argument, the image is being set

from swaylock.

RedSoxFan avatar RedSoxFan commented on July 3, 2024

I'm not able to reproduce. Can you please post the output of swaylock --debug --image /opt/images/lock_screen_image.jpg?

from swaylock.

koponomarenko avatar koponomarenko commented on July 3, 2024

Here is the output

$ swaylock --debug --image /opt/images/lock_screen_image.jpg
2019-04-15 08:33:45 - [swaylock-1.3/main.c:1008] Found config at /home/kp/.config/swaylock/config
2019-04-15 08:33:45 - [swaylock-1.3/main.c:936] Config Line #1: show-failed-attempts
2019-04-15 08:33:45 - [swaylock-1.3/main.c:936] Config Line #2: daemonize
2019-04-15 08:33:45 - [swaylock-1.3/main.c:936] Config Line #3: image /opt/images/lock_screen_image.jpg
swaylock: unrecognized option '--image /opt/images/lock_screen_image.jpg'
Usage: swaylock [options...]

  -C, --config <config_file>       Path to the config file.
  -c, --color <color>              Turn the screen into the given color instead of white.
  -d, --debug                      Enable debugging output.
  -e, --ignore-empty-password      When an empty password is provided, do not validate it.
  -f, --daemonize                  Detach from the controlling terminal after locking.
  -h, --help                       Show help message and quit.
  -i, --image [[<output>]:]<path>  Display the given image.
  -L, --disable-caps-lock-text     Disable the Caps Lock text.
  -l, --indicator-caps-lock        Show the current Caps Lock state also on the indicator.
  -s, --scaling <mode>             Scaling mode: stretch, fill, fit, center, tile.
  -t, --tiling                     Same as --scaling=tile.
  -u, --no-unlock-indicator        Disable the unlock indicator.
  -F, --show-failed-attempts       Show current count of failed authentication attempts.
  -v, --version                    Show the version number and quit.
  --bs-hl-color <color>            Sets the color of backspace highlight segments.
  --caps-lock-bs-hl-color <color>  Sets the color of backspace highlight segments when Caps Lock is active.
  --caps-lock-key-hl-color <color> Sets the color of the key press highlight segments when Caps Lock is active.
  --font <font>                    Sets the font of the text.
  --indicator-radius <radius>      Sets the indicator radius.
  --indicator-thickness <thick>    Sets the indicator thickness.
  --inside-color <color>           Sets the color of the inside of the indicator.
  --inside-clear-color <color>     Sets the color of the inside of the indicator when cleared.
  --inside-caps-lock-color <color> Sets the color of the inside of the indicator when Caps Lock is active.
  --inside-ver-color <color>       Sets the color of the inside of the indicator when verifying.
  --inside-wrong-color <color>     Sets the color of the inside of the indicator when invalid.
  --key-hl-color <color>           Sets the color of the key press highlight segments.
  --line-color <color>             Sets the color of the line between the inside and ring.
  --line-clear-color <color>       Sets the color of the line between the inside and ring when cleared.
  --line-caps-lock-color <color>   Sets the color of the line between the inside and ring when Caps Lock is active.
  --line-ver-color <color>         Sets the color of the line between the inside and ring when verifying.
  --line-wrong-color <color>       Sets the color of the line between the inside and ring when invalid.
  -n, --line-uses-inside           Use the inside color for the line between the inside and ring.
  -r, --line-uses-ring             Use the ring color for the line between the inside and ring.
  --ring-color <color>             Sets the color of the ring of the indicator.
  --ring-clear-color <color>       Sets the color of the ring of the indicator when cleared.
  --ring-caps-lock-color <color>   Sets the color of the ring of the indicator when Caps Lock is active.
  --ring-ver-color <color>         Sets the color of the ring of the indicator when verifying.
  --ring-wrong-color <color>       Sets the color of the ring of the indicator when invalid.
  --separator-color <color>        Sets the color of the lines that separate highlight segments.
  --text-color <color>             Sets the color of the text.
  --text-clear-color <color>       Sets the color of the text when cleared.
  --text-caps-lock-color <color>   Sets the color of the text when Caps Lock is active.
  --text-ver-color <color>         Sets the color of the text when verifying.
  --text-wrong-color <color>       Sets the color of the text when invalid.

All <color> options are of the form <rrggbb[aa]>.
2019-04-15 08:33:45 - [swaylock-1.3/main.c:1018] Parsing CLI Args
2019-04-15 08:33:45 - [swaylock-1.3/main.c:416] Loaded image /opt/images/lock_screen_image.jpg for output *
2019-04-15 08:33:45 - [swaylock-1.3/main.c:271] output name is HDMI-A-3
2019-04-15 08:33:45 - [swaylock-1.3/main.c:271] output name is HDMI-A-2

from swaylock.

koponomarenko avatar koponomarenko commented on July 3, 2024

Thanks. I totally missed that.

from swaylock.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.