Home liberachat/#xmonad: Logs Calendar

Logs on 2023-08-30 (liberachat/#xmonad)

02:13:47 hightower4 joins (~hightower@141-136-175-225.dsl.iskon.hr)
02:16:31 × hightower3 quits (~hightower@141-136-157-92.dsl.iskon.hr) (Ping timeout: 258 seconds)
02:37:47 × td_ quits (~td@i5387092A.versanet.de) (Ping timeout: 246 seconds)
02:39:35 td_ joins (~td@i53870918.versanet.de)
03:44:23 × gauge quits (~gauge@user/gauge) (Read error: Connection reset by peer)
03:44:49 gauge joins (~gauge@user/gauge)
04:18:46 × amenonsen quits (~amenonsen@pitta.toroid.org) (Remote host closed the connection)
04:19:08 amenonsen joins (~amenonsen@pitta.toroid.org)
04:24:10 × gauge quits (~gauge@user/gauge) (Quit: Quitting)
04:24:59 gauge joins (~gauge@user/gauge)
04:26:41 × gauge quits (~gauge@user/gauge) (Read error: Connection reset by peer)
04:30:17 redgloboli joins (~redglobol@user/redgloboli)
04:30:39 gauge joins (~gauge@user/gauge)
05:46:14 × [Leary] quits (~Leary]@user/Leary/x-0910699) (Remote host closed the connection)
05:46:32 [Leary] joins (~Leary]@user/Leary/x-0910699)
05:57:56 × td_ quits (~td@i53870918.versanet.de) (Quit: waking up from the american dream ...)
06:20:09 × Maeda quits (~Maeda@91-161-10-149.subs.proxad.net) (Quit: done!)
06:52:55 td_ joins (~td@i5387090D.versanet.de)
07:58:18 mc47 joins (~mc47@xmonad/TheMC47)
08:20:17 × tv quits (~tv@user/tv) (Read error: Connection reset by peer)
08:36:12 tv joins (~tv@user/tv)
09:16:14 cfricke joins (~cfricke@user/cfricke)
09:36:03 T_X_ joins (~T_X@diktynna.open-mesh.org)
09:36:29 × T_X quits (~T_X@diktynna.open-mesh.org) (Read error: Connection reset by peer)
09:58:35 × ft quits (~ft@p508db658.dip0.t-ipconnect.de) (Quit: leaving)
10:06:10 × cfricke quits (~cfricke@user/cfricke) (Ping timeout: 255 seconds)
11:36:43 cfricke joins (~cfricke@user/cfricke)
11:37:31 × tv quits (~tv@user/tv) (Ping timeout: 255 seconds)
11:52:07 tv joins (~tv@user/tv)
13:16:56 × thunderrd quits (~thunderrd@183.182.114.166) (Remote host closed the connection)
14:17:08 × tv quits (~tv@user/tv) (Ping timeout: 246 seconds)
14:18:23 thyriaen joins (~thyriaen@2a01:aea0:dd4:6de3:6245:cbff:fe9f:48b1)
14:30:20 <thyriaen> geekosaur, i only really want to have 2 config files for desktop and laptop
14:30:35 <thyriaen> and only have some values replaced -- this is something i would do with a preprocessor
14:30:47 <thyriaen> is there a more elegant solution how it should be done ?
14:31:07 tv joins (~tv@user/tv)
14:38:02 × thyriaen quits (~thyriaen@2a01:aea0:dd4:6de3:6245:cbff:fe9f:48b1) (Quit: Leaving)
14:41:04 thyriaen joins (~thyriaen@2a01:aea0:dd4:6de3:6245:cbff:fe9f:48b1)
14:44:52 <geekosaur> the problem with a preprocessor is you will need a build script to tell it what to do
14:45:14 <geekosaur> you might look into template haskell instead
14:45:48 <[Leary]> I suggest something like `data Host = LaptopHostname | DesktopHostname | Other; main = do { host <- parseHost <$> readProcess "hostname" [] ""; xmonad (buildConfig host) }`.
14:46:10 <[Leary]> There's just no need for a preprocessor or template haskell here. Ordinary Haskell will do.
14:46:12 <geekosaur> there is alaso that
14:52:55 <geekosaur> do remember that your config is a program, you can look things up and change behavior however you wish
15:14:05 <thyriaen> [Leary] my mind is blown
15:14:27 <thyriaen> however it will be too complicated for me i think
15:14:39 <geekosaur> huh?
15:15:07 <geekosaur> it's surely better than TH and almost certainly easier than maintaining a buildscript to set defines for a preprocessor
15:30:41 × cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 4.0.4)
15:44:26 × thyriaen quits (~thyriaen@2a01:aea0:dd4:6de3:6245:cbff:fe9f:48b1) (Remote host closed the connection)
16:42:11 × ml| quits (~ml|@user/ml/x-5298235) (Ping timeout: 260 seconds)
16:56:20 ml| joins (~ml|@user/ml/x-5298235)
17:02:23 × mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection)
18:27:00 × jeeeun8 quits (~jeeeun@78.40.148.178) (Quit: The Lounge - https://thelounge.chat)
18:30:30 jeeeun8 joins (~jeeeun@78.40.148.178)
19:25:31 ft joins (~ft@p508db658.dip0.t-ipconnect.de)
19:55:33 bear34 joins (~bear@c-76-131-115-3.hsd1.co.comcast.net)
19:57:42 <bear34> hey folks, i'm running into issues when booting into xmonad where things like firefox don't start for up to 30 seconds. journalctl shows an error like this:
19:57:44 <bear34> Aug 30 13:38:58 linux xdg-desktop-por[3337]: Failed to create secret proxy: Error calling StartServiceByName for org.freedesktop.secrets: Timeout was reached
19:58:14 <bear34> I'm guessing xmonad isn't starting some of the regular sevices that get started if i boot into PopOS, but i cant' for the life of me figure out how to make sure some of these things are started so that stuff "just works"
20:10:22 <geekosaur> usually you just need to wrap whatever's starting xmonad for you in dbus-launch
20:10:43 × bear34 quits (~bear@c-76-131-115-3.hsd1.co.comcast.net) (Quit: Client closed)
23:03:07 Guest26 joins (~Guest26@c-76-131-115-3.hsd1.co.comcast.net)
23:10:49 × Guest26 quits (~Guest26@c-76-131-115-3.hsd1.co.comcast.net) (Quit: Client closed)
23:14:01 bear34 joins (~bear34@c-76-131-115-3.hsd1.co.comcast.net)
23:14:11 <bear34> geekosaur: i actually did this already
23:14:48 <bear34> there seems to be a bug in xdg-desktop-portal: https://github.com/flatpak/xdg-desktop-portal/pull/985
23:15:08 <bear34> https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/-/issues/74
23:15:26 <bear34> apparently something is way broken, cause lots of people are having issues loading programs
23:15:38 <bear34> what i don't understand is how this isn't breaking when i boot into popos instead of xmonad
23:16:34 <bear34> i have a /usr/share/xsessions/smonad.desktop file and it contains this:
23:16:36 <bear34> Exec=dbus-launch --exit-with-session xmonad
23:16:47 <bear34> (before, the last part was xmonad-session
23:17:08 <bear34> i'm so not an expert, but currently i can't launch most programs, they hang for upwards of 10 minutes because of this bug it seems
23:17:40 <bear34> https://bbs.archlinux.org/viewtopic.php?id=285590
23:17:54 <bear34> everyone is suggesting removing xdg-desktop-portal-gnome, but i can't because it's a popos dependency
23:18:00 <geekosaur> I presume popos runs a mutter (gnome) desktop
23:18:10 <geekosaur> that's pretty much the default on any linux these days
23:18:35 <bear34> yeah that's right
23:18:47 <bear34> they've fixed it in xdg-desktop-portal 1.16, but popos is on 1.14
23:19:00 <bear34> am i just hosed? (again though, no idea how it works correctly when logging in to pop)
23:19:38 <geekosaur> "featuring a customized GNOME desktop environment known as COSMIC"
23:19:54 <geekosaur> yes, I think you're stuck until popos upgrades
23:21:16 <bear34> i'd try rocking arch but everyone i know complains about things breaking all the time
23:21:17 <geekosaur> or you can do something like moving the system package executable out of the way and replacing it with a symlink to /bin/true
23:21:20 <bear34> no idea if that's fair though
23:21:55 <bear34> why would this work on popos? you'd think if xdg-desktop-portal was broken it'd break there too, but it doesn't
23:22:08 <bear34> perhaps there's something else i need to initialize?
23:23:35 <geekosaur> it's trying to talk to mutter, which is gnome's window/desktop/file/everything else manager
23:25:01 <bear34> doesn't it do that through the xdg-desktop-portal-gnome provider
23:27:57 <geekosaur[c]> Which is what is timing out
23:29:27 <geekosaur[c]> And there is no xdg-desktop-portal-xmonad provider, nor would it help since it doesn't try anything else until the gnome one times out
23:29:32 <bear34> apologies for my naivete - why doesn't the same thing happen on popos proper?
23:29:51 <bear34> that is, why doesn't it time out
23:30:21 <geekosaur[c]> See my quote above. Pop!OS uses a customized gnome
23:30:50 <geekosaur[c]> So the gnome provider can connect
23:31:13 <bear34> _sigh_
23:31:37 <bear34> it seems one of the providers must work eh
23:31:45 × vanvik quits (~vanvik@78.156.11.181) (Ping timeout: 244 seconds)
23:31:46 <bear34> because eventually firefox opens
23:31:50 <bear34> like 30 seconds later
23:32:19 <geekosaur[c]> No, it just eventually times out and continues
23:32:29 <bear34> oh
23:32:40 <bear34> like DataGrip hangs for 30 seconds, then fails to authenticate
23:32:54 <bear34> i think b/c it's trying to store / retrieve a password in the secret daemon
23:32:57 <bear34> which times out
23:34:57 <geekosaur[c]> That one would be harder unless it works to start gnome-keyring-daemon --daemonize --login
23:35:37 <geekosaur[c]> Which is what my mate session is running but I don't have this portal stuff
23:39:48 vanvik joins (~vanvik@78.156.11.181)
23:53:00 × bear34 quits (~bear34@c-76-131-115-3.hsd1.co.comcast.net) (Quit: Client closed)

All times are in UTC on 2023-08-30.