Logs: liberachat/#xmonad
| 2022-04-18 15:34:33 | <geekosaur> | you'll also have to find where your session (not server) log is going (usually somewhere like ~/.xsession-errors) so you can copy the manageHook debug information from it |
| 2022-04-18 15:34:59 | <Ether[m]> | Thanks |
| 2022-04-18 15:35:14 | <geekosaur> | you would note the current end of the log, restart, then find the log and copy everything that was added to it and paste it somewhere |
| 2022-04-18 15:35:19 | <geekosaur> | @where paste |
| 2022-04-18 15:35:19 | <lambdabot> | Help us help you: please paste full code, input and/or output at e.g. https://paste.tomsmeding.com |
| 2022-04-18 15:35:37 | <geekosaur> | it'll be too long for a screenshot to work |
| 2022-04-18 15:36:12 | → | Sleroq joins (~Sleroq@95-107-2-180.dsl.orel.ru) |
| 2022-04-18 15:39:27 | <Sleroq> | Hello! I noticed, that xmobar is using ~106mb of RAM. I think it's a lot, is this normal? |
| 2022-04-18 15:40:43 | <Ether[m]> | Sleroq: Polybar uses more. So i guess. |
| 2022-04-18 15:42:20 | <Sleroq> | Hmm.. ok, thank you |
| 2022-04-18 15:42:45 | <geekosaur> | I think liskin has been trying to track down a memory leak? |
| 2022-04-18 15:42:53 | geekosaur | doesn't use xmobar |
| 2022-04-18 15:43:21 | <geekosaur> | (but the bar I use uses a lot more memory since it's a fancy gtk+dbus+yadayada desktop environment bar) |
| 2022-04-18 15:43:50 | × | werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Remote host closed the connection) |
| 2022-04-18 15:46:41 | Ether[m] | uploaded an image: (388KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/yxKiOUioTAlITyJrlkHIfAvF/20220418_214613_2493120651214513443.jpg > |
| 2022-04-18 15:47:08 | <Ether[m]> | I followed all your instructions but it seems its not logging anything useful |
| 2022-04-18 15:49:00 | Ether[m] | uploaded an image: (167KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/YWfRBdhHMYljZOAZGdoEVqTz/20220418_214835_8286569770330245395.jpg > |
| 2022-04-18 15:53:02 | <Ether[m]> | https://github.com/Ahanaf-Ether/xmonad/blob/stable/xsession-errors |
| 2022-04-18 15:53:05 | → | kwer[m] joins (~kwermatri@2001:470:69fc:105::1:4da1) |
| 2022-04-18 15:53:18 | <Ether[m]> | I forgot i was using startx |
| 2022-04-18 15:53:26 | <Ether[m]> | Here are the logs.. |
| 2022-04-18 15:56:30 | <geekosaur> | oh right, with startx it'll be on the cirtual terminal and may be difficult to copy |
| 2022-04-18 15:57:02 | <geekosaur> | I generally have my .xinitrc redirect session errors to .xsession-errors in that case, for consistency and to make them easier to work with |
| 2022-04-18 15:57:51 | <geekosaur> | also I apologise for earlier, was getting kinda overloaded between yet another network drop, trying to debug here, and also helping someone else in #haskell |
| 2022-04-18 15:58:20 | <Ether[m]> | geekosaur: Don't, it's my bad.. |
| 2022-04-18 16:00:11 | × | liskin[m] quits (~liskinmat@2001:470:69fc:105::768) (Quit: You have been kicked for being idle) |
| 2022-04-18 16:00:17 | <geekosaur> | (and tryinbg to follow progress of half the haskell infrastructure being down because of a hardware problem somewhere) |
| 2022-04-18 16:00:23 | → | Polo joins (~GiverOfDo@50-206-8-110-static.hfc.comcastbusiness.net) |
| 2022-04-18 16:00:33 | → | liskin[m] joins (~liskinmat@2001:470:69fc:105::768) |
| 2022-04-18 16:01:56 | <Ether[m]> | geekosaur: Can i see your .xinitrc? |
| 2022-04-18 16:02:06 | <geekosaur> | (I'm not on the infrastructure team yet, but as an ex-sysadmin I figure it's only a matter of time…) |
| 2022-04-18 16:02:14 | <geekosaur> | don't have one currently |
| 2022-04-18 16:02:57 | <geekosaur> | my current setup launches xmonad via mate-session so it all goes to .xsession-errors anyway |
| 2022-04-18 16:04:21 | <geekosaur> | it's just a one-line addition though, something like: exec >$HOME/.xsession-errors 2>&1 |
| 2022-04-18 16:04:47 | <geekosaur> | right after the #! line |
| 2022-04-18 16:05:23 | × | Polo quits (~GiverOfDo@50-206-8-110-static.hfc.comcastbusiness.net) (Read error: Connection reset by peer) |
| 2022-04-18 16:05:46 | → | Polo joins (~GiverOfDo@50-206-8-110-static.hfc.comcastbusiness.net) |
| 2022-04-18 16:06:13 | <Ether[m]> | geekosaur: You mean the #! /bin/sh? |
| 2022-04-18 16:06:27 | <Ether[m]> | Or bash.. |
| 2022-04-18 16:06:37 | <geekosaur> | yes, it would be the line right after that |
| 2022-04-18 16:07:15 | <Ether[m]> | So what do i do with the logs? |
| 2022-04-18 16:08:41 | <geekosaur> | copy them into a pastebin (we usually use paste.tomsmeding.com) and then paste that url here |
| 2022-04-18 16:09:01 | <geekosaur> | using matrix's paste for this is probably a bad plan as they're likely to be pretty large |
| 2022-04-18 16:09:16 | <Ether[m]> | I copied it to github |
| 2022-04-18 16:09:22 | <geekosaur> | at least, if the manageHook isactually being run (which it shouldn't as the windows are already managed) |
| 2022-04-18 16:09:28 | <Ether[m]> | https://github.com/Ahanaf-Ether/xmonad/blob/stable/xsession-errors |
| 2022-04-18 16:09:55 | <Ether[m]> | geekosaur: It seems it is.. |
| 2022-04-18 16:10:37 | <geekosaur> | that one doesn't tell me anything though, it only shows polybar starting up and no other windows |
| 2022-04-18 16:10:56 | <geekosaur> | isn't the problem during restarts and the wrong window gets the focus? |
| 2022-04-18 16:10:57 | × | Polo quits (~GiverOfDo@50-206-8-110-static.hfc.comcastbusiness.net) (Read error: Connection reset by peer) |
| 2022-04-18 16:11:21 | → | Polo joins (~GiverOfDo@50-206-8-110-static.hfc.comcastbusiness.net) |
| 2022-04-18 16:13:19 | × | Polo quits (~GiverOfDo@50-206-8-110-static.hfc.comcastbusiness.net) (Read error: Connection reset by peer) |
| 2022-04-18 16:13:27 | → | LordOfLand joins (~GiverOfDo@50-206-8-110-static.hfc.comcastbusiness.net) |
| 2022-04-18 16:13:42 | <Ether[m]> | Yes |
| 2022-04-18 16:14:02 | <Ether[m]> | But nothing such appears |
| 2022-04-18 16:14:40 | <geekosaur> | you have the insertPosition thing commented out still according tothe online xmonad.hs |
| 2022-04-18 16:14:58 | × | abastro quits (~abab9579@220.75.216.63) (Remote host closed the connection) |
| 2022-04-18 16:17:40 | <Ether[m]> | I uncommented locally |
| 2022-04-18 16:18:34 | × | benin quits (~benin@183.82.204.110) (Quit: The Lounge - https://thelounge.chat) |
| 2022-04-18 16:19:08 | <Ether[m]> | And now on github |
| 2022-04-18 16:19:18 | <Ether[m]> | No use. |
| 2022-04-18 16:20:35 | <geekosaur> | github doesn't show an update |
| 2022-04-18 16:23:48 | <Ether[m]> | Finally useful info |
| 2022-04-18 16:23:57 | <Ether[m]> | I have updated the xsession-erros |
| 2022-04-18 16:23:58 | <Ether[m]> | Errors* |
| 2022-04-18 16:24:22 | Ether[m] | uploaded an image: (311KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/JsrjUOmIHMmnjEIhrhibKBkg/20220418_222409_2234085937899160130.jpg > |
| 2022-04-18 16:24:46 | <Ether[m]> | Here is the commit |
| 2022-04-18 16:24:56 | <Ether[m]> | https://github.com/Ahanaf-Ether/xmonad/blob/stable/xsession-errors |
| 2022-04-18 16:27:49 | × | LordOfLand quits (~GiverOfDo@50-206-8-110-static.hfc.comcastbusiness.net) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 2022-04-18 16:28:47 | → | Polo joins (~GiverOfDo@50-206-8-110-static.hfc.comcastbusiness.net) |
| 2022-04-18 16:29:07 | <geekosaur> | sigh. it's not a bug indeed. problem is that polybar is restarting and being doIgnored, but the insertPosition hook is still firing |
| 2022-04-18 16:29:19 | <geekosaur> | I think you need to use composeOne to get around this |
| 2022-04-18 16:30:28 | <geekosaur> | and insertPosiiton is triggering on the wrong window because polybar doesn't actually get added to the StackSet, being a dock window |
| 2022-04-18 16:32:46 | <geekosaur> | hm, would composeOne even work here? I think it needs the trigger condition to be separate instead of combined |
| 2022-04-18 16:33:21 | <Ether[m]> | Ohh |
| 2022-04-18 16:34:02 | <Ether[m]> | geekosaur: Same is used x.hs |
| 2022-04-18 16:34:15 | <geekosaur> | right but it isn't doing insertPosition |
| 2022-04-18 16:34:36 | <Ether[m]> | Tile below |
| 2022-04-18 16:35:56 | <geekosaur> | wonder if insertPosition needs to check if the StackSet's focused window is the same as the Query's window and abort if it's not] |
| 2022-04-18 16:35:57 | <Ether[m]> | X.hs is updated |
| 2022-04-18 16:38:56 | <geekosaur> | your standard one always launches polybar in startupHook. I bet x.hs protects it with spawnOnce |
| 2022-04-18 16:40:52 | × | Polo quits (~GiverOfDo@50-206-8-110-static.hfc.comcastbusiness.net) (Remote host closed the connection) |
| 2022-04-18 16:40:53 | <geekosaur> | actually it doesn't launch it at all |
| 2022-04-18 16:42:12 | <geekosaur> | you're using the pipe method, which doesn't quite work since polybar iirc doesn't use stdin |
| 2022-04-18 16:42:33 | <geekosaur> | but it probably finds a copy already running and so doesn't restart |
| 2022-04-18 16:59:23 | <geekosaur> | https://github.com/xmonad/xmonad-contrib/issues/709 |
| 2022-04-18 17:00:31 | → | werneta joins (~werneta@137.79.218.82) |
| 2022-04-18 17:04:06 | <geekosaur> | you probably want github notifications for that issue |
| 2022-04-18 17:05:57 | <liskin> | geekosaur, Sleroq: there was a memleak in xmobar between versions 0.38 and 0.41; it's fixed since 0.42 |
| 2022-04-18 17:26:03 | → | abhixec joins (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net) |
| 2022-04-18 17:55:37 | → | Xioulious joins (~yourname@193.32.249.136) |
| 2022-04-18 18:08:37 | × | Hash quits (~Hash@hey.howstoned.ru) (Quit: ZNC - https://znc.in) |
| 2022-04-18 18:09:50 | → | Hash joins (~Hash@hey.howstoned.ru) |
| 2022-04-18 18:10:03 | <Xioulious> | in i3 I could throw any program that i have open but temporarily wanted to hide to the scratch pad and then cycle through the ones there to call them back, i know xmonad has named scratchpads but that seems to be a scratchpad for the speficied program, is it possible to have an scratchpad like the one in i3? |
| 2022-04-18 18:11:52 | <geekosaur> | dynamic scratchpad support was recently merged in git |
| 2022-04-18 18:12:08 | <geekosaur> | there's a separate dyanmic scratchpads mechanism in older versions, though |
| 2022-04-18 18:12:42 | <geekosaur> | https://hackage.haskell.org/package/xmonad-contrib-0.17.0/docs/XMonad-Util-DynamicScratchpads.html |
| 2022-04-18 18:13:15 | <geekosaur> | bleh, that documentation is buggy |
| 2022-04-18 18:13:30 | <geekosaur> | but not worth fixing because of the new dynamic scratchpad support |
| 2022-04-18 18:14:06 | <Xioulious> | the one you linked is the old method? |
All times are in UTC.