-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linux support #22
Linux support #22
Conversation
trying this out under ubuntu 20.04/popos, and for now:
switching usb device away and back to this machine:
looks good and works for me just fine, as I've only one display directly connected and the other is daisy-chained via displayport :-) |
@universal thanks for testing! Did you happen to notice the permissions / ownership of We'll need a more permanent solution as this |
yep, should be root:root . there are guides for creating udev rules and adding a new usergroup that would provide a more permanent solution. I have been busy with other stuff, but I will crosscheck if it stays across a reboot. I suspect kernel-updates potentially also change the device, but will check that as well. |
so I just checked:
|
@universal thanks for checking, makes sense! I think going forward, the best approach would be building a deb / rpm package to install the app system-wide, with the config in /etc, logging to system logs normally and running under root with systemd. This would sidestep the whole permissions issue completely. I created #26, #27, #28, that all together should make Linux support more decent, but this PR seems to work good enough for now, will merge it. |
You can get an Then you just need to add your user to the group, and log out for it to take effect:
|
Some preliminary Linux support
Things that seem to be working
The app detected USB changes and changed display inputs based on that. I tested this on Raspberry Pi 3, don't have a normal Linux desktop.
Things that do not work / missing
i2c
group for the app to work./etc/
.deb
or.rpm
and include a Systemd wrapper ideally.Ref: #22