2021/06/23

2021-06-23 00:04:37 +0000 <geekosaur> You send a Minimize message to minimize a window. But see XMonad.Actions.Minimize for more
2021-06-23 00:09:29 +0000 <henninb> the challenge i am having is compilation, geekosaur. i get an error of Data constructor not in scope
2021-06-23 00:09:41 +0000 <geekosaur> I don't see RestoreNextMinimizeWin anywhere in the repo, where did you get it?
2021-06-23 00:10:03 +0000 <henninb> i see people using it in github
2021-06-23 00:10:26 +0000 <geekosaur> nor do I see anything like it except some similar in concept functions in X.A.Minimize
2021-06-23 00:10:36 +0000 <geekosaur> can you provide an example?
2021-06-23 00:10:43 +0000 <henninb> https://github.com/Deepakkoli93/dotfiles-1/blob/cc89434a5f20255d0217918c8fe30c34efa96284/.xmonad/x…
2021-06-23 00:11:24 +0000 <henninb> maybe this code is depricated.
2021-06-23 00:12:20 +0000 <henninb> maybe a better question is how can I maximize a window that is minimized?
2021-06-23 00:14:33 +0000 <geekosaur> which is answered in the current version
2021-06-23 00:15:02 +0000 <henninb> i will take a look
2021-06-23 00:15:07 +0000 <geekosaur> RestoreNextMinimizedWin went away some 5 years ago, the replacement is: withLastMinimized maximizeWindow
2021-06-23 00:15:15 +0000 <geekosaur> which is from XMonad.Actions.Minimize
2021-06-23 00:15:36 +0000 <henninb> ok, sorry for the dumb question. thanks for pointing that out.
2021-06-23 00:16:18 +0000 <geekosaur> I had to dig for it myself using git blame
2021-06-23 00:16:43 +0000 <henninb> :)
2021-06-23 00:16:45 +0000 <geekosaur> luckily I'm kinda used to xmonad archeology >.>
2021-06-23 00:17:29 +0000 <henninb> i am loving xmonad. it has helped me slowly learn haskell.
2021-06-23 00:26:03 +0000 <henninb> thank you geekosaur, have a good day.
2021-06-23 00:31:06 +0000henninb(~henninb@63.226.174.157) (Remote host closed the connection)
2021-06-23 02:04:28 +0000banc(banc@gateway/vpn/airvpn/banc) (Ping timeout: 252 seconds)
2021-06-23 02:23:24 +0000banc(banc@gateway/vpn/airvpn/banc)
2021-06-23 02:55:48 +0000td_(~td@94.134.91.59) (Ping timeout: 252 seconds)
2021-06-23 02:57:42 +0000td_(~td@muedsl-82-207-238-055.citykom.de)
2021-06-23 03:59:49 +0000thunderrd(~thunderrd@183.182.114.206)
2021-06-23 05:43:43 +0000backleet(~backleet@user/backleet)
2021-06-23 05:53:16 +0000backleet(~backleet@user/backleet) (Ping timeout: 252 seconds)
2021-06-23 05:56:32 +0000backleet(~backleet@user/backleet)
2021-06-23 06:31:51 +0000 <dminuoso> geekosaur: Alright I fell asleep yesterday. Thank you for your guidance, it was indeed the missing _NET_WT_STATE capability. Doing this made freerdp work.. somewhat.
2021-06-23 06:31:58 +0000 <dminuoso> Only to error randomly on other X interactions
2021-06-23 06:32:16 +0000 <Solid> uff
2021-06-23 06:32:52 +0000 <dminuoso> Xmonad and nix have one thing in common: They highlight poorly written non-portable software that blindly assume "things to be just some way"
2021-06-23 06:36:15 +0000 <Solid> ...and then they ask people to do things in _their_ non-portable way :P
2021-06-23 06:36:47 +0000berberman(~berberman@user/berberman)
2021-06-23 06:37:01 +0000 <dminuoso> Dunno, with the software that I write and interact with, writing nix derivations was mostly completely effort less and 0-work
2021-06-23 06:37:41 +0000 <dminuoso> For my software its as simple as (callCabal2Nix "freyja-server" ./freyja-server {}) and my package magically builds with nix as well as with cabal..
2021-06-23 06:38:06 +0000berberman_(~berberman@user/berberman) (Ping timeout: 264 seconds)
2021-06-23 06:38:24 +0000 <Solid> I was reminded of nix's resistance to provide a proper /bin/bash, which breaks lots of scripts (I guess bash is not portable to begin with, but still)
2021-06-23 06:38:56 +0000 <dminuoso> Yeah, the state with scripts is a bit sorrow
2021-06-23 06:39:08 +0000 <dminuoso> But I cant say too much about it because I haven't actually dived in
2021-06-23 06:39:39 +0000 <dminuoso> /usr/bin/env bash
2021-06-23 06:39:43 +0000 <dminuoso> This works mostly though
2021-06-23 06:39:56 +0000 <Solid> yeah, but the problem with that is that the path of env is not specified by POSIX
2021-06-23 06:40:04 +0000 <Solid> so this is really trading one non-portable solution for another
2021-06-23 06:40:13 +0000 <dminuoso> To be fair, what nix really does is actually POSIX compliant
2021-06-23 06:40:41 +0000 <dminuoso> Which says something along the lines of that "on installation you should set program paths to be suitable for your system"
2021-06-23 06:40:57 +0000 <dminuoso> The whole notion of fixed shebangs already breaks this idea
2021-06-23 06:41:05 +0000 <Solid> that is true
2021-06-23 06:41:24 +0000 <Solid> well, one could always shout at people not writing /bin/sh scripts :>
2021-06-23 06:47:42 +0000 <dminuoso> https://pubs.opengroup.org/onlinepubs/9699919799/utilities/sh.html#tag_20_117_16
2021-06-23 06:47:46 +0000 <dminuoso> `Furthermore, on systems that support executable scripts (the "#!" construct), it is recommended that applications using executable scripts install them using getconf PATH to determine the shell pathname and update the "#!" script appropriately as it is being installed (for example, with sed). For example:`
2021-06-23 06:48:20 +0000 <dminuoso> NExt up
2021-06-23 06:48:22 +0000 <dminuoso> Applications should note that the standard PATH to the shell cannot be assumed to be either /bin/sh or /usr/bin/sh, and should be determined by interrogation of the PATH returned by getconf PATH, ensuring that the returned pathname is an absolute pathname and not a shell built-in.
2021-06-23 06:48:30 +0000 <dminuoso> Solid: So even /bin/sh is a problematic assumption
2021-06-23 06:48:32 +0000backleet(~backleet@user/backleet) (Ping timeout: 268 seconds)
2021-06-23 06:49:05 +0000 <dminuoso> In reality even nix admits /bin/sh for convenience
2021-06-23 06:50:14 +0000 <dminuoso> λ ~/ command -v sh ~
2021-06-23 06:50:16 +0000 <dminuoso> /run/current-system/sw/bin/sh
2021-06-23 06:50:20 +0000 <dminuoso> Guess that works
2021-06-23 06:51:18 +0000 <Solid> oh wow, that actually surprises me
2021-06-23 06:52:52 +0000 <dminuoso> From experience, nowadays few developers even know what POSIX means or ever bothered to look up any of its specifications.
2021-06-23 06:53:28 +0000 <dminuoso> Hell, I know I rarely do
2021-06-23 06:54:37 +0000 <dminuoso> Presumably its the same thing with people writing windowed applications, dont think most look up the (extremely scarce) documentation or even know what ICCCM or EWMH even is
2021-06-23 06:55:09 +0000 <dminuoso> From all my experience, you have to be a geekosaur to know what you're doing with X.
2021-06-23 06:56:37 +0000 <Solid> yes, that has been my impression as well
2021-06-23 06:56:56 +0000 <Solid> I wonder if it'll be better for wayland
2021-06-23 07:02:50 +0000dminuosoadmits he has absolutely no clue how wayland works differently, or where things are specified
2021-06-23 07:03:10 +0000 <dminuoso> All I know is that, as an xmonad user, I likely wont even try wayland any time soon
2021-06-23 07:03:28 +0000 <dminuoso> waymonad seems to have stalled pretty much
2021-06-23 07:10:32 +0000 <liskin> Some folks were trying to revive it during ZuriHac. As far as I know they're still to this day trying to get it to build.
2021-06-23 07:11:56 +0000 <Solid> yeah I'd imagine the haskell bindings for wlroots need some work for that
2021-06-23 07:12:10 +0000 <Solid> although I remember the maintainer of taffybar saying he managed to build it
2021-06-23 07:12:20 +0000 <Solid> s/he/they/
2021-06-23 07:12:39 +0000 <liskin> But I think everything will just be worse anyway. X started in an era where having standards was considered a good thing. Wayland comes from an era where standardization is seen as an avoidable overhead.
2021-06-23 07:13:16 +0000 <liskin> Yeah Ivan has a couple commits in waymonad.
2021-06-23 07:15:04 +0000 <Solid> oh apparently there is an active fork now
2021-06-23 07:15:06 +0000 <Solid> https://github.com/L-as/waymonad
2021-06-23 07:15:23 +0000 <liskin> Yeah that's the ZuriHac folks
2021-06-23 07:15:26 +0000 <Solid> and it seems to build with nix at least
2021-06-23 07:27:28 +0000Orbstheorem(~orbstheor@2001:470:69fc:105::a56) ()
2021-06-23 08:17:32 +0000geekosaur(~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b)))
2021-06-23 08:17:32 +0000allbery_b(~geekosaur@xmonad/geekosaur)
2021-06-23 08:18:27 +0000cosmos1(~CosmosAtl@180.111.62.57)
2021-06-23 08:35:29 +0000cosmos1(~CosmosAtl@180.111.62.57) (Quit: WeeChat 3.2)
2021-06-23 09:17:47 +0000cfricke(~cfricke@user/cfricke)
2021-06-23 09:56:22 +0000mc47(~mc47@xmonad/TheMC47)
2021-06-23 10:04:28 +0000qbt(~edun@user/edun)
2021-06-23 10:29:52 +0000qbt(~edun@user/edun) (Ping timeout: 265 seconds)
2021-06-23 12:03:46 +0000backleet(~backleet@user/backleet)
2021-06-23 12:27:20 +0000backleet(~backleet@user/backleet) (Ping timeout: 258 seconds)
2021-06-23 12:40:03 +0000mc47(~mc47@xmonad/TheMC47) (Remote host closed the connection)
2021-06-23 12:40:22 +0000cfricke(~cfricke@user/cfricke) (Ping timeout: 265 seconds)
2021-06-23 12:49:30 +0000cfricke(~cfricke@user/cfricke)
2021-06-23 12:54:56 +0000cfricke(~cfricke@user/cfricke) (Ping timeout: 258 seconds)
2021-06-23 13:07:26 +0000seschwar(~seschwar@user/seschwar)
2021-06-23 13:13:00 +0000Magician(deepy@user/deepy)
2021-06-23 13:14:47 +0000deepy(deepy@user/deepy) (Ping timeout: 244 seconds)
2021-06-23 13:15:02 +0000Nahra`(~user@static.161.95.99.88.clients.your-server.de)
2021-06-23 13:15:06 +0000Nahra(~user@static.161.95.99.88.clients.your-server.de) (Ping timeout: 252 seconds)
2021-06-23 13:24:19 +0000cfricke(~cfricke@user/cfricke)
2021-06-23 13:27:13 +0000allbery_bgeekosaur
2021-06-23 13:30:02 +0000backleet(~backleet@user/backleet)
2021-06-23 13:50:38 +0000kajzer(~themainma@user/themainman)
2021-06-23 13:51:18 +0000kajzer(~themainma@user/themainman) (Client Quit)
2021-06-23 13:51:34 +0000kajzer(~themainma@user/themainman)
2021-06-23 13:51:40 +0000kajzer(~themainma@user/themainman) ()
2021-06-23 14:30:00 +0000backleet(~backleet@user/backleet) (Ping timeout: 258 seconds)
2021-06-23 15:13:03 +0000tv(~tv@user/tv) (Ping timeout: 268 seconds)
2021-06-23 15:13:51 +0000tv(~tv@user/tv)
2021-06-23 15:36:19 +0000cfricke(~cfricke@user/cfricke) (Quit: WeeChat 3.1)
2021-06-23 16:42:10 +0000backleet(~backleet@user/backleet)
2021-06-23 17:03:10 +0000mc47(~mc47@xmonad/TheMC47)
2021-06-23 17:21:40 +0000backleet(~backleet@user/backleet) (Ping timeout: 250 seconds)
2021-06-23 17:22:40 +0000backleet(~backleet@user/backleet)
2021-06-23 17:29:01 +0000backleet(~backleet@user/backleet) (Ping timeout: 258 seconds)
2021-06-23 18:53:35 +0000allbery_b(~geekosaur@xmonad/geekosaur)
2021-06-23 18:53:35 +0000geekosaur(~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b)))
2021-06-23 19:01:44 +0000allbery_bgeekosaur
2021-06-23 19:30:37 +0000Guest69(~Guest69@124.40.244.150)
2021-06-23 19:36:16 +0000Guest69(~Guest69@124.40.244.150) (Ping timeout: 246 seconds)
2021-06-23 19:37:02 +0000Guest69(~Guest69@124.40.244.150)
2021-06-23 19:39:55 +0000Guest69(~Guest69@124.40.244.150) (Client Quit)
2021-06-23 20:01:24 +0000backleet(~backleet@user/backleet)
2021-06-23 20:13:51 +0000backleet(~backleet@user/backleet) (Ping timeout: 258 seconds)
2021-06-23 20:15:43 +0000backleet(~backleet@user/backleet)
2021-06-23 20:24:29 +0000mc47(~mc47@xmonad/TheMC47) (Remote host closed the connection)
2021-06-23 20:24:53 +0000mc47(~mc47@xmonad/TheMC47)
2021-06-23 20:25:50 +0000mc47(~mc47@xmonad/TheMC47) (Client Quit)
2021-06-23 20:30:42 +0000geekosaur(~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b)))
2021-06-23 20:30:42 +0000allbery_b(~geekosaur@xmonad/geekosaur)
2021-06-23 20:30:51 +0000allbery_bgeekosaur
2021-06-23 20:35:48 +0000 <dminuoso> liskin: by the way, with the help of geekosaur we figured it out.
2021-06-23 20:36:36 +0000 <dminuoso> ewmh in xmonad-contrib does not advertise _NET_WM_STATE, and freerdp is written buggily - it does first check whether its supported, and then completely disregards this information and assumes it is..
2021-06-23 20:36:55 +0000 <dminuoso> Turns out, after fixing that, there's a bunch of other X errors freerdp provokes irregularly during usage..
2021-06-23 20:38:07 +0000 <dminuoso> not sure whether there's any xmonad compatible rdp software Id be willing to install on my laptop
2021-06-23 20:51:25 +0000geekosaur(~geekosaur@xmonad/geekosaur) (Ping timeout: 246 seconds)
2021-06-23 20:53:31 +0000geekosaur(~geekosaur@xmonad/geekosaur)
2021-06-23 21:01:22 +0000 <liskin> dminuoso: yeah I saw that; ewmhFullscreen probably fixes that but a patch to freerdp should be posted
2021-06-23 21:01:29 +0000 <dminuoso> It does not
2021-06-23 21:01:46 +0000 <liskin> I used to use rdesktop in the past, it worked
2021-06-23 21:01:56 +0000 <dminuoso> Hold on, whats ewmhFullscreen
2021-06-23 21:02:01 +0000 <liskin> As a client, that is
2021-06-23 21:02:04 +0000 <dminuoso> Did you mean fullscreenEventHook?
2021-06-23 21:02:16 +0000 <liskin> No, I mean ewmhFullscreen
2021-06-23 21:02:24 +0000 <dminuoso> Mmm, is that new?
2021-06-23 21:02:31 +0000 <dminuoso> hoogle doenst find it
2021-06-23 21:02:49 +0000 <liskin> Not in a release, but not really new either
2021-06-23 21:03:20 +0000 <dminuoso> Ah yes, looking at it it should be sufficient
2021-06-23 21:03:21 +0000 <liskin> First posted it in like 2016 and merged last year or something
2021-06-23 21:03:24 +0000 <dminuoso> I have the equivalent already activated now
2021-06-23 21:03:49 +0000 <dminuoso> Perhaps I should try updating xmonad-contrib and use ewmhFullscreen and see whether that improves anythign
2021-06-23 21:05:18 +0000 <liskin> We should really start doing more frequent releases, but I need to fix that ewmh activation stuff :-/
2021-06-23 21:05:29 +0000 <liskin> And I'll be out till mid July
2021-06-23 21:05:50 +0000 <liskin> Anyway, afk
2021-06-23 21:09:49 +0000backleet(~backleet@user/backleet) (Ping timeout: 258 seconds)
2021-06-23 21:11:39 +0000backleet(~backleet@user/backleet)
2021-06-23 21:16:31 +0000Guest19(~Guest19@pool-96-252-123-136.bstnma.fios.verizon.net)
2021-06-23 21:17:10 +0000 <Guest19> Can xmonad function well as a stacking window manager?
2021-06-23 21:23:05 +0000Guest19(~Guest19@pool-96-252-123-136.bstnma.fios.verizon.net) (Quit: Client closed)
2021-06-23 21:26:58 +0000 <dminuoso> Sure
2021-06-23 21:27:10 +0000 <dminuoso> There's XMonad.Layout.StackTile for instance
2021-06-23 21:27:15 +0000 <geekosaur> they left already
2021-06-23 21:27:21 +0000 <geekosaur> there's also X.L.Dishes
2021-06-23 21:27:27 +0000 <dminuoso> Mmm, my weechat didn't show
2021-06-23 21:28:00 +0000geekosaurgot sucked into a rabbit hole >.>
2021-06-23 21:28:07 +0000 <geekosaur> we have too many layouts
2021-06-23 21:44:30 +0000seschwar(~seschwar@user/seschwar) (Quit: :wq)
2021-06-23 21:48:49 +0000backleet(~backleet@user/backleet) (Ping timeout: 246 seconds)
2021-06-23 21:50:57 +0000backleet(~backleet@user/backleet)
2021-06-23 22:30:28 +0000backleet(~backleet@user/backleet) (Ping timeout: 246 seconds)