2022-01-28 23:21:11 +0100RMSBach(~user@cpe-76-177-52-136.natcky.res.rr.com) ()
2022-01-28 23:38:22 +0100RMSBach(~user@cpe-76-177-52-136.natcky.res.rr.com)
2022-01-28 23:56:28 +0100mestre(~mestre@191.177.181.194)
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