2021/08/21

2021-08-21 07:52:48 +0200kimjetwav(~user@2607:fea8:235f:9730:8b2e:1bfa:6b62:49c6)
2021-08-21 14:50:04 +0200ElKowar549ElKowar
2021-08-21 19:32:57 +0200Shleemypants(~Shleemypa@46.188.121.47)
2021-08-21 19:38:05 +0200 <Shleemypants> hello guys. I need a help about Kmonad. If i work not only US layout... How create switch on another lang? In X or wayland i switch xkb (xkb_layout, variant, options). Who write with KMonad not only US layout? How? Maybe can I see any examples? Cheers (sorry, my Eng is terrible)
2021-08-21 19:39:58 +0200 <Solid> Shleemypants: On X11 you can use setxkbmap after starting kmonad (I'm sure wayland has a more complicated equivalent for it :>)
2021-08-21 19:40:56 +0200 <Shleemypants> after switching on, for example, DE or RU, i lost config KMonad on this layout?
2021-08-21 19:41:13 +0200 <Solid> the `uinput-sink` option has a second optional string that gets executed by a shell after kmonad starts up
2021-08-21 19:41:40 +0200 <Shleemypants> How config KMonad for another lang? Solid - THX
2021-08-21 19:42:22 +0200 <Shleemypants> I want modification keys not only US ;)
2021-08-21 19:42:30 +0200 <Solid> something like `uinput-sink "keyboard-name" "sleep 0.2s; setxkbmap ru"` should probably work
2021-08-21 19:43:16 +0200 <Shleemypants> thanks... Go trying... Later i coming back
2021-08-21 19:43:39 +0200Shleemypants(~Shleemypa@46.188.121.47) (Quit: Client closed)
2021-08-21 19:45:55 +0200Shleemypants(~Shleemypa@46.188.121.47)
2021-08-21 19:49:17 +0200 <Shleemypants> i found example: https://github.com/kmonad/kmonad/tree/master/keymap/user/MaxGyver83 and i didn't understand. How MaxGyver83 changed layout? Or write two .kbd files and insert on startup script?
2021-08-21 19:53:48 +0200 <Shleemypants> if i changed lang on setxkbmap, my config with another layout not work (setxkbmap -option ctrl:nocaps -option grp:win_space_toggle us,ru -variant dvp,typewriter)
2021-08-21 19:57:30 +0200Shleemypants(~Shleemypa@46.188.121.47) (Quit: Client closed)
2021-08-21 21:51:40 +0200Shleemypants(~Shleemypa@46.188.121.47)
2021-08-21 21:51:46 +0200 <Shleemypants> hello again
2021-08-21 21:52:06 +0200 <Shleemypants> guys. How use KMonad with laptop and USB keyboard?
2021-08-21 21:52:33 +0200 <Shleemypants> Well, i have laptop keyboard and HHKB. How start KMonad?
2021-08-21 21:52:58 +0200 <Tisoxin> in the config you define which keyboard the config is used for
2021-08-21 21:53:37 +0200 <Tisoxin> looks like this: `input (device-file "/dev/input/by-path/platform-i8042-serio-0-event-kbd")`
2021-08-21 21:53:54 +0200 <Shleemypants> i want plug usb and work with kmonad config. After unplug, i want use laptop keyboard with Kmonad config...
2021-08-21 21:54:15 +0200 <Shleemypants> How start KMonad for 2 or more keyboards?
2021-08-21 21:54:35 +0200 <Tisoxin> you have to start kmonad individually for both keyboards
2021-08-21 21:54:47 +0200 <Tisoxin> either use seperate configs or the `--input` command line flag
2021-08-21 21:54:59 +0200 <Shleemypants> And 2 or more startup scripts?
2021-08-21 21:55:12 +0200 <Tisoxin> startup scripts?
2021-08-21 21:55:16 +0200 <Shleemypants> yep
2021-08-21 21:55:38 +0200 <Shleemypants> .service or .run or rc-service
2021-08-21 21:55:46 +0200 <Shleemypants> or SySV6
2021-08-21 21:55:57 +0200 <Shleemypants> init scripts
2021-08-21 21:56:25 +0200 <Tisoxin> i don't know mutch about init systems
2021-08-21 21:56:36 +0200 <Shleemypants> https://github.com/kmonad/kmonad/blob/master/startup/run
2021-08-21 21:56:38 +0200 <Tisoxin> pls take a look at your distors (or archs) wiki
2021-08-21 21:56:40 +0200 <Shleemypants> this..
2021-08-21 21:56:59 +0200 <Shleemypants> So, i need 2 or more instance kmonad?
2021-08-21 21:57:19 +0200 <Shleemypants> kmonad config1.kbd and kmonad config2.kbd?
2021-08-21 22:00:26 +0200 <Shleemypants> Who have 2 or more keyboards? How starting KMonad for USB and integrated keyboards? Separated processes? 2 daemons?
2021-08-21 22:01:19 +0200 <Tisoxin> Yes you need to processes
2021-08-21 22:01:26 +0200 <Tisoxin> *two not to
2021-08-21 22:01:53 +0200 <Tisoxin> Then you need to find the names of both keyboards and pass them two the processes
2021-08-21 22:04:00 +0200 <Tisoxin> *to
2021-08-21 22:04:11 +0200 <Shleemypants> Tisoxin - thanks. This is for u: https://www.youtube.com/watch?v=NhheiPTdZCw little trip...
2021-08-21 22:07:55 +0200Shleemypants(~Shleemypa@46.188.121.47) (Quit: Client closed)