Logs: liberachat/#xmonad
| 2021-12-10 20:12:28 | <aplainzetakind> | This is actually what's happening and what I want not to happen. |
| 2021-12-10 20:20:44 | <geekosaur> | actual xinerama's been dead for several years |
| 2021-12-10 20:21:36 | <geekosaur> | it sounds like your x server did not correctly update xrandr information |
| 2021-12-10 20:31:36 | <aplainzetakind> | geekosaur: How do I check that? When I run arandr I can switch resolutions of each display and position them etc. But when I apply something the "space" (what's the term?) becomes the encompassing rectangle of the two displays. |
| 2021-12-10 20:33:05 | × | darkstarx quits (~darkstard@50.39.115.145) (Read error: Connection reset by peer) |
| 2021-12-10 20:33:58 | <geekosaur> | so the server knows there are two monitors and has correct xrandr information for them. question becomes, did it notify your xmonad? |
| 2021-12-10 20:34:43 | <geekosaur> | it should have sent an RRScreenChangeNotify event |
| 2021-12-10 20:35:16 | <geekosaur> | is this xmonad 0.15, or 0.17.0? we fixed some bugs in screen change notifications in the new version |
| 2021-12-10 20:36:00 | → | darkstarx joins (~darkstard@50.39.115.145) |
| 2021-12-10 20:36:45 | → | qbt joins (~qbt@user/edun) |
| 2021-12-10 20:36:45 | × | qbt quits (~qbt@user/edun) (Client Quit) |
| 2021-12-10 20:36:53 | × | darkstarx quits (~darkstard@50.39.115.145) (Remote host closed the connection) |
| 2021-12-10 20:37:18 | → | darkstarx joins (~darkstard@50.39.115.145) |
| 2021-12-10 20:38:16 | <aplainzetakind> | 0.15 |
| 2021-12-10 20:38:29 | <geekosaur> | sadly there are also xorg driver issues that can cause problems: I can't dynamically plug/unplug monitors on my system because the intel driver screws up the monitor information. but you're able to run arandr, that is *probably* not happening |
| 2021-12-10 20:38:38 | <aplainzetakind> | doing cabal install xmonad should update it? |
| 2021-12-10 20:38:58 | <geekosaur> | yes |
| 2021-12-10 20:39:18 | <geekosaur> | stackage won't do major version upgrades until they release a new lts, so it's still on 0.15 |
| 2021-12-10 20:39:39 | <aplainzetakind> | And super-shift-q would replace the old runner with the new? |
| 2021-12-10 20:40:02 | <geekosaur> | mod-q should be sufficient |
| 2021-12-10 20:40:19 | <geekosaur> | for that matter, see if mod-q makes things work without a reinstall |
| 2021-12-10 20:41:18 | <geekosaur> | since mod-q will restart your xmonad and it should get the correct screen information then even if it's not correctly receiving or processing screen change events |
| 2021-12-10 20:45:18 | <aplainzetakind> | Hmm. I "installed" without --overwrite-policy so it didn't really install but now super-q is broken. |
| 2021-12-10 20:45:30 | <aplainzetakind> | Oh I switched ghc versions in the meantime. |
| 2021-12-10 20:45:44 | <aplainzetakind> | That would break it probably right? |
| 2021-12-10 20:46:57 | <aplainzetakind> | Yeah I probably need to install xmonad and xmonad-contrib with the new ghc. |
| 2021-12-10 20:47:11 | <aplainzetakind> | What was the flag to install the libraries? |
| 2021-12-10 20:47:17 | <aplainzetakind> | Not the executables. |
| 2021-12-10 20:49:53 | <geekosaur> | --lib |
| 2021-12-10 20:50:35 | <geekosaur> | although if you're using cabal to do this then install --lib is probably a bad idea |
| 2021-12-10 20:53:56 | <aplainzetakind> | I think I did that before for the older ghc. |
| 2021-12-10 20:54:01 | <aplainzetakind> | Is there any other way? |
| 2021-12-10 20:54:50 | <aplainzetakind> | I vaguely remember passing some options to cabal install itself to make stuff available to it only, does that make sense? |
| 2021-12-10 20:54:54 | <geekosaur> | you can use non-default environment files, but then you always have to specify the environment files to use, and you still have the problem with using environment files |
| 2021-12-10 20:55:21 | <geekosaur> | (basically you get to edit them by hand if you install new versions, or ghc will get all confused) |
| 2021-12-10 20:56:29 | <geekosaur> | there's also using cabal directly but then you need a build script: see https://github.com/xmonad/xmonad-testing/blob/master/build-scripts/build-with-cabal.sh |
| 2021-12-10 20:58:05 | <aplainzetakind> | Yes these are all vaguely familiar. |
| 2021-12-10 21:04:53 | → | twiclo joins (~twiclo@mail.twil.cx) |
| 2021-12-10 21:16:43 | <aplainzetakind> | geekosaur: You seem not to have objections to this comment: https://github.com/xmonad/xmonad/issues/199 |
| 2021-12-10 21:16:56 | <aplainzetakind> | https://github.com/xmonad/xmonad/issues/199#issuecomment-609433196 This I meant. |
| 2021-12-10 21:18:55 | <geekosaur> | that one is what I meant by "non-default environment files" |
| 2021-12-10 21:20:03 | <geekosaur> | I *think* that should usually be safe, actually, as ghc should obey the version dependency between xmonad-contrib and xmonad libraries. But if two versions of each are available it may be possible that ghc will pick the wrong one |
| 2021-12-10 21:20:19 | <geekosaur> | which is the problem with environment files in general |
| 2021-12-10 21:20:38 | <geekosaur> | that said, hvr was pretty smart and if he thought that wasn't a problem then probably it isn't |
| 2021-12-10 21:25:41 | × | twiclo quits (~twiclo@mail.twil.cx) (Quit: WeeChat 3.3) |
| 2021-12-10 21:25:41 | <aplainzetakind> | Do I simply put "xmonad" into the .ghc.environment file? |
| 2021-12-10 21:27:55 | <geekosaur> | no |
| 2021-12-10 21:28:32 | <geekosaur> | it consists of mappings from library names wit versions and ABI hashes into cabal's store |
| 2021-12-10 21:28:42 | <geekosaur> | so you need to use cabal to construct it |
| 2021-12-10 21:29:12 | <geekosaur> | cabal install --lib --package-env=xmonad xmonad xmonad-contrib |
| 2021-12-10 21:29:22 | <geekosaur> | (possibly also X11 and X11-xft) |
| 2021-12-10 21:30:40 | → | twiclo joins (~twiclo@mail.twil.cx) |
| 2021-12-10 21:33:56 | <geekosaur> | another problem with using this is knowing what libraries need to be exposed in this way, although if you miss one it's just "cabal install --lib --package-env=xmonad whatever" to fix |
| 2021-12-10 21:36:19 | <aplainzetakind> | I ran the cabal command, I was referring to the P.S. bit of hvr's comment instead of the custom setup file. |
| 2021-12-10 21:36:48 | <aplainzetakind> | Or does that command construct something to put there as well? |
| 2021-12-10 21:37:19 | <geekosaur> | see "…and to answer how to conveniently do this" at the end |
| 2021-12-10 21:37:40 | <aplainzetakind> | Oh, sorry. |
| 2021-12-10 21:37:44 | × | twiclo quits (~twiclo@mail.twil.cx) (Quit: WeeChat 3.3) |
| 2021-12-10 21:37:47 | <geekosaur> | again you must use cabal to construct it because its contents come from cabal's internal store |
| 2021-12-10 21:38:05 | → | twiclo joins (~twiclo@mail.twil.cx) |
| 2021-12-10 21:39:32 | <twiclo> | I'm trying to get SpawnOn working but the windows it spawns are all just going to desktop 1. The page for the plugin says To ensure that application appears on a workspace it was launched at, add keybindings like: |
| 2021-12-10 21:39:38 | <twiclo> | , ((mod1Mask,xK_o), spawnHere "urxvt") |
| 2021-12-10 21:39:46 | <twiclo> | What does that keybinding do? |
| 2021-12-10 21:41:22 | <geekosaur> | did you make sure to add manageSpawn to your manageHook? |
| 2021-12-10 21:41:47 | × | twiclo quits (~twiclo@mail.twil.cx) (Client Quit) |
| 2021-12-10 21:42:07 | → | twiclo joins (~twiclo@mail.twil.cx) |
| 2021-12-10 21:42:07 | <geekosaur> | anyway spawnHere should ensure that a window spawns on the desktop that was current when you spawned it, even if you … sigh |
| 2021-12-10 21:42:11 | <twiclo> | Yeah I missed that and now it's in there |
| 2021-12-10 21:42:16 | <twiclo> | I mean now it's working |
| 2021-12-10 21:42:59 | <twiclo> | But the urxvt window I spawned doesn't seem to have the .Xresources applied to it. At least it's not doing the fake transparency it normally does |
| 2021-12-10 21:44:48 | <geekosaur> | odd |
| 2021-12-10 21:44:59 | <geekosaur> | spawnHere should not override resources |
| 2021-12-10 21:45:28 | <twiclo> | I'm not using spawnHere. I'm using spawnOn. Should I switch? |
| 2021-12-10 21:45:44 | <twiclo> | I'm wondering if it's getting triggered before the Xresouces are loaded on an initial login maybe? |
| 2021-12-10 21:46:24 | <geekosaur> | either one should work |
| 2021-12-10 21:46:51 | <geekosaur> | if it's launched on keybinding then they should already be loaded |
| 2021-12-10 21:48:06 | <geekosaur> | unless you're doing this as part of a fancy session manager setup like I am, but even then I think mate-settings-daemon should have finished setup before xmonad has launched if I have the prerequisites in my local session config file correct |
| 2021-12-10 21:48:11 | <twiclo> | It's launched on startup |
| 2021-12-10 21:49:25 | <geekosaur> | standard sessions should load the resources before doing anything else |
| 2021-12-10 21:50:36 | × | twiclo quits (~twiclo@mail.twil.cx) (Quit: WeeChat 3.3) |
| 2021-12-10 21:50:56 | → | twiclo joins (~twiclo@mail.twil.cx) |
| 2021-12-10 21:51:39 | <twiclo> | Man I wish browsers didn't suck as bad as they do. Looks like trying to spawn 3 browsers at once when xmonad start locks up the process |
| 2021-12-10 21:52:55 | × | twiclo quits (~twiclo@mail.twil.cx) (Client Quit) |
| 2021-12-10 21:53:15 | → | twiclo joins (~twiclo@mail.twil.cx) |
| 2021-12-10 21:54:58 | × | twiclo quits (~twiclo@mail.twil.cx) (Client Quit) |
| 2021-12-10 21:55:28 | → | twiclo joins (~twiclo@mail.twil.cx) |
| 2021-12-10 21:56:15 | × | twiclo quits (~twiclo@mail.twil.cx) (Client Quit) |
| 2021-12-10 21:56:35 | → | twiclo joins (~twiclo@mail.twil.cx) |
| 2021-12-10 21:59:56 | <twiclo> | Found the problem |
| 2021-12-10 22:06:56 | <twiclo> | Urxvt's fake transparency depends on a wallpaper being set. The terminals spawn before that can happen |
| 2021-12-10 22:07:42 | × | twiclo quits (~twiclo@mail.twil.cx) (Quit: WeeChat 3.3) |
| 2021-12-10 22:08:06 | → | mohab joins (~mohab@45.243.59.56) |
| 2021-12-10 22:10:45 | <aplainzetakind> | geekosaur: Building and rebuilding xmonad works fine but the merged displays situation persists. |
| 2021-12-10 22:12:30 | → | twiclo joins (~twiclo@mail.twil.cx) |
| 2021-12-10 22:16:34 | × | obimod quits (~obimod@gateway/vpn/pia/obimod) (Ping timeout: 260 seconds) |
| 2021-12-10 22:16:41 | × | twiclo quits (~twiclo@mail.twil.cx) (Client Quit) |
| 2021-12-10 22:17:33 | → | twiclo joins (~twiclo@mail.twil.cx) |
| 2021-12-10 22:30:23 | → | obimod joins (~obimod@gateway/vpn/pia/obimod) |
| 2021-12-10 22:38:51 | × | mc47 quits (~mc47@xmonad/TheMC47) (Quit: Leaving) |
| 2021-12-10 22:39:02 | × | twiclo quits (~twiclo@mail.twil.cx) (Quit: WeeChat 3.3) |
All times are in UTC.