owenthewizard / i3lock-next

Create a fancy image to use with i3lock.
MIT License
63 stars 9 forks source link

Invalid options error. #27

Open nebulaw2081d opened 6 years ago

nebulaw2081d commented 6 years ago

Using the command i3lock-next, regardless of what arguments are given, throws the following messages:

i3lock: invalid option -- 'k' i3lock: Syntax: i3lock [-v] [-n] [-b] [-d] [-c color] [-u] [-p win|default] [-i image.png] [-t] [-e] [-I timeout] [-f]

This occurs regardless of what arguments are passed or if the command is passed without any arguments.

Example:

eel52@xxxxxx:~$ i3lock-next i3lock: invalid option -- 'k' i3lock: Syntax: i3lock [-v] [-n] [-b] [-d] [-c color] [-u] [-p win|default] [-i image.png] [-t] [-e] [-I timeout] [-f]

As seen in the example the option 'k' is not passed at all.

owenthewizard commented 6 years ago

Is this using i3lock-next from the master branch? What version of i3lock-color do you have installed?

nebulaw2081d commented 6 years ago

I have i3lock-color installed from source from this github: https://github.com/PandorasFox/i3lock-color

I got the i3lock-next code from here: https://github.com/owenthewizard/i3lock-next

I installed both from source last night, so I believe they are the latest versions.

nebulaw2081d commented 6 years ago

As stated this issue is not occurring on a legacy version of the software in question, or any of its dependencies. I would like the tag to be removed, or I am going to have to close the issue.

owenthewizard commented 6 years ago

@Eel52 The legacy tag does not mean a legacy version of the master branch, the current master branch is due to be replaced by the rewrite branch. There is no ETA for this. To clarify: "legacy" refers to the master branch of i3lock-next.

Please post the output of i3lock --version.

nebulaw2081d commented 6 years ago

@owenthewizard Sorry for misunderstanding. Here's the output of i3lock --version:

$ i3lock --version i3lock: version 2.10 (2017-11-25) © 2010 Michael Stapelberg

owenthewizard commented 6 years ago

i3lock-color refactored various options a while ago, try with the latest version. You may need to compile from source if your distro does not provide a recent version.

Detection of older/newer versions of i3lock-color may be added in the future.

nebulaw2081d commented 6 years ago

@owenthewizard I have just built a new version of i3lock-color from PandorasFox Github. I am not familiar with how to install it to /usr/bin/ (although I think I have gotten it to work) however the command "i3lock-next" still yields the original problem.

lbr88 commented 6 years ago

sudo make install