Logs: freenode/#xmonad
| 2021-05-06 16:59:10 | <kajzer> | gimme a min |
| 2021-05-06 16:59:52 | × | kajzer quits (~kajzer@unaffiliated/kajzer) (Quit: WeeChat 3.1) |
| 2021-05-06 17:01:24 | → | kajzer joins (~kajzer@unaffiliated/kajzer) |
| 2021-05-06 17:01:43 | <kajzer> | ok i see the file now |
| 2021-05-06 17:02:39 | <kajzer> | so I pressed the disabled button, that thing happened but I think nothing was added |
| 2021-05-06 17:02:48 | <kajzer> | added to .xsession-errors |
| 2021-05-06 17:02:53 | <geekosaur> | sigh |
| 2021-05-06 17:04:36 | × | oogeek quits (~szz_@45.135.186.22) (Quit: leaving) |
| 2021-05-06 17:04:44 | <kajzer> | yeah |
| 2021-05-06 17:04:53 | <kajzer> | tried ti few more times, nothing |
| 2021-05-06 17:04:56 | <kajzer> | it* |
| 2021-05-06 17:09:31 | <kajzer> | there's this : Bad _NET_DESKTOP with data[0]=-1 |
| 2021-05-06 17:11:15 | <geekosaur> | that's unrelated |
| 2021-05-06 17:11:22 | <kajzer> | yeah |
| 2021-05-06 17:11:28 | <geekosaur> | we don't support ewmh-style copyToAll yet |
| 2021-05-06 17:12:04 | <kajzer> | well, that was fun, but really it's ok, i found how to configure it and don't have that issue |
| 2021-05-06 17:12:20 | <kajzer> | it's fine by me |
| 2021-05-06 17:15:01 | <heck-to-the-gnom> | What's the difference between ewmh-style copyToAll and regular copyToAll? |
| 2021-05-06 17:15:14 | <heck-to-the-gnom> | regular being how XMonad does it currently |
| 2021-05-06 17:16:42 | <geekosaur> | ewmh does that _NET_WM_DESKTOP thing, xmonad's copyToAll is designbed to be done from a keybinding or manageHook and I haven't figured out how to get it working from presumably the eventHook yet |
| 2021-05-06 17:17:57 | <geekosaur> | so I have another question after looking that config over again. the keybinding parameter to statusBar is specified as `def`. *whose* `def`?? I don't see an `instance Default` for its type in release xmonad-contrib |
| 2021-05-06 17:18:22 | <heck-to-the-gnom> | Ah, I see, an API-like variant, rather than a user decided one. |
| 2021-05-06 17:18:57 | <geekosaur> | maybe we've been barking up the wrong tree all this time, especially if it's inheriting some odd Default instance from somewhere and it's affecting other things too |
| 2021-05-06 17:19:26 | <kajzer> | geekosaur: I took that from this tutorial https://github.com/xmonad/xmonad/blob/f8973eefda4cbb5c618c92ab7711854a139980e1/tutorial.md |
| 2021-05-06 17:20:33 | <kajzer> | except he used statusbarprop, and i couldnt get that to work, even with git version |
| 2021-05-06 17:21:11 | <geekosaur> | suddenly I want hls to be working, for the first time, so I could point it at that `ddef` and see where it's coming from |
| 2021-05-06 17:21:53 | <kajzer> | brb |
| 2021-05-06 17:21:57 | × | kajzer quits (~kajzer@unaffiliated/kajzer) (Quit: WeeChat 3.1) |
| 2021-05-06 17:23:20 | → | pmj joins (~pmj@ipbcc2919d.dynamic.kabel-deutschland.de) |
| 2021-05-06 17:23:49 | → | kajzer joins (~kajzer@unaffiliated/kajzer) |
| 2021-05-06 17:34:53 | × | incertia quits (~incertia@d4-50-26-103.nap.wideopenwest.com) (Quit: ZNC 1.7.5 - https://znc.in) |
| 2021-05-06 17:35:46 | → | incertia joins (~incertia@d4-50-26-103.nap.wideopenwest.com) |
| 2021-05-06 17:48:40 | → | sfreimuth joins (49e72037@c-73-231-32-55.hsd1.ca.comcast.net) |
| 2021-05-06 17:48:41 | × | pmj quits (~pmj@ipbcc2919d.dynamic.kabel-deutschland.de) (Ping timeout: 240 seconds) |
| 2021-05-06 17:59:20 | <geekosaur> | are you nready for this? I think I figured out what's up |
| 2021-05-06 17:59:41 | <geekosaur> | that `def` expands to `const (0,0)` and every unbound key is mapped to it |
| 2021-05-06 18:00:05 | <geekosaur> | this is why I personally dislike `def` and won't use it unless forced |
| 2021-05-06 18:00:26 | <geekosaur> | of course we're deprercating direct access so I'm forced in the case of xmonad… |
| 2021-05-06 18:04:48 | × | geekosaur quits (930099da@rrcs-147-0-153-218.central.biz.rr.com) (Quit: Connection closed) |
| 2021-05-06 18:05:42 | → | geekosaur joins (930099da@rrcs-147-0-153-218.central.biz.rr.com) |
| 2021-05-06 18:07:47 | → | pmj joins (~pmj@ipbcc2919d.dynamic.kabel-deutschland.de) |
| 2021-05-06 18:10:44 | × | kelnoky quits (~shao@ip1f128ba7.dynamic.kabel-deutschland.de) (Quit: WeeChat 3.1) |
| 2021-05-06 18:15:22 | <geekosaur> | one hidden bug here is in `bindKeys` in core, which doesn't know that 0 is an invalid KeySym so it goes ahead and binds any KeyCode whose KeySym is 0 to it |
| 2021-05-06 18:17:32 | <heck-to-the-gnom> | ^ that's interesting |
| 2021-05-06 18:21:01 | × | mohab quits (~mohab@45.243.116.81) (Ping timeout: 268 seconds) |
| 2021-05-06 18:21:30 | → | mohab joins (~mohab@156.223.72.6) |
| 2021-05-06 18:22:04 | <geekosaur> | so anyway the fix for this is to replace that `def` in the parameters to `statusBar` with a proper function that takes an `XConfig`, extracts the `modMask`, and tuples it with an appropriate `KeySym` |
| 2021-05-06 18:22:23 | <geekosaur> | (no, `def` cannot be forced to "do the right thing" here, that's why `def` is bad) |
| 2021-05-06 18:23:53 | <geekosaur> | you are forced to accept someone else's idea of what "the right thing" is, in this case an `instance Default b => a -> b where def = const def` |
| 2021-05-06 18:25:05 | × | thc202 quits (~thc202@unaffiliated/thc202) (Quit: thc202) |
| 2021-05-06 18:30:43 | <kajzer> | glad you found the source of the problem |
| 2021-05-06 18:33:52 | × | pmj quits (~pmj@ipbcc2919d.dynamic.kabel-deutschland.de) (Ping timeout: 240 seconds) |
| 2021-05-06 18:48:03 | × | mohab quits (~mohab@156.223.72.6) (Remote host closed the connection) |
| 2021-05-06 18:54:04 | → | pmj joins (~pmj@ipbcc2919d.dynamic.kabel-deutschland.de) |
| 2021-05-06 18:57:01 | → | mohab joins (~mohab@156.223.72.6) |
| 2021-05-06 19:03:01 | geekosaur | files a bug for the bindKeys part, since it's not possible to prevent the real failure but it should be possible to at least filter out the result |
| 2021-05-06 19:05:58 | <geekosaur> | https://github.com/xmonad/xmonad/issues/293 |
| 2021-05-06 19:22:11 | × | wonko7 quits (~wonko7@62.115.229.50) (Ping timeout: 240 seconds) |
| 2021-05-06 19:26:19 | × | stefur quits (~stefur@h-240-34.A328.priv.bahnhof.se) (Quit: Lost terminal) |
| 2021-05-06 19:33:16 | → | thc202 joins (~thc202@unaffiliated/thc202) |
| 2021-05-06 19:38:06 | × | pmj quits (~pmj@ipbcc2919d.dynamic.kabel-deutschland.de) (Ping timeout: 240 seconds) |
| 2021-05-06 19:38:26 | × | thc202 quits (~thc202@unaffiliated/thc202) (Quit: thc202) |
| 2021-05-06 19:48:11 | × | sfreimuth quits (49e72037@c-73-231-32-55.hsd1.ca.comcast.net) (Quit: Connection closed) |
| 2021-05-06 19:51:08 | → | pmj joins (~pmj@ipbcc2919d.dynamic.kabel-deutschland.de) |
| 2021-05-06 19:55:32 | → | ADG1089 joins (~aditya@27.58.164.109) |
| 2021-05-06 19:55:53 | <ADG1089> | M-q is not working for me since few days, how can i debug? |
| 2021-05-06 20:00:21 | <Liskni_si> | ADG1089: look into .xsession-errors or journalctl or wherever stderr goes in your setup |
| 2021-05-06 20:00:35 | <novasenco> | ADG1089, (1) make sure it's actually mapped with :verbose nmap <m-q> (2) in insert mode type <c-v><m-q> and make sure you see <M-q> inserted (3) try nvim -Nu NONE +"nnoremap <m-q> :echo 'hello'<cr>" then see if <m-q> echo's "hello" (4) make sure $TERM is unchanged - unless you're using tmux, for example; then it should be tmux-256color (5) file bug report |
| 2021-05-06 20:01:21 | <novasenco> | wrong channel! I thought this was #neovim |
| 2021-05-06 20:01:49 | <novasenco> | doo doo doo... nothing to see here *waves hands over dramatically* |
| 2021-05-06 20:02:35 | <ADG1089> | I created this mapping to test `( "M-u" , spawn "xmessage hello;if type xmonad; then xmessage $(xmonad --recompile && xmonad --restart); else xmessage xmonad not in \\$PATH: \"$PATH\"; fi; xmessage bye;")` |
| 2021-05-06 20:02:48 | <ADG1089> | I see both hello and bye messages but xmonad does not restart :(( |
| 2021-05-06 20:04:36 | <ADG1089> | uuQ |
| 2021-05-06 20:04:43 | × | ADG1089 quits (~aditya@27.58.164.109) (Remote host closed the connection) |
| 2021-05-06 20:05:23 | <heck-to-the-gnom> | try running `xmonad --recompile` in a terminal |
| 2021-05-06 20:05:27 | <heck-to-the-gnom> | see if it fails |
| 2021-05-06 20:05:44 | <heck-to-the-gnom> | if it fails, and you don't have the proper log hook, it'll seem like nothing happened |
| 2021-05-06 20:06:19 | <novasenco> | they quittededed. presumably, they got it to work? the world may never know |
| 2021-05-06 20:07:06 | <heck-to-the-gnom> | no leave message appeared on my screen |
| 2021-05-06 20:07:19 | <geekosaur> | ← ADG1089 has left (Remote host closed the connection) |
| 2021-05-06 20:07:28 | <geekosaur> | showed here |
| 2021-05-06 20:07:34 | <heck-to-the-gnom> | huh, didn't show up on matrix |
| 2021-05-06 20:07:40 | <heck-to-the-gnom> | it usually does |
| 2021-05-06 20:07:45 | → | ADG1089 joins (~aditya@27.58.164.109) |
| 2021-05-06 20:07:53 | <novasenco> | -!- ADG1089 (~aditya@27.58.164.109) has joined #xmonad |
| 2021-05-06 20:08:09 | <novasenco> | the world may just yet know! all is not lost |
| 2021-05-06 20:08:58 | <ADG1089> | hmm |
| 2021-05-06 20:09:23 | <novasenco> | ADG1089, did you resolve your problem? |
| 2021-05-06 20:09:41 | <ADG1089> | no i couldn't |
| 2021-05-06 20:09:51 | <ADG1089> | thinking i should just ignore and type it in terminal |
| 2021-05-06 20:10:04 | <geekosaur> | try xmonad --recompile in the terminal |
| 2021-05-06 20:11:34 | → | ServerStatsDisco joins (serverstat@gateway/shell/matrix.org/x-oxgvtvxuexgkqkan) |
| 2021-05-06 20:12:17 | <ADG1089> | it's working in terminal though https://bpa.st/3YIQ |
| 2021-05-06 20:12:38 | × | pmj quits (~pmj@ipbcc2919d.dynamic.kabel-deutschland.de) (Ping timeout: 268 seconds) |
| 2021-05-06 20:12:47 | <geekosaur> | but did it actually restart? |
| 2021-05-06 20:12:56 | <ADG1089> | yes it did |
| 2021-05-06 20:14:19 | <geekosaur> | odd |
| 2021-05-06 20:14:56 | <ADG1089> | i even tried with <xdotool key "Super_L+q"> which doesn't restart |
| 2021-05-06 20:15:17 | <heck-to-the-gnom> | `("M-q", spawn "xmonad --restart")` - this' what I usually run, I don't bother with `--recompile`, since XMonad detects when to recompile intelligently. |
| 2021-05-06 20:16:16 | <geekosaur> | did you get anything from the middle xmessage? |
All times are in UTC.