2022/01/29

2022-01-29 00:30:35 +0100mc47(~mc47@xmonad/TheMC47) (Remote host closed the connection)
2022-01-29 01:13:34 +0100RMSBach(~user@cpe-76-177-52-136.natcky.res.rr.com) (ERC 5.4 (IRC client for GNU Emacs 28.0.90))
2022-01-29 01:16:00 +0100seschwar(~seschwar@user/seschwar) (Quit: :wq)
2022-01-29 01:38:17 +0100jao(~jao@static-68-235-44-25.cust.tzulo.com) (Ping timeout: 240 seconds)
2022-01-29 02:18:34 +0100steve__(~steve@ool-182c2b80.dyn.optonline.net) (Ping timeout: 260 seconds)
2022-01-29 03:16:22 +0100thunderrd(~thunderrd@183.182.111.124) (Ping timeout: 268 seconds)
2022-01-29 04:03:22 +0100banc(banc@gateway/vpn/airvpn/banc) (Ping timeout: 250 seconds)
2022-01-29 04:24:33 +0100banc(banc@gateway/vpn/airvpn/banc)
2022-01-29 04:29:33 +0100thunderrd(~thunderrd@183.182.114.22)
2022-01-29 04:38:08 +0100RMSBach(~user@cpe-76-177-52-136.natcky.res.rr.com)
2022-01-29 04:40:14 +0100RMSBach(~user@cpe-76-177-52-136.natcky.res.rr.com) (Remote host closed the connection)
2022-01-29 04:48:57 +0100td_(~td@94.134.91.203) (Ping timeout: 240 seconds)
2022-01-29 04:50:52 +0100td_(~td@muedsl-82-207-238-224.citykom.de)
2022-01-29 04:59:39 +0100thunderrd(~thunderrd@183.182.114.22) (Remote host closed the connection)
2022-01-29 05:03:05 +0100RMSBach(~user@cpe-76-177-52-136.natcky.res.rr.com)
2022-01-29 05:40:35 +0100RMSBach(~user@cpe-76-177-52-136.natcky.res.rr.com) (ERC 5.4 (IRC client for GNU Emacs 28.0.90))
2022-01-29 06:01:04 +0100arjun(~arjun@user/arjun)
2022-01-29 06:01:11 +0100 <arjun> hi
2022-01-29 06:01:19 +0100 <arjun> been doing some tinkering
2022-01-29 06:01:21 +0100 <arjun> almost there
2022-01-29 06:01:58 +0100 <arjun> how do i close the laptop display when i close the lid? there is an external monitor connected
2022-01-29 06:02:26 +0100 <arjun> when i close the lid with the laptop docked, i want the laptop screen (with its bar) to come to the external monitor
2022-01-29 06:02:34 +0100 <arjun> basically make it screen 0
2022-01-29 06:02:50 +0100 <arjun> i could do that with manually switching of the display in arandr
2022-01-29 06:03:07 +0100 <arjun> but i'd like it to do that automatically when i shut the lid
2022-01-29 06:03:23 +0100 <arjun> any pointers where do i go from here?
2022-01-29 06:04:35 +0100 <arjun> i've already added this -> https://pastebin.com/P0FhCCKX from the rescreen hooks thing here -> https://xmonad.github.io/xmonad-docs/xmonad-contrib-0.16.999/XMonad-Hooks-Rescreen.html#v:addRandr…
2022-01-29 06:46:27 +0100jao(~jao@68.235.43.13)
2022-01-29 07:24:39 +0100DangerBird(~DangerBir@dhcp-v215-170.vp.reshsg.uci.edu)
2022-01-29 08:06:18 +0100 <Solid> arjun: the laptop probably wants to hibernate on lid close
2022-01-29 08:06:42 +0100 <Solid> I reckon you need to tell acpi not to do that
2022-01-29 08:10:31 +0100 <arjun> Solid: xfce4-power-manager-settings -> display off on lid down
2022-01-29 08:10:49 +0100 <arjun> so it doesn't suspend anymore when on power
2022-01-29 08:15:11 +0100steve__(~steve@ool-182c2b80.dyn.optonline.net)
2022-01-29 08:17:57 +0100 <Solid> so what happens?
2022-01-29 08:18:24 +0100 <arjun> nothin really
2022-01-29 08:18:45 +0100 <arjun> i close the lid, the display is physically powered off on the machine
2022-01-29 08:19:12 +0100 <arjun> but the external monitor still renders as the secondary screen
2022-01-29 08:19:29 +0100 <arjun> and xmonad thinks the laptop screen is still active and i can send stuff to it
2022-01-29 08:19:36 +0100 <arjun> but the lid is down
2022-01-29 08:19:55 +0100 <arjun> and if i switch it off in arandr
2022-01-29 08:20:00 +0100 <arjun> then it works as it should
2022-01-29 08:20:26 +0100 <Solid> does xrandr still think it's active?
2022-01-29 08:20:43 +0100 <arjun> yes
2022-01-29 08:20:57 +0100 <Solid> then I guess your power manager does something wrong
2022-01-29 08:21:07 +0100 <arjun> i guess
2022-01-29 08:21:30 +0100 <arjun> i am using gdm rn
2022-01-29 08:21:46 +0100 <arjun> i think i'll try switching to lightdm
2022-01-29 08:22:05 +0100 <arjun> apart from that, am i missing something?
2022-01-29 08:22:30 +0100 <Solid> I don't think it's your display manager
2022-01-29 08:22:41 +0100 <Solid> (I hope not, anyways)
2022-01-29 08:22:52 +0100 <arjun> what else should i look into?
2022-01-29 08:23:26 +0100 <Solid> I would guess "xfce4-power-manager-settings -> display off on lid down" would be a good starting point
2022-01-29 08:23:47 +0100 <arjun> if i change that to suspend, it does suspend
2022-01-29 08:24:05 +0100 <arjun> so that setting seems to be working
2022-01-29 08:24:12 +0100 <arjun> i could set it to do nothing i guess
2022-01-29 08:25:10 +0100 <arjun> okay, doing nothing is not a choice in the options there : P
2022-01-29 08:26:54 +0100edun(~qbt@user/edun)
2022-01-29 08:31:59 +0100arjun(~arjun@user/arjun) (Remote host closed the connection)
2022-01-29 08:36:56 +0100jao(~jao@68.235.43.13) (Remote host closed the connection)
2022-01-29 08:38:30 +0100arjun(~arjun@user/arjun)
2022-01-29 08:38:37 +0100 <arjun> Solid, gdm wan't it : P
2022-01-29 08:39:02 +0100 <arjun> lightdm has the same behavior
2022-01-29 08:39:11 +0100 <arjun> i disabled the xfce power manager aswell
2022-01-29 08:39:14 +0100 <arjun> nada
2022-01-29 08:39:35 +0100 <arjun> *jackie chan rubs hair furiously meme*
2022-01-29 08:44:25 +0100 <Solid> does the laptop still suspend without xfce-power-manager?
2022-01-29 08:46:29 +0100edunqbt
2022-01-29 08:49:55 +0100 <arjun> Solid, no?
2022-01-29 08:50:32 +0100 <Solid> I was just thinking that you have another acpi deamon running
2022-01-29 08:50:43 +0100 <Solid> in this case I guess just look into what it does when you set it to "display off"
2022-01-29 08:54:59 +0100 <arjun> not sure i follow
2022-01-29 08:59:07 +0100geekosaur(~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
2022-01-29 09:04:55 +0100 <Solid> well, xfce power manager has to do *something* on lid close, right? maybe it's not exactly what you want, but the only way to find out is to find out what it does
2022-01-29 09:05:43 +0100 <arjun> i meant, how do i follow that : P
2022-01-29 09:06:02 +0100 <arjun> hang on, let me reboot
2022-01-29 09:06:12 +0100arjun(~arjun@user/arjun) (Remote host closed the connection)
2022-01-29 09:12:36 +0100geekosaur(~geekosaur@xmonad/geekosaur)
2022-01-29 09:17:14 +0100thunderrd(~thunderrd@183.182.111.73)
2022-01-29 10:00:20 +0100fabfianda[m](~fabfianda@2001:470:69fc:105::6db) (Quit: You have been kicked for being idle)
2022-01-29 10:06:30 +0100DangerBird(~DangerBir@dhcp-v215-170.vp.reshsg.uci.edu) (Ping timeout: 250 seconds)
2022-01-29 10:16:37 +0100mc47(~mc47@xmonad/TheMC47)
2022-01-29 10:17:36 +0100geekosaur(~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
2022-01-29 10:17:38 +0100allbery_b(~geekosaur@xmonad/geekosaur)
2022-01-29 10:17:41 +0100allbery_bgeekosaur
2022-01-29 11:18:31 +0100 <liskin> I don't think tinkering with display or power managers can help.
2022-01-29 11:18:55 +0100 <liskin> "display off" is just DPMS from their POV
2022-01-29 11:19:02 +0100 <liskin> If anything
2022-01-29 11:20:46 +0100 <liskin> (and possibly some signalling to mutter to disable the screen, but xmonad is not mutter, and neither is your xrandr script)
2022-01-29 11:34:24 +0100 <geekosaur> display off just means powering off the backlight, not detaching the display. you could save a script from arandr for the configuration you want and spawn it on rescreen, maybe
2022-01-29 11:35:33 +0100 <geekosaur> mm, nom thst woulkdn;t work because not rescreening is the problem. need an acpi hook on dpms off/on
2022-01-29 11:36:01 +0100 <geekosaur> you can do this with an appropriate acpid but it's well outside the purview of xmonad or any other window manager
2022-01-29 12:21:27 +0100arjun(~arjun@user/arjun)
2022-01-29 12:21:39 +0100 <arjun> geekosaur, i should read the logs right?
2022-01-29 12:22:01 +0100 <geekosaur> yes, although I gave you the gist of it already in #haskell
2022-01-29 12:22:43 +0100 <geekosaur> https://ircbrowse.tomsmeding.com/browse/lcxmonad?id=46489#trid46489
2022-01-29 12:24:23 +0100 <arjun> geekosaur, thanks
2022-01-29 12:25:01 +0100 <arjun> i'll read through acpid's docs and try attaching 'autorandr --change' command to the lid shut / lid open events
2022-01-29 12:32:50 +0100JohnHarris(~JohnHarri@213.194.153.233)
2022-01-29 12:46:46 +0100byorgey(~byorgey@155.138.238.211) (Quit: leaving)
2022-01-29 12:50:57 +0100JohnHarris(~JohnHarri@213.194.153.233) (Quit: Client closed)
2022-01-29 12:51:45 +0100byorgey(~byorgey@155.138.238.211)
2022-01-29 13:01:37 +0100 <arjun> right
2022-01-29 13:01:57 +0100 <arjun> i keep forgetting what channel i'm on :P
2022-01-29 13:10:26 +0100 <arjun> btb
2022-01-29 13:10:28 +0100 <arjun> brb*
2022-01-29 13:10:38 +0100arjun(~arjun@user/arjun) (Remote host closed the connection)
2022-01-29 13:18:54 +0100arjun(~arjun@user/arjun)
2022-01-29 13:18:56 +0100 <arjun> hi
2022-01-29 13:18:58 +0100 <arjun> back
2022-01-29 13:18:59 +0100seschwar(~seschwar@user/seschwar)
2022-01-29 13:19:11 +0100 <arjun> so upower daemon sees lid open/close actions
2022-01-29 13:20:33 +0100 <arjun> https://pastebin.com/PHizij4j
2022-01-29 13:21:05 +0100 <arjun> i tried uninstalling upower and rebooting to see if it was the one causing trouble. probably wasn't
2022-01-29 13:23:19 +0100 <geekosaur> I imagine if gnome does this it's because it uses those upower events to trigger monitor switching. xmonad can't wait on dbus events, so we can't do the same thing
2022-01-29 13:23:42 +0100 <geekosaur> (gnome is all about the all-in-one solutions)
2022-01-29 13:30:43 +0100 <arjun> guess i'll just assign a key combo to 'autorandr --change' for now : /
2022-01-29 13:31:18 +0100 <arjun> also, geekosaur, i'm using those dynamicEasySB statusbar things for xmobars
2022-01-29 13:31:41 +0100 <arjun> and when i fullscreen apps they tend to draw OVER xmobar
2022-01-29 13:31:59 +0100 <arjun> can i hide / remove xmobar for fullscreen apps?
2022-01-29 13:32:16 +0100 <arjun> M-b toggle struts thing still yet draws over it
2022-01-29 13:32:52 +0100 <geekosaur> not readily. struts are not really about hiding, only about not drawing over bars
2022-01-29 13:33:02 +0100 <geekosaur> bars otherwise control themselves
2022-01-29 13:33:50 +0100 <arjun> so, just draw over them?
2022-01-29 13:39:09 +0100 <liskin> when I want to see xmobar with a fullscreen window I just hit the keybinding to tile that window back from floating
2022-01-29 13:39:28 +0100 <liskin> (and then maybe switch to a tabbed/Full layout if there are more windows)
2022-01-29 13:40:59 +0100 <arjun> liskin, do you default to floating windows?
2022-01-29 13:41:24 +0100 <arjun> i read your config on github from one of those reddit answers, couldn't really understand it though : p
2022-01-29 13:43:21 +0100 <geekosaur> drawing over is generally good enough. there's a way to tell xmobar to hide itself (iirc via dbus) but it's all-or-nothing; it won't unhide if you switch workspaces (xmobar doesn't really understand workspaces)
2022-01-29 13:44:27 +0100 <arjun> i am thinking we really need this dbus thing
2022-01-29 13:44:43 +0100 <arjun> or i just use polybar or sumthin
2022-01-29 14:08:06 +0100 <Solid> arjun: why do you care whether xmobar is hidden or just drawn over in the context of a fullscreen window?
2022-01-29 15:12:51 +0100mestre(~mestre@191.177.181.194) (Quit: Lost terminal)
2022-01-29 15:24:12 +0100 <liskin> arjun: no, but ewmhFullscreen floats the window
2022-01-29 15:24:39 +0100 <liskin> arjun: so if I want to see the xmobar I need the layout to kick in, and I do that via unfloating the window again
2022-01-29 15:37:08 +0100catman(~catman@user/catman)
2022-01-29 15:41:23 +0100 <arjun> Sol
2022-01-29 15:41:42 +0100 <arjun> Solid, i can see bits through the gaps if in a layout
2022-01-29 15:42:04 +0100 <arjun> if i fullscreen 1 app than its hidden behind the app completely
2022-01-29 15:42:10 +0100 <arjun> liskin, i see
2022-01-29 15:42:39 +0100catman(~catman@user/catman) (Quit: WeeChat 3.5-dev)
2022-01-29 15:44:37 +0100catman(~catman@user/catman)
2022-01-29 17:03:00 +0100qbt(~qbt@user/edun) (Quit: Leaving.)
2022-01-29 17:10:48 +0100arjun(~arjun@user/arjun) (Quit: Leaving)
2022-01-29 17:26:20 +0100guygastineau(~strings.s@137.184.131.156)
2022-01-29 17:36:37 +0100denbrahe(~denbrahe@2001:470:69fc:105::19c0) (Quit: Reconnecting)
2022-01-29 17:36:53 +0100denbrahe(~denbrahe@2001:470:69fc:105::19c0)
2022-01-29 17:41:17 +0100JosEduardo[m](~joseemdsm@2001:470:69fc:105::ce1d)
2022-01-29 17:43:40 +0100denbrahe(~denbrahe@2001:470:69fc:105::19c0) (Quit: Reconnecting)
2022-01-29 17:43:56 +0100denbrahe(~denbrahe@2001:470:69fc:105::19c0)
2022-01-29 17:50:16 +0100denbrahe(~denbrahe@2001:470:69fc:105::19c0) (Quit: Reconnecting)
2022-01-29 17:50:39 +0100denbrahe(~denbrahe@2001:470:69fc:105::19c0)
2022-01-29 17:52:50 +0100guygastineau(~strings.s@137.184.131.156) (Quit: ZNC 1.8.2 - https://znc.in)
2022-01-29 18:07:47 +0100edun(~qbt@user/edun)
2022-01-29 18:27:24 +0100catman(~catman@user/catman) (Ping timeout: 256 seconds)
2022-01-29 18:28:19 +0100edunqbt
2022-01-29 18:46:15 +0100RMSBach(~guygastin@137.184.131.156)
2022-01-29 19:19:26 +0100jao(~jao@66.63.167.119)
2022-01-29 19:29:27 +0100jao(~jao@66.63.167.119) (Ping timeout: 260 seconds)
2022-01-29 19:31:37 +0100jao(~jao@68.235.43.172)
2022-01-29 19:47:22 +0100scardinal(~supreme@customer-212-237-101-39.ip4.gigabit.dk) (Quit: leaving)
2022-01-29 19:56:32 +0100scardinal(~supreme@customer-212-237-101-39.ip4.gigabit.dk)
2022-01-29 20:31:17 +0100catman(~catman@user/catman)
2022-01-29 21:09:19 +0100mohab(~mohab@156.223.20.133)
2022-01-29 21:19:10 +0100mohab(~mohab@156.223.20.133) (Quit: WeeChat 3.4)
2022-01-29 21:23:20 +0100catman(~catman@user/catman) (Read error: Connection reset by peer)
2022-01-29 21:26:24 +0100catman(~catman@user/catman)
2022-01-29 21:38:41 +0100catman(~catman@user/catman) (Read error: Connection reset by peer)
2022-01-29 21:41:02 +0100catman(~catman@user/catman)
2022-01-29 21:45:45 +0100werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 268 seconds)
2022-01-29 21:47:22 +0100werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
2022-01-29 21:47:51 +0100sogens(~sogens@pa49-197-169-154.pa.qld.optusnet.com.au)
2022-01-29 22:25:58 +0100qbt(~qbt@user/edun) (Ping timeout: 256 seconds)
2022-01-29 22:47:44 +0100catman(~catman@user/catman) (Read error: Connection reset by peer)
2022-01-29 22:51:03 +0100catman(~catman@user/catman)
2022-01-29 23:27:07 +0100geekosaur(~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
2022-01-29 23:27:28 +0100geekosaur(~geekosaur@xmonad/geekosaur)