Logs: liberachat/#xmonad
| 2024-02-16 03:15:55 | <geekosaur> | xK_1 would be the key on the top row, not the keypad |
| 2024-02-16 03:16:20 | <breakpoint> | oh yes, i just meant in case there is something specifically to do with it not picking up the keypad. |
| 2024-02-16 03:16:37 | <breakpoint> | ah |
| 2024-02-16 03:16:49 | <geekosaur> | if it weren't picking up the keypad then none of the binds would work, I'd think |
| 2024-02-16 03:17:08 | <breakpoint> | it was my silly mistake |
| 2024-02-16 03:17:22 | <breakpoint> | 'xK_END' |
| 2024-02-16 03:17:34 | <breakpoint> | should be 'xK_KP_End' |
| 2024-02-16 03:17:34 | <geekosaur> | ah, whoops |
| 2024-02-16 03:17:37 | <geekosaur> | yes |
| 2024-02-16 03:17:51 | <breakpoint> | haha well, all's well that ends well :) |
| 2024-02-16 03:17:54 | <breakpoint> | thank you for your help |
| 2024-02-16 03:27:34 | × | td_ quits (~td@i53870914.versanet.de) (Ping timeout: 264 seconds) |
| 2024-02-16 03:28:57 | → | td_ joins (~td@i5387091D.versanet.de) |
| 2024-02-16 04:04:09 | × | tv quits (~tv@user/tv) (Ping timeout: 256 seconds) |
| 2024-02-16 04:17:35 | → | tv joins (~tv@user/tv) |
| 2024-02-16 05:22:40 | × | xmonadtrack quits (~xmonadtra@user/geekosaur/bot/xmonadtrack) (Ping timeout: 255 seconds) |
| 2024-02-16 05:23:54 | → | xmonadtrack joins (~xmonadtra@069-135-003-034.biz.spectrum.com) |
| 2024-02-16 05:23:54 | × | xmonadtrack quits (~xmonadtra@069-135-003-034.biz.spectrum.com) (Changing host) |
| 2024-02-16 05:23:54 | → | xmonadtrack joins (~xmonadtra@user/geekosaur/bot/xmonadtrack) |
| 2024-02-16 05:34:06 | × | SpiderPig quits (~matt@047-132-235-136.res.spectrum.com) (Ping timeout: 268 seconds) |
| 2024-02-16 06:30:05 | <xmonadtrack> | xmonad-contrib Ulrik de Muelenaere * v0.18.0-9-gaec21860: X.U.EZConfig: Fix checkKeymap warning that all keybindings are duplicate (6 hours ago, 2 files, 6+ 2-) https://github.com/xmonad/xmonad-contrib/commit/aec21860bae7 |
| 2024-02-16 06:30:08 | <xmonadtrack> | xmonad-contrib Tony Zorman {GitHub} * v0.18.0-10-gc8dff5e2: Merge pull request #874 from ulrikdem/ezconfig-duplicate (5 minutes ago, 0 files, 0+ 0-) https://github.com/xmonad/xmonad-contrib/commit/c8dff5e2dc56 |
| 2024-02-16 06:56:23 | × | breakpoint quits (~pupkey@user/pupkey) (Quit: Lost terminal) |
| 2024-02-16 08:58:43 | × | ft quits (~ft@p508db2e6.dip0.t-ipconnect.de) (Quit: leaving) |
| 2024-02-16 08:59:48 | <utis> | is anyone using fixed misc 6x13 for xmobar? it's said to be possible by setting the font to "Fixed 8", but that doesn't work for me (i get something sort of similar, but antialiased an /not/ 6x13). i assume that the required ucs-fonts package is the same that comes with x11 and is used by xterm. |
| 2024-02-16 09:00:04 | <utis> | s/an/and |
| 2024-02-16 09:48:12 | <utis> | nevermind, i see my assumption was wrong |
| 2024-02-16 10:21:42 | <liskin> | I think I am using that font, but I'm still on the pre-pango/cairo version of xmobar so I just use the XLFD font name |
| 2024-02-16 12:41:00 | → | breakpoint joins (~pupkey@user/pupkey) |
| 2024-02-16 12:45:22 | → | SpiderPig joins (~matt@047-132-235-136.res.spectrum.com) |
| 2024-02-16 12:47:29 | × | breakpoint quits (~pupkey@user/pupkey) (Remote host closed the connection) |
| 2024-02-16 13:26:34 | → | kaskal joins (~kaskal@213-147-167-18.nat.highway.webapn.at) |
| 2024-02-16 13:27:17 | × | kaskal- quits (~kaskal@2001:4bb8:2c3:39c1:ff3f:d58:4fd9:e10c) (Ping timeout: 256 seconds) |
| 2024-02-16 14:23:04 | → | ft joins (~ft@p508db2e6.dip0.t-ipconnect.de) |
| 2024-02-16 15:15:07 | <xmonadtrack> | New xmonad-contrib branch created: pull/875 (1 commit) https://github.com/xmonad/xmonad-contrib/pull/875 |
| 2024-02-16 16:06:59 | × | ml| quits (~ml|@user/ml/x-5298235) (Ping timeout: 272 seconds) |
| 2024-02-16 16:10:37 | <xmonadtrack> | xmonad-contrib mislavzanic {Brandon S Allbery KF8NH} * v0.18.0-11-gbfe2f5b3: feat: add profiles (2 days ago, 3 files, 551+ 0-) https://github.com/xmonad/xmonad-contrib/commit/bfe2f5b3f9fa |
| 2024-02-16 16:20:44 | → | ml| joins (~ml|@user/ml/x-5298235) |
| 2024-02-16 16:26:57 | <Solid> | that was… quite fast for such a big PR :) |
| 2024-02-16 17:26:44 | × | vanvik quits (~vanvik@78.156.10.140) (Quit: Later) |
| 2024-02-16 17:27:02 | → | vanvik joins (~vanvik@78.156.10.140) |
| 2024-02-16 17:28:14 | × | vanvik quits (~vanvik@78.156.10.140) (Remote host closed the connection) |
| 2024-02-16 17:29:46 | → | vanvik joins (~vanvik@78.156.10.140) |
| 2024-02-16 18:24:37 | <beastwick> | I am trying out planar workspaces, and I am trying to bind movement to my mouse. I am following the docs, and I do not understand why a parameter is being applied to the rest of the code line even though I am using parenthesis. https://pastebin.com/dkcm1XjJ https://xmonad.github.io/xmonad-docs/xmonad-contrib/XMonad-Actions-Plane.html |
| 2024-02-16 18:40:10 | <geekosaur> | you're using parentheses incorrectly. what you wrote treats `(Lines 4)` as a function and applies it to `Circular` and `ToRight` |
| 2024-02-16 18:40:51 | <geekosaur> | I think you want `planeMove (Lines 4) Circular ToRight)` without the outer set of parentheses |
| 2024-02-16 18:46:27 | <geekosaur> | oh, ugh, I have one too many parenthesis there |
| 2024-02-16 18:46:39 | <geekosaur> | planeMove (Lines 4) Circular ToRight |
| 2024-02-16 19:12:37 | <beastwick> | Oh I get it |
| 2024-02-16 19:12:40 | <beastwick> | let me see |
| 2024-02-16 19:13:04 | <beastwick> | hah now planeMove is applied to too many arguments |
| 2024-02-16 19:13:54 | <beastwick> | https://pastebin.com/a1ieBbdc |
| 2024-02-16 19:14:13 | <beastwick> | the expected vs actual type is also confusing |
| 2024-02-16 19:14:50 | <geekosaur> | what you're missing there is that a mouse action is passed a Window, but planeMove doesn't want one |
| 2024-02-16 19:15:26 | <geekosaur> | so it's actually \w -> planeMove (Lines 4) Circular ToRight w |
| 2024-02-16 19:15:35 | <beastwick> | what does \w -> mean? |
| 2024-02-16 19:15:48 | <geekosaur> | anonymous function with parameter w |
| 2024-02-16 19:16:00 | <beastwick> | so basically accept the window but do nothing with it |
| 2024-02-16 19:16:29 | <beastwick> | cool works :) |
| 2024-02-16 19:16:36 | <geekosaur> | you didn't write that though, it's adding the window to the parameters passed to planeMove and then complaining that planeMove doesn't want it |
| 2024-02-16 19:17:05 | <beastwick> | I am confused though what is passing a window as a parameter here though? is this what additionalMouseBindings does by default? |
| 2024-02-16 19:17:12 | <geekosaur> | yes |
| 2024-02-16 19:17:28 | <geekosaur> | because if you click on a window you presumably want to do something to it |
| 2024-02-16 19:17:37 | <beastwick> | indeed |
| 2024-02-16 19:17:55 | <geekosaur> | so your mouse action is passed the clicked-on window |
| 2024-02-16 19:21:25 | <beastwick> | one more thing, is it possible to assign mod4Mask to some variable that additionalKeys/MouseBindings can use? |
| 2024-02-16 19:21:43 | <beastwick> | I guess it's trivial to change this field if I had to, but just seems odd |
| 2024-02-16 19:23:00 | <geekosaur> | create a binding for it and use it where you need it. |
| 2024-02-16 19:23:28 | <geekosaur> | I was hoping I had an example but I have no mouse bindings and use additionalKeysP instead of additionalKeys |
| 2024-02-16 19:23:46 | <beastwick> | KeysP is the emacs style right? |
| 2024-02-16 19:23:57 | <geekosaur> | yes |
| 2024-02-16 19:24:20 | <geekosaur> | and the "M-" modifier refers to your modMask |
| 2024-02-16 19:32:33 | <beastwick> | haha, this , ((mod4Mask .|. controlMask, button4), \w -> planeMove (Lines 4) Circular ToUp) cause xmonad to crash? close? when I go beyond the limit it looks like |
| 2024-02-16 19:39:48 | <geekosaur> | hm, I see a lot of unchecked `!!` in the definition of that (well, of `plane` which it calls) |
| 2024-02-16 19:40:04 | <geekosaur> | can you check your session log to see what it crashed on? |
| 2024-02-16 19:40:16 | <geekosaur> | usually ~/.xsession-errors |
| 2024-02-16 19:44:25 | <beastwick> | sadly nothing, tailing the file and then triggering the close/crash |
| 2024-02-16 19:45:48 | <geekosaur> | there should be something logged if xmonad exits unexpectedly |
| 2024-02-16 19:46:14 | <geekosaur> | how do you start xmonad? startx? display manager? if the latter, which one? |
| 2024-02-16 19:46:20 | <beastwick> | x afterwords says fatal IO error |
| 2024-02-16 19:46:22 | <beastwick> | startx |
| 2024-02-16 19:47:16 | <geekosaur> | yes, it ususally does that (actually that would be X clients because the server exits when the window manager does) |
| 2024-02-16 19:47:37 | <geekosaur> | okay, in that case it would be logged to the virtual console unless you redirect it somewhere else |
| 2024-02-16 19:49:34 | <beastwick> | if you mean the tty terminal, that is where I see IO error and x server terminated |
| 2024-02-16 19:49:42 | <beastwick> | i don't see any interesting info in xorg logs :( |
| 2024-02-16 19:50:11 | <geekosaur> | right, xorg logs won't tell you anything, the server is doing a normal exit because the session leader (window manager, usually) exited |
| 2024-02-16 19:50:38 | <beastwick> | XIO: fatal IO error 2 (No such file or directory) on X server ":0" |
| 2024-02-16 19:50:46 | <beastwick> | after 1735 requests (1735 known processed) with 0 events remaining. |
| 2024-02-16 19:50:58 | <beastwick> | that is from xession-errors |
| 2024-02-16 19:51:19 | <geekosaur> | yes, that's just an X client exiting because its server connection went away |
| 2024-02-16 19:51:27 | <beastwick> | gotcha |
| 2024-02-16 19:51:29 | <beastwick> | so xmonad bug? |
| 2024-02-16 19:51:39 | <beastwick> | or well, bug with the library I am using |
| 2024-02-16 19:52:14 | <geekosaur> | I presume this is a bug in X.A.Plane but can't tell what; the error for that should precede the server shutdown and XIO errors |
| 2024-02-16 19:52:39 | <beastwick> | could my keybind some how be triggering xmonad to close for some reason? |
| 2024-02-16 19:52:45 | <beastwick> | as if I did a control shift q |
| 2024-02-16 19:53:40 | <geekosaur> | I expect that planeMove is crashing, and from glancing over the code I expect it's referencing past the end of a list and (!!) is throwing an exception |
| 2024-02-16 19:54:16 | <geekosaur> | I'm not sure we wrap those in userCode to catch exceptions |
| 2024-02-16 19:54:24 | <beastwick> | is there a haskell debugger? something I could attach to the xmonad process and step through code? |
| 2024-02-16 19:55:05 | <geekosaur> | since it's native code you would use gdb or lldb, but ghc's debugger support isn't very good at present |
All times are in UTC.