Home liberachat/#xmonad: Logs Calendar

Logs on 2024-03-22 (liberachat/#xmonad)

00:25:09 × yaslam quits (~yaslam@user/yaslam) (Quit: ZNC 1.9.0 - https://znc.in)
00:25:31 yaslam joins (~yaslam@user/yaslam)
00:55:58 × yaslam quits (~yaslam@user/yaslam) (Quit: beans r nice)
00:56:27 yaslam joins (~yaslam@user/yaslam)
01:17:07 × yaslam quits (~yaslam@user/yaslam) (Quit: beans r nice)
01:47:23 × catman quits (~catman@user/catman) (Quit: WeeChat 4.3.0-dev)
02:02:18 hightower3 joins (~hightower@213-202-93-53.dsl.iskon.hr)
02:05:23 × hightower2 quits (~hightower@169-120.dsl.iskon.hr) (Ping timeout: 264 seconds)
02:10:40 catman joins (~catman@user/catman)
03:02:14 × defjam quits (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb) (Ping timeout: 264 seconds)
03:14:38 defjam joins (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb)
03:21:11 × defjam quits (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb) (Ping timeout: 255 seconds)
03:34:35 defjam joins (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb)
03:40:38 × defjam quits (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb) (Ping timeout: 264 seconds)
03:45:35 × td_ quits (~td@i53870901.versanet.de) (Ping timeout: 264 seconds)
03:47:01 td_ joins (~td@i5387092D.versanet.de)
03:52:31 defjam joins (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb)
03:58:41 × defjam quits (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb) (Ping timeout: 268 seconds)
04:11:04 defjam joins (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb)
04:15:43 × defjam quits (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb) (Ping timeout: 260 seconds)
04:28:22 defjam joins (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb)
04:34:02 × defjam quits (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb) (Ping timeout: 264 seconds)
04:45:09 defjam joins (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb)
04:46:31 × down200 quits (~down200@shell.lug.mtu.edu) (Quit: ZNC - https://znc.in)
04:50:40 down200 joins (~down200@shell.lug.mtu.edu)
04:51:26 × defjam quits (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb) (Ping timeout: 264 seconds)
04:54:37 defjam joins (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb)
05:00:05 × defjam quits (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb) (Ping timeout: 240 seconds)
05:12:18 defjam joins (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb)
05:18:26 × defjam quits (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb) (Ping timeout: 264 seconds)
05:26:52 × tv quits (~tv@user/tv) (Ping timeout: 268 seconds)
05:30:50 defjam joins (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb)
05:36:44 × defjam quits (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb) (Ping timeout: 268 seconds)
05:40:53 tv joins (~tv@user/tv)
05:48:17 defjam joins (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb)
05:54:35 × defjam quits (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb) (Ping timeout: 272 seconds)
05:55:37 defjam joins (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb)
06:01:21 × defjam quits (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb) (Ping timeout: 255 seconds)
06:13:47 defjam joins (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb)
06:19:55 × defjam quits (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb) (Ping timeout: 256 seconds)
06:32:59 defjam joins (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb)
06:38:59 × defjam quits (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb) (Ping timeout: 260 seconds)
06:50:25 defjam joins (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb)
07:02:46 × defjam quits (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb) (Ping timeout: 268 seconds)
07:16:07 defjam joins (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb)
07:21:08 × defjam quits (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb) (Ping timeout: 256 seconds)
07:33:27 defjam joins (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb)
07:39:46 × defjam quits (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb) (Ping timeout: 268 seconds)
07:51:33 defjam joins (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb)
07:53:08 <haskellbridge> <v​entrace> Hey guys, I've copied "The Whole Thing" (config) from https://xmonad.org/TUTORIAL.html and recompiled xmonad. It sets my terminal to the one I want and my keys, but it doesn't start xmobar for some reason? Does the first argument to "statusBarProp" look in path or how does it work?
08:03:47 × defjam quits (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb) (Ping timeout: 272 seconds)
08:17:42 defjam joins (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb)
08:22:46 × defjam quits (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb) (Ping timeout: 246 seconds)
08:28:32 <haskellbridge> <m​c47> ventrace: you run the same command in your terminal?
08:29:09 <haskellbridge> <v​entrace> Hi mc47 if I run xmobar from the terminal it runs fine, although if I run xmobar & it suspends itself if I hit enter.
08:29:19 <haskellbridge> <v​entrace> But I checked htop and xmobar doesn't spawn
08:31:28 <haskellbridge> <v​entrace> I've changed the String to "xmobar -x0" now, and the screen seems to flash as if it draws something but is instantly removed
08:33:16 <haskellbridge> <S​olid> Perhaps try giving it an absolute path to make absolutely sure it's not that kind of issue (also check `~/.xsession-errors` or something related)
08:35:11 <haskellbridge> <v​entrace> Providing the full path doesn't change the behavior. It almost seems as if xmobar is run and immediately killed. my .xsession-errors is empty
08:36:06 defjam joins (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb)
08:37:46 <haskellbridge> <S​olid> What's your xmobar config?
08:39:47 <haskellbridge> <v​entrace> I'm not using one at the moment, I just wanted to see it run first before I configured it
08:41:51 <haskellbridge> <v​entrace> I can see it draw on my screen a bar for a few miliseconds before it's removed x)
08:42:10 × defjam quits (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb) (Ping timeout: 256 seconds)
08:44:30 <haskellbridge> <v​entrace> Hang on I'm getting this in my journal
08:44:31 <haskellbridge> <v​entrace> Mar 21 13:23:25 nixos xmonad[2263]: xmobar: Caught signal 15; exiting...
08:44:32 <haskellbridge> <v​entrace> Mar 21 14:47:16 nixos xmonad[228139]: /bin/sh: line 1: xmobar: command not found
08:45:57 <haskellbridge> <v​entrace> if I try to run /bin/sh and then write xmobar it runs though
08:46:01 yaslam joins (~yaslam@user/yaslam)
08:46:56 <haskellbridge> <S​olid> It might be that xmonad is started with a different environment than your shell (and then shell you just now used to execute `/bin/sh`)
08:47:02 <haskellbridge> <S​olid> This can happen with display managers
08:47:47 <haskellbridge> <S​olid> (Personally, I use `displayManager.startx.enable = true` so I don't have to fuss around with that kind of stuff :))
08:48:07 <haskellbridge> <v​entrace> I do that too
08:48:18 <haskellbridge> <S​olid> It might be that xmonad is started with a different environment than your shell (and the shell you just now used to execute `/bin/sh`)
08:48:25 <haskellbridge> <v​entrace> in my configuration.nix
08:48:42 <haskellbridge> <S​olid> Huh, that's surprising
08:48:47 <haskellbridge> <S​olid> What does `which xmobar` return?
08:48:49 <haskellbridge> <v​entrace> ^^
08:49:02 <haskellbridge> <v​entrace> /run/current-system/dw/bin/xmobar
08:50:24 <haskellbridge> <S​olid> And giving `statusBarProp` this path really also does not work?
08:51:04 <haskellbridge> <v​entrace> Well the behaviour I'm noticing is a flashing on my screen 0. There seems to be an outline that looks like xmobar but it's there for less than a scond and it's only the border if I make sense
08:51:48 <haskellbridge> <v​entrace> And the windows I have open there sort of rearrange a bit
08:53:14 <haskellbridge> <v​entrace> https://unix.stackexchange.com/questions/145786/xmonad-not-launching-xmobar
08:53:14 <haskellbridge> <v​entrace> Suggests that xmobar isn't being launched because nothing is sent to it? Not sure what that means.
08:53:34 <haskellbridge> <v​entrace> But I assume statusBarProp handles this?
08:54:15 <haskellbridge> <S​olid> Yes, and this is only a problem when using unix pipes (which `statusBarProp` does not do)
08:54:43 <haskellbridge> <v​entrace> I see.. So this might be the issue.
08:54:58 defjam joins (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb)
08:55:06 <haskellbridge> <v​entrace> I don't know these functions though, is there any chance you could assist me here? ^^
08:55:23 <haskellbridge> <v​entrace> 22 ~ │ main :: IO ()
08:55:23 <haskellbridge> <v​entrace> 23 ~ │ main = xmonad
08:55:24 <haskellbridge> <v​entrace> 24 ~ │ . ewmhFullscreen
08:55:26 <haskellbridge> <v​entrace> 25 ~ │ . ewmh
08:55:27 <haskellbridge> <v​entrace> 26 ~ │ . withEasySB (statusBarProp "/run/current-system/sw/bin/xmobar /home/lambda/.config/nixos/hosts/default/xmobar-config/xmobarrc"
08:55:28 <haskellbridge> <v​entrace> │ (pure myXmobarPP)) defToggleStrutsKey
08:55:30 <haskellbridge> <v​entrace> 27 ~ │ $ myConfig
08:55:36 <haskellbridge> <S​olid> No; as I said, `statusBarProp` should be doing the right thing already
08:55:44 <haskellbridge> <v​entrace> Oh!
08:55:57 <haskellbridge> <v​entrace> Sorry I misunderstood
08:56:24 <haskellbridge> <S​olid> Now I see that you do have an xmobar config! :)
08:56:34 <haskellbridge> <v​entrace> Oh haha well I made one quickly
08:57:08 <haskellbridge> <v​entrace> https://hastebin.com/share/aqoloyotuc.perl
08:59:21 <haskellbridge> <S​olid> I would switch the `StdinReader` with `XMonadLog`, although I guess xmobar shouldn't crash if it's not being send anything via stdin (as seen by it running fine in a terminal…)
09:00:07 <haskellbridge> <v​entrace> And now it works
09:00:11 <haskellbridge> <v​entrace> What the heck!
09:03:13 <haskellbridge> <S​olid> Curious!
09:03:29 <haskellbridge> <v​entrace> So the plugin stdinreader isn't working because things aren't being read from stdin
09:03:52 <haskellbridge> <v​entrace> but xmonadlog reads from something withing x11 and doesn't require things to be read?
09:04:04 × defjam quits (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb) (Ping timeout: 255 seconds)
09:05:28 <haskellbridge> <S​olid> Yes, `XmonadLog` reads from a special "property" (as they are called) of the root window
09:05:39 <haskellbridge> <S​olid> You can list these with `xprop -root`
09:05:53 <haskellbridge> <S​olid> There should be one called `XMONAD_LOG`
09:06:05 <haskellbridge> <v​entrace> Solid: Is it correct to assume (at least on my system) that xmonad launches xmobar via /bin/sh? Because I'd like to use some relative paths (exports) to make my config more modular
09:07:00 <haskellbridge> <S​olid> Yes, down the line `statusBarProp "xmobar" …` essentially executes `/bin/sh -c "xmobar"`
09:07:01 <haskellbridge> <v​entrace> I define these exports in home-manager, so maybe it needs to be on system level
09:07:13 <haskellbridge> <v​entrace> Right okay I need to reconfigure my nix config then xD
09:08:35 × hightower3 quits (~hightower@213-202-93-53.dsl.iskon.hr) (Ping timeout: 255 seconds)
09:17:11 × yaslam quits (~yaslam@user/yaslam) (Quit: beans r nice)
09:17:24 defjam joins (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb)
09:17:35 yaslam joins (~yaslam@user/yaslam)
09:17:39 × yaslam quits (~yaslam@user/yaslam) (Remote host closed the connection)
09:18:03 yaslam joins (~yaslam@user/yaslam)
09:19:06 × yaslam quits (~yaslam@user/yaslam) (Client Quit)
09:19:30 yaslam joins (~yaslam@user/yaslam)
09:23:36 × yaslam quits (~yaslam@user/yaslam) (Client Quit)
09:23:39 × defjam quits (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb) (Ping timeout: 256 seconds)
09:24:00 yaslam joins (~yaslam@user/yaslam)
09:28:04 × yaslam quits (~yaslam@user/yaslam) (Client Quit)
09:28:28 yaslam joins (~yaslam@user/yaslam)
09:28:58 × ft quits (~ft@p508db238.dip0.t-ipconnect.de) (Quit: leaving)
09:36:50 defjam joins (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb)
09:40:11 × yaslam quits (~yaslam@user/yaslam) (Quit: beans r nice)
09:40:34 yaslam joins (~yaslam@user/yaslam)
09:41:12 L29Ah joins (~L29Ah@wikipedia/L29Ah)
09:41:13 × yaslam quits (~yaslam@user/yaslam) (Client Quit)
09:42:45 × defjam quits (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb) (Ping timeout: 255 seconds)
09:44:03 defjam joins (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb)
10:21:54 tremon joins (~tremon@83.80.159.219)
11:08:15 × defjam quits (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb) (Ping timeout: 260 seconds)
11:09:18 defjam joins (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb)
12:09:34 × defjam quits (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb) (Ping timeout: 246 seconds)
12:21:29 defjam joins (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb)
14:36:01 × defjam quits (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb) (Ping timeout: 268 seconds)
14:49:22 defjam joins (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb)
14:53:50 × defjam quits (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb) (Ping timeout: 264 seconds)
15:07:08 defjam joins (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb)
15:12:36 × defjam quits (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb) (Ping timeout: 255 seconds)
15:18:27 yaslam joins (~yaslam@user/yaslam)
15:20:29 × yaslam quits (~yaslam@user/yaslam) (Client Quit)
15:25:41 defjam joins (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb)
15:31:40 × defjam quits (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb) (Ping timeout: 260 seconds)
15:42:38 yaslam joins (~yaslam@user/yaslam)
15:44:07 defjam joins (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb)
15:44:35 ft joins (~ft@p508db238.dip0.t-ipconnect.de)
16:30:45 × L29Ah quits (~L29Ah@wikipedia/L29Ah) (Read error: Connection reset by peer)
16:37:15 L29Ah joins (~L29Ah@wikipedia/L29Ah)
17:19:28 × L29Ah quits (~L29Ah@wikipedia/L29Ah) (Read error: Connection reset by peer)
18:43:41 × yaslam quits (~yaslam@user/yaslam) (Ping timeout: 240 seconds)
18:44:30 L29Ah joins (~L29Ah@wikipedia/L29Ah)
18:59:47 ml| joins (~ml|@user/ml/x-5298235)
19:45:13 yaslam joins (~yaslam@user/yaslam)
19:51:24 × yaslam quits (~yaslam@user/yaslam) (Quit: beans r nice)
19:59:46 × kaskal quits (~kaskal@89.144.222.47) (Ping timeout: 268 seconds)
19:59:52 kaskal- joins (~kaskal@089144220117.atnat0029.highway.webapn.at)
20:14:10 yaslam joins (~yaslam@user/yaslam)
20:27:57 × yaslam quits (~yaslam@user/yaslam) (Quit: beans r nice)
20:29:02 yaslam joins (~yaslam@user/yaslam)
20:37:21 × yaslam quits (~yaslam@user/yaslam) (Quit: beans r nice)
20:38:29 yaslam joins (~yaslam@user/yaslam)
20:58:59 × tv quits (~tv@user/tv) (Ping timeout: 272 seconds)
21:11:44 tv joins (~tv@user/tv)
21:29:25 × defjam quits (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb) (Ping timeout: 256 seconds)
21:40:42 defjam joins (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb)
21:44:56 × defjam quits (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb) (Ping timeout: 245 seconds)
21:57:25 defjam joins (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb)
22:02:51 × defjam quits (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb) (Ping timeout: 256 seconds)
22:12:19 × yaslam quits (~yaslam@user/yaslam) (Quit: beans r nice)
22:14:25 defjam joins (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb)
22:43:02 × defjam quits (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb) (Ping timeout: 264 seconds)
22:53:20 defjam joins (~defjam@2a02:c7e:2807:b900:48b6:7b6b:b969:cb)
23:10:45 × tv quits (~tv@user/tv) (Read error: Connection reset by peer)
23:25:20 tv joins (~tv@user/tv)
23:57:10 × tremon quits (~tremon@83.80.159.219) (Quit: getting boxed in)

All times are in UTC on 2024-03-22.