Open probonopd opened 3 years ago
Downloading your current release build right now, will setup a local dev VM to update Kinto for it.
Note: this build here https://github.com/helloSystem/ISO/releases/tag/r0.2.0-12.2
Thank you very much for looking into it. This is tremedous help.
https://github.com/helloSystem/hello/issues/46#issuecomment-753492251 has a concise description of what I would like to (at least) accomplish.
So I have a new branch called hellosystem that updates are being pushed into. Just making notes atm of what needs to be done/differs.
This will be added soon as it takes care of some of the presetup stuff.
sudo env ASSUME_ALWAYS_YES=yes pkg install python3 vte3 xhost
sudo python3 -m ensurepip
Some progress has been made but I will work on this a bit later. I think all of the presetup stuff has been taken care of but things relating to sudo.d and systemd will likely have to be updated so that Kinto can install without systemd.
I made a few additional quick changes in my local vm and manually enabled the mac layout in kinto.py and then ran it via this command..
sudo xkeysnail ~/.config/kinto/kinto.py
And I have bad news, it appears like Kinto does not currently work under FreeBSD and I am not entirely sure why. I assume how it handles key input is just likely a bit different and that results in the applications not getting the remapped input. Oddly enough however, the terminal, qterminal and sublime_text are detected properly and the script is attempting to change the keymaps.. it just isn't sending the keymaps to /dev/uinput apparently otherwise the new keypresses would be going through and my actual ones would be suppressed. I guess x11 is not much different under FreeBSD vs Linux - but there is something different about key input.
So really.. unless I can find the fix for xkeysnail to operate as expected on FreeBSD it won't make much more sense to spend time on fixing up the installer. I will try and revisit this later - but the focus is now shifting towards understanding how key input happens under FreeBSD and whether or not xkeysnail can be updated to work on FreeBSD.
Posted an issue ticket with the folks at xkeysnail, no idea if they'll get back with me or not, but figure I am at a point with it where they might have better insights than me since I am not getting any obvious errors thrown at me to help me investigate.
I am wondering if this is related or not, seems to suggest the uinput (userspace input devices) were out of scope in adding evdev support natively to the freebsd kernel. It goes on to mention this input driver xf86-input-evdev, so perhaps xkeysnail support would need to come about by interacting it?
Thank you very much for looking into this @rbreaves. Let's see what the xkeysnail people will say.