2023/08/31

2023-08-31 01:03:07 +0200Guest26(~Guest26@c-76-131-115-3.hsd1.co.comcast.net)
2023-08-31 01:10:49 +0200Guest26(~Guest26@c-76-131-115-3.hsd1.co.comcast.net) (Quit: Client closed)
2023-08-31 01:14:01 +0200bear34(~bear34@c-76-131-115-3.hsd1.co.comcast.net)
2023-08-31 01:14:11 +0200 <bear34> geekosaur: i actually did this already
2023-08-31 01:14:48 +0200 <bear34> there seems to be a bug in xdg-desktop-portal: https://github.com/flatpak/xdg-desktop-portal/pull/985
2023-08-31 01:15:08 +0200 <bear34> https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/-/issues/74
2023-08-31 01:15:26 +0200 <bear34> apparently something is way broken, cause lots of people are having issues loading programs
2023-08-31 01:15:38 +0200 <bear34> what i don't understand is how this isn't breaking when i boot into popos instead of xmonad
2023-08-31 01:16:34 +0200 <bear34> i have a /usr/share/xsessions/smonad.desktop file and it contains this:
2023-08-31 01:16:36 +0200 <bear34> Exec=dbus-launch --exit-with-session xmonad
2023-08-31 01:16:47 +0200 <bear34> (before, the last part was xmonad-session
2023-08-31 01:17:08 +0200 <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
2023-08-31 01:17:40 +0200 <bear34> https://bbs.archlinux.org/viewtopic.php?id=285590
2023-08-31 01:17:54 +0200 <bear34> everyone is suggesting removing xdg-desktop-portal-gnome, but i can't because it's a popos dependency
2023-08-31 01:18:00 +0200 <geekosaur> I presume popos runs a mutter (gnome) desktop
2023-08-31 01:18:10 +0200 <geekosaur> that's pretty much the default on any linux these days
2023-08-31 01:18:35 +0200 <bear34> yeah that's right
2023-08-31 01:18:47 +0200 <bear34> they've fixed it in xdg-desktop-portal 1.16, but popos is on 1.14
2023-08-31 01:19:00 +0200 <bear34> am i just hosed? (again though, no idea how it works correctly when logging in to pop)
2023-08-31 01:19:38 +0200 <geekosaur> "featuring a customized GNOME desktop environment known as COSMIC"
2023-08-31 01:19:54 +0200 <geekosaur> yes, I think you're stuck until popos upgrades
2023-08-31 01:21:16 +0200 <bear34> i'd try rocking arch but everyone i know complains about things breaking all the time
2023-08-31 01:21:17 +0200 <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
2023-08-31 01:21:20 +0200 <bear34> no idea if that's fair though
2023-08-31 01:21:55 +0200 <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
2023-08-31 01:22:08 +0200 <bear34> perhaps there's something else i need to initialize?
2023-08-31 01:23:35 +0200 <geekosaur> it's trying to talk to mutter, which is gnome's window/desktop/file/everything else manager
2023-08-31 01:25:01 +0200 <bear34> doesn't it do that through the xdg-desktop-portal-gnome provider
2023-08-31 01:27:57 +0200 <geekosaur[c]> Which is what is timing out
2023-08-31 01:29:27 +0200 <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
2023-08-31 01:29:32 +0200 <bear34> apologies for my naivete - why doesn't the same thing happen on popos proper?
2023-08-31 01:29:51 +0200 <bear34> that is, why doesn't it time out
2023-08-31 01:30:21 +0200 <geekosaur[c]> See my quote above. Pop!OS uses a customized gnome
2023-08-31 01:30:50 +0200 <geekosaur[c]> So the gnome provider can connect
2023-08-31 01:31:13 +0200 <bear34> _sigh_
2023-08-31 01:31:37 +0200 <bear34> it seems one of the providers must work eh
2023-08-31 01:31:45 +0200vanvik(~vanvik@78.156.11.181) (Ping timeout: 244 seconds)
2023-08-31 01:31:46 +0200 <bear34> because eventually firefox opens
2023-08-31 01:31:50 +0200 <bear34> like 30 seconds later
2023-08-31 01:32:19 +0200 <geekosaur[c]> No, it just eventually times out and continues
2023-08-31 01:32:29 +0200 <bear34> oh
2023-08-31 01:32:40 +0200 <bear34> like DataGrip hangs for 30 seconds, then fails to authenticate
2023-08-31 01:32:54 +0200 <bear34> i think b/c it's trying to store / retrieve a password in the secret daemon
2023-08-31 01:32:57 +0200 <bear34> which times out
2023-08-31 01:34:57 +0200 <geekosaur[c]> That one would be harder unless it works to start gnome-keyring-daemon --daemonize --login
2023-08-31 01:35:37 +0200 <geekosaur[c]> Which is what my mate session is running but I don't have this portal stuff
2023-08-31 01:39:48 +0200vanvik(~vanvik@78.156.11.181)
2023-08-31 01:53:00 +0200bear34(~bear34@c-76-131-115-3.hsd1.co.comcast.net) (Quit: Client closed)
2023-08-31 02:03:43 +0200bear34(~bear34@c-76-131-115-3.hsd1.co.comcast.net)
2023-08-31 02:18:55 +0200bear34(~bear34@c-76-131-115-3.hsd1.co.comcast.net) (Quit: Client closed)
2023-08-31 02:59:05 +0200yosafbridge(~yosafbrid@static.38.6.217.95.clients.your-server.de) (Quit: Leaving)
2023-08-31 03:13:54 +0200yosafbridge(~yosafbrid@static.38.6.217.95.clients.your-server.de)
2023-08-31 04:21:19 +0200td_(~td@i5387090D.versanet.de) (Ping timeout: 255 seconds)
2023-08-31 04:23:17 +0200td_(~td@i53870906.versanet.de)
2023-08-31 04:35:09 +0200rundown(~defjam@90.211.252.220) (Quit: WeeChat 3.8)
2023-08-31 07:59:52 +0200Guest5(~Guest5@106.51.185.177)
2023-08-31 08:00:50 +0200 <Guest5> Hello I am having difficulty launching Xmonad on Void linux
2023-08-31 08:00:56 +0200 <Guest5> I have compiled and installed xmonad (v.17 , using stack) on a fresh Void linux system. I am unable to launch it. I see the following errors when starting X from terminal. I tried editing the .xinitrc as well no change.
2023-08-31 08:00:56 +0200 <Guest5> xmonad-x86_64-linux: user error (openDisplay) main FATAL ERROR] Can't open display.
2023-08-31 08:00:57 +0200 <Guest5> When launched from sddm it returns to login screen with no errors reported in /var/log/sddm.log
2023-08-31 08:01:35 +0200 <Guest5> I dont see the mouse and none of the keybindings seem to work, except for the the Help screen and the Exit (mod+shift+q)
2023-08-31 08:25:34 +0200Guest5(~Guest5@106.51.185.177) (Quit: Client closed)
2023-08-31 09:14:19 +0200cfricke(~cfricke@user/cfricke)
2023-08-31 11:31:23 +0200ft(~ft@p508db658.dip0.t-ipconnect.de) (Quit: leaving)
2023-08-31 12:18:14 +0200mc47(~mc47@xmonad/TheMC47)
2023-08-31 12:43:56 +0200cfricke(~cfricke@user/cfricke) (Ping timeout: 248 seconds)
2023-08-31 13:14:33 +0200cfricke(~cfricke@user/cfricke)
2023-08-31 13:50:01 +0200cfricke(~cfricke@user/cfricke) (Ping timeout: 250 seconds)
2023-08-31 16:50:31 +0200hrberg(~quassel@171.79-160-161.customer.lyse.net) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)
2023-08-31 16:50:53 +0200hrberg(~quassel@171.79-160-161.customer.lyse.net)
2023-08-31 18:12:56 +0200dukk(~dukk@c-73-215-56-153.hsd1.nj.comcast.net)
2023-08-31 18:13:18 +0200 <dukk> would i be able to toggle a window to floating and resize it?
2023-08-31 18:13:41 +0200 <dukk> like i want to set up a key to float a window and resize it to a certain size
2023-08-31 18:16:20 +0200 <dukk> i found the `float` function but how do i have it float the currently active window?
2023-08-31 18:23:00 +0200 <geekosaur> `withFloating (\w -> windows (W.float w someRationalRect))`
2023-08-31 18:23:05 +0200 <geekosaur> er
2023-08-31 18:23:13 +0200 <geekosaur> withFocused not withFloating
2023-08-31 18:23:48 +0200 <dukk> yeah i found the `withFocused` function, but didn't know how to resize the window
2023-08-31 18:23:50 +0200 <dukk> thanks
2023-08-31 18:24:04 +0200 <geekosaur> a RationalRect specifies a position and size in fractions of the screen, since it has to work across multiple screens and they may not all be the same size
2023-08-31 18:24:28 +0200 <dukk> how do i create one?
2023-08-31 18:25:32 +0200 <geekosaur> it's defined in XMonad.StackSet (what I called "W" above, since that's how it's usually imported qualified)
2023-08-31 18:25:59 +0200 <geekosaur> you can just say something like `W.RationalRect 0 0 1 1` for full screen, etc.
2023-08-31 18:27:01 +0200 <dukk> so something like `W.RationalRect 1/3 1/3 2/3 2/3`
2023-08-31 18:27:09 +0200 <dukk> would center it in the screen?
2023-08-31 18:27:15 +0200 <dukk> (and make it smaller?)
2023-08-31 18:28:19 +0200 <geekosaur> you need parens around the fractions, and the sizes should be (1/3) otherwise it extends to the end of the screen in that direction (that is, that reads as "start at 1/3 ofr the screen and take up 2/3 of the screen")
2023-08-31 18:29:00 +0200 <dukk> ah, ok
2023-08-31 18:29:11 +0200 <dukk> so just `W.RationalRect (1/3) (1/3) (1/3) (1/3)`
2023-08-31 18:29:18 +0200 <dukk> would have that effect
2023-08-31 18:29:27 +0200 <geekosaur> yep
2023-08-31 18:30:04 +0200 <geekosaur> also, if the idea is to be able to pop a window out temporarily to take up a chunk of the screen instead of just its tile, take a look at XMonad.Layout.Magnify
2023-08-31 18:31:05 +0200 <dukk> will look at that too
2023-08-31 18:31:10 +0200 <dukk> works now, thanks!
2023-08-31 18:33:34 +0200dukk(~dukk@c-73-215-56-153.hsd1.nj.comcast.net) (Quit: Client closed)
2023-08-31 20:23:38 +0200[Leary](~Leary]@user/Leary/x-0910699) (Remote host closed the connection)
2023-08-31 20:23:53 +0200[Leary](~Leary]@user/Leary/x-0910699)
2023-08-31 20:34:23 +0200mc47(~mc47@xmonad/TheMC47) (Remote host closed the connection)
2023-08-31 21:13:10 +0200avalandweller
2023-08-31 22:08:25 +0200acidbong(6e5528b381@198.108.76.108)
2023-08-31 22:20:09 +0200ft(~ft@p508db658.dip0.t-ipconnect.de)
2023-08-31 23:43:39 +0200mml(~mml@164.92.108.41)
2023-08-31 23:46:21 +0200 <mml> hi there. i'm using namedScratchpad with customFloating and it works fine, except that i have a certain scratchpad I use for viewing logs. sometimes i shrink or grow the font and i want a hotkey that causes the RationalRect geometry to be recomputed and the window to be shrunk or grown as appropriate. in most circumstances, though, if I've changed the size of a scratchpad window, I just want it left alone
2023-08-31 23:49:29 +0200 <geekosaur> hm. I think that's actually up to the terminal; the ones I use resize automatically\
2023-08-31 23:49:56 +0200 <geekosaur> the size set by customFloating et al. are only applied when the window is first mapped
2023-08-31 23:50:34 +0200 <mml> i suppose i could just ctrl-right click on them and eyeball the size i want
2023-08-31 23:50:51 +0200 <mml> alt-right-click i guess it is
2023-08-31 23:51:45 +0200 <geekosaur> (the real problem being we don't know how to properly resize the terminal according to the font, and in fact can't even know that the font size changed within it)
2023-08-31 23:53:01 +0200 <mml> i don't actually need it to know anything or be fancy.. i'd be happy to just bind a hotkey to the action "set this window's geometry to X% of width, Y% of height"
2023-08-31 23:53:53 +0200 <geekosaur> withFocused $ \w -> windows (W.float w (W.RationalRect x y w h))
2023-08-31 23:54:04 +0200 <geekosaur> (import qualified XMonad.StackSet as W)
2023-08-31 23:54:33 +0200 <mml> hmm.. ok, yeah that makes sense
2023-08-31 23:59:53 +0200 <mml> geekosaur: thanks, that works good enough, since this really only comes up with a single floating window