Home liberachat/#xmonad: Logs Calendar

Logs on 2022-06-29 (liberachat/#xmonad)

00:14:38 × werneta quits (~werneta@137.78.30.207) (Ping timeout: 240 seconds)
00:40:08 × suconakh quits (~suconakh@94.25.174.29) (Ping timeout: 252 seconds)
01:04:05 werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
01:17:21 suconakh joins (~suconakh@94.25.175.204)
01:32:32 × suconakh quits (~suconakh@94.25.175.204) (Quit: Client closed)
02:00:32 × gdd1 quits (~gdd@2001:470:1f13:187:e8a5:fbff:fe29:42f5) (Ping timeout: 272 seconds)
02:02:38 × banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 255 seconds)
02:22:44 banc joins (banc@gateway/vpn/airvpn/banc)
02:23:57 gdd1 joins (~gdd@2001:470:1f13:187:e8a5:fbff:fe29:42f5)
02:42:14 × td_ quits (~td@94.134.91.56) (Ping timeout: 255 seconds)
02:44:00 td_ joins (~td@muedsl-82-207-238-037.citykom.de)
03:51:30 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 260 seconds)
05:22:19 jeeeun0 joins (~jeeeun@78.40.148.178)
05:22:32 × jeeeun quits (~jeeeun@78.40.148.178) (Read error: Connection reset by peer)
05:22:32 jeeeun0 is now known as jeeeun
05:23:03 × lambdabot quits (~lambdabot@haskell/bot/lambdabot) (Ping timeout: 256 seconds)
05:25:41 lambdabot joins (~lambdabot@haskell/bot/lambdabot)
05:32:47 qbt joins (~qbt@user/edun)
05:33:00 × qbt quits (~qbt@user/edun) (Client Quit)
05:33:19 qbt joins (~qbt@user/edun)
06:18:10 aliosablack joins (~chomwitt@2a02:587:dc1c:800:6edf:8c3:2be1:2ef9)
06:19:58 <Solid> liskin: since I've decided to handle all the xmonad stuff via some freelancing gig an invoice is just simpler for me in terms of what to put on my tax declaration
06:21:18 <Solid> geekosaur liskin mc47[m]: what's your opinion on https://github.com/xmonad/xmonad-contrib/pull/727 in terms of "should we deprecate these records in favour of def"?
06:30:03 alternateved joins (~alternate@185.216.35.254)
06:30:30 <mc47[m]> I took a look at the code, and I agree with their argumentation in favor of deprecating urgencyConfig and keeping dzenUrgencyHook
06:31:41 <mc47[m]> If we'd deprecate dzenUrgencyHook, we should consider deprecating the other hooks like borderUrgencHook and replacing them with a Default instance
06:44:49 × qbt quits (~qbt@user/edun) (Ping timeout: 268 seconds)
06:45:38 qbt joins (~qbt@user/edun)
06:51:58 cfricke joins (~cfricke@user/cfricke)
06:56:19 thunderrd joins (~thunderrd@183.182.115.144)
07:08:15 × thunderrd quits (~thunderrd@183.182.115.144) (Ping timeout: 268 seconds)
07:12:37 dschrempf joins (~dominik@070-207.dynamic.dsl.fonira.net)
07:46:50 <Solid> liskin: what do you think about the suggestion in https://github.com/NixOS/nixpkgs/commit/36d5761b3e5aca9742fec85107e3d308a9af872c#commitcomment-77007727 about adding XMONAD_XMESSAGE and XMONAD_GHC?
08:19:04 × qbt quits (~qbt@user/edun) (Quit: WeeChat 3.5)
08:19:22 × alternateved quits (~alternate@185.216.35.254) (Remote host closed the connection)
08:20:06 alternateved joins (~alternate@185.216.35.254)
08:20:44 qbt joins (~qbt@user/edun)
08:33:11 × aliosablack quits (~chomwitt@2a02:587:dc1c:800:6edf:8c3:2be1:2ef9) (Remote host closed the connection)
09:01:32 <liskin> Solid: I'd still think you could simply ignore these expenses altogether and only use freelancing for actual "income" but maybe Germany is different
09:01:44 <liskin> Anyway, do whatever suit you best :-)
09:02:34 <liskin> Re (dzen)UrgencyHook I agree with deprecating only urgencyConfig
09:04:28 <liskin> And yeah those env vars are probably acceptable. I wanted to reply to that but just couldn't find the capacity.
09:05:48 <liskin> They have a point that using the patch for git snapshots is on us. It's explicitly mentioned in the flake, so we can probably make the Nix builds green without touching nixpkgs. I just don't know how :-)
09:21:00 <alternateved> By pointing to different patch file in flake?
09:23:38 <[Leary]> liskin: If we're out of sync with the patch, then instead of asking downstream to update, it's better we make our own and let them get it from us. That said, I think adopting those env vars is better, since it's not necessarily just a nix hack---anyone who doesn't want ghc in their path (or who wants to use a different one for xmonad) can point them at their isolated binary.
09:24:07 <[Leary]> Though I'm not sure what the easy way to get the dependencies would be without nix.
09:24:53 <liskin> alternateved: we'd drop the patch but I don't know how to change the env vars in the flake because I know nil about nix
09:25:42 <liskin> [Leary]: I mainly asked downstream for a preferred way to do this, but yeah I should have asked you first, sorry
09:26:19 <liskin> So I'd say the way forward is to upstream the patch with the suggested var names and then update the flake
09:26:41 <liskin> (I'm busy with work now but can do the former later)
09:32:22 <[Leary]> We don't need to do anything with env vars in the flake; just drop the patch and dependency on unstable. nixpkgs would just need to s/NIX_GHC/XMONAD_GHC in their xmonad wrapper, but we can leave it to them or drop a simple PR.
09:33:13 <[Leary]> It would build, but not rebuild correctly until the latter change went in.
09:49:42 × dschrempf quits (~dominik@070-207.dynamic.dsl.fonira.net) (Ping timeout: 246 seconds)
10:11:18 × alternateved quits (~alternate@185.216.35.254) (Remote host closed the connection)
10:12:17 benin0 joins (~benin@183.82.28.242)
10:13:23 alternateved joins (~alternate@185.216.35.254)
10:30:48 dschrempf joins (~dominik@070-207.dynamic.dsl.fonira.net)
12:14:11 × gdd1 quits (~gdd@2001:470:1f13:187:e8a5:fbff:fe29:42f5) (Ping timeout: 255 seconds)
12:15:06 gdd1 joins (~gdd@2001:470:1f13:187:e8a5:fbff:fe29:42f5)
12:26:47 × davve_ quits (davve@bsd.douchedata.com) (Remote host closed the connection)
13:33:24 × qbt quits (~qbt@user/edun) (Ping timeout: 272 seconds)
14:01:44 number-set[m] joins (~number-se@2001:470:69fc:105::2:3a31)
14:06:01 × sagax quits (~sagax_nb@user/sagax) (Read error: Connection reset by peer)
14:13:47 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
14:20:27 sagax joins (~sagax_nb@user/sagax)
14:30:04 × benin0 quits (~benin@183.82.28.242) (Quit: The Lounge - https://thelounge.chat)
14:31:15 _jak joins (~jak@cpe-67-244-101-214.nyc.res.rr.com)
14:35:20 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 268 seconds)
14:57:12 <geekosaur> re PR 727, I'm still not fond of `Data.Default` although I acknowledge that it makes things easier for users — but it also makes it easier for users to shoot themselves in the foot when it's not or can't be applicable, but fails to throw a type error because it can come up with a way to produce garbage (cf. #293)
14:59:19 qbt joins (~qbt@user/edun)
15:01:04 × scardinal quits (~supreme@customer-212-237-101-39.ip4.gigabit.dk) (Quit: leaving)
15:08:43 scardinal joins (~supreme@customer-212-237-101-39.ip4.gigabit.dk)
15:27:25 × cfricke quits (~cfricke@user/cfricke) (Ping timeout: 260 seconds)
15:50:21 mantis_one joins (~mantis_on@207.248.198.65)
15:51:45 × mantis_one quits (~mantis_on@207.248.198.65) (Client Quit)
15:54:23 mc47 joins (~mc47@xmonad/TheMC47)
16:00:02 × dschrempf quits (~dominik@070-207.dynamic.dsl.fonira.net) (Quit: WeeChat 3.5)
16:00:08 × rarufu[m] quits (~rarufumat@2001:470:69fc:105::9589) (Quit: You have been kicked for being idle)
16:00:14 dschrempf joins (~dominik@070-207.dynamic.dsl.fonira.net)
16:02:36 mantis_one joins (~mantis_on@207.248.198.65)
16:05:55 × dschrempf quits (~dominik@070-207.dynamic.dsl.fonira.net) (Quit: WeeChat 3.5)
16:06:40 dschrempf joins (~dominik@070-207.dynamic.dsl.fonira.net)
16:07:05 × dschrempf quits (~dominik@070-207.dynamic.dsl.fonira.net) (Client Quit)
16:08:11 dschrempf joins (~dominik@070-207.dynamic.dsl.fonira.net)
16:10:17 × dschrempf quits (~dominik@070-207.dynamic.dsl.fonira.net) (Client Quit)
16:25:56 <mantis_one> Hi everyone, Could anybody help me?
16:25:56 <mantis_one> When I try to recompile XMonad sends an xmessage error in weird fonts. I've always had that issue on Manjaro and I have solved it installing xorg-fonts. Now is happening again and even though xfontsel  is showing alphabetical letters I receive this error message when recompiling xmonad: "Warning: Cannot convert string
16:25:57 <mantis_one> "-*-fixed-medium-r-normal-*-18-*-*-*-*-*-*-*,-*-fixed-*-*-*-*-18-*-*-*-*-*-*-*,-*-*-*-*-*-*-18-*-*-*-*-*-*-*" to type FontSet"
16:35:42 <geekosaur> xmonad itself doesn't use fonts, so that must be xmessage.it is possible that manjaro has dropped support for bitmapped fonts entirely, I guess, in which case you need a replacement for xmessage
16:36:14 <geekosaur> (although if they dropped bitmap fonts they should really also drop the programs that only support bitmapped fonts)
16:40:12 <geekosaur> (I have such a replacement but it doesn't seem to work right now; I need to switch it to debugging mode and see what the change to use it throughout core and contrib did…)
16:44:30 <mantis_one> Hi, thanks for the reply geekosaur Yes it's an xmessage issue you are right, the problem for me is that it's where the xmonad error appear. When I do xmessage "Hello World" it prints fine, it just sends a warning (Warning: Missing charsets in String to FontSet conversion), but it works. I have a doubt here,  it's saying it's trying to convert a
16:44:30 <mantis_one> string with 3 logical font descriptions, shouldn't it be just one? and where does that string comes from? Maybe I could change it.
16:45:16 <geekosaur> I expect it's from the app-defaults file
16:45:25 <mantis_one> OK
16:45:25 <geekosaur> we don't pass a FontSet
16:45:30 <mantis_one> got it
16:45:50 <mantis_one> I'll search the xmessage files
16:47:02 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
16:52:33 <Solid> geekosaur: we do pass a fontSet!
16:53:27 <Solid> https://github.com/xmonad/xmonad/blob/master/src/XMonad/Core.hs#L458
16:54:05 <geekosaur> bleh
16:54:15 <geekosaur> at least I know why my wrapper stopped working
16:54:56 <geekosaur> so that means none of those fonts can be resolved, which means xorg-fonts isn't installing bitmapped fonts any more
16:55:12 <geekosaur> and xmessage can't use xft fonts
16:57:18 <mantis_one> Solid: thanks! Guys, that's exactly the message I'm receiving. The first font description I don't have it. Is that why is sending me an error?
17:00:49 <geekosaur> it should fall back to the others if the first fails, or at least that's the intent
17:02:11 <geekosaur> actually it's sending you a warning and it produces that warning if any of the specified fonts fails to load
17:02:23 <geekosaur> it will generate an error if none of them can be loaded
17:03:14 <mantis_one> so it's loading a font
17:03:49 <mantis_one> I got a warning not an error
17:04:43 <geekosaur> right, and as long as it displays something it should be okay. (sadly that's not guaranteed)
17:05:12 <geekosaur> I wonder if we can at least specify the charset at the end so people don't get smacked with unexpected BIG5 or etc.
17:14:37 <mantis_one> OK, so as I said, this similarly, has always happened on manjaro, but when I added a font on .Xresources it fixed the issue. Now xmessage is printing fine when I do it on my own, but printing the weird "manjaro default font" when I recompile xmonad.
17:16:05 <mantis_one> Wyh could this be happening?
17:16:12 <mantis_one> *Why
17:21:43 <geekosaur> I don't know. bitmap fonts are server-side so user config shouldn't matter
17:22:57 <geekosaur> well, actually, that suggests that xmessage's default font (including default size) is found but the one forced with -xrm isn't
17:23:12 <geekosaur> I think the only size guaranteed to be around is 10
17:23:50 <geekosaur> you may need to install a package with some scalable fonts
17:24:06 <geekosaur> non-xft scalable fonts (probably adobe type1)
17:24:32 <mantis_one> let me try that
17:25:04 <geekosaur> or we should change the -xrm we send to use size 10 instead of 18
17:30:54 <mantis_one> will https://aur.archlinux.org/packages/adobe-base-14-fonts be OK? It says adobe type1
17:33:17 <mantis_one> it didn't work :(
17:38:23 <geekosaur[m]> You would either need to log out and back in, or manually add the font path with `xset fp+` followed by the directory containing the fonts
17:39:36 <geekosaur[m]> The X11 startup removes directories that are empty from the font path
17:39:50 <mantis_one> I'll log out
17:40:04 × mantis_one quits (~mantis_on@207.248.198.65) (Quit: Client closed)
17:43:18 mantis_one joins (~mantis_on@207.248.198.65)
17:47:16 <mantis_one> Hi again. OK, I tried recompiling Xmonad and  it sent this
17:47:17 <mantis_one> Warning: Cannot convert string "-*-fixed-medium-r-normal-*-18-*-*-*-*-*-*-*,-*-fixed-*-*-*-*-18-*-*-*-*-*-*-*,-*-*-*-*-*-*-18-*-*-*-*-*-*-*" to type FontSet
17:47:17 <mantis_one> Warning: Missing charsets in String to FontSet conversion
17:47:18 <mantis_one> Warning: Cannot convert string "-*-*-*-*-*-*-*-*-*-*-*-*-*-*" to type FontStruct
17:47:18 <mantis_one> Warning: Unable to load any usable ISO8859 font
17:47:19 <mantis_one> Warning: Unable to load any usable ISO8859 font
17:47:19 <mantis_one> Error: Aborting: no font found
17:47:20 <mantis_one> And xmessage run by itself sends:
17:47:20 <mantis_one> Warning: Cannot convert string "-*-fixed-medium-r-normal-*-18-*-*-*-*-*-*-*" to type FontStruct
17:47:21 <mantis_one> Warning: Unable to load any usable ISO8859 font
17:47:21 <mantis_one> Warning: Unable to load any usable ISO8859 font
17:47:22 <mantis_one> Error: Aborting: no font found
17:50:56 <mantis_one> Probably this is a font and not an xmonad issue,  but I don't know what to do. I would appreciate the help. Also because of this warning: Warning: Cannot convert string "-*-*-*-*-*-*-*-*-*-*-*-*-*-*" to type FontStruct, I beleibe is reading my .Xresources file. It didn't show that before. I use the logical font with only *s when I'm trying to make
17:50:57 <mantis_one> it work, then I put a more specific one.
17:54:16 <geekosaur> that sounds very wrong, like it removed the other bitmapped fonts
17:56:30 × mantis_one quits (~mantis_on@207.248.198.65) (Quit: Client closed)
17:59:11 mantis_one joins (~mantis_on@207.248.198.65)
18:00:22 <mantis_one> yes, I unistalled adobe-base-14-fonts. Maybe it's time for me to try another distroX)
18:01:12 <geekosaur> I'm using ubuntu but I know some people don't like big fixed distros
18:01:14 <mantis_one> I unistalled adobe-base-14-fonts and it's giving the same error
18:01:48 <geekosaur> if it uninstalled xorg-fonts then uninstalling it won't have brought the other one back. but also check your .Xresources change
18:01:48 <mantis_one> yeah, I don't like having too "old" programs
18:02:05 <geekosaur> maybe you should try something like nixos
18:02:32 <geekosaur> (also if you change .Xresources you either need to run `xrdb ~/.Xresources` or log out and back in
18:07:49 <mantis_one> I've heard good things about nixos. I was thinking of endeavouros, since I love the aur. But I've (don't know if it's true) that manjaro presents issues thar other disttros don't. I like Manjaro for the gaming.
18:07:49 <mantis_one> Just did `xrdb ~/.Xresources` and xmessage is showing the same error, the same for xfontsel
18:08:21 <mantis_one> But I've heard(don't know if it's true) that manjaro presents issues thar other disttros don't. I like Manjaro for the gaming.
18:11:44 <geekosaur> I haven't heard that. We've had significant problems with Arch because they insist on packaging Haskell stuff to require -dynamic and it causes lots of random breakage
18:12:31 <geekosaur> including people's configs stopping working after an Arch upgrade because they didn't follow the big warning on the arch wiki page for xmonad
18:18:05 <mantis_one> that's fixed with a --recompile right?
18:19:42 <geekosaur> yes, but you have to make sure you do it before you log out or reboot, or you won't be able to get back in
18:19:49 <geekosaur> (at least not via the gui)
18:20:17 <geekosaur> sadly a lot of arch users tend to forget that part and then we get bug reports
18:20:34 <geekosaur> that we can't do anything about since it all comes down to how arch packages xmonad
18:22:59 <mantis_one> I have KDE and Xmonad so I reboot before the recompile then go to kde and recompile there and then go back to xmonad. I could use the tty to, but it became an habit for me to do it this way. Maybe I'll change it :)
18:23:26 <Solid> there has been an issue to make a pacman hook for this for years I think
18:23:40 <Solid> but no one seems to care on the Arch side of things
18:23:47 <mantis_one> lol
18:23:56 <geekosaur> if you like kde then there's a way to use xmonad as kde's window manager. sadly it currently requires a patch to kde
18:24:10 <geekosaur> which means it's easiest to do under gentoo
18:24:53 geekosaur uses xmonad as window manager for mate
18:25:19 <geekosaur> but there are at least three users who patch kde to use xmonad there
18:25:51 <mantis_one> That's sounds so good. I didn't know you could use a TWM inside a DE :o
18:26:40 <geekosaur> you can't with gnome because everything lives inside gnome-shell, but other desktops are friendlier
18:26:42 × _jak quits (~jak@cpe-67-244-101-214.nyc.res.rr.com) (Quit: leaving)
18:26:44 <geekosaur> and someone
18:27:14 <geekosaur> 's continued to support gnome-flashback so you get a gnome 3-ish gnome 2 environment if you try to switch window managers
18:30:05 <mantis_one> I'm not thinking of using gentoo right now (lot of things to do and it seems there is a lot to learn to use gentoo), but i'ts nice to know that
18:37:12 <mantis_one> thanks a lot guys (y)
18:52:51 <alternateved> EndeavourOS is a really nice distro
18:53:08 <alternateved> Still Arch with Arch-like problems
18:54:06 <alternateved> I can recommend openSUSE Tumbleweed for rolling release, but the package availability is not that good
18:54:48 <alternateved> geekosaur: are you sure you have to patch kde to use different wm with it?
18:57:14 <geekosaur[m]> The problem isn't using a different WM as such; it's a conflict between Plasma and how xmonad manages its windows
18:57:38 <alternateved> Ah, I see
19:03:16 <geekosaur> https://github.com/xmonad/xmonad/issues/174 if you're interested
19:03:35 <geekosaur> kde assumes a non-tiling wm will manage them and the result is kinda bad
19:04:45 <alternateved> Yeah, someone who uses plasma with xmonad mentioned that krunner is acting up
19:05:28 <alternateved> And in the end that person is using another launcher, more suited for the challenge
19:06:51 <alternateved> I'll pass this info, maybe that will be of value to that person, thanks!
19:27:54 × alternateved quits (~alternate@185.216.35.254) (Ping timeout: 246 seconds)
19:46:12 × mantis_one quits (~mantis_on@207.248.198.65) (Quit: Client closed)
19:54:34 alternateved joins (~alternate@45.134.212.176)
20:26:50 × qbt quits (~qbt@user/edun) (Ping timeout: 268 seconds)
20:47:16 mantis_one joins (~mantis_on@207.248.198.65)
20:51:06 <mantis_one> Hi, I just asked for help here to fix that I got a weird font on Manjaro when xmessage sent XMonad erros. I wanted to tell I've installed endeavouros and I get alphabetic  normal error messages, this is good.
20:56:16 × mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection)
21:12:39 × mantis_one quits (~mantis_on@207.248.198.65) (Quit: Client closed)
21:50:53 <MrElendig> replace xmessage with one of the more modern alternatives
21:51:05 <MrElendig> xmessage is just broken
22:10:27 <geekosaur> problem is, there's no reliably available alternative
22:11:06 <geekosaur> gtkish stsrems *might* have zenity, but there are also a few alternatives. kdeish systems usually but not always have kdialog
22:11:26 <geekosaur> back in the day, xmessage was reliably available everywhere; now it's almost always an add-on
22:17:50 × alternateved quits (~alternate@45.134.212.176) (Remote host closed the connection)
22:54:56 <geekosaur[m]> Long term we may need to migrate various XMonad.Util modules to core and do our own messaging
22:57:04 <geekosaur[m]> Short term I have my Perl wrapper for zenity and can add kdialog support
22:57:58 <geekosaur[m]> With fallback to xmessage, which it already does

All times are in UTC on 2022-06-29.