Logs on 2024-02-04 (liberachat/#xmonad)
| 00:39:05 | <liskin> | Yeah, ectospasm, ewmh should do the trick. |
| 00:53:10 | <ectospasm> | OK, thanks. I thought I was already using that, but it's been a long time since I really looked at that part of my config. Maybe I dropped it without realizing it. |
| 01:08:08 | → | dysthesis joins (~dysthesis@user/dysthesis) |
| 02:12:50 | <ectospasm> | OK, so I was using desktopConfig, which looks like it has ewmh in it: main = do ... xmonad $ desktopConfig {...} |
| 02:13:18 | <ectospasm> | I've tried this: main = do ... xmonad $ emwh $ desktopConfig {} |
| 02:13:44 | <ectospasm> | and this: main = do ... xmonad $ ewmhFullscreen $ emwh $ desktopConfig {...} |
| 02:14:02 | <ectospasm> | And I've also replaced desktopConfig with def |
| 02:14:44 | <ectospasm> | If my web browser is already open, XMonad doesn't bring the browser to focus after clicking on a link in Alacritty |
| 02:15:17 | <geekosaur> | do you have a handleEventHook? what does it look like? |
| 02:15:29 | <ectospasm> | Let me see... |
| 02:15:57 | <ectospasm> | yep: 303 , handleEventHook = handleEventHook desktopConfig |
| 02:16:08 | <geekosaur> | that should be fine |
| 02:16:11 | <ectospasm> | that must be line 303 of my xmonad.hs |
| 02:19:15 | <ectospasm> | Let me post my current xmonad.hs, maybe if you see the whole thing you might see something... |
| 02:22:00 | <ectospasm> | https://git.eldon.me/trey/pastes/src/branch/master/xmonad.hs |
| 02:24:26 | <ectospasm> | Most times I'm feeling well enough that it compiles without error. |
| 02:26:19 | <geekosaur> | not seeing anything wrong anywhere |
| 02:28:03 | <ectospasm> | I haven't changed my default-web-browser since I started adding the emwh stuff, let me try that. |
| 02:35:54 | <ectospasm> | Ahh, OK. So Firefox behaves the way I expect. So it seems to be something with qutebrowser (my desired default browser in Linux) |
| 02:36:31 | <ectospasm> | My guess is either qutebrowser or QtWebEngine which it is based on is missing ewmh stuff. |
| 02:37:15 | <ectospasm> | Unless it's a thing with chromium-based browsers (QtWebEngine is based on a slightly older version of chromium, with security fixes backported) |
| 02:37:28 | <ectospasm> | Let me try Vivaldi |
| 02:39:05 | <ectospasm> | Vivaldi behaves the right way. OK, I think I know where to go next. |
| 02:39:30 | <ectospasm> | Vivaldi is chromium-based |
| 02:47:17 | <geekosaur> | that makes me wonder if qutebrowser even sends the EWMH message to the root window |
| 02:54:15 | <ectospasm> | I did find this issue on qutebrowser's GitHub issue tracker, maybe it can give you some hint: https://github.com/qutebrowser/qutebrowser/issues/1866 |
| 02:54:45 | <ectospasm> | How do I check whether XMonad has _NET_ACTIVE_WINDOW in _NET_SUPPORTED? |
| 02:55:22 | <ectospasm> | It does work for other browsers, so I'm inclined to think it's qutebrowser's fault. But I want to be sure I'm reporting the same thing. |
| 02:56:08 | <ectospasm> | In my case, even if qutebrowser is on the same workspace as Alacritty, clicking a link (or running `qutebrowser <url>` opens the new tab, but does not activate the window. |
| 02:58:27 | <geekosaur> | xprop -root _NET_SUPPORTED |
| 02:58:51 | <geekosaur> | which here returns: _NET_SUPPORTED(ATOM) = _NET_WM_STATE, _NET_WM_STATE_FULLSCREEN, _NET_SUPPORTING_WM_CHECK, _NET_WM_NAME, _NET_WM_STATE_HIDDEN, _NET_WM_STATE_DEMANDS_ATTENTION, _NET_NUMBER_OF_DESKTOPS, _NET_CLIENT_LIST, _NET_CLIENT_LIST_STACKING, _NET_CURRENT_DESKTOP, _NET_DESKTOP_NAMES, _NET_ACTIVE_WINDOW, _NET_WM_DESKTOP, _NET_WM_STRUT, _NET_WM_STRUT_PARTIAL, _NET_DESKTOP_VIEWPORT |
| 03:00:17 | <ectospasm> | _NET_SUPPORTED(ATOM) = _NET_WM_STATE, _NET_WM_STATE_FULLSCREEN, _NET_SUPPORTING_WM_CHECK, _NET_WM_NAME, _NET_WM_STATE_HIDDEN, _NET_WM_STATE_DEMANDS_ATTENTION, _NET_NUMBER_OF_DESKTOPS, _NET_CLIENT_LIST, _NET_CLIENT_LIST_STACKING, _NET_CURRENT_DESKTOP, _NET_DESKTOP_NAMES, _NET_ACTIVE_WINDOW, _NET_WM_DESKTOP, _NET_WM_STRUT, _NET_DESKTOP_VIEWPORT |
| 03:00:27 | <ectospasm> | So I have _NET_ACTIVE_WINDOW |
| 03:03:10 | <ectospasm> | hmmm, I'm trying to see if it's a problem with my qutebrowser config |
| 03:03:39 | <ectospasm> | ...and clicking on a link with an empty config opens a qutebrowser window using my normal config... hmmm |
| 03:07:45 | <geekosaur> | make sure closing the last qutebrowser window shuts down the browser. (in chrome/chromium you can configure it to stay open) |
| 03:12:10 | <ectospasm> | Yeah, I killed my X session and tried launching the empty config... it still opens the usual config. I've asked in #qutebrowser, I guess I'll need to look into it tomorrow. |
| 03:41:58 | × | td_ quits (~td@i53870905.versanet.de) (Ping timeout: 264 seconds) |
| 03:43:00 | × | terrorjack quits (~terrorjac@2a01:4f8:c17:87f8::) (Quit: The Lounge - https://thelounge.chat) |
| 03:43:16 | → | td_ joins (~td@i5387090F.versanet.de) |
| 03:46:08 | → | terrorjack joins (~terrorjac@2a01:4f8:c17:87f8::) |
| 12:50:20 | → | hightower3 joins (~hightower@4-164.dsl.iskon.hr) |
| 12:50:25 | × | hightower2 quits (~hightower@4-164.dsl.iskon.hr) (Ping timeout: 255 seconds) |
| 13:57:06 | ← | L29Ah parts (~L29Ah@wikipedia/L29Ah) () |
| 16:06:05 | × | ml| quits (~ml|@user/ml/x-5298235) (Ping timeout: 240 seconds) |
| 16:14:31 | → | tremon joins (~tremon@83.80.159.219) |
| 16:19:37 | → | ml| joins (~ml|@user/ml/x-5298235) |
| 19:10:12 | → | L29Ah joins (~L29Ah@wikipedia/L29Ah) |
| 19:10:41 | × | dysthesis quits (~dysthesis@user/dysthesis) (Remote host closed the connection) |
| 20:04:37 | × | todi quits (~todi@p5dca5fa8.dip0.t-ipconnect.de) (Remote host closed the connection) |
| 20:16:09 | → | todi joins (~todi@p5dca5fa8.dip0.t-ipconnect.de) |
| 21:06:52 | → | dysthesis joins (~dysthesis@user/dysthesis) |
| 22:56:21 | × | catman quits (~catman@user/catman) (Ping timeout: 268 seconds) |
| 23:40:28 | <liskin> | hm, if I reserve the Rapperswil-Jona youth hostel now, it's £100 for the two nights and I can cancel 14 days before ZuriHac if I need to |
| 23:40:36 | <liskin> | seems wise to just do it :-) |
All times are in UTC on 2024-02-04.