Logs: liberachat/#kmonad
| 2021-07-22 19:39:48 | <Tisoxin> | yes (though it the config language could be better) |
| 2021-07-22 19:39:51 | <Solid> | The plan still is to bridge to discord (sigh) at some point |
| 2021-07-22 19:39:57 | <Solid> | which may make this place more lively |
| 2021-07-22 19:40:04 | → | SomeRandomDude joins (~SomeRando@2405:201:5c04:f137:3452:dd96:e675:9a7) |
| 2021-07-22 19:40:10 | <SomeRandomDude> | hello |
| 2021-07-22 19:40:14 | <Tisoxin> | hi |
| 2021-07-22 19:40:23 | <SomeRandomDude> | can somebody help me with installation? |
| 2021-07-22 19:40:38 | <SomeRandomDude> | i install the kmonad-bin packaged |
| 2021-07-22 19:40:45 | <SomeRandomDude> | what do i do now? |
| 2021-07-22 19:40:46 | <Tisoxin> | i guess |
| 2021-07-22 19:40:47 | <Tisoxin> | i can |
| 2021-07-22 19:41:13 | <Tisoxin> | Which OS are you using? |
| 2021-07-22 19:41:16 | <SomeRandomDude> | arch |
| 2021-07-22 19:41:36 | <SomeRandomDude> | i have a kmonad config for colemak dh |
| 2021-07-22 19:42:05 | <SomeRandomDude> | i dont know where to place the kmonad scripts |
| 2021-07-22 19:42:17 | <Tisoxin> | Well then you should be able to use kmonad with `kmonad $CONFIGFILE` |
| 2021-07-22 19:42:49 | <SomeRandomDude> | without running the services? |
| 2021-07-22 19:43:06 | <SomeRandomDude> | like theres the run file and the kmonad.service file given |
| 2021-07-22 19:43:16 | <Tisoxin> | Solid: I'm still sceptical, if bridging wouldn't just kill this community |
| 2021-07-22 19:43:28 | <Tisoxin> | hm |
| 2021-07-22 19:44:04 | <Tisoxin> | If you use the systemd service, the location of the file should be described in the installation explanation™ |
| 2021-07-22 19:45:18 | <SomeRandomDude> | yeah the run file in asked to be in /etc/sv/kmonad |
| 2021-07-22 19:45:24 | <SomeRandomDude> | but what about the .service file |
| 2021-07-22 19:46:29 | <Tisoxin> | I guess just your standard systemd directory |
| 2021-07-22 19:46:37 | <Tisoxin> | But i use NixOS, so i can't help you any further |
| 2021-07-22 19:47:03 | <Tisoxin> | https://wiki.archlinux.org/title/Systemd#Writing_unit_files |
| 2021-07-22 19:47:24 | <Solid> | SomeRandomDude: the run file is in case you use the runit init system |
| 2021-07-22 19:47:31 | <Solid> | you don't need it with systemd |
| 2021-07-22 19:47:48 | <SomeRandomDude> | ohh |
| 2021-07-22 19:48:00 | <Tisoxin> | You probably should place the service file in the directory `/usr/lib/systemd/system/` |
| 2021-07-22 19:48:16 | <SomeRandomDude> | oh |
| 2021-07-22 19:49:54 | <Solid> | Tisoxin: "kill" in what sense? |
| 2021-07-22 19:50:10 | <SomeRandomDude> | also about this |
| 2021-07-22 19:50:11 | <SomeRandomDude> | Make sure the uinput device file has the right permissions: Add a udev rule (in either /etc/dev/rules.d or /lib/udev/rules.d) with the following content: |
| 2021-07-22 19:50:12 | <SomeRandomDude> | KERNEL=="uinput", MODE="0660", GROUP="uinput", OPTIONS+="static_node=uinp |
| 2021-07-22 19:50:21 | <SomeRandomDude> | do i just make a random file name or is there a syntax |
| 2021-07-22 19:51:02 | <Solid> | afaik there has to be a .rules suffix |
| 2021-07-22 19:51:12 | <Solid> | but other than that you should be able to name it anything you want |
| 2021-07-22 19:51:21 | <SomeRandomDude> | oh thanks |
| 2021-07-22 19:52:03 | <Tisoxin> | Solid: Like maybe, „come on the discord, we already talked about this here and there“ |
| 2021-07-22 19:52:08 | <Tisoxin> | But I donno |
| 2021-07-22 19:52:13 | <Solid> | ah I see |
| 2021-07-22 19:52:32 | <Tisoxin> | Maybe It's just that i hate discord and i'm much to subjective on this matter |
| 2021-07-22 19:52:37 | <Tisoxin> | ¯\_(ツ)_/¯ |
| 2021-07-22 19:52:49 | <Solid> | can't have enough hate for discord really :P |
| 2021-07-22 19:57:50 | <SomeRandomDude> | do i make a new rules file? |
| 2021-07-22 19:57:59 | <SomeRandomDude> | i dont wanna fuck things up |
| 2021-07-22 19:58:03 | <SomeRandomDude> | :/ |
| 2021-07-22 19:58:26 | <Tisoxin> | (obligatoric NixOS Advertise) |
| 2021-07-22 19:58:33 | <Tisoxin> | :p |
| 2021-07-22 19:58:38 | <Solid> | both options are fine |
| 2021-07-22 19:58:50 | <Solid> | if you already have a rules file that all input rules reside in just add it there |
| 2021-07-22 19:58:57 | <Solid> | if not then making a new file works as well |
| 2021-07-22 19:59:25 | <SomeRandomDude> | well there are lots of rules file in the /lib/udev/rules.d dir |
| 2021-07-22 19:59:34 | <SomeRandomDude> | but idk whats the right one |
| 2021-07-22 19:59:52 | <SomeRandomDude> | maybe the udev-defaults |
| 2021-07-22 19:59:54 | <Tisoxin> | then just add a new one |
| 2021-07-22 20:01:05 | <SomeRandomDude> | ok i added the file im gonna restart |
| 2021-07-22 20:01:10 | <SomeRandomDude> | i will come back in 2 mins |
| 2021-07-22 20:01:13 | × | SomeRandomDude quits (~SomeRando@2405:201:5c04:f137:3452:dd96:e675:9a7) (Quit: Client closed) |
| 2021-07-22 20:02:49 | → | SomeRandomDude joins (~SomeRando@2405:201:5c04:f137:3452:dd96:e675:9a7) |
| 2021-07-22 20:02:56 | <SomeRandomDude> | hmm |
| 2021-07-22 20:03:09 | <SomeRandomDude> | its still showing permission denies |
| 2021-07-22 20:03:34 | <Tisoxin> | have added your user to the uinput and input group? |
| 2021-07-22 20:03:39 | <SomeRandomDude> | yeah |
| 2021-07-22 20:03:53 | <SomeRandomDude> | d |
| 2021-07-22 20:04:29 | <SomeRandomDude> | kmonad /dev/input/by-path/kdfjkd-kbd openFd permission denied |
| 2021-07-22 20:09:22 | <Tisoxin> | SomeRandomDude: Maybe try starting kmonad with verbose logging |
| 2021-07-22 20:09:28 | <Tisoxin> | (on the command line) |
| 2021-07-22 20:12:46 | <SomeRandomDude> | how to do that? |
| 2021-07-22 20:13:10 | <SomeRandomDude> | what value to pass in -l flag |
| 2021-07-22 20:13:40 | <Tisoxin> | i'm not sure, i don't actually have kmonad installed… |
| 2021-07-22 20:13:43 | Tisoxin | runs |
| 2021-07-22 20:14:04 | <Tisoxin> | hm |
| 2021-07-22 20:14:12 | <Tisoxin> | use debug |
| 2021-07-22 20:15:46 | <SomeRandomDude> | Opening KeySink |
| 2021-07-22 20:15:46 | <SomeRandomDude> | Registering Uinput device |
| 2021-07-22 20:15:47 | <SomeRandomDude> | Opening KeySource |
| 2021-07-22 20:15:47 | <SomeRandomDude> | Closing KeySink |
| 2021-07-22 20:15:48 | <SomeRandomDude> | Unregistering Uinput device |
| 2021-07-22 20:15:48 | <SomeRandomDude> | Closing Uinput device file |
| 2021-07-22 20:15:49 | <SomeRandomDude> | kmonad: /dev/input/by-path/platform-i8042-serio-0-event-kbd: openFd: permission denied (Permission denied) |
| 2021-07-22 20:16:10 | × | SomeRandomDude quits (~SomeRando@2405:201:5c04:f137:3452:dd96:e675:9a7) (Quit: Client closed) |
| 2021-07-22 20:16:45 | → | SomeRandomDude joins (~SomeRando@2405:201:5c04:f137:3452:dd96:e675:9a7) |
| 2021-07-22 20:17:59 | <SomeRandomDude> | so i tried running kmonad.service file through systemd |
| 2021-07-22 20:18:07 | <SomeRandomDude> | it still does not work :( |
| 2021-07-22 20:18:29 | <Tisoxin> | do you get the same output, if you run it with your user? |
| 2021-07-22 20:18:34 | <Tisoxin> | *when |
| 2021-07-22 20:19:10 | <Tisoxin> | apart from that, are you sure you are in the uinput and input group? |
| 2021-07-22 20:19:24 | <Tisoxin> | (check with the `group` command, without sudo) |
| 2021-07-22 20:19:42 | <Tisoxin> | (not the `group` but the `groups` command) |
| 2021-07-22 20:20:39 | <SomeRandomDude> | i have only added myself to uinput group |
| 2021-07-22 20:20:50 | <SomeRandomDude> | is the input group required too? |
| 2021-07-22 20:20:59 | <Tisoxin> | yes |
| 2021-07-22 20:21:10 | <SomeRandomDude> | ohk i will make it |
| 2021-07-22 20:22:06 | <Tisoxin> | i guess the installation documentation is insufficient |
| 2021-07-22 20:22:12 | <Tisoxin> | sigh |
| 2021-07-22 20:22:47 | <SomeRandomDude> | yeah |
| 2021-07-22 20:22:52 | <SomeRandomDude> | its still showing the same thing |
| 2021-07-22 20:22:56 | <SomeRandomDude> | permission denied |
All times are in UTC.