Logs: freenode/#xmonad
| 2021-05-05 14:37:44 | → | ADG1089 joins (~aditya@122.163.193.183) |
| 2021-05-05 14:39:59 | → | seschwar joins (~seschwar@unaffiliated/seschwar) |
| 2021-05-05 14:48:09 | × | oogeek quits (~szz_@45.135.186.22) (Read error: Connection reset by peer) |
| 2021-05-05 14:50:17 | × | friki quits (~friki@friki.cat) (Quit: %friki%) |
| 2021-05-05 14:50:43 | → | friki joins (~friki@friki.cat) |
| 2021-05-05 14:50:47 | → | oogeek joins (~szz_@45.135.186.22) |
| 2021-05-05 14:55:46 | × | friki quits (~friki@friki.cat) (Ping timeout: 240 seconds) |
| 2021-05-05 14:59:38 | <kajzer> | oogeek: 'removeKeys' doesn't help, I guess it's something in the config, but I really can't tell what, those keys aren't defined for anything, it's NumPad basically that I always disable with xmodmap, but Xmonad is ignoring xmodmap or it's a bug, I tried loading just simple default config with only 5 lines, and yeah those keys are disabled then |
| 2021-05-05 15:02:17 | <geekosaur> | pc-type hardware does weird things with the numpad. xmonad does handle numlock specially but otherwise shouldn't handle the numpad any differently from other keys |
| 2021-05-05 15:04:32 | → | friki joins (~friki@friki.cat) |
| 2021-05-05 15:04:55 | × | geekosaur quits (930099da@rrcs-147-0-153-218.central.biz.rr.com) (Quit: Connection closed) |
| 2021-05-05 15:05:16 | → | geekosaur joins (930099da@rrcs-147-0-153-218.central.biz.rr.com) |
| 2021-05-05 15:19:27 | × | mohab quits (~mohab@45.243.72.186) (Ping timeout: 265 seconds) |
| 2021-05-05 15:19:51 | × | geekosaur quits (930099da@rrcs-147-0-153-218.central.biz.rr.com) (Quit: Connection closed) |
| 2021-05-05 15:20:34 | rieper|net | is now known as rieper |
| 2021-05-05 15:20:53 | × | rieper quits (~riepernet@sxbeta1.geo.uni-leipzig.de) (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.) |
| 2021-05-05 15:21:07 | → | rieper joins (~riepernet@sxbeta1.geo.uni-leipzig.de) |
| 2021-05-05 15:22:25 | → | geekosaur joins (930099da@rrcs-147-0-153-218.central.biz.rr.com) |
| 2021-05-05 15:29:40 | <geekosaur> | if it matters, the special handling is that X11 passes through NumLock in the modifier mask, so xmonad strips it before checking which key event it received. if you need it to not do this, you can set (iirc) `numberlockMask` to 0 in the state |
| 2021-05-05 15:30:08 | <geekosaur> | startupHook: puts numberlockMask 0 |
| 2021-05-05 15:32:29 | <oogeek> | geekosaur Is there any resource to understand xmonad's handling of keys and keystrokes, I have read the source code of X.H.DebugKeyEvents, but I think I need more materials to understand it. Especially the codes. Can you give any suggestions? |
| 2021-05-05 15:32:39 | → | mohab joins (~mohab@45.243.72.186) |
| 2021-05-05 15:32:58 | <kajzer> | geekosaur: what's the import for puts ? |
| 2021-05-05 15:33:13 | <geekosaur> | Control.Monad.State |
| 2021-05-05 15:33:58 | <kajzer> | nope |
| 2021-05-05 15:33:59 | <geekosaur> | oogeek, most of the important code is in https://github.com/xmonad/xmonad/blob/master/src/XMonad/Main.hs |
| 2021-05-05 15:34:10 | <geekosaur> | hold on |
| 2021-05-05 15:35:24 | <oogeek> | Thanks, I plan to read a whole bunch of xmonad source code this summer. :) |
| 2021-05-05 15:35:31 | <geekosaur> | oh roight, no simplistic way to do that because record updates aren't first class :/ |
| 2021-05-05 15:35:47 | <geekosaur> | (see also people askingabout microlens support…) |
| 2021-05-05 15:36:10 | <kajzer> | ok if you remember how to do that this or some other way please do let me know |
| 2021-05-05 15:36:19 | <kajzer> | ok |
| 2021-05-05 15:36:27 | <geekosaur> | st <- get; put (st { numberlockMask = 0 }) |
| 2021-05-05 15:36:44 | <geekosaur> | use whatever name you want for `st` there |
| 2021-05-05 15:36:55 | <oogeek> | I have another question, what does the type "DISPLAY" actually means, I understand what Window means, and have checked it up, but no DISPLAY. I am especially confused about something like withDisplay ... |
| 2021-05-05 15:37:52 | <oogeek> | it claims that it is Display (Ptr Display) |
| 2021-05-05 15:38:00 | <kajzer> | geekosaur: it's still enabled |
| 2021-05-05 15:39:04 | <geekosaur> | a Display is an X server, consisting of one or more Screens (although X11's notion of Screen is historical, leading to the root window hack that is used these days instead of what some call "zaphod mode") |
| 2021-05-05 15:39:54 | <geekosaur> | in Haskell it's a pointer to a struct returned by xlib (hence Ptr) |
| 2021-05-05 15:40:23 | <geekosaur> | kajzer, what exactly are you trying to do? |
| 2021-05-05 15:40:37 | <oogeek> | geekosaur Thanks a lot. So if I want to read its source code, do I need to read about the X11 library for related stuff? |
| 2021-05-05 15:40:46 | <oogeek> | The X11 library for xmonad |
| 2021-05-05 15:40:58 | <kajzer> | disable some nimpad keys, say for example just 0 on numkeypad |
| 2021-05-05 15:41:04 | <kajzer> | numpad* |
| 2021-05-05 15:41:23 | <kajzer> | I used dwm before Xmonad, switched recently, and there xmopad works |
| 2021-05-05 15:41:37 | <kajzer> | xmodmap* |
| 2021-05-05 15:42:14 | <geekosaur> | that mostly assumes you've read the actual X11 manual, I suggest familiarizing yourself with https://tronche.com/gui/x/ |
| 2021-05-05 15:42:41 | <kajzer> | in Xmonad with xmodmap the key is disabled but it odes something with window and that key is not in the config at all |
| 2021-05-05 15:42:51 | <kajzer> | does* |
| 2021-05-05 15:43:06 | <geekosaur> | xmonad doesnt do anything with numpad keys, that I'm aware of |
| 2021-05-05 15:43:28 | <geekosaur> | pretty sure we don't map any of xP_KP_* |
| 2021-05-05 15:43:36 | <oogeek> | geekosaur Thanks again. There are too much contents for me. So I guess I will read xmonad/xmonad-contrib source code first, then touch the manual later. |
| 2021-05-05 15:44:15 | <kajzer> | geekosaur: ok, not a big deal, I'll maybe try to figure it out later |
| 2021-05-05 15:44:51 | <geekosaur> | can't imagine what it would be doing with a window, if anythingit would switch workspaces |
| 2021-05-05 15:45:02 | <geekosaur> | hm, I guess conceivably shift to workspace |
| 2021-05-05 15:45:04 | → | growpotkin joins (~growpotki@130-45-30-154.dyn.grandenetworks.net) |
| 2021-05-05 15:45:17 | <kajzer> | it extends it , enalrge it a little , over the xmobar, i have two bars |
| 2021-05-05 15:45:22 | <kajzer> | enlarge* |
| 2021-05-05 15:45:28 | <geekosaur> | o.O |
| 2021-05-05 15:45:58 | <oogeek> | kajzer So it is like you disabled the keys but when you press it, there are still some actions? |
| 2021-05-05 15:46:08 | <kajzer> | exactly |
| 2021-05-05 15:46:23 | <oogeek> | So which version of xmonad xmonad-contrib you are using? |
| 2021-05-05 15:46:29 | <kajzer> | keys are not in the config and when i disable them with xmodmap this happens |
| 2021-05-05 15:46:58 | <kajzer> | non-git , 0.15 and 0.16 |
| 2021-05-05 15:48:58 | <kajzer> | you can try that with xmodmap -e 'keycode 90=' |
| 2021-05-05 15:49:14 | <kajzer> | that should disable 0 in numpad |
| 2021-05-05 15:50:27 | <oogeek> | Yeah, it is disabled. |
| 2021-05-05 15:51:05 | <kajzer> | right, but in my config it does something with gaps |
| 2021-05-05 15:51:22 | <kajzer> | when you press it , even though it's disabled |
| 2021-05-05 15:51:49 | <kajzer> | lemme disable spacing and try |
| 2021-05-05 15:52:47 | <kajzer> | nah it's not that, it still moves the window up |
| 2021-05-05 15:53:31 | <oogeek> | It is strange that xmodmap works well on my side. I use numpad a lot and I just disable 0 and 4. |
| 2021-05-05 15:53:34 | <oogeek> | Strange. |
| 2021-05-05 15:54:51 | × | oogeek quits (~szz_@45.135.186.22) (Quit: Lost terminal) |
| 2021-05-05 15:56:01 | → | oogeek joins (~szz_@45.135.186.22) |
| 2021-05-05 16:03:45 | × | oogeek quits (~szz_@45.135.186.22) (Quit: leaving) |
| 2021-05-05 16:30:09 | <kajzer> | it's something in the main function, depends how you define it, actual config (keys, layouts, hooks etc.) don't matter |
| 2021-05-05 16:37:19 | × | ADG1089 quits (~aditya@122.163.193.183) (Quit: Konversation terminated!) |
| 2021-05-05 16:40:10 | × | mohab quits (~mohab@45.243.72.186) (Ping timeout: 265 seconds) |
| 2021-05-05 17:02:58 | × | notis quits (~notis@185.51.134.229) (Read error: Connection reset by peer) |
| 2021-05-05 17:06:37 | → | notis joins (~notis@2a02:2149:8a44:5700:3fe0:286c:a70f:ba77) |
| 2021-05-05 17:08:54 | × | geekosaur quits (930099da@rrcs-147-0-153-218.central.biz.rr.com) (Quit: Connection closed) |
| 2021-05-05 17:13:16 | → | geekosaur joins (930099da@rrcs-147-0-153-218.central.biz.rr.com) |
| 2021-05-05 17:32:43 | × | notis quits (~notis@2a02:2149:8a44:5700:3fe0:286c:a70f:ba77) (Ping timeout: 276 seconds) |
| 2021-05-05 17:33:55 | → | notis joins (~notis@185.51.134.229) |
| 2021-05-05 17:48:52 | × | wonko7 quits (~wonko7@62.115.229.50) (Quit: See You Space Cowboy..) |
| 2021-05-05 17:49:20 | → | wonko7 joins (~wonko7@62.115.229.50) |
| 2021-05-05 18:05:46 | × | notis quits (~notis@185.51.134.229) (Read error: Connection reset by peer) |
| 2021-05-05 18:06:12 | × | geekosaur quits (930099da@rrcs-147-0-153-218.central.biz.rr.com) (Quit: Connection closed) |
| 2021-05-05 18:18:18 | → | geekosaur joins (930099da@rrcs-147-0-153-218.central.biz.rr.com) |
| 2021-05-05 18:41:07 | × | cyr4x3 quits (~cyr4x3@139.47.119.53) (Quit: WeeChat 2.3) |
| 2021-05-05 18:50:35 | × | thc202 quits (~thc202@unaffiliated/thc202) (Quit: thc202) |
| 2021-05-05 19:05:44 | → | thc202 joins (~thc202@unaffiliated/thc202) |
| 2021-05-05 19:32:55 | → | mohab joins (~mohab@45.243.80.178) |
| 2021-05-05 20:13:25 | × | geekosaur quits (930099da@rrcs-147-0-153-218.central.biz.rr.com) (Quit: Connection closed) |
| 2021-05-05 20:17:00 | → | geekosaur joins (930099da@rrcs-147-0-153-218.central.biz.rr.com) |
| 2021-05-05 20:56:38 | × | geekosaur quits (930099da@rrcs-147-0-153-218.central.biz.rr.com) (Quit: Connection closed) |
| 2021-05-05 21:21:04 | → | geekosaur joins (930099da@rrcs-147-0-153-218.central.biz.rr.com) |
| 2021-05-05 21:40:16 | × | mohab quits (~mohab@45.243.80.178) (Ping timeout: 260 seconds) |
| 2021-05-05 21:40:27 | × | cfricke quits (~cfricke@unaffiliated/cfricke) (Quit: WeeChat 3.1) |
All times are in UTC.