2021/06/22

2021-06-22 00:23:28 +0200seschwar(~seschwar@user/seschwar) (Quit: :wq)
2021-06-22 00:47:11 +0200geekosaur(~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
2021-06-22 00:47:53 +0200geekosaur(~geekosaur@xmonad/geekosaur)
2021-06-22 01:39:11 +0200geekosaur(~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
2021-06-22 01:44:03 +0200geekosaur(~geekosaur@xmonad/geekosaur)
2021-06-22 02:20:17 +0200Nahra(~user@static.161.95.99.88.clients.your-server.de) (Remote host closed the connection)
2021-06-22 02:25:52 +0200efvincent-007(~efvincent@71.69.232.38)
2021-06-22 02:27:13 +0200tremon(~tremon@217-63-61-89.cable.dynamic.v4.ziggo.nl) (Quit: getting boxed in)
2021-06-22 02:36:25 +0200efvincent-007(~efvincent@71.69.232.38) (Ping timeout: 246 seconds)
2021-06-22 02:37:50 +0200MrElendig(~Urist@archlinux/op/MrElendig) (Ping timeout: 252 seconds)
2021-06-22 02:38:56 +0200MrElendig(~Urist@archlinux/op/MrElendig)
2021-06-22 03:07:13 +0200blaa(~bla@89-67-84-220.dynamic.chello.pl)
2021-06-22 03:07:14 +0200bla(~bla@89-67-84-220.dynamic.chello.pl) (Read error: Connection reset by peer)
2021-06-22 03:13:04 +0200 <craige[m]> I am.
2021-06-22 03:13:40 +0200 <craige[m]> I don't use containers though dminuoso
2021-06-22 03:15:11 +0200 <craige[m]> Here's my config dminuoso - https://source.mcwhirter.io/craige/mio-ops/src/branch/consensus/profiles/xmonad.nix
2021-06-22 04:03:05 +0200banc(banc@gateway/vpn/airvpn/banc) (Ping timeout: 258 seconds)
2021-06-22 04:03:48 +0200kajzer_(~themainma@user/themainman) (Quit: WeeChat 3.1)
2021-06-22 04:11:42 +0200MrElendig(~Urist@archlinux/op/MrElendig) (Ping timeout: 264 seconds)
2021-06-22 04:12:18 +0200lisq(~quassel@lis.moe) (Ping timeout: 264 seconds)
2021-06-22 04:12:29 +0200lisq(~quassel@lis.moe)
2021-06-22 04:13:14 +0200MrElendig(~Urist@archlinux/op/MrElendig)
2021-06-22 04:22:08 +0200banc(banc@gateway/vpn/airvpn/banc)
2021-06-22 04:56:22 +0200td__(~td@94.134.91.150) (Ping timeout: 258 seconds)
2021-06-22 04:57:57 +0200td_(~td@94.134.91.59)
2021-06-22 06:11:02 +0200geekosaur(~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b)))
2021-06-22 06:11:02 +0200allbery_b(~geekosaur@xmonad/geekosaur)
2021-06-22 06:28:27 +0200haasn(~nand@haasn.dev) (Quit: ZNC 1.7.5+deb4 - https://znc.in)
2021-06-22 06:28:57 +0200haasn(~nand@haasn.dev)
2021-06-22 07:23:17 +0200efvincent-007(~efvincent@71.69.232.38)
2021-06-22 07:49:20 +0200suckless(~suckless@78-61-222-190.static.zebra.lt)
2021-06-22 07:50:11 +0200suckless(~suckless@78-61-222-190.static.zebra.lt) ()
2021-06-22 08:00:31 +0200efvincent-007(~efvincent@71.69.232.38) (Ping timeout: 246 seconds)
2021-06-22 08:57:31 +0200cfricke(~cfricke@user/cfricke)
2021-06-22 09:02:08 +0200Nahra(~user@static.161.95.99.88.clients.your-server.de)
2021-06-22 09:10:19 +0200backleet(~backleet@user/backleet)
2021-06-22 09:14:59 +0200Nahra(~user@static.161.95.99.88.clients.your-server.de) (Remote host closed the connection)
2021-06-22 09:16:48 +0200Nahra(~user@static.161.95.99.88.clients.your-server.de)
2021-06-22 09:58:45 +0200 <Solid> mh... if we had a version of catchX that didn't log to stderr we could derive Alternative for X and use guards to check conditions
2021-06-22 10:11:26 +0200berberman_(~berberman@user/berberman)
2021-06-22 10:12:54 +0200berberman(~berberman@user/berberman) (Ping timeout: 264 seconds)
2021-06-22 10:18:28 +0200geekosaur(~geekosaur@xmonad/geekosaur)
2021-06-22 10:22:12 +0200allbery_b(~geekosaur@xmonad/geekosaur) (Ping timeout: 258 seconds)
2021-06-22 11:06:41 +0200qbt(~edun@user/edun)
2021-06-22 11:17:11 +0200cosmos1(~CosmosAtl@180.111.62.57)
2021-06-22 11:28:08 +0200backleet(~backleet@user/backleet) (Ping timeout: 258 seconds)
2021-06-22 12:14:36 +0200cosmos1(~CosmosAtl@180.111.62.57) (Quit: WeeChat 3.2)
2021-06-22 12:20:22 +0200backleet(~backleet@user/backleet)
2021-06-22 12:25:38 +0200backleet(~backleet@user/backleet) (Ping timeout: 258 seconds)
2021-06-22 12:25:49 +0200kajzer(~themainma@user/themainman)
2021-06-22 12:46:59 +0200backleet(~backleet@user/backleet)
2021-06-22 12:53:14 +0200backleet(~backleet@user/backleet) (Ping timeout: 258 seconds)
2021-06-22 13:45:40 +0200backleet(~backleet@user/backleet)
2021-06-22 14:08:22 +0200backleet(~backleet@user/backleet) (Ping timeout: 258 seconds)
2021-06-22 14:09:19 +0200backleet(~backleet@user/backleet)
2021-06-22 14:31:12 +0200backleet(~backleet@user/backleet) (Ping timeout: 252 seconds)
2021-06-22 14:31:34 +0200backleet(~backleet@user/backleet)
2021-06-22 14:37:53 +0200backleet(~backleet@user/backleet) (Ping timeout: 258 seconds)
2021-06-22 14:40:00 +0200backleet(~backleet@user/backleet)
2021-06-22 15:18:52 +0200backleet(~backleet@user/backleet) (Ping timeout: 252 seconds)
2021-06-22 15:31:46 +0200 <dminuoso> freerdp crashes when opening .rdp files with the following error: https://gist.github.com/dminuoso/855e233956248052108e8e2ce30719be
2021-06-22 15:31:56 +0200 <dminuoso> How can I figure out what freerdp is trying to do?
2021-06-22 16:01:16 +0200 <liskin> dminuoso: maybe ltrace can be asked to print the source location of the library calls
2021-06-22 16:02:01 +0200 <liskin> If not then I guess you can set a breakpoint to the Xlib error handler in gdb and then print the backtrace
2021-06-22 16:33:11 +0200geekosaur(~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
2021-06-22 16:35:27 +0200geekosaur(~geekosaur@xmonad/geekosaur)
2021-06-22 16:40:10 +0200cfricke(~cfricke@user/cfricke) (Quit: WeeChat 3.1)
2021-06-22 16:52:02 +0200 <sfrique[m]> Does anybody have a problem with wine on xmonad? for floating. when i try to move some windows to another screen there is a lot of glitches
2021-06-22 16:52:36 +0200 <sfrique[m]> sometimes it cuts the windows size, sometimes the windows kind of "gravitates" to a corner and stick there
2021-06-22 17:53:03 +0200seschwar(~seschwar@user/seschwar)
2021-06-22 18:05:35 +0200thunderrd(~thunderrd@183.182.114.206) (Read error: Connection reset by peer)
2021-06-22 18:07:26 +0200thunderrd(~thunderrd@183.182.114.206)
2021-06-22 20:39:09 +0200thunderrd(~thunderrd@183.182.114.206) (Ping timeout: 265 seconds)
2021-06-22 21:27:07 +0200qbt(~edun@user/edun) (Ping timeout: 268 seconds)
2021-06-22 21:47:37 +0200geekosaur(~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
2021-06-22 21:49:43 +0200geekosaur(~geekosaur@xmonad/geekosaur)
2021-06-22 22:06:02 +0200Kobold(~koboldchi@12.18.150.83)
2021-06-22 22:13:34 +0200mc47(~mc47@xmonad/TheMC47)
2021-06-22 22:14:27 +0200 <mc47> liskin I'd be happy to help with some of the tedious paperwor if it comes to that
2021-06-22 22:15:28 +0200 <mc47> it would be cool to have a financial incentive for (some of) the maintainers, as like you said, the project needs maintenance
2021-06-22 22:16:35 +0200 <mc47> (I just managed to read the logs, I haven't been spending much time in front of the screen)
2021-06-22 22:27:13 +0200themc47(~mc47@xmonad/TheMC47)
2021-06-22 22:27:54 +0200 <dminuoso> liskin: Mmm I give up.
2021-06-22 22:27:59 +0200 <dminuoso> RDP is awful. :(
2021-06-22 22:28:52 +0200 <dminuoso> freerdp misbehaves in strange ways. it holds permanent keyboard grabs..
2021-06-22 22:29:19 +0200 <dminuoso> Which is *not* a fun thing in an environment when you dont have window decorations to kill a window
2021-06-22 22:29:50 +0200mc47(~mc47@xmonad/TheMC47) (Ping timeout: 265 seconds)
2021-06-22 22:32:39 +0200mc47(~mc47@xmonad/TheMC47)
2021-06-22 22:33:44 +0200 <sfrique[m]> dminuoso: have you tried `-grab-keyboard off` ?
2021-06-22 22:34:06 +0200themc47(~mc47@xmonad/TheMC47) (Ping timeout: 252 seconds)
2021-06-22 22:41:22 +0200 <dminuoso> sfrique[m]: ah mmm, I did not notice
2021-06-22 22:42:00 +0200Kobold(~koboldchi@12.18.150.83) (Quit: Leaving)
2021-06-22 23:05:55 +0200 <liskin> dminuoso: might be a good idea to have one of the layout with decorations then :-)
2021-06-22 23:06:23 +0200 <dminuoso> Mmm, cant quite make it out where it goes haywire, it seems that x fails at XSync
2021-06-22 23:06:46 +0200 <dminuoso> Is it correct that x property changes get queued up and flushed on XSync?
2021-06-22 23:09:44 +0200 <liskin> mc47: actually I don't think there will be too much paperwork (that's the whole point of having a fiscal sponsor as opposed to having our own legal entity), but there may be some stuff that can only be done by people who can in some way prove their affiliation to the project (like admins of github org, but maybe possibly some copyrights, I don't know), and there also may be some stuff that can only
2021-06-22 23:09:47 +0200 <liskin> be done by US citizens (like setting up github sponsors for the org)
2021-06-22 23:10:47 +0200mc47(~mc47@xmonad/TheMC47) (Ping timeout: 258 seconds)
2021-06-22 23:12:08 +0200 <liskin> it's quite likely it can all be done in a day if we have all that's needed, it's just that I have no idea what is needed :-)
2021-06-22 23:12:09 +0200mc47(~mc47@xmonad/TheMC47)
2021-06-22 23:12:45 +0200 <liskin> once we agree that we want to try it we can just do it and see :-)
2021-06-22 23:13:21 +0200 <liskin> dminuoso: I have no idea about xsync and prop changes; last time I needed to know something like this I just googled and maybe looked it up in xlib sources
2021-06-22 23:15:04 +0200 <geekosaur> most things queue up for XSync calls, I think
2021-06-22 23:16:48 +0200 <dminuoso> Well I have pinpointed it down
2021-06-22 23:17:21 +0200 <dminuoso> XChangeProperty(xfc->display, appWindow->handle, xfc->_NET_WM_WINDOW_TYPE, XA_ATOM, 32, PropModeReplace, (BYTE*)&window_type, 1);
2021-06-22 23:17:39 +0200seschwar(~seschwar@user/seschwar) (Quit: :wq)
2021-06-22 23:18:15 +0200 <dminuoso> https://github.com/FreeRDP/FreeRDP/blob/master/client/X11/xf_window.c#L658-L661
2021-06-22 23:18:23 +0200 <dminuoso> With this atom mmm
2021-06-22 23:20:06 +0200mc47(~mc47@xmonad/TheMC47) (Ping timeout: 265 seconds)
2021-06-22 23:22:17 +0200 <liskin> "Atom id in failed request: 0x0" - do we trust this or not?
2021-06-22 23:23:26 +0200 <dminuoso> oh heh
2021-06-22 23:24:03 +0200 <dminuoso> liskin: I wouldnt
2021-06-22 23:24:17 +0200 <dminuoso> Im `p`ing in gdb, and Im seeing different values here
2021-06-22 23:24:28 +0200 <dminuoso> Although huh
2021-06-22 23:24:30 +0200 <dminuoso> What the heck
2021-06-22 23:24:35 +0200 <dminuoso> (gdb) p window_type
2021-06-22 23:24:37 +0200 <dminuoso> $4 = 0
2021-06-22 23:27:05 +0200 <liskin> that's weird, all the if branches set a value
2021-06-22 23:27:19 +0200 <liskin> perhaps xfc is uninitialized?
2021-06-22 23:27:35 +0200 <liskin> (I'm assuming XInternAtom can't really return a zero normally, can it?)
2021-06-22 23:27:58 +0200 <dminuoso> nah, if xfc was uninitialized everything would be crashing left and right
2021-06-22 23:37:26 +0200 <liskin> yeah, so what do you get if you p all the xfc->_NET_WM_WINDOW_TYPE_DROPDOWN_MENU, xfc->_NET_WM_WINDOW_TYPE_NORMAL, xfc->_NET_WM_WINDOW_TYPE_DIALOG ?
2021-06-22 23:37:38 +0200 <dminuoso> liskin: Ah I just suck at nix it seems
2021-06-22 23:37:57 +0200 <liskin> :-D
2021-06-22 23:38:14 +0200 <dminuoso> nix-shell -p '(pkgs.enableDebugging pkgs.freerdp)'
2021-06-22 23:38:18 +0200 <dminuoso> Does not do what I think it does
2021-06-22 23:38:24 +0200 <dminuoso> Bleerg
2021-06-22 23:39:05 +0200liskinstill knows nothing about nix and after this zurihac, I have even less motivation to learn anything about it then before :-)
2021-06-22 23:39:40 +0200 <dminuoso> heh, I learned much new stuff today about nixos modules
2021-06-22 23:39:58 +0200 <dminuoso> its a bit disgusting that you kind of have to understand all the internals in order to not be surprised left and right
2021-06-22 23:40:34 +0200 <liskin> that's probably true of xmonad too :-)
2021-06-22 23:40:57 +0200 <geekosaur> true, but a lot less to be understood than of nix
2021-06-22 23:40:57 +0200 <dminuoso> window_type
2021-06-22 23:41:01 +0200 <dminuoso> $1 = 393
2021-06-22 23:41:40 +0200 <dminuoso> geekosaur: with xmonad you can just use whatever is in contrib and never worry about all the X quirks
2021-06-22 23:41:51 +0200 <dminuoso> You'll probably survive, until you want to use freerdp..
2021-06-22 23:41:53 +0200 <dminuoso> :-P
2021-06-22 23:41:57 +0200 <liskin> okay fair enough
2021-06-22 23:42:25 +0200 <liskin> anyway, window_type=393, but you sure that's the one it crashes with?
2021-06-22 23:43:52 +0200 <dminuoso> Im not sure of anything, this is still an optimized build..
2021-06-22 23:46:08 +0200 <liskin> oh
2021-06-22 23:46:39 +0200 <geekosaur> "If only_if_exists is False, the atom is created if it does not exist. Therefore, XInternAtom() can return None."
2021-06-22 23:47:10 +0200 <liskin> back when I used to do these things, reading the asm was a good way to tell what the real value might be
2021-06-22 23:47:22 +0200 <liskin> but gdb would usually tell you if it wasn't sure
2021-06-22 23:47:51 +0200 <liskin> https://github.com/FreeRDP/FreeRDP/blob/670cf8512ba751054b0e09d5c41e890953fbbb62/client/X11/xf_cli…
2021-06-22 23:48:08 +0200 <liskin> only_if_exists seems to be FALSE, so it should be fine
2021-06-22 23:53:46 +0200 <liskin> heading to bed, good look with the rest of the debugging, good night :-)
2021-06-22 23:54:24 +0200 <dminuoso> liskin: thanks!
2021-06-22 23:54:31 +0200 <dminuoso> Found it
2021-06-22 23:54:33 +0200 <dminuoso> It was something else
2021-06-22 23:54:41 +0200 <dminuoso> xf_SetWindowUnlisted(xfc, appWindow->handle);
2021-06-22 23:55:00 +0200 <dminuoso> If I XSync right before it, everything is fine, XSync after and I get the BadAtom error
2021-06-22 23:55:12 +0200 <dminuoso> Oh
2021-06-22 23:57:40 +0200 <dminuoso> That function is optimized away :(
2021-06-22 23:59:29 +0200 <dminuoso> geekosaur: Thank you too.
2021-06-22 23:59:32 +0200 <dminuoso> I think I figured it out