2022/01/29

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