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