Logs on 2022-09-10 (liberachat/#xmonad)
| 00:01:48 | → | diep joins (~diep@2a01:cb11:2d7:4a00:a13f:e40c:c4e8:736c) |
| 00:06:44 | × | diep quits (~diep@2a01:cb11:2d7:4a00:a13f:e40c:c4e8:736c) (Remote host closed the connection) |
| 00:07:28 | → | diep joins (~diep@2a01:cb11:2d7:4a00:12c3:4372:12dc:27ce) |
| 00:19:25 | × | diep quits (~diep@2a01:cb11:2d7:4a00:12c3:4372:12dc:27ce) (Remote host closed the connection) |
| 02:02:43 | × | banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 248 seconds) |
| 02:23:00 | → | banc joins (banc@gateway/vpn/airvpn/banc) |
| 02:36:19 | × | td_ quits (~td@94.134.91.37) (Ping timeout: 248 seconds) |
| 02:38:12 | → | td_ joins (~td@muedsl-82-207-238-006.citykom.de) |
| 03:39:22 | → | noex joins (~null@user/noex) |
| 03:40:21 | × | mvk quits (~mvk@2607:fea8:5ce3:8500::875a) (Ping timeout: 244 seconds) |
| 04:22:19 | × | justJingo quits (~justache@user/justache) (Quit: ZNC 1.8.2 - https://znc.in) |
| 04:22:38 | → | justache joins (~justache@user/justache) |
| 05:23:15 | × | jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 248 seconds) |
| 06:32:45 | → | chomwitt joins (~chomwitt@2a02:587:dc16:fe00:b62b:4d00:b365:1fd8) |
| 08:11:25 | <Solid> | liskin: sounds great :) |
| 08:19:20 | → | mc47 joins (~mc47@xmonad/TheMC47) |
| 08:20:51 | mc47 | committed the sin of calling `windows` insde `logHook`, and wondering why my system broke |
| 08:21:59 | <Solid> | :] |
| 08:28:02 | <xmonadtrack> | New branch created: pull/421 (1 commit) https://github.com/xmonad/xmonad/pull/421 |
| 08:28:02 | <xmonadtrack> | xmonad Tony Zorman https://github.com/xmonad/xmonad/pull/421 * v0.17.1-8-g3d8238b: Expose buildLaunch, sendRestart, and sendReplace (47 minutes ago, 3 files, 59+ 54-) https://github.com/xmonad/xmonad/commit/3d8238b35d0f |
| 08:46:14 | × | mc47 quits (~mc47@xmonad/TheMC47) (Read error: Connection reset by peer) |
| 10:14:26 | → | logzet joins (~quassel@2001:9e8:e52d:1c00:dabb:c1ff:fed3:a1b9) |
| 10:25:15 | × | nomadxx3 quits (~lanomadx@180-150-32-38.b49620.mel.static.aussiebb.net) (Quit: ZNC 1.8.2 - https://znc.in) |
| 10:27:31 | → | nomadxx3 joins (~lanomadx@180-150-32-38.b49620.mel.static.aussiebb.net) |
| 11:29:27 | geekosaur | wonders if that's worth documenting as part of `logHook` |
| 11:44:26 | → | alternateved joins (~user@staticline-31-183-146-203.toya.net.pl) |
| 11:52:43 | → | mc47 joins (~mc47@xmonad/TheMC47) |
| 11:56:02 | <mc47> | maybe we should, I shot myself in the foot a couple of times trying to add this new functionality |
| 11:56:09 | <mc47> | sticky windows |
| 12:07:12 | <geekosaur> | hm, why logHook? afaik it should be in manageHook and handleEventHook |
| 12:15:19 | × | nomadxx3 quits (~lanomadx@180-150-32-38.b49620.mel.static.aussiebb.net) (Quit: ZNC 1.8.2 - https://znc.in) |
| 12:16:27 | → | nomadxx3 joins (~lanomadx@208.91.67.65) |
| 12:21:09 | <mc47> | I want to detect when visible workspaces change |
| 12:22:19 | <geekosaur> | hm. so you want to move the window dynamically instead of just using copyToAll? |
| 12:22:25 | <mc47> | yes |
| 12:22:44 | <mc47> | I mean I remember trying copyToAll and not liking it |
| 12:22:53 | <mc47> | totally forgot about it when I wanted to add this lol |
| 12:22:56 | <mc47> | might take another look |
| 12:27:15 | <liskin> | we could also extend XConf and use Control.Monad.Reader.local to prevent recursion in windows :-) |
| 12:34:13 | <[Leary]> | I have some changes I've been sitting on / testing for months now which also provide a fix for logHook. In particular, any changes it makes are handled in the same refresh. |
| 12:35:37 | <[Leary]> | The changes are reasonably small, not outwardly breaking, and essentially semantics preserving ... but they touch deep stuff. Like, redefining X. |
| 12:37:01 | <[Leary]> | So I'm not really sure if they'd go in. That said, I still plan to write up a motivating PR some time soon. |
| 12:39:22 | <geekosaur> | I don't thhink a lot of stuff depends on the exact structure of X; that's what the mtl classes are for |
| 12:43:55 | → | andi_ joins (~andi@user/andi/x-3467420) |
| 12:49:19 | <andi_> | where there some breaking changes from 0.16. to 0.17? |
| 12:50:01 | × | alternateved quits (~user@staticline-31-183-146-203.toya.net.pl) (Remote host closed the connection) |
| 12:51:45 | <geekosaur> | we made some default* names go away as they;ve been deprecated for several versions. there were a few others; check the changelog |
| 12:51:54 | <geekosaur> | no major breaking changes to the core |
| 12:53:55 | × | logzet quits (~quassel@2001:9e8:e52d:1c00:dabb:c1ff:fed3:a1b9) (Ping timeout: 248 seconds) |
| 12:55:23 | <geekosaur> | https://github.com/xmonad/xmonad-contrib/blob/master/CHANGES.md#breaking-changes-2 |
| 13:03:37 | <andi_> | see this is my xmonad.hs https://paste.xinu.at/kywzt/ but i cannot recompile, because of line 73 (myXPConfig = defaultXPConfig, variable not found in scope) and line 102 with the same problem but i don't see why this is a problem? |
| 13:10:03 | <geekosaur> | that's one of the removed names I mentioned. use `def` instead |
| 13:12:11 | × | lazyrat quits (~lazycat@user/lazycat) (Quit: ZNC - https://znc.in) |
| 13:13:06 | → | lazycat joins (~lazycat@user/lazycat) |
| 13:15:26 | <andi_> | but as they're depreciated i probably should get rid of them, wouldn't that be a better idea? |
| 13:17:07 | <geekosaur> | no? the only things deprecated are the old names, `def` is the new way to do it |
| 13:27:13 | <andi_> | alright, thank you very much geekosaur |
| 13:31:33 | <Solid> | andi_: you can also read through the breaking changes for contrib 0.17.0 here: https://github.com/xmonad/xmonad-contrib/blob/master/CHANGES.md#breaking-changes-2 |
| 14:05:16 | <geekosaur> | I pointed to that already 🙂 |
| 14:05:39 | <Solid> | oh |
| 14:05:41 | <Solid> | sorry about that |
| 14:15:16 | × | mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection) |
| 14:16:37 | → | mc47 joins (~mc47@xmonad/TheMC47) |
| 14:17:47 | <mc47> | geekosaur I remember why I CopyWindow didn't do it for me: it breaks with multiple monitors |
| 14:21:32 | <geekosaur> | breaks how? (aside from the fact that X11 won't let a window be more than one place at a time) |
| 14:26:26 | × | chomwitt quits (~chomwitt@2a02:587:dc16:fe00:b62b:4d00:b365:1fd8) (Ping timeout: 260 seconds) |
| 14:31:36 | <xmonadtrack> | xmonad-contrib Luca Leon Happel {Tony Zorman} * v0.17.1-11-gae652b40: X.L.BorderResize: Add borderResizeNear (26 hours ago, 2 files, 43+ 29-) https://github.com/xmonad/xmonad-contrib/commit/ae652b40f498 |
| 14:31:37 | <xmonadtrack> | xmonad-contrib Tony Zorman {GitHub} * v0.17.1-12-gb0fc5549: Merge pull request #754 from Quoteme/master (79 seconds ago, 0 files, 0+ 0-) https://github.com/xmonad/xmonad-contrib/commit/b0fc55499d16 |
| 14:41:07 | <mc47> | geekosaur it would move the window between screens, whereas I want it to stick on one screen |
| 14:41:20 | <mc47> | breaks as in breaks for my usecase |
| 14:51:00 | → | logzet joins (~quassel@2001:9e8:e52d:1c00:dabb:c1ff:fed3:a1b9) |
| 15:01:24 | × | mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection) |
| 15:02:24 | → | mc47 joins (~mc47@xmonad/TheMC47) |
| 15:06:15 | × | Natch quits (~natch@c-9e07225c.038-60-73746f7.bbcust.telenor.se) (Remote host closed the connection) |
| 15:28:48 | → | Natch joins (~natch@c-9e07225c.038-60-73746f7.bbcust.telenor.se) |
| 16:17:59 | → | jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) |
| 16:29:11 | → | thunderrd joins (~thunderrd@183.182.114.129) |
| 17:14:54 | → | chomwitt joins (~chomwitt@2a02:587:dc16:fe00:5010:70b4:e094:50b5) |
| 19:09:05 | × | mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection) |
| 20:13:23 | × | steve_ quits (~steve@ool-182c2b80.dyn.optonline.net) (Ping timeout: 244 seconds) |
| 21:00:53 | × | noex quits (~null@user/noex) (Quit: :q!) |
| 21:05:14 | × | chomwitt quits (~chomwitt@2a02:587:dc16:fe00:5010:70b4:e094:50b5) (Ping timeout: 268 seconds) |
| 21:09:11 | → | henninb joins (~henninb@97-116-154-134.mpls.qwest.net) |
| 21:24:32 | <henninb> | Hi, I am trying to fix a formatting issue with my bar dzen in xmonad. I posted the question on reddit which describes the problem 'https://www.reddit.com/r/xmonad/comments/x9so8z/dzen2_bar_spacing_issue/' please provide any suggestions on how I can troubleshoot this issue. |
| 21:32:22 | <geekosaur> | gentoo just upgraded their xmonad, but I don't think any of the changes in 0.17.1 could have caused that. or 0.17.0 for that matter |
| 21:33:24 | <henninb> | geekosaur, I don't think so either on the gentoo comment. I suppose I could try and downgrade. |
| 21:34:03 | <geekosaur> | I don't know of a dzen2 upgrade but the workspace information would be coming from xmonad, dzaen2 doesn't reformat it |
| 21:34:20 | <geekosaur> | it just displays what it's given |
| 21:34:33 | <henninb> | agreed, it is a very strange issue. |
| 21:35:14 | <henninb> | i think the data coming out of xmonad is stored in a pipe, do I have that right? |
| 21:35:32 | <geekosaur> | try the downgrade I guess, if that fixes it then we'll have to see if something unexpectedly changed with the dzen formatting. (I think only the xmobar stuff had actually been tested, but I have trouble imagining something that would break only dzen like that) |
| 21:35:46 | <geekosaur> | depends on how you have it configured |
| 21:36:14 | <geekosaur> | we've been moving to using properties because it's kinda bad when someone misconfigures their bar and xmonad hands writing to the pipe |
| 21:36:19 | <geekosaur> | *hangs |
| 21:36:49 | <geekosaur> | but neither pipes nor X11 properties alter what they contain |
| 21:37:10 | <henninb> | agreed |
| 21:37:41 | <henninb> | I may end up switching to xmobar if I can't figure this out :) |
| 21:38:05 | <henninb> | for what it is worth, this is my config. https://github.com/henninb/dotfiles/blob/main/.config/xmonad/xmonad.hs |
| 21:38:59 | <geekosaur> | I was about to ask for that 🙂 |
| 21:39:52 | <henninb> | :) |
| 21:40:27 | <henninb> | do you have a good example of using properties vs using pipes? I can also do some digging on my own. |
| 21:48:43 | → | noex joins (~null@user/noex) |
| 21:49:43 | <geekosaur> | hm. this is dzen2, I think it can only be fed via a pipe |
| 21:50:09 | <geekosaur> | xmobar has a property reader that can be used in place of StdinReader but dzen2 only does stdin |
| 21:51:35 | <henninb> | Thank you geekosaur, that makes sense. I just reading some points on that topic. |
| 21:53:23 | <geekosaur> | sorry for delay, I had popped outward from your xmonad.hs to look at the local dzen module and see if anything stood out in there |
| 21:54:39 | <henninb> | I just appreciate you taking a look and providing your thoughts. Thank you. |
| 21:55:47 | <henninb> | is there a way to "intercept" the content of the pipe before it is displayed? |
| 21:56:56 | <geekosaur> | not as such. you could arrange to write it to a file as well as the pipe though |
| 21:57:26 | <henninb> | that is a great idea. then I could see what is going on. |
| 21:58:15 | <geekosaur> | https://github.com/henninb/dotfiles/blob/main/.config/xmonad/lib/Local/DzenLogHook.hs#L41 |
| 21:59:05 | <geekosaur> | ppOutput = \s -> hPutStrLn h s >> hPutStrLn stderr s |
| 21:59:15 | <geekosaur> | may have to import stderr from System.IO |
| 21:59:33 | <henninb> | awesome, i will give it a try. |
| 21:59:54 | <geekosaur> | and the output should go to ~/.xsession-errors unless you';re using startx, in which case you either need to redirect its output to a file or switch to the original console |
| 22:00:17 | <henninb> | I am using sddm |
| 22:01:12 | <geekosaur> | you may have to check iots configuration to see where the session output goes |
| 22:02:29 | <henninb> | ok |
| 22:04:09 | <geekosaur> | hah, knew I remembered something about that. ~/.local/share/sddm/xorg-session.log |
| 22:05:18 | <geekosaur[m]> | Test |
| 22:05:39 | <geekosaur> | only working in one direction 😞 |
| 22:06:10 | <henninb> | found it. |
| 22:07:28 | <henninb> | I am going to paste the content in my reddit post. give me a few seconds. |
| 22:09:34 | <henninb> | posted. |
| 22:20:10 | <geekosaur> | that looks correct |
| 22:20:35 | <geekosaur> | most of the "noise" is setting the font or specifying the click behavior for clickableWorkspaces |
| 22:20:58 | <henninb> | exactly |
| 22:21:14 | <geekosaur> | so either the font metrics are wildly off or dzen is inserting spaces. since dzen has no code or, or reason to, edit its input, I'd check the font |
| 22:21:37 | <geekosaur> | or whether it changed in such a way that dzen can't handle it any more |
| 22:21:41 | <henninb> | good idea, I will try a different font. |
| 22:22:25 | <henninb> | this seems like a dzen2 issue vs an xmonad issue. |
| 22:23:27 | <geekosaur> | or dzaen is allocating screen space for its escapes for some reason which would be a dzen bug |
| 22:25:13 | <henninb> | thank you for taking a look geekosaur. |
| 22:27:41 | <geekosaur> | no problem, that's what we're here in #xmonad for |
| 23:03:02 | × | henninb quits (~henninb@97-116-154-134.mpls.qwest.net) (Quit: leaving) |
| 23:32:12 | × | noex quits (~null@user/noex) (Quit: :q!) |
| 23:51:31 | × | logzet quits (~quassel@2001:9e8:e52d:1c00:dabb:c1ff:fed3:a1b9) (Ping timeout: 248 seconds) |
All times are in UTC on 2022-09-10.