Logs: freenode/#xmonad
| 2021-05-06 15:51:41 | × | oogeek quits (~szz_@84.17.34.151) (Quit: leaving) |
| 2021-05-06 15:51:58 | → | geekosaur joins (930099da@rrcs-147-0-153-218.central.biz.rr.com) |
| 2021-05-06 15:52:05 | × | mohab quits (~mohab@41.44.63.66) (Ping timeout: 260 seconds) |
| 2021-05-06 16:01:57 | <kajzer> | Yeah, the problem is definetely present, don't know about xmodmap itself, when I needed to find how to disable keyboard buttons that was the only method I could find, at least that's what people are using, and it works great, I had no problems with xmodmap for years, now why Xmonad is not respecting that, is the question |
| 2021-05-06 16:03:10 | <kajzer> | I mean it does respect it, depends on how you configure it, there are several methods to do the same thing |
| 2021-05-06 16:05:19 | <Solid> | kajzer: can you try that statusBar config but without the extra `docks` combinator? |
| 2021-05-06 16:05:51 | <Solid> | it doesn't make much sense, but I do wonder |
| 2021-05-06 16:06:27 | <kajzer> | sure, in a min |
| 2021-05-06 16:08:51 | <kajzer> | I think I tried that but will do it again now |
| 2021-05-06 16:08:59 | <kajzer> | it doesn't matter |
| 2021-05-06 16:11:00 | <kajzer> | yeah i just tested it, same thing without docks, it reacts to the disabled key |
| 2021-05-06 16:12:24 | <kajzer> | i took two screenshots, one is what the desktop looks like when it's normal, and the second what pressing that disabled key does |
| 2021-05-06 16:13:45 | → | wonko7 joins (~wonko7@62.115.229.50) |
| 2021-05-06 16:13:54 | <kajzer> | https://imgur.com/a/JpzSpKp |
| 2021-05-06 16:14:40 | <kajzer> | first one is normal, second one you can see, it kinda moves the window up, left and right there are still gaps, but it etends the window up and down |
| 2021-05-06 16:15:03 | <kajzer> | when you press disabled key, don't matter which one, it's the same with all disabled keys |
| 2021-05-06 16:16:25 | <geekosaur> | thta looks like more or less mod-b. makes some sense for that to be the issue, makes little sense that disabled keys should be mapped to it |
| 2021-05-06 16:19:06 | <geekosaur> | hm. if you add XMonad.Hooks.ManageDebug to your config and use debugManageHookOn, does the problem move to that? |
| 2021-05-06 16:20:00 | <kajzer> | I wouldn't know how to do that |
| 2021-05-06 16:20:19 | <geekosaur> | that is, instead of toggling strut avoidance, does it start dumping manageHook information? |
| 2021-05-06 16:20:40 | → | oogeek joins (~szz_@45.135.186.22) |
| 2021-05-06 16:22:41 | <kajzer> | have to research how to do that |
| 2021-05-06 16:23:09 | <oogeek> | Solid On my side, with config from kajzer, my Xorg will crash if I use debugKeyEvents in handleEventHook. I tried to comment out some of the source code of debugKeyEvents and it stops crashing. So I think I can probably try some more and see if a specific line in debugKeyEvents (maybe with xmodmap) cause the crash |
| 2021-05-06 16:24:02 | <geekosaur> | probably yet another spot where the X11 bindings don't check for a NULL return, we run into those every so often |
| 2021-05-06 16:24:20 | <geekosaur> | mostly with the debug code becuase it exercises more of X11 :) |
| 2021-05-06 16:24:30 | <oogeek> | Yeah, i |
| 2021-05-06 16:24:37 | × | oogeek quits (~szz_@45.135.186.22) (Client Quit) |
| 2021-05-06 16:25:28 | → | oogeek joins (~szz_@45.135.186.22) |
| 2021-05-06 16:27:47 | <kajzer> | geekosaur: instead of avoidstruts I put debugManageHookOn in that place ? |
| 2021-05-06 16:28:38 | <geekosaur> | no, that goes with docks, ewmhFullscreen, ewmh |
| 2021-05-06 16:29:07 | <geekosaur> | and it takes a key sequence in EZConfig style, like "M-C-d" for meta-control-d |
| 2021-05-06 16:29:25 | <kajzer> | ok |
| 2021-05-06 16:31:21 | → | mohab joins (~mohab@45.243.116.81) |
| 2021-05-06 16:31:47 | <oogeek> | geekosaur what about debugManageHook, is that more useful in such case of kajzer? |
| 2021-05-06 16:32:51 | <geekosaur> | no, I specificlaly want the key sequence |
| 2021-05-06 16:33:10 | <geekosaur> | to be added in, to see if their xmonad starts running that iinstead of mod-b |
| 2021-05-06 16:34:00 | <geekosaur> | and it needs to be added in after statusBar adds in the mod-b sequence |
| 2021-05-06 16:34:23 | <kajzer> | i dont use ezconfig, i'm stuck at that part , can you please type the command for that binding |
| 2021-05-06 16:34:36 | <geekosaur> | I gave you an example |
| 2021-05-06 16:35:03 | <kajzer> | i tried this , ((modm, xK_b ), debugManageHookOn) |
| 2021-05-06 16:35:07 | <geekosaur> | you do not need ezconfig, you need to pass debugManageHookOn a String like "M-C-d" |
| 2021-05-06 16:35:14 | <geekosaur> | oh lord |
| 2021-05-06 16:35:16 | <Solid> | debugManageHookOn "M-C-d" |
| 2021-05-06 16:35:18 | <Solid> | :) |
| 2021-05-06 16:35:31 | <kajzer> | lol guys, i'm new to xmonad |
| 2021-05-06 16:35:33 | <geekosaur> | what has that to do with the place where docks, ewmh, ewmhFullscreen are? |
| 2021-05-06 16:35:41 | <kajzer> | nah i placed that |
| 2021-05-06 16:35:50 | <kajzer> | but you said i need to bind key |
| 2021-05-06 16:36:10 | <geekosaur> | no, this binds the key itself., that's the whole point |
| 2021-05-06 16:36:18 | <kajzer> | ah ok |
| 2021-05-06 16:36:25 | <geekosaur> | it's binding a key *after* statusBar binds the key that is getting run |
| 2021-05-06 16:36:32 | <kajzer> | but do i need ezconfig ? |
| 2021-05-06 16:36:35 | <geekosaur> | so I can see if it starts running that key instead |
| 2021-05-06 16:36:46 | <geekosaur> | no, you do not need ezconfig |
| 2021-05-06 16:37:55 | <kajzer> | ok i just added debugManageHook where the docks and other stuff is |
| 2021-05-06 16:38:04 | <kajzer> | confused about debugManageHookOn part |
| 2021-05-06 16:39:03 | <geekosaur> | you do not add debugManageHook |
| 2021-05-06 16:39:14 | <geekosaur> | yoou add: debugManageHookOn "M-C-d" |
| 2021-05-06 16:39:56 | <kajzer> | ok done, so i press that key and then what |
| 2021-05-06 16:40:07 | <geekosaur> | no, you do not press that key |
| 2021-05-06 16:40:20 | <oogeek> | I have a stupid question: where can I find the output of debugManageHook? |
| 2021-05-06 16:40:45 | <geekosaur> | you look to see if the problem you have been having goes away, and ideally check the session log (usually ~/.xsession-errors) to see if it's producing output |
| 2021-05-06 16:41:05 | <kajzer> | ok problem is still present |
| 2021-05-06 16:41:07 | <oogeek> | kajzer What you should do is to test the error config as it is, and check as geekosaur as mentioned |
| 2021-05-06 16:41:20 | <geekosaur> | which would indicate that instead of the unbound key running the old "last key bound", it is now running the new "last key bound" |
| 2021-05-06 16:41:59 | <geekosaur> | I don't care about the manageHook as such here, I just want a different key to be the last one bound by your config |
| 2021-05-06 16:42:08 | <geekosaur> | which is currently the one added by statusBar |
| 2021-05-06 16:42:09 | <kajzer> | xsession-errors was not generated |
| 2021-05-06 16:42:36 | <kajzer> | oogeek: im doing that |
| 2021-05-06 16:42:51 | <geekosaur> | it owuldn't have been generated, it shoudl have been there already. some systems suppress the log entirely, some move it under journalctl (and I can't help you figure that one out) |
| 2021-05-06 16:43:24 | <kajzer> | ok ill try to find it in other locations |
| 2021-05-06 16:43:46 | <kajzer> | how about Xorg.log ? |
| 2021-05-06 16:43:58 | <geekosaur> | no, that's the system log not the session log |
| 2021-05-06 16:44:13 | <Solid> | what distro are you on? |
| 2021-05-06 16:44:18 | <kajzer> | gentoo |
| 2021-05-06 16:44:31 | <Solid> | they probably let you do it yourself :P |
| 2021-05-06 16:44:43 | <kajzer> | lol |
| 2021-05-06 16:45:02 | <Solid> | I have something like `exec startx >& ~/.xsession.errors` somewhere in a .profile file |
| 2021-05-06 16:45:57 | <geekosaur> | https://forums.gentoo.org/viewtopic-t-1051280-start-0.html |
| 2021-05-06 16:46:16 | <geekosaur> | they use journald by default but there's a way to re-enable .xsession-errors |
| 2021-05-06 16:46:34 | <geekosaur> | there's some journalctl command to dump the log but idek |
| 2021-05-06 16:46:44 | <Solid> | ah I see |
| 2021-05-06 16:46:54 | <kajzer> | reading it |
| 2021-05-06 16:47:08 | <Solid> | wait isn't that a systemd thing |
| 2021-05-06 16:47:16 | <geekosaur> | yes |
| 2021-05-06 16:47:29 | <Solid> | I thought gentoo was on openrc |
| 2021-05-06 16:47:35 | <kajzer> | i dont use display managers and systemd |
| 2021-05-06 16:47:49 | <geekosaur> | then your session log is on the first virtual console |
| 2021-05-06 16:47:57 | <geekosaur> | ctrl-alt-f1 probably |
| 2021-05-06 16:48:06 | <kajzer> | it's not in /home |
| 2021-05-06 16:48:06 | <geekosaur> | alt-f7 to get back to your x11 session |
| 2021-05-06 16:48:56 | <kajzer> | anyway , i get it, ill try to find it and will let you know |
| 2021-05-06 16:55:10 | <kajzer> | hmm , you see, I'm using startx, just that, maybe I need to use startx 1>~/.log/xsession-errors 2>&1 & |
| 2021-05-06 16:56:00 | <geekosaur> | yes. or for now switch back to the text console like I just told you |
| 2021-05-06 16:56:07 | <geekosaur> | ctrl-alt-f1 |
| 2021-05-06 16:56:14 | <geekosaur> | then alt-f7 usually to get back |
| 2021-05-06 16:56:32 | <kajzer> | reading this https://wiki.gentoo.org/wiki/X_without_Display_Manager |
| 2021-05-06 16:57:07 | <kajzer> | i think i have VT's disabled, anywaay ctrl-alt-f1 doesnt work |
| 2021-05-06 16:57:23 | <kajzer> | havent tried that in a long time |
| 2021-05-06 16:59:03 | <kajzer> | well, i guess ill have to quit from X and try to start it with that log file |
All times are in UTC.