Logs: liberachat/#xmonad
| 2023-08-30 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" |
| 2023-08-30 20:10:22 | <geekosaur> | usually you just need to wrap whatever's starting xmonad for you in dbus-launch |
| 2023-08-30 20:10:43 | × | bear34 quits (~bear@c-76-131-115-3.hsd1.co.comcast.net) (Quit: Client closed) |
| 2023-08-30 23:03:07 | → | Guest26 joins (~Guest26@c-76-131-115-3.hsd1.co.comcast.net) |
| 2023-08-30 23:10:49 | × | Guest26 quits (~Guest26@c-76-131-115-3.hsd1.co.comcast.net) (Quit: Client closed) |
| 2023-08-30 23:14:01 | → | bear34 joins (~bear34@c-76-131-115-3.hsd1.co.comcast.net) |
| 2023-08-30 23:14:11 | <bear34> | geekosaur: i actually did this already |
| 2023-08-30 23:14:48 | <bear34> | there seems to be a bug in xdg-desktop-portal: https://github.com/flatpak/xdg-desktop-portal/pull/985 |
| 2023-08-30 23:15:08 | <bear34> | https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/-/issues/74 |
| 2023-08-30 23:15:26 | <bear34> | apparently something is way broken, cause lots of people are having issues loading programs |
| 2023-08-30 23:15:38 | <bear34> | what i don't understand is how this isn't breaking when i boot into popos instead of xmonad |
| 2023-08-30 23:16:34 | <bear34> | i have a /usr/share/xsessions/smonad.desktop file and it contains this: |
| 2023-08-30 23:16:36 | <bear34> | Exec=dbus-launch --exit-with-session xmonad |
| 2023-08-30 23:16:47 | <bear34> | (before, the last part was xmonad-session |
| 2023-08-30 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 |
| 2023-08-30 23:17:40 | <bear34> | https://bbs.archlinux.org/viewtopic.php?id=285590 |
| 2023-08-30 23:17:54 | <bear34> | everyone is suggesting removing xdg-desktop-portal-gnome, but i can't because it's a popos dependency |
| 2023-08-30 23:18:00 | <geekosaur> | I presume popos runs a mutter (gnome) desktop |
| 2023-08-30 23:18:10 | <geekosaur> | that's pretty much the default on any linux these days |
| 2023-08-30 23:18:35 | <bear34> | yeah that's right |
| 2023-08-30 23:18:47 | <bear34> | they've fixed it in xdg-desktop-portal 1.16, but popos is on 1.14 |
| 2023-08-30 23:19:00 | <bear34> | am i just hosed? (again though, no idea how it works correctly when logging in to pop) |
| 2023-08-30 23:19:38 | <geekosaur> | "featuring a customized GNOME desktop environment known as COSMIC" |
| 2023-08-30 23:19:54 | <geekosaur> | yes, I think you're stuck until popos upgrades |
| 2023-08-30 23:21:16 | <bear34> | i'd try rocking arch but everyone i know complains about things breaking all the time |
| 2023-08-30 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 |
| 2023-08-30 23:21:20 | <bear34> | no idea if that's fair though |
| 2023-08-30 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 |
| 2023-08-30 23:22:08 | <bear34> | perhaps there's something else i need to initialize? |
| 2023-08-30 23:23:35 | <geekosaur> | it's trying to talk to mutter, which is gnome's window/desktop/file/everything else manager |
| 2023-08-30 23:25:01 | <bear34> | doesn't it do that through the xdg-desktop-portal-gnome provider |
| 2023-08-30 23:27:57 | <geekosaur[c]> | Which is what is timing out |
| 2023-08-30 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 |
| 2023-08-30 23:29:32 | <bear34> | apologies for my naivete - why doesn't the same thing happen on popos proper? |
| 2023-08-30 23:29:51 | <bear34> | that is, why doesn't it time out |
| 2023-08-30 23:30:21 | <geekosaur[c]> | See my quote above. Pop!OS uses a customized gnome |
| 2023-08-30 23:30:50 | <geekosaur[c]> | So the gnome provider can connect |
| 2023-08-30 23:31:13 | <bear34> | _sigh_ |
| 2023-08-30 23:31:37 | <bear34> | it seems one of the providers must work eh |
| 2023-08-30 23:31:45 | × | vanvik quits (~vanvik@78.156.11.181) (Ping timeout: 244 seconds) |
| 2023-08-30 23:31:46 | <bear34> | because eventually firefox opens |
| 2023-08-30 23:31:50 | <bear34> | like 30 seconds later |
| 2023-08-30 23:32:19 | <geekosaur[c]> | No, it just eventually times out and continues |
| 2023-08-30 23:32:29 | <bear34> | oh |
| 2023-08-30 23:32:40 | <bear34> | like DataGrip hangs for 30 seconds, then fails to authenticate |
| 2023-08-30 23:32:54 | <bear34> | i think b/c it's trying to store / retrieve a password in the secret daemon |
| 2023-08-30 23:32:57 | <bear34> | which times out |
| 2023-08-30 23:34:57 | <geekosaur[c]> | That one would be harder unless it works to start gnome-keyring-daemon --daemonize --login |
| 2023-08-30 23:35:37 | <geekosaur[c]> | Which is what my mate session is running but I don't have this portal stuff |
| 2023-08-30 23:39:48 | → | vanvik joins (~vanvik@78.156.11.181) |
| 2023-08-30 23:53:00 | × | bear34 quits (~bear34@c-76-131-115-3.hsd1.co.comcast.net) (Quit: Client closed) |
| 2023-08-31 00:03:43 | → | bear34 joins (~bear34@c-76-131-115-3.hsd1.co.comcast.net) |
| 2023-08-31 00:18:55 | × | bear34 quits (~bear34@c-76-131-115-3.hsd1.co.comcast.net) (Quit: Client closed) |
| 2023-08-31 00:59:05 | × | yosafbridge quits (~yosafbrid@static.38.6.217.95.clients.your-server.de) (Quit: Leaving) |
| 2023-08-31 01:13:54 | → | yosafbridge joins (~yosafbrid@static.38.6.217.95.clients.your-server.de) |
| 2023-08-31 02:21:19 | × | td_ quits (~td@i5387090D.versanet.de) (Ping timeout: 255 seconds) |
| 2023-08-31 02:23:17 | → | td_ joins (~td@i53870906.versanet.de) |
| 2023-08-31 02:35:09 | × | rundown quits (~defjam@90.211.252.220) (Quit: WeeChat 3.8) |
| 2023-08-31 05:59:52 | → | Guest5 joins (~Guest5@106.51.185.177) |
| 2023-08-31 06:00:50 | <Guest5> | Hello I am having difficulty launching Xmonad on Void linux |
| 2023-08-31 06:00:56 | <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 06:00:56 | <Guest5> | xmonad-x86_64-linux: user error (openDisplay) main FATAL ERROR] Can't open display. |
| 2023-08-31 06:00:57 | <Guest5> | When launched from sddm it returns to login screen with no errors reported in /var/log/sddm.log |
| 2023-08-31 06:01:35 | <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 06:25:34 | × | Guest5 quits (~Guest5@106.51.185.177) (Quit: Client closed) |
| 2023-08-31 07:14:19 | → | cfricke joins (~cfricke@user/cfricke) |
| 2023-08-31 09:31:23 | × | ft quits (~ft@p508db658.dip0.t-ipconnect.de) (Quit: leaving) |
| 2023-08-31 10:18:14 | → | mc47 joins (~mc47@xmonad/TheMC47) |
| 2023-08-31 10:43:56 | × | cfricke quits (~cfricke@user/cfricke) (Ping timeout: 248 seconds) |
| 2023-08-31 11:14:33 | → | cfricke joins (~cfricke@user/cfricke) |
| 2023-08-31 11:50:01 | × | cfricke quits (~cfricke@user/cfricke) (Ping timeout: 250 seconds) |
| 2023-08-31 14:50:31 | × | hrberg quits (~quassel@171.79-160-161.customer.lyse.net) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) |
| 2023-08-31 14:50:53 | → | hrberg joins (~quassel@171.79-160-161.customer.lyse.net) |
| 2023-08-31 16:12:56 | → | dukk joins (~dukk@c-73-215-56-153.hsd1.nj.comcast.net) |
| 2023-08-31 16:13:18 | <dukk> | would i be able to toggle a window to floating and resize it? |
| 2023-08-31 16:13:41 | <dukk> | like i want to set up a key to float a window and resize it to a certain size |
| 2023-08-31 16:16:20 | <dukk> | i found the `float` function but how do i have it float the currently active window? |
| 2023-08-31 16:23:00 | <geekosaur> | `withFloating (\w -> windows (W.float w someRationalRect))` |
| 2023-08-31 16:23:05 | <geekosaur> | er |
| 2023-08-31 16:23:13 | <geekosaur> | withFocused not withFloating |
| 2023-08-31 16:23:48 | <dukk> | yeah i found the `withFocused` function, but didn't know how to resize the window |
| 2023-08-31 16:23:50 | <dukk> | thanks |
| 2023-08-31 16:24:04 | <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 16:24:28 | <dukk> | how do i create one? |
| 2023-08-31 16:25:32 | <geekosaur> | it's defined in XMonad.StackSet (what I called "W" above, since that's how it's usually imported qualified) |
| 2023-08-31 16:25:59 | <geekosaur> | you can just say something like `W.RationalRect 0 0 1 1` for full screen, etc. |
| 2023-08-31 16:27:01 | <dukk> | so something like `W.RationalRect 1/3 1/3 2/3 2/3` |
| 2023-08-31 16:27:09 | <dukk> | would center it in the screen? |
| 2023-08-31 16:27:15 | <dukk> | (and make it smaller?) |
| 2023-08-31 16:28:19 | <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 16:29:00 | <dukk> | ah, ok |
| 2023-08-31 16:29:11 | <dukk> | so just `W.RationalRect (1/3) (1/3) (1/3) (1/3)` |
| 2023-08-31 16:29:18 | <dukk> | would have that effect |
| 2023-08-31 16:29:27 | <geekosaur> | yep |
| 2023-08-31 16:30:04 | <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 16:31:05 | <dukk> | will look at that too |
| 2023-08-31 16:31:10 | <dukk> | works now, thanks! |
| 2023-08-31 16:33:34 | × | dukk quits (~dukk@c-73-215-56-153.hsd1.nj.comcast.net) (Quit: Client closed) |
| 2023-08-31 18:23:38 | × | [Leary] quits (~Leary]@user/Leary/x-0910699) (Remote host closed the connection) |
| 2023-08-31 18:23:53 | → | [Leary] joins (~Leary]@user/Leary/x-0910699) |
All times are in UTC.