You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ Thank you for considering contributing to our project! We appreciate your intere
3
3
4
4
## Packaging Guidelines
5
5
When building a package for distribution, please ensure the following:
6
-
1. You modified the configuration and log file paths in [.cargo/config.toml](.cargo/config.toml) to match the packaging standards of the target distribution.
6
+
1. You can modify the configuration and log file paths in [.cargo/config.toml](.cargo/config.toml) to match the packaging standards of the target distribution. Note that the defaults allow rootless utilization.
7
7
2. The only external *compile time* dependency needed are
Copy file name to clipboardExpand all lines: README.md
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,14 +11,14 @@ Provides support for infrared cameras that are not directly enabled out-of-the b
11
11
> If you plan to package this software for a Linux distribution, or to contribute code, please read [CONTRIBUTING.md](CONTRIBUTING.md).
12
12
13
13
## Installation
14
-
Download the latest [linux-enable-ir-emitter-x.x.x-release-x86-64.tar.gz](https://github.com/EmixamPP/linux-enable-ir-emitter/releases). Then execute:
14
+
Download the latest asset [linux-enable-ir-emitter-x.x.x-release-x86-64.tar.gz](https://github.com/EmixamPP/linux-enable-ir-emitter/releases). Then execute:
15
15
> [!NOTE]
16
16
> Please try the 7.0.0-beta! Furthermore, this README has been updated for this version.
17
17
18
18
```
19
19
tar -C $HOME/.local/bin --no-same-owner -m -vxzf linux-enable-ir-emitter*.tar.gz
20
20
```
21
-
If not already done, add `$HOME/.local/bin` to your PATH, e.g.:
21
+
If not already done, add `$HOME/.local/bin` to your `$PATH`, e.g.:
@@ -31,16 +31,20 @@ The installation consists of 3 files:
31
31
### Integration with Howdy
32
32
In all files returned by `grep -rl howdy /etc/pam.d`, add the following line before the one mentioning "howdy", replacing `<USER>` with your actual username:
33
33
```
34
-
auth optional pam_exec.so /home/<USER>/.local/bin/linux-enable-ir-emitter run
34
+
auth optional pam_exec.so /home/<USER>/.local/bin/linux-enable-ir-emitter run --config /home/<USER>/.config/linux-enable-ir-emitter.toml
35
35
```
36
36
37
-
The path to the binary may vary depending on your installation method. You can determine the correct absolute path by running `which linux-enable-ir-emitter` and use that path instead.
37
+
> [!TIP]
38
+
> The installation paths may vary depending on your installation method. You can determine the correct binary absolute paths by running `which linux-enable-ir-emitter` and use that path instead. For the configuration path, it will be written when you can execute `linux-enable-ir-emitter --config`.
38
39
39
40
### Integration with other program
40
41
You will need to execute the `linux-enable-ir-emitter run` command before the program that uses the infrared camera.
41
42
42
43
Alternatively, if you can and/or want to integrate better with the program that uses the camera, you can pass an opened file descriptor for the camera to the command: `linux-enable-ir-emitter run --device <DEVICE> --fd <FD>`.
43
44
45
+
> [!Important]
46
+
> You will need to pass the config path as argument to `linux-enable-ir-emitter run --config <CONFIG_PATH>`**when executed as root** if `linux-enable-ir-emitter configure` was executed as a normal user.
47
+
44
48
## How do I enable my infrared emitter?
45
49
0. For a better experience, use a large terminal window.
46
50
1. Execute the command: `linux-enable-ir-emitter configure`
0 commit comments