Home liberachat/#xmonad: Logs Calendar

Logs on 2023-05-11 (liberachat/#xmonad)

00:33:33 × werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 265 seconds)
00:33:54 werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
01:24:36 luffy[m]1 joins (~luffychat@2001:470:69fc:105::3:5644)
02:20:27 × td_ quits (~td@i53870904.versanet.de) (Ping timeout: 256 seconds)
02:22:06 td_ joins (~td@i53870913.versanet.de)
06:16:59 × werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 264 seconds)
06:18:48 werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
06:48:23 mncheck joins (~mncheck@193.224.205.254)
07:01:23 mc47 joins (~mc47@xmonad/TheMC47)
07:50:48 × m5zs7k quits (aquares@web10.mydevil.net) (Ping timeout: 240 seconds)
07:55:31 m5zs7k joins (aquares@web10.mydevil.net)
08:24:06 × mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection)
08:24:51 mc47 joins (~mc47@xmonad/TheMC47)
08:41:14 × mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection)
08:43:11 mc47 joins (~mc47@xmonad/TheMC47)
09:19:23 vistefan joins (~stefan@176.120.176.183)
09:20:31 <vistefan> Hi! I'mm new to xmonad and haskell. I have free linux installation with xdm as display manager that runs xmonad with ~/.xsession
09:20:52 <vistefan> I want xmobar to start too, but I DONT want to write haskell config for xmobar yet
09:21:05 <vistefan> Where should I put xmobar start line?
09:23:57 <geekosaur> you don't need to write a config for it straight out
09:24:05 <geekosaur> `main = xmonad . ewmhFullscreen . ewmh . xmobarProp $ myConfig`
09:24:32 <geekosaur> for whatever your `myConfig` is
09:25:00 <geekosaur> see https://xmonad.org/TUTORIAL.html
09:25:20 <geekosaur> (at "Make XMonad and Xmobar Talk to Each Other")
09:30:37 <vistefan> I don't have ewmh, can I omit it? And I also don't have xmobarProps, I just want the defaults from dotfile in home dir
09:30:45 × ft quits (~ft@p4fc2a88b.dip0.t-ipconnect.de) (Quit: leaving)
09:31:19 × redgloboli quits (~redglobol@user/redgloboli) (Quit: ...enter the matrix...)
09:32:29 redgloboli joins (~redglobol@user/redgloboli)
09:38:02 <geekosaur> xmobar won't behave correctly if you don't have xmonad-contrib installed and use at minimum XMonad.Hooks.ManageDocks but preferably that plus EwmhDesktops
09:39:20 <geekosaur> if you really want to try it without (expect windows to overlap it) you can simply start xmobar from `main`
09:39:45 <geekosaur> `main = spawn "xmobar" >> xmonad myConfig`
09:40:24 <geekosaur> xmonad is only ICCCM compliant out of the box, you need EWMH support for docks (and many modern programs) to behave as you expect
09:41:43 <vistefan> geekosaur: got it, thanks
09:42:08 <vistefan> so, I need import something that will provide xmobarProp for me, or I should write my own props in xmonad.hs?
09:42:42 <geekosaur> `xmobarProp` comes from `XMonad.Hooks.StatusBar`
09:43:10 <geekosaur> you can write your own stuff later if you feel like it
09:43:24 <vistefan> thanks. You rock
09:46:32 × vistefan quits (~stefan@176.120.176.183) (Quit: Lost terminal)
09:48:12 stefan_ joins (~stefan@176.120.176.183)
09:55:17 × joshproehl quits (~quassel@user/joshproehl) (Remote host closed the connection)
09:56:05 × stefan_ quits (~stefan@176.120.176.183) (Quit: Lost terminal)
09:56:41 joshproehl joins (~quassel@user/joshproehl)
10:07:20 × pharonix71 quits (~pharonix7@user/pharonix71) (Ping timeout: 240 seconds)
10:09:48 pharonix71 joins (~pharonix7@user/pharonix71)
10:14:42 stefan_ joins (~stefan@176.120.176.183)
10:16:04 <stefan_> I've done my first configuration as it is said in https://xmonad.org/TUTORIAL.html (actually I just copied tutorial config and changed some AdditionalKeysP statements), but when I recompile and restart xmonad (and whole X11), there is no xmobar on my screen.
10:24:46 <geekosaur> is `xmobar` in your PATH? beware that the `PATH` in your terminal is usually not the one X11 will use and pass to `xmonad`! usually things must be in `/usr/bin`
10:27:47 <stefan_> xmobar is in parth, I can run it manually by just the name
10:28:15 <stefan_> xmobar is in /usr/bin
10:29:29 <stefan_> that config has something about logging, maybe I can watch the log of xmonad start? xsession-errors doesn't give anything about xmobar
10:30:35 <stefan_> xmobar and xmonad are both in /usr/bin
10:31:45 <geekosaur> the "logging" it talks about is about formatting and sending xmonad state to xmobar
10:33:17 <geekosaur> there isn't really a way to log the way the combinators fit together or what they're doing, without copying their definitions locally and modifying them to use `XMonad.trace`
10:34:22 <stefan_> when I run xmonad with xinitrc it starts with xmobar (but without some of my other configs). As I see xmobar omits only when I start with xdm login screen (.xsession)
10:34:57 <stefan_> my .xsession contains only xrdb -merge ~/.Xresources && xmonad
10:40:51 <stefan_> https://termbin.com/mr3w
10:41:17 <stefan_> Here are some error from .xsession-errors which may be talkative
10:41:33 × stellacy quits (~stellacy@gateway/tor-sasl/stellacy) (Remote host closed the connection)
10:43:08 <geekosaur> the only one of those of any interest is the BadAtom error, but it's from xmonad not xmobar
10:43:23 <geekosaur> unless it's somehow aborting the xmobar startup sequence
10:44:28 stellacy joins (~stellacy@gateway/tor-sasl/stellacy)
10:46:55 × stefan_ quits (~stefan@176.120.176.183) (Quit: Lost terminal)
10:50:53 stefan_ joins (~stefan@176.120.176.183)
10:51:45 <stefan_> It all worked for me, I've just forget to put .xmobarrc with some reasonable config. Sorry for bothering you, thank you very much for response.
10:51:59 <geekosaur> hm, it should use a default
10:52:15 <geekosaur> whether you consider that default reasonable is another question, of course
10:52:58 <stefan_> it didn't started xmobar without .xmobarrc neither with startx nor xdm
10:53:56 <stefan_> it is my local trouble i think. I started xmobar without .xmobarrc manually, and it draws the bar, but always waits with "Updating...". Probably I don't have some packages for default subset of sensors.
10:54:48 <geekosaur> no, that indicates that it has `StdinReader` configured and is waiting for xmonad to write something to it
10:55:09 <geekosaur> you probably want `XMonadPropRead` these days
10:56:39 <stefan_> you mean to list workspaces etc?
10:56:47 <geekosaur> yes
10:57:14 <stefan_> yes, will look for some further configuration tutorial
10:57:26 <geekosaur> xmobar probably has one
10:58:32 <geekosaur> actually the arch wiki entry for xmobar is pretty good: https://wiki.archlinux.org/title/Xmobar
10:58:46 stefan_ uses arch mtw
10:58:52 <stefan_> btw*
10:59:13 <geekosaur> the arch wiki is an absolute goldmine of useful information
11:00:01 <geekosaur> I get frustrated at the way they manage their haskell packages (go read the entry for xmonad to see how to avoid getting locked out of it after an upgrade) but their documentation is just fabulous
11:00:18 <stefan_> I agree, it is awesome. Because otherwise arch wouldn't work at all :)
11:02:13 <stefan_> hm, to be true there's nothing about integration with xmonad workspaces in archwiki entry on xmobar
11:03:47 <geekosaur> that part you'll want to read on through the tutorial on: "Changing What XMonad Sends to Xmobar"
11:24:25 <stefan_> Well, now my xmobar is not rulable from xmonad.hs, it only takes properties from .xmobarrc, as I think. And xmonad doesn't sends info to xmobar
11:26:09 <geekosaur> what's in your .xmobarrc and xmonad.hs?
11:27:29 <stefan_> xmobarrc is the default config from arch wiki https://termbin.com/7lfr
11:28:07 <stefan_> xmonad.hs is a bit changed config from tutorial https://termbin.com/27yo
11:28:23 <geekosaur> okay, that one has nothing to handle xmonad config
11:28:54 <geekosaur> you want to add a `Run XMonadPropLog` to `commands`, and add `%XMonadPropLog%` somewhere in `template`
11:31:57 <geekosaur> sorry, apparently both of those are just `XMonadLog`
11:32:31 <geekosaur> (I don't use xmobar, I never remember the details of this)
12:20:08 <stefan_> Can't send data from xmonad to xmobar. I've changed template and command as it is said in documentation. But first, I don't know what parameters should I send to `Run XMonadLog`. Anyway, is is stuck with 'Updating...'.
12:21:04 <stefan_> As I see, xmobar doesn't need some special pipe routines in xmonad.hs as it can read XPROPS of main window?
12:21:35 <stefan_> logHook = xmonadPropLog =<< dynamicLogString myXmobarP
12:21:42 <stefan_> this hook doesn't work for me
12:22:29 <geekosaur> XMonadLog doesn't take parameters
12:23:17 <stefan_> well, then should work with just empty list []
12:23:22 <stefan_> but it doesn't
12:27:43 <geekosaur> it doesn't even take the list
12:27:51 <geekosaur> just `Run XMonadLog`
12:29:22 <stefan_> Awww, yes, it didn't need empty list )
12:30:14 <stefan_> geekosaur: Could I bind just pressing of modkey alone with no other keys? I want to have all the hotkeys like M-a, M-b, M-c, ... and just Modkey to start dmenu
12:30:58 <geekosaur> by binding it directly, yes, but it will trigger when you try to press those other hotkeys as well which is not what you want
12:32:22 <geekosaur> you would need a custom handleEventHook to catch keydown/keyup with no additional keypresses for it to work
12:32:33 <geekosaur> it's doable but not for beginners
12:33:00 <stefan_> ok, will live with win+p some time )
12:33:29 <stefan_> need to reboot, see you soon
12:33:33 × stefan_ quits (~stefan@176.120.176.183) (Quit: Lost terminal)
12:50:55 × mncheck quits (~mncheck@193.224.205.254) (Remote host closed the connection)
12:51:12 mncheck joins (~mncheck@193.224.205.254)
12:56:35 × mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection)
13:10:28 deip[m] joins (~deipmatri@2001:470:69fc:105::2:679e)
15:20:54 × werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Remote host closed the connection)
15:30:12 sagax joins (~sagax_nb@user/sagax)
15:38:55 slide joins (~slide@ip68-11-221-86.br.br.cox.net)
19:29:41 ft joins (~ft@p4fc2a88b.dip0.t-ipconnect.de)
20:31:36 jade[m] is now known as jadeOld[m]
23:10:44 lain1001 joins (~lain@2601:582:c000:79c0:92e8:68ff:fe83:1b3f)
23:22:44 × mncheck quits (~mncheck@193.224.205.254) (Ping timeout: 246 seconds)
23:49:11 × _qw quits (~eqw@31.134.178.99) (Quit: leaving)
23:51:54 _qw joins (~eqw@31.134.178.99)

All times are in UTC on 2023-05-11.