Home freenode/#xmonad: Logs Calendar

Logs on 2021-02-18 (freenode/#xmonad)

00:30:23 × notis quits (~notis@185.51.134.229) (Read error: Connection reset by peer)
00:32:44 × MrElendig quits (~Urist@archlinux/op/pdpc.supporter.active.mrelendig) (Ping timeout: 240 seconds)
00:33:38 × funaali_ quits (~funaali@2a01:4f8:1c1c:2605::1) (Ping timeout: 264 seconds)
00:33:42 MrElendig joins (~Urist@archlinux/op/pdpc.supporter.active.mrelendig)
00:33:58 funaali joins (~funaali@2a01:4f8:1c1c:2605::1)
01:27:33 × def_jam quits (~eblip@unaffiliated/eblip) (Quit: WeeChat 2.3)
01:58:34 × ttmx quits (5e3ee76f@gateway/web/cgi-irc/kiwiirc.com/ip.94.62.231.111) (Ping timeout: 265 seconds)
01:59:33 × AlexNevesky quits (~brtt@2600:8804:8689:3f00::2395) (Quit: WeeChat 3.0)
02:04:37 materiyolo joins (~materiyol@112.204.169.246)
02:20:11 × materiyolo quits (~materiyol@112.204.169.246) (Quit: WeeChat 2.9)
02:25:06 gazler_ joins (~gazler@195.107.2.81.in-addr.arpa)
02:27:33 × gazler quits (~gazler@195.107.2.81.in-addr.arpa) (Ping timeout: 264 seconds)
02:29:07 × friki- quits (~friki@friki.cat) (Quit: %friki%)
02:30:28 eb0t joins (~eblip@unaffiliated/eblip)
02:30:49 friki joins (~friki@friki.cat)
02:38:13 × friki quits (~friki@friki.cat) (Quit: %friki%)
02:38:43 friki joins (~friki@friki.cat)
02:46:43 xaltsc joins (~xaltsc@unaffiliated/xaltsc)
02:50:57 × thc202 quits (~thc202@unaffiliated/thc202) (Ping timeout: 260 seconds)
02:57:14 hexo| joins (~hexo@2a01:430:17:1::ffff:328)
02:59:16 haasn` joins (~nand@mpv/developer/haasn)
02:59:23 crmaurei_ joins (crmaurei@nat/qt/x-cevnpryauojgtcok)
02:59:23 st13g joins (~quassel@47.90.246.232)
02:59:34 × hexo- quits (~hexo@83.167.228.130) (Remote host closed the connection)
02:59:34 × ml| quits (~ml|@unaffiliated/ml/x-3958674) (Ping timeout: 240 seconds)
02:59:34 × st13g_ quits (~quassel@47.90.246.232) (Ping timeout: 240 seconds)
02:59:34 × crmaurei quits (crmaurei@nat/qt/x-gtxmnsyobtvfsess) (Quit: No Ping reply in 180 seconds.)
02:59:41 × haasn quits (~nand@mpv/developer/haasn) (Ping timeout: 244 seconds)
02:59:41 × wagle quits (~wagle@quassel.wagle.io) (Remote host closed the connection)
02:59:56 × eb0t quits (~eblip@unaffiliated/eblip) (Ping timeout: 240 seconds)
03:00:34 ml| joins (~ml|@unaffiliated/ml/x-3958674)
03:01:03 haasn` is now known as haasn
03:01:42 × feepo quits (sid28508@gateway/web/irccloud.com/x-pdtrfecihbdlivyv) (Ping timeout: 242 seconds)
03:01:48 wagle joins (~wagle@quassel.wagle.io)
03:03:41 feepo joins (sid28508@gateway/web/irccloud.com/x-wcewznnvlbknipja)
03:06:24 eb0t joins (~eblip@unaffiliated/eblip)
03:42:05 × theDon quits (~td@94.134.91.226) (Ping timeout: 240 seconds)
03:44:15 theDon joins (~td@94.134.91.146)
04:41:40 jchia1 joins (~jchia@218.80.127.84)
04:41:48 × jchia quits (~jchia@218.80.75.223) (Ping timeout: 256 seconds)
06:09:32 palo1 joins (~weechat@c-base/crew/palo)
06:12:31 × palo quits (~weechat@c-base/crew/palo) (Ping timeout: 260 seconds)
06:12:31 palo1 is now known as palo
07:04:01 jchia joins (~jchia@45.32.62.73)
07:05:00 × jchia1 quits (~jchia@218.80.127.84) (Ping timeout: 265 seconds)
07:07:11 × jchia quits (~jchia@45.32.62.73) (Remote host closed the connection)
07:08:17 jchia joins (~jchia@218.80.79.195)
07:17:45 <Solid> ?tell AlexNevesky there is X.H.EwmhDesktops.fullscreenEventHook ; if you use xmonad-contrib git there's also the much better ewmhFullscreen
07:17:45 <lambdabot> Consider it noted.
07:39:48 × jchia quits (~jchia@218.80.79.195) (Ping timeout: 265 seconds)
07:42:36 × engblom quits (~foo@62-121-47-42.static.lounea.fi) (Changing host)
07:42:36 engblom joins (~foo@unaffiliated/engblom)
07:58:35 cfricke joins (~cfricke@unaffiliated/cfricke)
08:09:43 gazler_ is now known as gazler
08:13:24 jchia joins (~jchia@45.32.62.73)
08:17:03 × jchia quits (~jchia@45.32.62.73) (Remote host closed the connection)
08:17:26 jchia joins (~jchia@58.41.31.60)
08:22:35 idhugo_ joins (~idhugo@80-62-117-97-mobile.dk.customer.tdc.net)
08:51:06 malook joins (~Thunderbi@2a02:9b0:4000:9581:78ca:bd4a:8d9e:3503)
09:16:11 notis joins (~notis@185.51.134.229)
09:33:20 <deebo> argh, was there some tool to figure out what pid's (or what ever definitions) are eating keyboard events? once again after a reboot i can't mod + mouse button drag/resize floating windows
09:33:30 <deebo> last reboot was so long ago i forgot what fixed it last time :)
09:34:17 <deebo> if i mod-mouse click a window it changes the active window, same as mod-enter
09:34:33 <deebo> what it should do is float it and allowme to move it
09:44:10 <deebo> is this channel logged somewhere, i bet i could find me asking this the last time and the answer
09:44:56 <Liskni_si> deebo: logged here https://ircbrowse.tomsmeding.com/browse/xmonad
09:55:00 jchia1 joins (~jchia@45.32.62.73)
09:56:14 × jchia1 quits (~jchia@45.32.62.73) (Remote host closed the connection)
09:56:45 × jchia quits (~jchia@58.41.31.60) (Ping timeout: 240 seconds)
09:56:48 jchia1 joins (~jchia@45.32.62.73)
09:58:07 × jchia1 quits (~jchia@45.32.62.73) (Remote host closed the connection)
09:58:54 jchia joins (~jchia@218.80.123.13)
10:03:39 × malook quits (~Thunderbi@2a02:9b0:4000:9581:78ca:bd4a:8d9e:3503) (Quit: malook)
10:16:06 idhugo__ joins (~idhugo@80-62-117-86-mobile.dk.customer.tdc.net)
10:17:10 <deebo> yeah if i change to mod1, everything works, so something in my mate environment is swallowing the mod4/super key
10:17:22 <deebo> zero idea what, or how to figure out what it is
10:18:55 × idhugo_ quits (~idhugo@80-62-117-97-mobile.dk.customer.tdc.net) (Ping timeout: 260 seconds)
10:20:05 <Liskni_si> I think you can setxkbmap -option grab:debug and then xdotool key XF86LogGrabInfo
10:20:19 <Liskni_si> and then look at the X server log file to see what grabbed what
10:20:37 <Liskni_si> (and then don't forget to revert the grab:debug otherwise your lockscreen won't be secure any more)
10:21:04 <Liskni_si> and note I haven't tried these commands, just pieced them together from what I vaguely remember and was ablet to quickly google
10:31:37 thc202 joins (~thc202@unaffiliated/thc202)
11:40:37 × ericsagn1 quits (~ericsagne@2405:6580:0:5100:39c8:7a81:4ef5:3dca) (Ping timeout: 260 seconds)
11:41:21 cccc joins (4f790369@host-79-121-3-105.kabelnet.hu)
11:46:02 × cccc quits (4f790369@host-79-121-3-105.kabelnet.hu) (Quit: Connection closed)
11:52:32 ericsagn1 joins (~ericsagne@2405:6580:0:5100:5738:bc6a:4277:971e)
13:07:58 × scardinal quits (~supreme@unaffiliated/scardinal) (Quit: leaving)
13:20:13 geekosaur joins (82650c7a@130.101.12.122)
13:34:42 <geekosaur> deebo, it's the menu widget. I'm updating the wiki with an explanation of how to reset it, or read your messages (I put it in thewrong channel initially)
13:36:42 <geekosaur> wiki updated https://wiki.haskell.org/Xmonad/Using_xmonad_in_MATE#Freeing_up_Mod4
13:44:20 everythingTaken joins (~everythin@gateway/tor-sasl/everythingtaken)
13:56:44 × notis quits (~notis@185.51.134.229) (Read error: Connection reset by peer)
13:59:19 seschwar joins (~seschwar@unaffiliated/seschwar)
13:59:42 × everythingTaken quits (~everythin@gateway/tor-sasl/everythingtaken) (Quit: everythingTaken)
14:50:18 × geekosaur quits (82650c7a@130.101.12.122) (Quit: Connection closed)
14:58:09 scardinal joins (~supreme@unaffiliated/scardinal)
14:59:59 everythingTaken joins (~everythin@gateway/tor-sasl/everythingtaken)
15:08:41 engblom parts (~foo@unaffiliated/engblom) ()
15:12:06 idhugo_ joins (~idhugo@130.225.16.16)
15:14:01 × everythingTaken quits (~everythin@gateway/tor-sasl/everythingtaken) (Quit: everythingTaken)
15:15:02 × idhugo__ quits (~idhugo@80-62-117-86-mobile.dk.customer.tdc.net) (Ping timeout: 272 seconds)
15:32:16 idhugo joins (~idhugo@80-62-117-86-mobile.dk.customer.tdc.net)
15:33:55 × idhugo_ quits (~idhugo@130.225.16.16) (Ping timeout: 260 seconds)
15:39:27 idhugo_ joins (~idhugo@130.225.16.16)
15:41:53 × ericsagn1 quits (~ericsagne@2405:6580:0:5100:5738:bc6a:4277:971e) (Ping timeout: 265 seconds)
15:42:02 × idhugo quits (~idhugo@80-62-117-86-mobile.dk.customer.tdc.net) (Ping timeout: 264 seconds)
15:51:04 notis joins (~notis@185.51.134.222)
15:54:28 ericsagn1 joins (~ericsagne@2405:6580:0:5100:2bc8:4fa9:77f0:c682)
16:40:26 mc47 joins (~yecinem@89.246.239.190)
16:42:11 × cfricke quits (~cfricke@unaffiliated/cfricke) (Quit: WeeChat 3.0.1)
16:43:06 malook joins (~Thunderbi@2a02:9b0:4000:9581:e1d3:897a:f286:1fc6)
16:46:00 × malook quits (~Thunderbi@2a02:9b0:4000:9581:e1d3:897a:f286:1fc6) (Client Quit)
16:55:23 geekosaur joins (82650c7a@130.101.12.122)
17:08:52 × idhugo_ quits (~idhugo@130.225.16.16) (Read error: Connection reset by peer)
17:10:27 idhugo_ joins (~idhugo@80-62-117-86-mobile.dk.customer.tdc.net)
17:22:57 × idhugo_ quits (~idhugo@80-62-117-86-mobile.dk.customer.tdc.net) (Ping timeout: 272 seconds)
17:46:02 tremon joins (~aschuring@217-63-61-89.cable.dynamic.v4.ziggo.nl)
17:55:09 × gazler quits (~gazler@195.107.2.81.in-addr.arpa) (Remote host closed the connection)
17:56:49 gazler joins (~gazler@195.107.2.81.in-addr.arpa)
17:59:10 × gazler quits (~gazler@195.107.2.81.in-addr.arpa) (Remote host closed the connection)
18:00:03 gazler joins (~gazler@81.2.107.195)
18:00:39 × gazler quits (~gazler@81.2.107.195) (Remote host closed the connection)
18:01:07 gazler joins (~gazler@81.2.107.195)
18:16:26 × thc202 quits (~thc202@unaffiliated/thc202) (Ping timeout: 240 seconds)
18:34:02 × geekosaur quits (82650c7a@130.101.12.122) (Ping timeout: 240 seconds)
18:40:31 × MrElendig quits (~Urist@archlinux/op/pdpc.supporter.active.mrelendig) (Quit: crashing into mars)
18:45:22 geekosaur joins (82650c7a@130.101.12.122)
18:45:23 MrElendig joins (~Urist@archlinux/op/pdpc.supporter.active.mrelendig)
18:59:42 × geekosaur quits (82650c7a@130.101.12.122) (Ping timeout: 240 seconds)
19:15:07 × ryjm quits (sid383513@gateway/web/irccloud.com/x-nwcdeqfygfvvwnek) (Remote host closed the connection)
19:15:07 × lally quits (sid388228@gateway/web/irccloud.com/x-atokysbqldyuqfqn) (Remote host closed the connection)
19:17:26 geekosaur joins (82650c7a@130.101.12.122)
19:53:18 lally joins (sid388228@gateway/web/irccloud.com/x-xvklboeubojhbnmy)
19:59:02 ryjm joins (sid383513@gateway/web/irccloud.com/x-uwvroghwmagqppfc)
20:56:22 × geekosaur quits (82650c7a@130.101.12.122) (Ping timeout: 240 seconds)
21:05:54 × ryjm quits (sid383513@gateway/web/irccloud.com/x-uwvroghwmagqppfc) (Remote host closed the connection)
21:05:54 × lally quits (sid388228@gateway/web/irccloud.com/x-xvklboeubojhbnmy) (Remote host closed the connection)
21:08:22 geekosaur joins (82650c7a@130.101.12.122)
21:11:44 <mc47> moving the DynamicLog documentation to StatusBar feels like cheating...
21:11:55 <mc47> kudos to whoever wrote it in the first place, it's awesome
21:19:21 lally joins (sid388228@gateway/web/irccloud.com/x-wbgxlvraedqmtqcc)
21:23:57 <geekosaur> I should have made that commit/revert pair go away
21:28:29 ryjm joins (sid383513@gateway/web/irccloud.com/x-alpbngknwzxmptcz)
21:33:57 <geekosaur> ok, it's gone along with the other intermediates. I'm lazy, it's one big commit now
21:44:53 × geekosaur quits (82650c7a@130.101.12.122) (Quit: Connection closed)
21:57:01 × ixian quits (~mgold@2002:4a74:ba78:1701:0:ff:fe78:6269) (Quit: leaving)
22:04:59 × mc47 quits (~yecinem@89.246.239.190) (Remote host closed the connection)
22:07:32 growpotkin joins (~growpotki@130-45-30-154.dyn.grandenetworks.net)
22:13:47 × tremon quits (~aschuring@217-63-61-89.cable.dynamic.v4.ziggo.nl) (Quit: getting boxed in)
22:18:06 × growpotkin quits (~growpotki@130-45-30-154.dyn.grandenetworks.net) (Ping timeout: 246 seconds)
22:27:04 ixian joins (~mgold@2002:4a74:ba78:1701:0:ff:fe78:6269)
22:44:28 sheepfleece joins (~sheep@46.53.253.85)
22:47:20 <sheepfleece> Good day! Can you please tell me whether it is possible or not to write LayoutModifier which can intercept messages and change its own state at the same time? As I've read the code I don't think it is possible right now. The closest thing is `handleMessOrMaybeModifyIt` but it is not enough.
22:48:50 <sheepfleece> The problem I'm trying to solve is that I don't like the default way number of master windows is tracked. And to change it I need to inspect IncMasterN messages and the current number of windows.
22:49:33 <sheepfleece> I did solve the problem by wrapping all needed Modifiers and Layouts into newtypes with the same logic redefined everywhere
22:49:45 drl joins (~l@2600:1700:8360:3870:96f:b9e6:2385:66eb)
22:49:46 <sheepfleece> Which works, but is not beautiful, and I'm not happy with it!
22:50:40 × drl quits (~l@2600:1700:8360:3870:96f:b9e6:2385:66eb) (Client Quit)
22:52:15 <Liskni_si> it seems this really can't be done as a LayoutModifier
22:52:44 <Liskni_si> but you can create a layout modifier that is not a LayoutModifier :-)
22:53:19 <Liskni_si> https://github.com/xmonad/xmonad-contrib/blob/master/XMonad/Layout/LayoutModifier.hs#L253-L270
22:53:36 <Liskni_si> this is how LayoutModifier works
22:54:15 <Liskni_si> you can define your own "modifier" and implement instance LayoutClass for it, and then both intercept the message and modify your modifiers state in handleMessage
22:54:17 <sheepfleece> I see, thank you! I guess I need to write my own then!
22:56:12 × s00pcan quits (~chris@075-133-056-178.res.spectrum.com) (Ping timeout: 265 seconds)
22:56:41 <sheepfleece> Well, I leave everything as is for now, I guess. There is one more question, I made it so new windows are incerted below (so they do not swap master window), but when I close them the focus goes down, not up, again, I read the code and it doesn't seem to be possible to change the default behaviour without changing `delete` function in StackSet module
22:56:52 <sheepfleece> However maybe I can somehow workaround this?
22:57:50 <sheepfleece> What I did is added focusUp hook to Mod4+x shortcut, but it doesn't work when windows are closed differently
22:58:01 s00pcan joins (~chris@107.181.165.217)
22:58:08 <sheepfleece> maybe there is some X event, which I can subscribe to..
22:59:58 <Liskni_si> https://github.com/xmonad/xmonad-contrib/blob/master/XMonad/Hooks/RefocusLast.hs#L158
23:00:48 <Liskni_si> either use RefocusLast directly, or if you really just want to move the focus up after window disappears, write your own hook inspired by this code
23:03:42 <sheepfleece> Hmm, yes, I think it would work, but where should I write this function, because I can't get access to X Events directly, or at least I don't know how
23:04:02 <sheepfleece> They are managed in `handle` function in Main, but are not passed anywhere
23:04:15 <Liskni_si> they're passed to handleEventHook
23:04:28 <sheepfleece> Yes, thank you! I just noticed
23:04:35 <sheepfleece> Thank you one more time :3
23:04:50 × xaltsc quits (~xaltsc@unaffiliated/xaltsc) (Ping timeout: 264 seconds)
23:11:53 × seschwar quits (~seschwar@unaffiliated/seschwar) (Quit: :wq)
23:16:38 growpotkin joins (~growpotki@130-45-30-154.dyn.grandenetworks.net)
23:18:09 × ericsagn1 quits (~ericsagne@2405:6580:0:5100:2bc8:4fa9:77f0:c682) (Ping timeout: 272 seconds)
23:30:20 ericsagn1 joins (~ericsagne@2405:6580:0:5100:d30e:d5f0:fb8d:e928)
23:37:24 × growpotkin quits (~growpotki@130-45-30-154.dyn.grandenetworks.net) (Ping timeout: 256 seconds)
23:47:13 × sheepfleece quits (~sheep@46.53.253.85) (Quit: Lost terminal)

All times are in UTC on 2021-02-18.