Logs on 2022-07-11 (liberachat/#xmonad)
| 00:50:48 | × | sogens quits (~sogens@211.30.26.217) (Quit: WeeChat 3.5) |
| 00:51:11 | → | sogens joins (~sogens@211.30.26.217) |
| 00:53:03 | × | sogens quits (~sogens@211.30.26.217) (Client Quit) |
| 00:53:23 | → | sogens joins (~sogens@211.30.26.217) |
| 01:13:46 | × | sogens quits (~sogens@211.30.26.217) (Quit: WeeChat 3.5) |
| 01:54:21 | → | mvk joins (~mvk@2607:fea8:5ce3:8500::909a) |
| 02:05:27 | × | banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 276 seconds) |
| 02:10:44 | × | steve__ quits (~steve@ool-182c2b80.dyn.optonline.net) (Ping timeout: 255 seconds) |
| 02:24:21 | → | banc joins (banc@gateway/vpn/airvpn/banc) |
| 02:29:30 | × | td_ quits (~td@muedsl-82-207-238-125.citykom.de) (Ping timeout: 240 seconds) |
| 02:31:32 | → | td_ joins (~td@muedsl-82-207-238-180.citykom.de) |
| 02:39:02 | × | jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 272 seconds) |
| 02:43:06 | × | terrorjack quits (~terrorjac@2a01:4f8:1c1e:509a::1) (Quit: The Lounge - https://thelounge.chat) |
| 02:45:32 | → | terrorjack joins (~terrorjac@2a01:4f8:1c1e:509a::1) |
| 03:44:58 | × | mvk quits (~mvk@2607:fea8:5ce3:8500::909a) (Ping timeout: 244 seconds) |
| 04:13:32 | → | ^[ joins (~user@user//x-8473491) |
| 04:34:12 | <Zedgamer9128[m]> | why is this error happening |
| 04:34:13 | <Zedgamer9128[m]> | ``` |
| 04:34:13 | <Zedgamer9128[m]> | xmonad.hs:88:27-51: Non-exhaustive patterns in lambda |
| 04:34:13 | <Zedgamer9128[m]> | ``` |
| 04:34:51 | <Zedgamer9128[m]> | , ppOrder = \[ws, l, _, wins] -> [ws] |
| 04:34:56 | <Zedgamer9128[m]> | this is the code |
| 04:35:08 | <Zedgamer9128[m]> | i only want ws info |
| 04:36:09 | <Zedgamer9128[m]> | and i think it was working before |
| 04:36:28 | <Zedgamer9128[m]> | and also in xmobar all i see is updatin |
| 04:36:30 | <Zedgamer9128[m]> | s/updatin/updating/ |
| 04:44:15 | <Lears> | Zedgamer9128[m]: `[ws, l, _, wins]` is a pattern that only accepts lists of length four, producing an error on input of any other length. Since you just want the first element, you can write this function as `take 1`, which takes a prefix of length at most one and never fails. |
| 04:45:01 | <Zedgamer9128[m]> | Lears: oh how would i do that |
| 04:45:51 | <Lears> | , ppOrder = take 1 |
| 04:48:13 | <Zedgamer9128[m]> | this worked |
| 04:48:14 | <Zedgamer9128[m]> | Lears: ``` |
| 04:48:14 | <Zedgamer9128[m]> | , ppOrder = \(ws:_:_:_) -> [ws] |
| 04:48:14 | <Zedgamer9128[m]> | ``` |
| 04:48:31 | <Zedgamer9128[m]> | from dynamicLog documentation |
| 04:53:14 | <Lears> | That's a pattern which fails if the list has fewer than three elements, despite only using the first. It's not really idiomatic haskell, but I guess this function is supposed to make some assumptions about the size of its input. |
| 04:58:31 | <Zedgamer9128[m]> | what is the latest xmonad version |
| 04:59:02 | <Zedgamer9128[m]> | i have it installed by stack. how would upgrade xmonad to the latest version by stack |
| 04:59:10 | <Zedgamer9128[m]> | * how would i upgrade xmonad |
| 04:59:24 | <Zedgamer9128[m]> | do i just git pull and stack install |
| 05:58:18 | <Solid> | Zedgamer9128[m]: yes |
| 05:58:52 | <Solid> | r.e. ppOrder: yes it's unfortunate that it takes a list and not something more concrete, but much to late to change that now :( |
| 06:08:24 | × | lambdabot quits (~lambdabot@haskell/bot/lambdabot) (*.net *.split) |
| 06:08:24 | × | fcser quits (~fcser@booty.farted.net) (*.net *.split) |
| 06:08:24 | × | eq_w quits (~eqw@31.134.178.99) (*.net *.split) |
| 06:08:24 | × | ghormoon quits (~ghormoon@ghorland.net) (*.net *.split) |
| 06:08:24 | × | x88x88x quits (~x88x88x@149.28.53.172) (*.net *.split) |
| 06:08:24 | × | exordiri quits (~ex@user/exordiri) (*.net *.split) |
| 06:08:24 | × | haskl quits (~haskl@user/haskl) (*.net *.split) |
| 06:08:34 | → | fcser joins (~fcser@booty.farted.net) |
| 06:09:04 | → | eq_w joins (~eqw@31.134.178.99) |
| 06:09:21 | → | lambdabot joins (~lambdabot@haskell/bot/lambdabot) |
| 06:09:33 | → | ghormoon joins (~ghormoon@ghorland.net) |
| 06:09:34 | → | exordiri joins (~ex@user/exordiri) |
| 06:09:46 | → | haskl joins (~haskl@user/haskl) |
| 06:11:59 | × | ircbrowse_tom quits (~ircbrowse@2a01:4f8:1c1c:9319::1) (ZNC 1.7.5+deb4 - https://znc.in) |
| 06:13:35 | → | ircbrowse_tom joins (~ircbrowse@2a01:4f8:1c1c:9319::1) |
| 06:13:35 | Server | sets mode +cnt |
| 06:13:45 | → | bsima joins (~bsima@143.198.118.179) |
| 06:13:45 | → | Solid joins (~slot@xmonad/slotThe) |
| 06:14:50 | → | RMSBach joins (~guygastin@137.184.131.156) |
| 06:58:46 | → | cfricke joins (~cfricke@user/cfricke) |
| 07:01:10 | → | alternateved joins (~alternate@185.244.214.230) |
| 07:22:59 | → | benin0 joins (~benin@183.82.29.162) |
| 08:58:32 | × | alternateved quits (~alternate@185.244.214.230) (Remote host closed the connection) |
| 09:16:37 | → | pond joins (~pond@2001:8003:363d:3b00:ba74:5157:553:b9ea) |
| 09:19:40 | × | pond quits (~pond@2001:8003:363d:3b00:ba74:5157:553:b9ea) (Client Quit) |
| 10:32:23 | → | spaceseller joins (~spacesell@31.147.205.13) |
| 10:45:38 | × | spaceseller quits (~spacesell@31.147.205.13) (Quit: Leaving) |
| 11:32:39 | → | steve__ joins (~steve@ool-182c2b80.dyn.optonline.net) |
| 11:40:37 | → | pok_ joins (~pok@41.157.227.24) |
| 11:42:24 | <pok_> | hey all, for some reason my xmobar won't start up. fresh install using stack of xmonad-0.17, contrib-0.17 and xmobar-0.44. anybody know where i can see the logs for why its not working? |
| 11:44:55 | <geekosaur[m]> | Typically they go to the session log which is usually something like .xsession-errors |
| 11:48:11 | <pok_> | thanks, it doesn't looks like i have an .xsession-errors file at the moment. presume thats because i am using sddm. will see if i can track it down. |
| 11:49:04 | <geekosaur[m]> | .local/sddm/xorg-session.log iirc |
| 11:49:34 | <pok_> | geekosaur[m]: excellent - found it. thanks! |
| 11:52:54 | <geekosaur> | and usually it'll have something like "expecting 's'" which is its annoying way of saying you're missing a plugin |
| 12:04:14 | <pok_> | great - thanks will keep that in mind. my issue was that xmobar wasn't on the path |
| 12:10:21 | <geekosaur> | right, that';s another common one. I use a wrapper script which sources my dotfiles, which aren't normally read by X11 startup |
| 12:18:07 | × | defjam quits (~eb0t@33bb8326.skybroadband.com) (Read error: Connection reset by peer) |
| 12:24:02 | → | defjam joins (~eb0t@33bb4cd7.skybroadband.com) |
| 12:32:49 | → | dschrempf joins (~dominik@mobiledyn-62-240-134-33.mrsn.at) |
| 12:40:15 | → | jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) |
| 12:42:13 | × | dschrempf quits (~dominik@mobiledyn-62-240-134-33.mrsn.at) (Quit: WeeChat 3.5) |
| 13:00:50 | × | pok_ quits (~pok@41.157.227.24) (Ping timeout: 240 seconds) |
| 13:31:10 | → | pok_ joins (~pok@41.157.227.24) |
| 13:52:28 | → | mrbeastwick joins (~mrbeastwi@pool-108-35-212-7.nwrknj.fios.verizon.net) |
| 13:53:06 | <mrbeastwick> | Does the TagWindows library allow one to display tagged windows on multiple workspaces? https://xmonad.github.io/xmonad-docs/xmonad-contrib-0.17.0.9/XMonad-Actions-TagWindows.html |
| 13:55:06 | <geekosaur> | withTaggedP "tagname" copyToAll -- or see copy and friends. https://hackage.haskell.org/package/xmonad-contrib-0.17.0/docs/XMonad-Actions-CopyWindow.html |
| 13:55:23 | <mrbeastwick> | thanks :) |
| 13:55:46 | <geekosaur> | anything that works with a WindowSet for the …P variants, any X action for the regular ones |
| 14:05:45 | × | pok_ quits (~pok@41.157.227.24) (Ping timeout: 272 seconds) |
| 15:20:25 | <valarMorghulis[m> | How to set a keyboarding to move focus to a window in next group? |
| 15:20:26 | <valarMorghulis[m> | That is `window W.focusDown` for groups |
| 15:24:50 | <valarMorghulis[m> | s/keyboarding/keybinding/ |
| 15:27:46 | → | dschrempf joins (~dominik@mobiledyn-62-240-134-33.mrsn.at) |
| 15:36:52 | <geekosaur> | uh, which groups? we have several different notions of "group" |
| 15:41:41 | × | mrbeastwick quits (~mrbeastwi@pool-108-35-212-7.nwrknj.fios.verizon.net) (Quit: Client closed) |
| 15:44:52 | <valarMorghulis[m> | <geekosaur> "uh, which groups? we have..." <- Group as in when we group together a bunch of windows as sublayout |
| 15:46:19 | valarMorghulis[m | uploaded an image: (106KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/qMMmgftTAJyznOVGaslZVYIK/2022-07-07_11-51_20220707111626.png > |
| 15:46:42 | <valarMorghulis[m> | Like this image |
| 15:48:47 | <valarMorghulis[m> | Jump btw window in left and the one window in right, not all 3 windows just 2 of em each from one group |
| 15:50:16 | × | cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 3.5) |
| 15:51:18 | × | dschrempf quits (~dominik@mobiledyn-62-240-134-33.mrsn.at) (Ping timeout: 260 seconds) |
| 16:04:20 | <geekosaur[m]> | That actually makes it worse because that could be ComboP instead of Layout.Group or similar |
| 16:04:33 | <geekosaur[m]> | Sorry had a phone call |
| 16:04:39 | → | pok_ joins (~pok@41.157.227.24) |
| 16:09:18 | <geekosaur> | can you show your config so I can see which setup you're using? as I said, there are a number of ways to group windows |
| 16:09:45 | <geekosaur> | Combo, ComboP, LayoutCombinators, Layout.Groups, others |
| 16:10:31 | × | pok_ quits (~pok@41.157.227.24) (Ping timeout: 272 seconds) |
| 16:10:34 | <geekosaur> | there's another one that presumably isn't what your're doing because a group is defined by predicate and you can't e.g. change className of a window |
| 16:11:52 | <geekosaur> | actually I suppose that means not ComboP either since that's also by predicate, but it could still be Combo |
| 16:12:53 | × | sagax quits (~sagax_nb@user/sagax) (Remote host closed the connection) |
| 16:14:47 | <geekosaur> | if it is Layout.Groups then you probably want https://hackage.haskell.org/package/xmonad-contrib-0.17.0/docs/XMonad-Layout-Groups-Helpers.html#v:moveToGroupDown |
| 16:14:59 | <geekosaur> | but that won't work if it's Combo |
| 16:15:22 | × | lazycat quits (~lazycat@user/lazycat) (Quit: ZNC - https://znc.in) |
| 16:16:21 | → | lazycat joins (~lazycat@user/lazycat) |
| 16:21:17 | × | steve__ quits (~steve@ool-182c2b80.dyn.optonline.net) (Ping timeout: 272 seconds) |
| 16:22:13 | × | benin0 quits (~benin@183.82.29.162) (Quit: The Lounge - https://thelounge.chat) |
| 16:22:49 | → | Jade1 joins (~Jade1@ip-178-201-128-039.um46.pools.vodafone-ip.de) |
| 16:29:49 | <valarMorghulis[m> | <geekosaur> "can you show your config so I..." <- I'm setting my layout like this... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/4eaacaa1cf57466f3ef98c3401a18663e695ae76) |
| 16:30:38 | <geekosaur> | subLayout, hm. |
| 16:31:58 | <geekosaur> | pushWindow <direction>, looks like |
| 16:32:00 | <valarMorghulis[m> | Just it didn't work |
| 16:32:01 | <valarMorghulis[m> | <geekosaur> "if it is Layout.Groups then..." <- I tried to use focusGroupDown |
| 16:32:15 | <geekosaur> | won;'t work with sublayouts, only with X.L.Groups |
| 16:32:26 | <geekosaur> | this is why I asked which kind of groups you were using |
| 16:32:36 | <geekosaur> | there's a *bunch* of different ways to group windows |
| 16:32:50 | <geekosaur> | you want pushWindow here |
| 16:33:13 | <valarMorghulis[m> | geekosaur: Oo I see |
| 16:33:48 | <valarMorghulis[m> | Can you show an example config or some documentation, I'm kinda new to this |
| 16:36:06 | <geekosaur> | you would bind a key to `sendMessage (pushWindow D)` or similar (adjust direction according to what you're doing) |
| 16:36:40 | <geekosaur> | the same way you have keys bound to `sendMessage (pullGroup D)` and such |
| 16:37:00 | <valarMorghulis[m> | Okay I'll try that out |
| 16:42:48 | × | Jade1 quits (~Jade1@ip-178-201-128-039.um46.pools.vodafone-ip.de) (Quit: Client closed) |
| 16:45:26 | <valarMorghulis[m> | <geekosaur> "you would bind a key to `..." <- When I check the official documentation both pull group and push group are having the same definition |
| 16:45:27 | <valarMorghulis[m> | What's the difference between both? |
| 16:45:43 | valarMorghulis[m | sent a code block: https://libera.ems.host/_matrix/media/r0/download/libera.chat/16fbf6d894f5e99822cd6f74c540bc7eba4c8c9d |
| 16:46:27 | <geekosaur> | looks to me like they have `c` and `o` swapped? |
| 16:47:44 | <geekosaur> | pushWindow, not pushGroup? |
| 16:49:30 | <valarMorghulis[m> | geekosaur: I was talking about the description, not the function definition |
| 16:50:47 | <geekosaur> | the description says the difference between the two, it's just duplicated out of laziness (programmer laziness, not Haskell's) |
| 16:51:04 | <geekosaur> | "inheriting the position of the current window (pull) or the other window (push)" |
| 16:51:34 | → | sagax joins (~sagax_nb@user/sagax) |
| 16:52:09 | <valarMorghulis[m> | geekosaur: Ok I see |
| 16:54:03 | valarMorghulis[m | sent a code block: https://libera.ems.host/_matrix/media/r0/download/libera.chat/cd282d0f360939c5fddb7583fe0177acc01f32e7 |
| 17:06:43 | <geekosaur> | I think this is the third time… to move a window between them you use pushWindow instead of pushGroup |
| 17:18:46 | <valarMorghulis[m> | <geekosaur> "I think this is the third time..." <- Ok after the third time I think you understood my question wrong, I want to jump btw groups just like Alt-tab jumps between Windows I need to jump between the first window of each group, push and pull group combains Windows together right? Not shift focus and thats what I want |
| 17:19:16 | <geekosaur> | okaym I misunderstood, sorry |
| 17:21:54 | <geekosaur> | I think you just use WindowNavigation for that: sendMessage (Go D) |
| 17:25:46 | <valarMorghulis[m> | geekosaur: ` , ("M-C-<Tab>", sendMessage (Go D))` this doesn't seem to work |
| 17:26:05 | <geekosaur> | I don't think there's a way to go directly to the next group, you have to go through all the windows in that direction |
| 17:26:29 | <valarMorghulis[m> | Thanks |
| 17:26:30 | <valarMorghulis[m> | I get it |
| 17:27:16 | <geekosaur> | I'm looking at that layout stack. It's a bit weird |
| 17:27:33 | <geekosaur> | you have both `noBorders` and `smartBorders` next to each other |
| 17:28:29 | <geekosaur> | you have `avoidStruts` inside several other layouts, which will cause bars to malfunction because you can't avoid a strut when you're not on the outside of the stack |
| 17:29:13 | <geekosaur> | I'm also wondering how `addTabs` fits in with that whole thing. it's outside of the `subLayout` but it may still cause weirdness |
| 17:29:23 | <valarMorghulis[m> | geekosaur: I've my boarder set to 0 since I'm using top bar, thats why I didnt bother changing it ig I'll change it now |
| 17:29:54 | <geekosaur> | if you set border to 0 then I don't think either of those modifiers will help you |
| 17:31:20 | <geekosaur> | don't think you can move between tabs via keyboard either |
| 17:35:14 | <valarMorghulis[m> | https://hackage.haskell.org/package/xmonad-contrib-0.17.0/docs/XMonad-Layout-SubLayouts.html in `sublayout` example it's show like that, ig that's why I tried to use it |
| 17:35:56 | <valarMorghulis[m> | geekosaur: Well I can move around with tabs currently |
| 17:36:16 | <geekosaur> | right, but subTabbed exists for a specific reason because tabs combine weirdly with groups |
| 17:36:43 | <geekosaur> | but I think that's about tabs inside the groups, whereas your `addTabs` is outside |
| 17:37:32 | <valarMorghulis[m> | geekosaur: SubTabbed has a weird glitch thats why I didnt use it |
| 17:37:34 | <valarMorghulis[m> | https://github.com/xmonad/xmonad-contrib/issues/343 |
| 17:38:00 | <valarMorghulis[m> | geekosaur: Ooh |
| 17:38:34 | <valarMorghulis[m> | Imma change the boarders anyways, I knew something was wrong there but since I didn't use it I was too lazy to remove em |
| 17:39:07 | <geekosaur> | right, but that glitch will happen regardless of how you do it, it's a flaw in message handling |
| 17:39:20 | <geekosaur> | whoich we're not sure how to fix without breaking other things |
| 17:39:33 | <geekosaur> | I think that's the second or third ticket about the same core issue |
| 17:39:46 | <valarMorghulis[m> | But using it with add tabs doesn't cause that glitch |
| 17:40:10 | <geekosaur> | right, because those are outside so it always receives the messages |
| 17:40:23 | <geekosaur> | it's stuff inside addTabs that won't reliably receive Hide messages |
| 17:40:54 | <valarMorghulis[m> | geekosaur: Ooh I see |
| 17:41:41 | <valarMorghulis[m> | Btw (this)[https://github.com/lladeebll/dotFiles/tree/master/dotfiles/.config/xmonad] is my xmonad config, if anyone in here got extra time, please go through this, I'm just a beginner there might be a lotta problems with this |
| 17:41:45 | <geekosaur> | or vice versa, subLayout won't tell all its sublayouts to hide so tabs will stick around untimely |
| 17:42:33 | <geekosaur> | which is what I meant about addTabs being (correctly) outside of subLayout instead of inside it where it breaks badly |
| 17:44:13 | <valarMorghulis[m> | <geekosaur> "you have `avoidStruts` inside..." <- So `avoidStruts` need to be out side everything? |
| 17:45:36 | <geekosaur> | yes |
| 17:45:48 | <geekosaur> | since the struts are always on the very edge of the screen |
| 17:46:28 | <geekosaur> | `avoidStruts` will happily try to reserve space somewhere else, but it won't match where the strut-owning program is drawing in that case |
| 17:47:05 | <valarMorghulis[m> | Ok I see, I've removed `noBoarders` `smartBoards` and added `avoidStruts` outside all layouts |
| 17:47:30 | <valarMorghulis[m> | Ig these should solve all the problems with my layout |
| 17:47:48 | <geekosaur> | hopefully |
| 17:48:20 | <valarMorghulis[m> | Cool, thanks |
| 18:34:23 | → | dschrempf joins (~dominik@mobiledyn-62-240-134-33.mrsn.at) |
| 18:49:48 | × | dschrempf quits (~dominik@mobiledyn-62-240-134-33.mrsn.at) (Quit: WeeChat 3.5) |
| 19:17:56 | → | chomwitt joins (~chomwitt@2a02:587:dc0d:4a00:e44b:517c:8b93:d71d) |
| 19:24:48 | × | chomwitt quits (~chomwitt@2a02:587:dc0d:4a00:e44b:517c:8b93:d71d) (Ping timeout: 276 seconds) |
| 19:27:33 | → | chomwitt joins (~chomwitt@2a02:587:dc0d:4a00:68e4:4ca8:a63:19fd) |
| 19:27:56 | → | lambdadelta-[m] joins (~lambdadel@2001:470:69fc:105::2:44c7) |
| 19:49:59 | × | chomwitt quits (~chomwitt@2a02:587:dc0d:4a00:68e4:4ca8:a63:19fd) (Remote host closed the connection) |
| 19:50:23 | → | chomwitt joins (~chomwitt@2a02:587:dc0d:4a00:4e3c:ad56:fffa:225d) |
| 20:22:39 | × | chomwitt quits (~chomwitt@2a02:587:dc0d:4a00:4e3c:ad56:fffa:225d) (Ping timeout: 276 seconds) |
| 20:53:37 | → | chomwitt joins (~chomwitt@2a02:587:dc0d:4a00:b231:296e:3336:4e6e) |
| 21:09:27 | × | chomwitt quits (~chomwitt@2a02:587:dc0d:4a00:b231:296e:3336:4e6e) (Ping timeout: 276 seconds) |
| 21:09:37 | → | wusticality joins (~wusticali@c-67-161-204-49.hsd1.co.comcast.net) |
| 21:15:58 | <wusticality> | Hey folks, I've been trying to find a reliable way to swap the Windows and Alt keys in XMonad (in gnome, I use tweaks select the "Left Win as Meta key" option). I've tried using xmodmap (see here: https://gist.github.com/wusticality/c0fc6b8c92bbadf52ad6e833be63c396) to get around this, and that works, temporarily, but within a minute or two, |
| 21:15:58 | <wusticality> | certain applications wipe my xmodmap settings, breaking my keybindings all over again. I tried to resolve this by running it in a loop forever on startup (aka, something like this: [ -f "$HOME/.Xmodmap" ] && sleep 4 && while true; do xmodmap "$HOME/.Xmodmap"; sleep 1; done &), but that causes other problems. Is there some way to swap the Windows |
| 21:15:59 | <wusticality> | and Alt keys when using XMonad that's reliable? Thanks very much in advance, this has me totally blocked. |
| 21:21:30 | <geekosaur> | what are these "certain applications"? |
| 21:22:49 | <geekosaur> | also technically xmodmap is obsolete and Xkb should be used. |
| 21:24:01 | <geekosaur> | "Alt is swapped with Super/Win" is one of the provided Xkb options, but configuring Xkb manually is somewhat annoying |
| 21:24:36 | <wusticality> | oh, xmodmap is deprecated? |
| 21:25:16 | <wusticality> | honestly, I just need something that works |
| 21:25:23 | <wusticality> | will Xkb work if you run wayland? |
| 21:25:50 | <geekosaur> | yes, wayland devs got so confused by keyboard configuration that they just imported Xkb as is |
| 21:26:41 | <wusticality> | hah |
| 21:26:58 | <wusticality> | I'll look into it right away - I assume you can have some text-based config that's loaded on startup |
| 21:27:34 | <geekosaur> | probably you want the setxkbmap command, rather than trying to build a new config for xkbcomp |
| 21:30:12 | <wusticality> | ok, will take a look :) |
| 21:31:41 | <liskin> | wusticality: take a look at man xkeyboard-config |
| 21:31:49 | <geekosaur> | setxkbmap -option altwin:swap_alt_win, looks like |
| 21:32:29 | <geekosaur> | which shouldleave the rest of the keyboard alone instead of selecting a different layout |
| 21:32:29 | <liskin> | Yeah, and you can put that in /etc/default/keyboard or wherever your distro puts it |
| 21:34:10 | <wusticality> | I wonder if that option swaps both alt / win keys |
| 21:34:15 | <wusticality> | I need them swapped on both sides |
| 21:38:27 | <geekosaur> | I just checked with mate's keyboard settings and it looks like it's swapped on both sides |
| 21:38:44 | <geekosaur> | (can't be 100% certain as my right alt is actually a compose key) |
| 21:39:14 | <wusticality> | is it possible to rebind individual keys with that program ala xmodmap? |
| 21:39:29 | <wusticality> | gotta say though, xmodmap constantly forgets my settings, it's rough |
| 21:39:34 | <geekosaur> | for individual keys you would need to resort to xkbcomp |
| 21:39:56 | <geekosaur> | setxkbmap can only use certain prepackaged configurations |
| 21:40:45 | <geekosaur> | that said, using xkbcomp you can remap every key on the keyboard including some xmodmap can't touch (like which key, if any, can immediately shut down the server) |
| 21:41:07 | <wusticality> | is this something you execute in your .profile or something? aka, is this setting persistent for a session? |
| 21:41:13 | <geekosaur> | (default is control-alt-backspace, if you're wondering, but it's disabled by default) |
| 21:41:58 | <geekosaur> | you would need to rerun it at the start of every session, but .profile is not typically run by X11 sessions; you'd run it with spawnOnce in your xmonad startupHook |
| 21:42:17 | <wusticality> | oh ok |
| 21:42:31 | <wusticality> | this is an absolute lifesaver if it works out |
| 21:45:26 | <wusticality> | hoping it doesn't lose it's state the way xmodmap does |
| 21:46:01 | <geekosaur> | you never did way which app was causing you trouble |
| 21:46:30 | <geekosaur> | if it's (say) a kde app that launches the kde setting manager in the background then you may have to use the kde keyboard configuration dialog to change it |
| 21:47:01 | × | Ocelot quits (~ocelot@50-78-208-189-static.hfc.comcastbusiness.net) (Remote host closed the connection) |
| 21:47:38 | <wusticality> | Honestly, I'm not sure |
| 21:48:03 | <wusticality> | I'm using Signal, Slack, Discord, JetBrains apps, Emacs, Alacritty, Chrome, etc. |
| 21:48:14 | <wusticality> | without fail though, every few minutes, my xmodmap settings disappear |
| 21:52:54 | kaskal- | is now known as kaskal |
| 22:21:44 | <liskin> | xkbcomp isn't really necessary, you can define your own xkb options and then use them in setxkbmap |
| 22:22:16 | <liskin> | although you'll be writing the same language xkbcomp accepts so probably not that much of a difference really :-) |
| 22:31:59 | <wusticality> | as long as it's data-driven ya know |
| 23:09:15 | <wusticality> | this is working, thanks so much folks <3 |
| 23:09:21 | × | wusticality quits (~wusticali@c-67-161-204-49.hsd1.co.comcast.net) (Quit: Client closed) |
| 23:51:59 | → | mvk joins (~mvk@2607:fea8:5ce3:8500::909a) |
All times are in UTC on 2022-07-11.