bkbilly
(Vasilis Koulis)
February 1, 2022, 10:35am
21
@vijaykbhatia My app is not meant to be working on headless machines because it depends on some graphical components.
You can delete some files that might cause the problem:
send_keys.py
media.py
notify.py
It’s best to create issues on github because it’s easier for me to keep track of them.
stiw47
(mikri maus)
February 1, 2022, 3:48pm
22
And even on non headless machine, I think it wiil not work if service is started as root user, cause it require (again) some graphical component and most of Linux distros are not allowing the use of X to root (at least, not out of box).
Thanks for the advice, ill create an issue and will give your idea a go.
Cheers
pfertig
(Pfertig)
February 9, 2022, 4:52pm
25
hi I’m trying to install, but can’t seem to get it work.
I’m running manjaro. This is the error that I get
Looking for GIT…
Looking for Python3…
Looking for PIP3…
Already exists, updating…
From https://github.com/bkbilly/lnxlink
branch master → FETCH_HEAD
Already up to date.
Installing Python requirements…
Requirement already satisfied: PyYAML>=5.3.1 in /usr/lib/python3.10/site-packages (from -r /opt/lnxlink/requirements.txt (line 1)) (5.4.1)
Requirement already satisfied: paho-mqtt>=1.5.1 in /usr/lib/python3.10/site-packages (from -r /opt/lnxlink/requirements.txt (line 2)) (1.6.1)
Requirement already satisfied: notify2>=0.3.1 in /usr/lib/python3.10/site-packages (from -r /opt/lnxlink/requirements.txt (line 3)) (0.3.1)
Requirement already satisfied: psutil>=5.8.0 in /usr/lib/python3.10/site-packages (from -r /opt/lnxlink/requirements.txt (line 4)) (5.9.0)
Requirement already satisfied: mpris2>=1.0.2 in /usr/lib/python3.10/site-packages (from -r /opt/lnxlink/requirements.txt (line 5)) (1.0.2)
Requirement already satisfied: pynput>=1.7.3 in /usr/lib/python3.10/site-packages (from -r /opt/lnxlink/requirements.txt (line 6)) (1.7.6)
Requirement already satisfied: evdev>=1.3 in /usr/lib/python3.10/site-packages (from pynput>=1.7.3->-r /opt/lnxlink/requirements.txt (line 6)) (1.4.0)
Requirement already satisfied: python-xlib>=0.17 in /usr/lib/python3.10/site-packages (from pynput>=1.7.3->-r /opt/lnxlink/requirements.txt (line 6)) (0.31)
Requirement already satisfied: six in /usr/lib/python3.10/site-packages (from pynput>=1.7.3->-r /opt/lnxlink/requirements.txt (line 6)) (1.16.0)
sudo: apt: command not found
User configuration setup…
Traceback (most recent call last):
File “/opt/lnxlink/config.py”, line 29, in
with open(config_file) as f:
FileNotFoundError: [Errno 2] No such file or directory: ‘/opt/lnxlink/config.yaml’
Installing as a service…
All done!
Enjoy!!!
Any ideas on whats going on?
stiw47
(mikri maus)
February 13, 2022, 8:43am
26
If I’m not mistaking, Manjaro is similar as Archlinux, right? I’m running on Arch and if I remember correct, /opt/lnxlink/config.yaml file wasn’t exist after installation. Instead, there was a config_temp.yaml on mentioned location, so I created config.yaml by copying content from config_temp.yaml
Is there any way for this to check if the screen is locked or not?
I want to trigger my lights when I unlock or lock the machine.
bkbilly
(Vasilis Koulis)
May 3, 2022, 10:34pm
28
It seems to be possible, but I have to look deeper so that I can be sure.
I’ve created a feature request issue on my github.
opened 10:33PM - 03 May 22 UTC
enhancement
Used for triggering lights when the PC locks/unlocks.
1 Like
Is it possible to send the “screen on” command to wake the screen?
bkbilly
(Vasilis Koulis)
October 4, 2022, 9:54pm
31
I’ve added support for many sensors, including the screen on/off that @Iceman24 wanted.
1 Like
avoc-adio
(Avoc adio)
February 17, 2023, 10:16am
32
It would be ace if LNX Link could you show whether systems updates are available (yum/apt).
1 Like
bkbilly
(Vasilis Koulis)
February 17, 2023, 12:46pm
33
It’s a nice idea, I’ve created a feature request on my github.
opened 12:44PM - 17 Feb 23 UTC
enhancement
**Describe the solution you'd like**
It would be ace if LNXLink could you show … whether systems updates are available (yum/apt).
**Additional context**
No updates are available:
- APT (> 2): `apt list --upgradable | wc -l`
1 Like
Worth mentioning that the install instructions and modules now support running on a headless server.