Home liberachat/#xmonad: Logs Calendar

Logs on 2025-05-18 (liberachat/#xmonad)

01:48:19 hiecaq joins (~hiecaq@user/hiecaq)
02:14:09 × td_ quits (~td@i53870928.versanet.de) (Ping timeout: 245 seconds)
02:16:02 td_ joins (~td@i5387091A.versanet.de)
04:17:52 haskellbridge joins (~hackager@syn-096-028-224-255.res.spectrum.com)
04:22:44 × haskellbridge quits (~hackager@syn-096-028-224-255.res.spectrum.com) (Ping timeout: 272 seconds)
04:24:12 haskellbridge joins (~hackager@syn-096-028-224-255.res.spectrum.com)
06:37:56 werneta joins (~werneta@syn-071-083-160-242.res.spectrum.com)
07:37:08 Digit joins (~user@user/digit)
08:05:40 × Digit quits (~user@user/digit) (Ping timeout: 260 seconds)
08:47:16 Digit joins (~user@user/digit)
12:37:59 Digitteknohippie joins (~user@user/digit)
12:39:09 × Digit quits (~user@user/digit) (Ping timeout: 245 seconds)
13:11:23 Digitteknohippie is now known as Digit
14:10:42 Digitteknohippie joins (~user@user/digit)
14:11:52 × Digit quits (~user@user/digit) (Ping timeout: 244 seconds)
14:25:24 × Digitteknohippie quits (~user@user/digit) (Ping timeout: 245 seconds)
14:30:58 sajenim joins (~sajenim@user/sajenim)
14:46:37 Digit joins (~user@user/digit)
14:58:21 Digit is now known as digitteknohippie
14:58:44 digitteknohippie is now known as Digit
15:48:17 × hiecaq quits (~hiecaq@user/hiecaq) (Quit: ERC 5.6.0.30.1 (IRC client for GNU Emacs 30.0.92))
16:07:56 <OftenFaded> Hi xmodudes! Anyone know if the default help message can be configured at all? The font is much smol for my aged marbles
16:08:38 <OftenFaded> It looks like a default xterm window almost, but idr installing xterm explicitly
16:13:18 <geekosaur> it's actually xmessage unless you've overridden it
16:14:05 <geekosaur> you can set the XMONAD_XMESSAGE environment variable to override it, or use .Xresources to change the default font
16:26:34 × hightower3 quits (~hightower@213.186.15.36) (Read error: Connection reset by peer)
16:44:13 <OftenFaded> I see, I guess it's being overriden somehow, because adding `export XMONAD_XMESSAGE="xmessage -fn 'Noto Sans:size=14'"` to my zshrc is having no effect
16:46:03 <OftenFaded> Wait, would it be problematic if I don't have any .Xresources?
17:17:21 × catman quits (~catman@user/catman) (Ping timeout: 244 seconds)
18:22:39 × OftenFaded quits (~OftenFade@user/tisktisk) (Quit: OftenFaded)
19:12:20 Digitteknohippie joins (~user@user/digit)
19:13:50 × Digit quits (~user@user/digit) (Ping timeout: 272 seconds)
19:30:34 Digitteknohippie is now known as Digit
19:46:48 <yaslam> That must be what the lookupEnv "XMONAD_XMESSAGE" part is for, I didn't know either lol. I just replaced the entire function but setting a variable is easier
19:48:28 <yaslam> In https://github.com/xmonad/xmonad/blob/fa8f34596d9eda581b398b1152d7d45f592ebb2f/src/XMonad/Core.hs#L463
19:49:15 <geekosaur> unless you use startx or are on a fedora derivative, setting things in your shell dotfiles won't affect X11 startup or xmonad
19:50:46 <geekosaur> yoou don't require .Xresources, older X11 programs will use defaults if it doesn't exist. if it does, you can override those programs' behavior; see their manpages
20:40:39 × haskellbridge quits (~hackager@syn-096-028-224-255.res.spectrum.com) (Read error: Connection reset by peer)
20:45:28 haskellbridge joins (~hackager@syn-096-028-224-255.res.spectrum.com)
20:54:08 OftenFaded joins (~OftenFade@user/tisktisk)
21:15:40 <OftenFaded> If I'd like to learn how to set env variables in xmonad, where should I try first? The manual and websearch have no mentions
21:26:22 <Leary> OftenFaded: It shouldn't be anything specific to xmonad; it's a matter of setting vars for your /session/ (login shell?) rather than for each terminal (interactive shell?). Typically you would set them in `~/.profile`, but that doesn't work on every system either. If you give up on finding the right way, you can fall back on <https://hackage.haskell.org/package/base-4.21.0.0/docs/System-Environment.html#v:setEnv>.
21:31:54 <geekosaur> on debian-likes including ubuntu, you drop a file in /etc/X11/Xsession.d (there is no per-user equivalent). See https://github.com/geekosaur/xmonad.hs/blob/hilfy-2023/10profile for an example
21:32:33 <geekosaur> and yes, if necessary you can use `setEnv` before calling the `xmonad` function in your `main`
21:34:25 <OftenFaded> you need an import for that setEnv line right? I think I broke something trying that...
21:35:37 <OftenFaded> Well, I think I broke a few somethings trying to figure it out lol
21:35:47 <OftenFaded> I'm just trying to get a help message to spawn at all now
21:55:07 × Solitary quits (~Solitary@user/solitary) (Read error: Connection reset by peer)
22:02:17 <geekosaur> import System.Environment
22:09:55 Solitary joins (~Solitary@user/solitary)
22:23:06 <OftenFaded> I'm getting more confused by the minute. adding a setEnv line halts the spawning of the help message somehow, but removing the line doesn't restore functionality somehow...
22:24:39 <OftenFaded> running `xmessage 'test'` gets me a `Warning: Missing charsets in String to FontSet conversion` Is this a usual warning to be ignored?
22:27:44 <geekosaur> means the font is missing (misc-fixed old-style font)
22:56:52 <OftenFaded> yuup, and it's going to stay missing, because I have my help message back folks!
23:00:00 <OftenFaded> Thank you all for the help. I'm prolly just going to squint for awhile--I learned that it is very easy to break a lot of different xmonad things when adjusting fonts--muchly complicated lol
23:01:23 <geekosaur> XMessage*font won't break anything but xmessage's font 🙂
23:02:14 <geekosaur> I do suggest using xfontsel to pick a font
23:06:37 <geekosaur> maybe somewhere in the braave new xft world there is a similar tool
23:08:23 <OftenFaded> tru, but once the font is misconfigured the help message won't spawn at all, and I still don't know how I was able to restore it
23:08:38 <OftenFaded> but the trial and error was great and many
23:09:19 <OftenFaded> I will cautiously try this xfontsel tho
23:10:24 <geekosaur> it won't change anything, it just lets you pick a font by its long X11 name, with dropdowns for the various name components, and shows you the resulting font
23:11:03 <geekosaur> if you want to use it, you have to copy the XLFD name and paste it somewhere (usually ~/.Xresources)
23:11:27 <OftenFaded> and ofc it shows me what ants read like my help message XD
23:11:59 <geekosaur> thta porbably means the only X11-style font on your system is some flyspeck thing 🙂
23:12:24 <geekosaur> installing more is a distro question
23:16:39 × todi quits (~todi@p57803331.dip0.t-ipconnect.de) (Ping timeout: 252 seconds)
23:21:56 todi joins (~todi@p57803331.dip0.t-ipconnect.de)

All times are in UTC on 2025-05-18.