Logs on 2021-10-15 (liberachat/#xmonad)
| 01:01:20 | → | trillp joins (~trillp@69.233.98.238) |
| 01:40:13 | × | trillp quits (~trillp@69.233.98.238) (Ping timeout: 252 seconds) |
| 01:40:56 | × | catman quits (~catman@user/catman) (Ping timeout: 265 seconds) |
| 01:47:14 | → | trillp joins (~trillp@69.233.98.238) |
| 01:55:39 | → | catman joins (~catman@user/catman) |
| 02:00:34 | × | catman quits (~catman@user/catman) (Ping timeout: 252 seconds) |
| 02:01:43 | → | catman joins (~catman@user/catman) |
| 02:15:39 | × | trillp quits (~trillp@69.233.98.238) (Quit: nyaa~) |
| 02:28:17 | <abhixec> | I am trying to understand the drawer layout I tried the code snippet that is provided in the doc but it doesn't yield the desired result or atleast what I think is desired result! |
| 02:28:57 | <abhixec> | when I move to the layout rhythmbox still opens as a pane in a normal tall layout, shouldn't it be on top according to the document? |
| 02:34:18 | <jakefromstatefar> | I don't use that, but I previewed that, and yes, it should... |
| 02:35:12 | <jakefromstatefar> | mc47: in your xmonad config, where you pipe things to xmobar: `#2E3440:0` is used as the bg color, if I add `:0` to a color, it doesn't appear transparent... |
| 02:35:24 | <jakefromstatefar> | Is this how you achieve your transparent xmobar approach? |
| 02:35:30 | <jakefromstatefar> | Or, is that somewhere else? |
| 02:35:45 | <jakefromstatefar> | I know that you also use an xpm icon, is that crucial? |
| 02:39:55 | × | steve__ quits (~steve@ool-182c2aa4.dyn.optonline.net) (Ping timeout: 250 seconds) |
| 02:47:52 | × | td_ quits (~td@94.134.91.160) (Ping timeout: 252 seconds) |
| 02:49:36 | → | td_ joins (~td@muedsl-82-207-238-175.citykom.de) |
| 03:52:55 | × | humky quits (~humky@user/humky) (Remote host closed the connection) |
| 03:53:14 | → | humky joins (~humky@user/humky) |
| 05:42:34 | → | g90[m] joins (~mitsukage@2001:470:69fc:105::b657) |
| 05:50:26 | → | steve__ joins (~steve@ool-182c2aa4.dyn.optonline.net) |
| 06:00:50 | → | qbt joins (~qbt@user/edun) |
| 06:26:42 | → | benin joins (~benin@183.82.206.194) |
| 06:34:21 | → | Armoletti^ joins (~armoletti@dyn70-177.yok.fi) |
| 06:34:54 | × | Armoletti quits (~armoletti@dyn70-177.yok.fi) (Ping timeout: 245 seconds) |
| 06:34:54 | × | joshproehl quits (~quassel@user/joshproehl) (Ping timeout: 245 seconds) |
| 06:35:38 | → | joshproehl joins (~quassel@user/joshproehl) |
| 06:44:54 | <mc47[m]> | jakefromstatefarm I don't have transparency, it's completely broken in xmobar. I'm just matching the color of the background, and the xpm icon is just to achieve the rounded edges |
| 06:57:40 | <Solid> | FOSSHuman[m]: if you use the git version, you could look at https://xmonad.github.io/xmonad-docs/xmonad-contrib-0.16.999/XMonad-Util-Hacks.html#v:trayAbovePanelEventHook |
| 06:58:00 | <Solid> | it says that its for trayer but you can supply an arbitrary `Query' for the tray |
| 07:14:05 | → | mc47 joins (~mc47@xmonad/TheMC47) |
| 07:27:29 | × | werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 265 seconds) |
| 07:31:42 | <liskin> | it also says that it requires both to lower themselves reliably |
| 07:32:14 | <liskin> | so I'm afraid it won't work, but it may perhaps be used as a starting point of a different solution for this |
| 07:32:35 | <liskin> | also worth noting that manageHook won't fire for overrideredirect windows, so doLower in manageHook won't work either |
| 07:32:40 | <FOSSHuman[m]> | <Solid> "FOSS Human: if you use the git..." <- Just added this to my config along with setting `lowerOnStart`, `overrideRedirect` in the XMobar config and setting `window_layer = bottom` in the stalonetray config file, same thing is happening... |
| 07:32:42 | <liskin> | looks like a bug in stalonetray though |
| 07:33:18 | <liskin> | or a misconfiguration thereof |
| 07:34:07 | <Solid> | perhaps it also has an `-l` option, like trayer? |
| 07:35:47 | <liskin> | there's only --window-layer, which won't work in xmonad |
| 07:35:49 | → | cfricke joins (~cfricke@user/cfricke) |
| 07:36:35 | <liskin> | but we could add a hack to X.U.Hacks that calls lowerWindow for EWMH bottom layer :-) |
| 07:38:01 | <FOSSHuman[m]> | stalonetray xprop output: https://pastebin.com/JSatDTqq |
| 07:41:27 | <liskin> | oh, that may not be an overrideredirect window, it's probably just doIgnored by manageDocks, so a doLower managehook may actually work |
| 07:43:25 | → | dschrempf joins (~dominik@070-207.dynamic.dsl.fonira.net) |
| 07:44:56 | × | abhixec quits (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net) (Remote host closed the connection) |
| 07:50:55 | × | catman quits (~catman@user/catman) (Ping timeout: 252 seconds) |
| 08:03:37 | × | srk quits (~sorki@user/srk) (Ping timeout: 252 seconds) |
| 08:03:59 | → | srk joins (~sorki@user/srk) |
| 08:17:42 | × | geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection) |
| 08:17:49 | → | allbery_b joins (~geekosaur@xmonad/geekosaur) |
| 08:17:52 | allbery_b | is now known as geekosaur |
| 08:24:31 | <Solid> | liskin: emacs tells me to ping you about #605 |
| 09:26:29 | → | alternateved joins (~user@staticline-31-183-147-179.toya.net.pl) |
| 09:40:18 | × | dschrempf quits (~dominik@070-207.dynamic.dsl.fonira.net) (Quit: WeeChat 3.3) |
| 10:33:58 | × | geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection) |
| 10:38:19 | → | geekosaur joins (~geekosaur@xmonad/geekosaur) |
| 11:05:42 | → | niemand joins (~niemand@p2e52f8e7.dip0.t-ipconnect.de) |
| 11:19:42 | × | lisq quits (~quassel@lis.moe) (Quit: lisq) |
| 11:20:55 | → | Guest60 joins (~Guest60@83.234.98.90) |
| 11:21:23 | <Guest60> | hi, how to unmap all key bindings in xmonad? |
| 11:21:56 | → | lis joins (~quassel@lis.moe) |
| 11:22:03 | <geekosaur> | xmonad { … , keys = fromList [], … } |
| 11:23:10 | <geekosaur> | actually hold on a moment |
| 11:23:17 | <Guest60> | thanks, i will try! |
| 11:24:04 | <geekosaur> | rightm it's actually const (fromList []) |
| 11:24:41 | <geekosaur> | forgot it gets passed a copy of the config so it can retrieve the current modMask |
| 11:25:31 | <Guest60> | oh |
| 11:25:32 | <Guest60> | xmonad.hs:38:29: error: |
| 11:25:33 | <Guest60> | Variable not in scope: |
| 11:25:33 | <Guest60> | fromList |
| 11:25:34 | <Guest60> | :: [a0] |
| 11:25:34 | <Guest60> | -> XConfig Layout |
| 11:25:35 | <Guest60> | -> Data.Map.Internal.Map (ButtonMask, KeySym) (X ()) |
| 11:25:35 | <Guest60> | | |
| 11:25:36 | <Guest60> | 38 | , keys = fromList [] |
| 11:25:36 | <Guest60> | | ^^^^^^^^ |
| 11:25:37 | <Guest60> | Please check the file for errors. |
| 11:26:11 | <geekosaur> | hm, no, Data.Map iusn't imported for you by default. you also need the const thing I just mentioned |
| 11:26:33 | <geekosaur> | impoirt qualified Data.Map as M, then it's const (M.fromList []) |
| 11:26:40 | <geekosaur> | *import |
| 11:28:15 | <Solid> | (obviously be careful starting xmonad in such a state :)) |
| 11:29:09 | <Guest60> | xmonad.hs:41:30: error: |
| 11:29:09 | <Guest60> | • Couldn't match expected type: XConfig Layout |
| 11:29:10 | <Guest60> | -> M.Map (ButtonMask, KeySym) (X ()) |
| 11:29:10 | <Guest60> | with actual type: M.Map k0 a0 |
| 11:29:11 | <Guest60> | • Possible cause: ‘M.fromList’ is applied to too many arguments |
| 11:29:11 | <Guest60> | In the ‘keys’ field of a record |
| 11:29:12 | <Guest60> | In the second argument of ‘($)’, namely |
| 11:29:12 | <Guest60> | ‘def |
| 11:29:13 | <Guest60> | {modMask = myModMask, terminal = myTerminal, |
| 11:29:13 | <Guest60> | borderWidth = myBorderWidth, normalBorderColor = myNormColor, |
| 11:29:14 | <Guest60> | focusedBorderColor = myFocuColor, startupHook = myStartUpHook, |
| 11:29:14 | <Guest60> | keys = (M.fromList [])}’ |
| 11:29:15 | <Guest60> | In the expression: |
| 11:29:15 | <Guest60> | xmonad |
| 11:29:16 | <Guest60> | $ def |
| 11:29:16 | <Guest60> | {modMask = myModMask, terminal = myTerminal, |
| 11:29:17 | <Guest60> | borderWidth = myBorderWidth, normalBorderColor = myNormColor, |
| 11:29:17 | <Guest60> | focusedBorderColor = myFocuColor, startupHook = myStartUpHook, |
| 11:29:26 | <geekosaur> | ok, so you ignored my adding const twice |
| 11:29:35 | <geekosaur> | also, please use a pastebin for large pastes |
| 11:29:39 | <geekosaur> | @where pastre |
| 11:29:39 | <lambdabot> | I know nothing about pastre. |
| 11:29:41 | <geekosaur> | bah |
| 11:29:46 | <geekosaur> | @where paste |
| 11:29:46 | <lambdabot> | Help us help you: please paste full code, input and/or output at e.g. https://paste.tomsmeding.com |
| 11:29:46 | <Solid> | :D |
| 11:30:00 | ← | niemand parts (~niemand@p2e52f8e7.dip0.t-ipconnect.de) () |
| 11:30:21 | <geekosaur> | const (M.fromList []) |
| 11:30:24 | <Guest60> | sorry, my english isn't so good, what means const? |
| 11:30:29 | <geekosaur> | the "const" is not decoration |
| 11:30:33 | <geekosaur> | it's a function |
| 11:30:36 | <geekosaur> | :t const |
| 11:30:37 | <lambdabot> | a -> b -> a |
| 11:31:01 | <Guest60> | wow, it works! |
| 11:31:04 | <Guest60> | thanks a lot |
| 11:31:06 | <geekosaur> | here it's shorthand for consuming and ignoring an additional argment |
| 11:33:55 | <geekosaur> | what problem are you having that you need to disable the default bindings? any you specify will override the ones provided by default, so normally they shouldn't be a problem |
| 11:35:07 | <Guest60> | i want to make custom bindings |
| 11:35:57 | <Guest60> | i think defaults are some illogical |
| 11:36:10 | × | cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 3.3) |
| 11:37:37 | <geekosaur> | the defaults are a bit eclectic, I think the core ones come from vi |
| 11:37:44 | <geekosaur> | hjkl |
| 11:39:18 | <geekosaur> | xmonad kinda started out as assuming the user was fairly proficient in unix and its idiosyncrasies, and we're gradually cleaning that up as its user base has changed |
| 11:39:50 | <geekosaur> | (sorry if I'm making you refer to a dictionary :) |
| 11:40:53 | <Guest60> | uuuf yes |
| 11:41:21 | <Guest60> | i don't know what mean eclectic in my language |
| 11:41:45 | <alternateved> | Btw. where in the source code could you find keybindings? |
| 11:41:51 | <alternateved> | Where are they defined? |
| 11:42:13 | <geekosaur> | https://github.com/xmonad/xmonad/blob/master/src/XMonad/Config.hs |
| 11:42:40 | <alternateved> | Thanks. I should've checked repo not docs then. |
| 11:43:12 | <alternateved> | Weirdly enough, I was also thinking about unbinding some of them, so thanks Guest60 for bringing that up. |
| 11:43:13 | <Solid> | If you want docs then just press M-? |
| 11:43:50 | <geekosaur> | alternateved, there's also `removeKeys` and `removeKeysP` |
| 11:44:03 | <geekosaur> | in XMonad.Util.EZConfig |
| 11:44:05 | <Solid> | yeah these are good for unbinding some of them |
| 11:44:42 | <Guest60> | geekosaur you advice helped omg |
| 11:44:56 | <alternateved> | Oh, yeah, that would be even better. I only need to unbind the default modm + h,l |
| 11:47:45 | <liskin> | Solid: https://www.phoronix.com/scan.php?page=news_item&px=X.Org-Server-21.1-RC2 |
| 11:48:20 | <liskin> | so timing is still good I guess |
| 11:48:34 | <Solid> | awesome |
| 11:48:39 | <liskin> | Solid: thanks for the ping re #605, I'll work on it this afternoon |
| 11:48:52 | <Solid> | well let's get it out by... the end of mid October :) |
| 11:49:01 | <liskin> | (plants have survived, so I'm not as sad as I expected :-)) |
| 11:49:08 | <Solid> | \o/ |
| 11:49:45 | × | Guest60 quits (~Guest60@83.234.98.90) (Quit: Client closed) |
| 11:52:17 | → | Guest43 joins (~Guest43@83.234.98.90) |
| 11:53:23 | <Solid> | btw, any opinions on this https://github.com/xmonad/xmonad-web/pull/40 are most welcome (especially regarding the logo thingy) |
| 11:53:27 | × | Guest43 quits (~Guest43@83.234.98.90) (Client Quit) |
| 11:54:06 | → | cfricke joins (~cfricke@user/cfricke) |
| 11:55:31 | × | berberman quits (~berberman@user/berberman) (Quit: ZNC 1.8.2 - https://znc.in) |
| 11:55:33 | <liskin> | it's still in my inbox, but I have no strong opinions on any of that, so I decided it'd be best if I focused elsewhere :-/ |
| 11:55:51 | → | berberman joins (~berberman@user/berberman) |
| 11:56:42 | <Solid> | that's fair |
| 11:57:44 | → | Guest23 joins (~Guest23@83.234.98.90) |
| 12:02:54 | → | redgloboli joins (~redglobol@user/redgloboli) |
| 12:21:47 | × | sagax quits (~sagax_nb@user/sagax) (Quit: Konversation terminated!) |
| 12:53:33 | <Guest23> | i need help |
| 12:53:35 | <Guest23> | again |
| 12:53:37 | <Guest23> | https://pastebin.com/8R4PeFWR |
| 12:54:50 | <geekosaur> | looks like you're missing a "qualified" on the import of XMonad.StackSet? |
| 12:57:34 | <Guest23> | how did you guess omg |
| 12:58:09 | <geekosaur> | because of your collision, and that it showed the StackSet import as "W" so you had that part right |
| 12:58:17 | <geekosaur> | so just missing the "qualified" |
| 12:58:39 | <Guest23> | thanks |
| 12:59:04 | <geekosaur> | it is not unusual for modules to have overlapping names in them, so for example StackSet and Data.Map are both designed to be imported qualified, since both have collisions with other functions |
| 12:59:32 | <Guest23> | intresting |
| 12:59:35 | <geekosaur> | (Data.Map has *lots* of collisions with the list functions in the Prelude) |
| 13:00:25 | <geekosaur> | the first thing everyone thinks of with that one is using abstraction to make the same functions work with Maps and lists, sadly that turns out to not work well *and* be fairly slow) |
| 13:13:17 | → | dschrempf joins (~dominik@070-207.dynamic.dsl.fonira.net) |
| 13:26:04 | <Guest23> | how to make switching between workspaces? |
| 13:27:51 | <geekosaur> | are you the same one who asked how to clear your bindings earlier? this might be part of why we don't do that normally :) |
| 13:29:21 | <geekosaur> | https://github.com/xmonad/xmonad/blob/master/src/XMonad/Config.hs#L229-L233 is how it's defined by default, but it's phrased as a somewhat fancy list comprehension |
| 13:29:32 | <Guest23> | yyaaa thats me |
| 13:29:42 | <geekosaur> | W.view or W.greedyView are the functions you use |
| 13:29:46 | <Guest23> | i tried to make it like in basic conf |
| 13:29:50 | <Guest23> | but errors |
| 13:30:25 | <geekosaur> | there's also a fancier version in https://github.com/xmonad/xmonad-contrib/blob/master/XMonad/Actions/CycleWS.hs |
| 13:31:04 | <geekosaur> | (no, you don't need to run the git version to get that, it's unchanged) |
| 13:34:51 | <Guest23> | https://pastebin.com/qrGUWnDC |
| 13:35:07 | <Guest23> | i remove conf and i have another error |
| 13:36:57 | <alternateved> | You could just create your own list of workspaces. |
| 13:37:38 | <Guest23> | i made myWorkspaces = [1..9] |
| 13:38:15 | <alternateved> | | (i, k) <- zip myWorkspaces [xK_1 .. xK_9] |
| 13:38:30 | <geekosaur> | I think almost everything expects workspace tags to be String, not numbers |
| 13:38:37 | <geekosaur> | so map show [1..9] |
| 13:38:50 | <alternateved> | Ah, right |
| 13:39:06 | <geekosaur> | the conf error is because the default config builds the configuration separately so it can reference it like thta later |
| 13:39:07 | <alternateved> | myWorkspaces = map show [1..9] |
| 13:39:44 | <geekosaur> | *like that |
| 13:40:34 | <alternateved> | I think Guest23 that you would have much better time with EZConfig module |
| 13:41:01 | <Guest23> | i use EZConfig |
| 13:41:26 | → | seschwar joins (~seschwar@user/seschwar) |
| 13:41:39 | <Guest23> | i just don't know how to switch workspaces with EXConfig |
| 13:41:44 | <geekosaur> | alternatived, the list comprehension doesn't fit well with EZConfig |
| 13:42:05 | <alternateved> | Doesn't it? |
| 13:42:27 | <geekosaur> | you can do it but it's more painful imo |
| 13:42:35 | <alternateved> | https://pastebin.com/nnAF2d6K |
| 13:42:41 | <alternateved> | I use something like that |
| 13:43:02 | <Guest23> | https://pastebin.com/snK3dnfM |
| 13:43:59 | <alternateved> | Yeah, I guess that since you are using EZConfig, you might have some troubles with types there. |
| 13:44:14 | <geekosaur> | oki, that looks like you're already using EZConfig and you want alternateved's solution |
| 13:44:33 | <geekosaur> | not the (KeyMask,KeySym)-based one |
| 13:45:32 | <alternateved> | My solution only cares about workspaces order. |
| 13:46:11 | <alternateved> | So whatever you have in your workspaces, it should assign the respective keys |
| 13:48:35 | <alternateved> | I play with DynamicWorkspaces so that is why I have it setup like that |
| 13:53:01 | lis | is now known as lisq |
| 14:01:35 | × | dschrempf quits (~dominik@070-207.dynamic.dsl.fonira.net) (Ping timeout: 260 seconds) |
| 14:06:17 | × | Guest23 quits (~Guest23@83.234.98.90) (Quit: Client closed) |
| 14:06:34 | ← | qbt parts (~qbt@user/edun) () |
| 14:33:06 | → | banc joins (banc@gateway/vpn/airvpn/banc) |
| 15:08:06 | × | cfricke quits (~cfricke@user/cfricke) (Ping timeout: 268 seconds) |
| 15:23:05 | → | catman joins (~catman@user/catman) |
| 15:35:07 | → | werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) |
| 16:00:28 | × | M0x604[m] quits (~M0x604mat@2001:470:69fc:105::e21c) (Quit: You have been kicked for being idle) |
| 16:00:28 | × | nihilipster[m]1 quits (~nihilipst@2001:470:69fc:105::720) (Quit: You have been kicked for being idle) |
| 16:16:42 | → | alternat` joins (~user@staticline-31-183-147-179.toya.net.pl) |
| 16:18:34 | × | alternateved quits (~user@staticline-31-183-147-179.toya.net.pl) (Ping timeout: 252 seconds) |
| 16:21:34 | × | catman quits (~catman@user/catman) (Ping timeout: 265 seconds) |
| 16:22:05 | → | catman joins (~catman@user/catman) |
| 16:24:32 | → | wonko joins (~wjc@62.115.229.50) |
| 16:55:04 | × | catman quits (~catman@user/catman) (Ping timeout: 265 seconds) |
| 16:55:32 | → | catman joins (~catman@user/catman) |
| 17:33:35 | × | benin quits (~benin@183.82.206.194) (Ping timeout: 265 seconds) |
| 17:47:06 | <jakefromstatefar> | Using some python, bash, and an xmobarrc + boxes, I made a vertical volume bar |
| 17:47:08 | jakefromstatefar | uploaded an image: (1KiB) < https://libera.ems.host/_matrix/media/r0/download/jupiterbroadcasting.com/wqvIpZmjQUnjaNNQkvSiyINE/image.png > |
| 17:59:47 | <liskin> | jakefromstatefar: doesn't xmobar support vertical bars out of the box? |
| 18:00:36 | <liskin> | "Variables that can be used with the -t/--template argument: volume, volumebar, volumevbar, volumeipat, dB, status, volumestatus" |
| 18:00:41 | <liskin> | > volumevbar |
| 18:00:43 | <lambdabot> | error: Variable not in scope: volumevbar |
| 18:11:14 | <liskin> | mc47[m]: just noticed that pprWindowSetXinerama is included in "Internal formatting functions" in X.H.S.PP, but it's really only used in dynamicLogXinerama and completely unrelated to the PP datatype and stuff, maybe it's worth moving it back there and then waiting whether people come screaming that we've deprecated something they use (as dynamicLogXinerama doesn't really have an equivalent in the |
| 18:11:16 | <liskin> | new framework) |
| 18:11:56 | <liskin> | not that I expect anyone to come, as dynamicLogXinerama only works if one actually pipes (as in literally having "xmonad | xmobar" in .xsession) it to xmobar |
| 18:15:37 | × | thunderrd quits (~thunderrd@183.182.110.52) (Remote host closed the connection) |
| 18:16:37 | → | thunderrd joins (~thunderrd@183.182.110.52) |
| 18:43:16 | <mc47> | liskin: yes let's move it to X.H.DynamicLog |
| 18:45:38 | → | cfricke joins (~cfricke@user/cfricke) |
| 18:50:26 | <alternat`> | Is there any way to debug xmonad crashes? |
| 18:52:26 | <geekosaur> | check its stdout which should be the session log, wherever your distro puts that (on the original vt if you use startx); if there's a core dump prepare for some fun time with gdb and the bug is almost certainly in the X11 bindings |
| 18:55:57 | Hash | is now known as LordOfThePings |
| 19:11:25 | <jakefromstatefar> | <liskin> "jakefromstatefarm: doesn't..." <- No, its bars are horizontal. |
| 19:15:11 | <geekosaur> | (tracing back the crash will only work up to a point and gdb might become very confused after the first few stack frames. might also have to install some debug symbols for X11 packages and potentially rebuild xmonad-contrib and its dependencies with -g/--debug) |
| 19:15:43 | <alternat`> | It might be the issue with the QueueReader |
| 19:16:27 | <geekosaur> | anyway I would be surprised if a crash originates within xmonad, all user code paths should trap exceptions and core dumps in Haskell code not involving FFI calls are almost always ghc bugs |
| 19:17:01 | <geekosaur> | FFI calls are much more likely |
| 19:17:30 | jakefromstatefar | uploaded an image: (0KiB) < https://libera.ems.host/_matrix/media/r0/download/jupiterbroadcasting.com/hUyMiyigVhsfrnrwiVzoUoha/image.png > |
| 19:17:49 | <jakefromstatefar> | There we go, I inverted it, using `[`, and the bg color as the bar, but from the top instead. |
| 19:18:56 | <alternat`> | Thanks geekosaur - my friend has some random crashes after incorporating xmobar into xmonad with QueueReader. I'll pass your advice. |
| 19:20:03 | <geekosaur> | and it's xmonad that's crashing, not xmobar? |
| 19:26:39 | <alternat`> | Yeah, it's seems that it's xmonad. |
| 19:27:18 | <alternat`> | One of his xmobars also seems to not refresh the time, so the TQueue setup might not be working. |
| 19:29:00 | <mc47> | Solid, liskin: since the DynamicLog seems to be taken care of, anything else I should take a look at? |
| 19:29:15 | <mc47> | (btw, I think we shouldn't include the prompt refactor in 0.17) |
| 19:30:00 | <mc47> | (we should hold off any big changes right now, and only accept bug fixes or new independent modules) |
| 19:30:51 | × | alternat` quits (~user@staticline-31-183-147-179.toya.net.pl) (Quit: Fading out...) |
| 19:31:08 | <mc47> | If nothing is pressing, I'll direct my efforts into coming up with a governance proposal |
| 19:31:49 | → | alternateved joins (~user@staticline-31-183-147-179.toya.net.pl) |
| 19:32:26 | <mc47> | (I'm gonna be bored to death this weekend since I have an oral project management exam next week after spending a whole week just studying project management each day... so yeah, I'll do something fun like working on xmonad when I want to take a break) |
| 19:38:47 | × | cfricke quits (~cfricke@user/cfricke) (Ping timeout: 264 seconds) |
| 19:43:36 | <liskin> | mc47: I'm going to post my review on #605 in the next hour or so |
| 19:44:09 | <liskin> | that might need your attention then, for another hour or something :-) |
| 19:45:54 | <liskin> | geekosaur: re these xmonad/xmobar crashes, some context you probably don't have: what these folks are doing is running xmobar as a thread in the xmonad process, passing data via STM instead of pipes/props |
| 19:46:29 | <mc47> | alrighty then |
| 19:47:14 | <liskin> | (I find it quite cool that it's technically possible to do something like that, and I know better than to comment on whether it's sane to do or not, it's probably just people having fun exploring what's possible) |
| 19:47:46 | <alternateved> | Yeah, pretty much. |
| 19:48:28 | <liskin> | mc47: what we possibly need a bit more than the governance docs is some update of README.md and CONTRIBUTING.md across our repos, if you need more ideas to choose from |
| 19:48:56 | <liskin> | and if everything goes well, I should start a very intense EWMH hackathon tomorrow :-) |
| 19:49:36 | <mc47> | Hmm, what about slashing `X.D.Developing` and just relying on CONTRIBUTING.md? |
| 19:50:32 | <liskin> | X.D.Developing has stuff that doesn't usually go into CONTRIBUTING.md |
| 19:50:47 | <liskin> | so if anything, you'd need to move half of it into ARCHITECTURE.md or something |
| 19:51:07 | <liskin> | CONTRIBUTING needs to be short enough for people to actually read it |
| 19:51:12 | → | cfricke joins (~cfricke@user/cfricke) |
| 19:51:42 | <mc47[m]> | Alright, convinced |
| 19:53:24 | <liskin> | (:-) |
| 19:53:33 | <liskin> | s/^\(// |
| 20:03:25 | <geekosaur> | ok, that makes a fairly big difference and indeed I'm not sure now whether we're uncovering bugs in STM or the crash is just in non-exception-managed code throwing an STM exception |
| 20:03:45 | <geekosaur> | gdb won't be helpful there, probably. profiling + -RTS -xc might |
| 20:09:15 | <geekosaur> | (have to admit I was wondering wtf QueueReader was, and was trying to search xmobar docs. which are now annoying because the README is no longer the whole manual and the only obvious replacement is now a quickstart doc) |
| 20:12:15 | <Solid> | plugins.org is where the plugins are documented now |
| 20:13:39 | <liskin> | hm, yeah, I also often swear when I need to look up something in xmobar docs :-/ |
| 20:14:06 | <liskin> | a table of contents at the top of readme.org would probably help me a lot |
| 20:14:49 | <alternateved> | There is some table of contents on xmobar page |
| 20:15:00 | <alternateved> | *a table |
| 20:15:15 | <geekosaur> | yeh, it's there, somewhat down from the top and not entirely clear that gets you the whole old manual |
| 20:15:16 | <liskin> | xmobar.org is just showing an outdated readme I think |
| 20:15:42 | <alternateved> | Yeah, it is. |
| 20:21:13 | → | electr0n joins (~electr0n@about/security/founder/electr0n) |
| 20:24:49 | <Solid> | adding TOCs to the necessary files sounds reasonable though |
| 20:26:39 | → | kdecay joins (~user@2a02:8070:9991:bb00:1229:c2c4:1938:701a) |
| 20:27:39 | <kdecay> | Hello there |
| 20:27:45 | <geekosaur> | œ |
| 20:28:12 | <kdecay> | let me start by thanking you @geekosaur :D |
| 20:29:26 | <geekosaur> | you're welcome |
| 20:30:34 | <alternateved> | small disclaimer: kdecay is a friend that had a problem with the crashes |
| 20:31:14 | <geekosaur> | I'd wonder if there's some code path that needs a userdef around it to catch STM exceptions |
| 20:33:20 | <geekosaur> | even though, strictly speaking, it's not user-defined code |
| 20:33:26 | LordOfThePings | is now known as Hash |
| 20:35:16 | <liskin> | I don't think there are that many code paths to think about |
| 20:35:38 | <liskin> | it's probably just logHook, unless they're doing something more interesting |
| 20:35:48 | <kdecay> | I'll try to debug my config and see if I can find something interesting. Could also very well be a user error by me. Is anyone of you using the TQueue for their xmobar? |
| 20:36:12 | <liskin> | (like e.g. a separate thread with a timer or something, which is what my setup would probably do if I was a Haskell programmer rather than a bash programmer, lol) |
| 20:37:21 | <geekosaur> | logHook should already be wrapped in userCode, I think; I'm suspecting some other path, possibly in the xmobar part, that needs to trap and recover from STM exceptions |
| 20:39:37 | <liskin> | xmobar quite likely just ignores any exceptions |
| 20:40:18 | <liskin> | everything runs in its own thread, started via https://hackage.haskell.org/package/async-2.2.4/docs/Control-Concurrent-Async.html#v:async, but not waited on, so exceptions aren't re-raised in the main thread |
| 20:40:38 | <liskin> | plugins like StdinReader explicitly exit(0) |
| 20:41:58 | <liskin> | (I'm not entirely sure the exception handling in the timer coalescing code I wrote is correct, though; it's a complicated mess; probably irrelevant though) |
| 20:46:40 | <liskin> | mc47[m]: do you (or anyone else) use haskell-language-server when hacking on xmonad(-contrib)? how do you deal with the library vs. test-suite ambiguity? |
| 20:48:22 | <liskin> | I use implicit-hie to generate the hie.yaml here and sometimes HLS thinks one module is part of the test suite and another is part of the library, so I need to reload the whole thing for it to pick up changes :-/ |
| 21:00:26 | <mc47> | liskin it just works, without hie.yaml |
| 21:00:50 | <mc47> | I get a warning that I should consider creating a hie.yaml file if I get a Multi Cradle error |
| 21:01:39 | <mc47> | oh and I have a very weird error when I launch it the first time from emacs, and I need to restart emacs, then it works fine |
| 21:01:52 | <mc47> | haven't had the time to debug it properly |
| 21:02:51 | <mc47> | Not that happy with HLS if I'm being honest, but that's the option with the least overhead right now (dante.el isn't maintained anymore, and it was great) |
| 21:05:04 | <liskin> | hm, I wonder what happens behind the scenes without a hie.yaml |
| 21:05:23 | <liskin> | unfortunately it's not really an option for me as I don't use the stack.yaml from the repos |
| 21:05:46 | <liskin> | mc47: so when you're editing the tests, does hls still work for you? |
| 21:06:19 | <geekosaur> | I thought it used some hie-boot thing to generate an internal default one |
| 21:06:28 | <geekosaur> | but I'm not much for IDEs |
| 21:06:48 | <mc47> | liskin: yep, tried completion and jumping to definitions |
| 21:07:40 | <liskin> | geekosaur: it probably does, yeah |
| 21:08:55 | <liskin> | I'd be surprised if the autogenerated cradles were that much different than the ones I have here |
| 21:09:22 | <liskin> | we do have overlapping source paths, there's no going around that |
| 21:09:34 | × | rundown quits (~eb0t@90.213.43.87) (Ping timeout: 252 seconds) |
| 21:15:50 | × | kdecay quits (~user@2a02:8070:9991:bb00:1229:c2c4:1938:701a) (Remote host closed the connection) |
| 21:40:19 | × | cfricke quits (~cfricke@user/cfricke) (Ping timeout: 252 seconds) |
| 21:46:34 | → | Guest41 joins (~Guest41@2001:16b8:5cf5:d900:2a39:26ff:fe02:85bb) |
| 21:47:00 | <Guest41> | Hi there! |
| 21:47:21 | <Guest41> | I'm having issues getting xmonad to recompile on arch |
| 21:48:14 | <alternateved> | Are you using package from AUR? |
| 21:49:01 | <Guest41> | I've installed it with ghcup / cabal |
| 21:49:36 | <alternateved> | What do you mean by issues? |
| 21:50:00 | <Guest41> | xmonad.hs:1:1: error: |
| 21:50:00 | <Guest41> | Could not find module ‘XMonad’ |
| 21:50:01 | <Guest41> | Perhaps you meant DsMonad (needs flag -package-key ghc-8.10.4) |
| 21:50:01 | <Guest41> | Use -v (or `:set -v` in ghci) to see a list of the files searched for. |
| 21:50:02 | <Guest41> | | |
| 21:50:02 | <Guest41> | 1 | import XMonad |
| 21:50:03 | <Guest41> | | ^^^^^^^^^^^^^ |
| 21:51:11 | <FOSSHuman[m]> | Guest41 You should read: https://github.com/xmonad/xmonad/blob/master/INSTALL.md |
| 21:52:10 | <FOSSHuman[m]> | Specifically: https://github.com/xmonad/xmonad/blob/master/INSTALL.md#build-xmonad |
| 21:55:02 | <FOSSHuman[m]> | There's also a TUTORIAL.md in the same repo |
| 21:55:18 | <Guest41> | i've tried to follow that, and it seemed to work for a while. But broke down somehow :/ |
| 21:56:00 | <FOSSHuman[m]> | * same repo: https://github.com/xmonad/xmonad/blob/master/TUTORIAL.md |
| 21:58:23 | <Guest41> | does xmonad depend on specific versions of ghc? I've installed haskell for cardano (8.10.4), and wanted to also try out xmonad. |
| 22:03:23 | <geekosaur> | we test it with a number of ghc versions, should include 8.10.4 |
| 22:04:02 | <mc47> | Guest41 it's generally not a good idea to manage project dependencies globally |
| 22:04:13 | <mc47> | (and not just with Haskell) |
| 22:04:16 | <geekosaur> | if you install using cabal, you either need to use a cabal-based build script or `cabal install --lib xmonad xmonad-contrib` |
| 22:05:27 | <geekosaur> | I prefer the former, there's a suitable buildscript (which you may need to edit) at https://github.com/xmonad/xmonad-testing/blob/master/build-scripts/build-with-cabal.sh |
| 22:07:57 | <geekosaur> | the buildscript expects an xmonad.project file in the same directory and the xmonad and xmonad-contrib checkouts beside it if you're running from git; also a cabal file for your xmonad.hs |
| 22:09:23 | × | wonko quits (~wjc@62.115.229.50) (Ping timeout: 264 seconds) |
| 22:09:27 | <liskin> | I think what Guest41 is experiencing can actually happen with the instructions we have in INSTALL.md |
| 22:10:08 | <liskin> | cabal install --lib might break when the deps are updated, even with --package-env |
| 22:10:36 | <liskin> | and the solution, if I remember correctly, is to delete the package env files |
| 22:10:48 | <liskin> | which I don't remember the names of |
| 22:11:15 | <liskin> | something like ~/.xmonad/.ghc.environment.x86_64-linux-8.8.3 |
| 22:11:39 | <geekosaur> | I thought they went under ~/.ghc |
| 22:11:43 | <liskin> | Guest41: can you give that a try? if it works, we absolutely need to document that |
| 22:11:53 | <liskin> | geekosaur: they go wherever --package-env says they should |
| 22:11:57 | <geekosaur> | and if there are updates you need to delete the earlier lines or it will use those |
| 22:12:22 | <liskin> | and we recommend using --package-env so that ghc invoked from ~/.xmonad will pick it up automatically |
| 22:12:29 | <liskin> | (because xmonad --recompile invokes ghc from there) |
| 22:12:35 | <geekosaur> | sorry, missed that |
| 22:14:00 | <Guest41> | i have no .ghc.environments in .xmonad, and x86_64-linux-8.10.7 in .ghc |
| 22:15:30 | <liskin> | Guest41: did you use --package-env when installing xmonad for the first time or just --lib? |
| 22:16:13 | × | humky quits (~humky@user/humky) (Quit: Leaving) |
| 22:16:36 | <Guest41> | just --lib i think |
| 22:17:06 | <liskin> | in that case you might need to delete that stuff from ~/.ghc |
| 22:17:20 | <liskin> | or perhaps cabal has some uninstall subcommand? |
| 22:17:36 | <liskin> | probably not |
| 22:18:03 | <Guest41> | would rebuilding it with cabal help? |
| 22:18:44 | <liskin> | oh yes, that will certianly be necessary either way |
| 22:19:01 | <liskin> | (we should've started with that actually :-)) |
| 22:21:06 | → | humky joins (~humky@user/humky) |
| 22:21:59 | <Guest41> | and should mod+q do the same as running xmonad --recompile? |
| 22:22:50 | <Guest41> | because that does nothing, and running --recompile in terminal shows the error |
| 22:23:48 | <liskin> | well it should do the same, but it uses xmessage to show the error, which you possibly don't have? |
| 22:24:13 | <liskin> | the error from mod+q should also be logged somewhere |
| 22:24:34 | <liskin> | like .xsession-errors or systemd journal or wherever your session's stderr goes |
| 22:27:01 | × | seschwar quits (~seschwar@user/seschwar) (Quit: :wq) |
| 22:28:50 | <Guest41> | what would be the easiest way to see if it works? :) |
| 22:29:01 | <Guest41> | this is my current config |
| 22:29:02 | <Guest41> | import XMonad |
| 22:29:03 | <Guest41> | main = xmonad defaultConfig |
| 22:29:03 | <Guest41> | { modMask = mod4Mask -- Use Super instead of Alt |
| 22:29:04 | <Guest41> | , terminal = "alacritty" |
| 22:29:04 | <Guest41> | } |
| 22:29:48 | <liskin> | changing the terminal, probably :-) |
| 22:29:52 | <Guest41> | reinstalling with cabal seemed to help |
| 22:29:53 | <liskin> | or the modmask |
| 22:32:27 | × | alternateved quits (~user@staticline-31-183-147-179.toya.net.pl) (Remote host closed the connection) |
| 22:33:59 | × | Guest41 quits (~Guest41@2001:16b8:5cf5:d900:2a39:26ff:fe02:85bb) (Quit: Client closed) |
| 22:34:48 | → | Guest41 joins (~Guest41@2001:16b8:5cf5:d900:2a39:26ff:fe02:85bb) |
| 22:35:54 | × | Guest41 quits (~Guest41@2001:16b8:5cf5:d900:2a39:26ff:fe02:85bb) (Client Quit) |
| 22:37:00 | → | Guest31 joins (~Guest31@2001:16b8:5cf5:d900:2a39:26ff:fe02:85bb) |
| 22:37:18 | → | rundown joins (~eb0t@2a02:c7d:f20e:ed00:216:44ff:fe6a:c888) |
| 22:41:17 | <Guest31> | hello again :) |
| 22:42:17 | <Guest31> | tried to recompile, and it seems to work after reinstalling, but it doesnt change the config |
| 22:43:23 | <Guest31> | XMonad will use ghc to recompile, because "/home/ranmacar/.xmonad/build" does not exist. , |
| 22:43:40 | <Guest31> | is this normal? |
| 22:43:46 | <liskin> | yes |
| 22:45:03 | <liskin> | (although the message is a bit different in the latest version…) |
| 22:45:56 | <Guest31> | could the problem be in how i start the session? |
| 22:47:01 | <Guest31> | its just an xmonad.session with exec=xmonad |
| 22:47:29 | <Guest31> | *xmonad.desktop |
| 22:51:12 | <Guest31> | changing the terminal and mod+q does nothing |
| 22:51:38 | <Guest31> | recompiling from terminal works, but doesnt change the terminal |
| 22:52:51 | × | Guest31 quits (~Guest31@2001:16b8:5cf5:d900:2a39:26ff:fe02:85bb) (Quit: Client closed) |
| 22:53:24 | → | Guest31 joins (~Guest31@2001:16b8:5cf5:d900:2a39:26ff:fe02:85bb) |
| 22:54:59 | <Guest31> | only restarting the session seems to apply the changes |
| 22:57:06 | <geekosaur> | ou using the right mod key? if you're still using the one you pasted earlier, it'll be the windows key instead of (left) alt |
| 22:57:18 | <geekosaur> | *are you using |
| 22:58:52 | <Guest31> | i think there might be something wrong with my paths :/ |
| 22:59:31 | <Guest31> | will sleep on it :) |
| 22:59:37 | <Guest31> | thanks everyone |
| 23:01:43 | × | Guest31 quits (~Guest31@2001:16b8:5cf5:d900:2a39:26ff:fe02:85bb) (Quit: Client closed) |
| 23:10:55 | × | mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection) |
| 23:12:36 | × | rundown quits (~eb0t@2a02:c7d:f20e:ed00:216:44ff:fe6a:c888) (Ping timeout: 245 seconds) |
| 23:28:12 | <FOSSHuman[m]> | Hey guys, one of my monitors are old and disconnect sometimes, I was wondering how I would run a script (simple wallpaper setter script using feh) on screen change events, would I use XMonad.Hooks.Rescreen?? |
| 23:28:54 | <geekosaur> | yes |
| 23:31:18 | <FOSSHuman[m]> | K thanks!! |
| 23:37:02 | → | rundown joins (~eb0t@90.197.81.245) |
All times are in UTC on 2021-10-15.