Logs: liberachat/#xmonad
| 2021-12-10 22:48:51 | × | mohab quits (~mohab@45.243.59.56) (Quit: WeeChat 3.3) |
| 2021-12-11 00:03:31 | × | seschwar quits (~seschwar@user/seschwar) (Quit: :wq) |
| 2021-12-11 00:25:15 | → | curiousgay joins (~curiousga@77-120-141-90.kha.volia.net) |
| 2021-12-11 00:28:29 | → | curiousgay_ joins (~AdminUser@77-120-141-90.kha.volia.net) |
| 2021-12-11 00:37:02 | × | curiousgay quits (~curiousga@77-120-141-90.kha.volia.net) (Quit: Leaving) |
| 2021-12-11 00:37:46 | × | curiousgay_ quits (~AdminUser@77-120-141-90.kha.volia.net) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) |
| 2021-12-11 00:38:07 | → | curiousgay joins (~AdminUser@77-120-141-90.kha.volia.net) |
| 2021-12-11 00:59:52 | → | cyr4x3 joins (~cyr4x3@139.47.114.87) |
| 2021-12-11 01:00:41 | × | cyr4x3 quits (~cyr4x3@139.47.114.87) (Client Quit) |
| 2021-12-11 01:18:19 | × | mvk quits (~mvk@2607:fea8:5cdd:f000::9788) (Ping timeout: 252 seconds) |
| 2021-12-11 01:35:38 | × | curiousgay quits (~AdminUser@77-120-141-90.kha.volia.net) (Ping timeout: 256 seconds) |
| 2021-12-11 02:35:50 | × | catman quits (~catman@user/catman) (Quit: WeeChat 3.4-dev) |
| 2021-12-11 02:36:45 | → | catman joins (~catman@user/catman) |
| 2021-12-11 03:04:02 | × | banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 260 seconds) |
| 2021-12-11 03:20:51 | → | banc joins (banc@gateway/vpn/airvpn/banc) |
| 2021-12-11 03:29:01 | × | td_ quits (~td@94.134.91.156) (Ping timeout: 250 seconds) |
| 2021-12-11 03:30:45 | → | td_ joins (~td@94.134.91.156) |
| 2021-12-11 05:26:39 | × | catman quits (~catman@user/catman) (Quit: WeeChat 3.4-rc1) |
| 2021-12-11 05:50:42 | → | catman joins (~catman@user/catman) |
| 2021-12-11 05:51:29 | → | mvk joins (~mvk@2607:fea8:5cdd:f000::9788) |
| 2021-12-11 09:00:16 | × | Damia0o[m] quits (~damian0om@2001:470:69fc:105::1:2fdc) (Quit: You have been kicked for being idle) |
| 2021-12-11 09:00:16 | × | stsaintwyy[m] quits (~stsaintwy@2001:470:69fc:105::1:3181) (Quit: You have been kicked for being idle) |
| 2021-12-11 09:22:28 | → | curiousgay joins (~quassel@77-120-141-90.kha.volia.net) |
| 2021-12-11 10:16:57 | × | curiousgay quits (~quassel@77-120-141-90.kha.volia.net) (Ping timeout: 252 seconds) |
| 2021-12-11 10:21:18 | × | electr0n quits (~electr0n@about/security/founder/electr0n) (Ping timeout: 260 seconds) |
| 2021-12-11 10:23:37 | → | seschwar joins (~seschwar@user/seschwar) |
| 2021-12-11 11:54:37 | <Solid> | liskin: I guess for the release procedure of x11-xft I can just follow the relevant parts from MAINTAINERS.md? |
| 2021-12-11 12:01:18 | <geekosaur> | aplainzetakind, pretty sure yu cannot build xmonad without XRandR support these days. can you do: ghc -e "Graphics.X11.openDisplay [] >>= Graphics.X11.Xinerama.getScreenInfo" |
| 2021-12-11 12:01:58 | <geekosaur> | if you're using stack or cabal you may need to use stack exec or cabal exec to do this |
| 2021-12-11 12:02:31 | <Solid> | what's a "merged display situation"? |
| 2021-12-11 12:03:57 | <geekosaur> | they're getting the bounding box of both their monitors as a single "monitor" in xmonad, as if xmonad were somehow not getting xinerama/XRandR display information |
| 2021-12-11 12:06:26 | → | curiousgay joins (~curiousga@77-120-141-90.kha.volia.net) |
| 2021-12-11 12:08:05 | <Solid> | Oo |
| 2021-12-11 12:08:13 | <Solid> | that's certainly very weird |
| 2021-12-11 12:10:21 | <geekosaur> | aplainzetakind, also helpful: stack ghci or cabal repl, then: XOpenDisplay [] >>= getCleanedScreenInfo |
| 2021-12-11 12:11:20 | <geekosaur> | sorry, that's: openDisplay [] >>= getCleanedScreenInfo |
| 2021-12-11 12:11:49 | <geekosaur> | for reference, mine produces: [Rectangle {rect_x = 1920, rect_y = 0, rect_width = 1366, rect_height = 768},Rectangle {rect_x = 0, rect_y = 0, rect_width = 1920, rect_height = 1080}] |
| 2021-12-11 12:17:52 | <geekosaur> | also might be interesting to do that with getScreenInfo instead of getCleanedScreenInfo and compare the results |
| 2021-12-11 12:18:16 | <geekosaur> | (I would expect that any bugs in nubScreens would have been found by now, but who knows?) |
| 2021-12-11 12:27:21 | <aplainzetakind> | geekosaur: I don't have Graphics.X11 |
| 2021-12-11 12:27:43 | <aplainzetakind> | But, I should probably take into account the xmonad environment. |
| 2021-12-11 12:27:55 | <geekosaur> | you wouldn't have xmonad if that were the case. stack user? |
| 2021-12-11 12:28:11 | <geekosaur> | or cabal user? |
| 2021-12-11 12:28:32 | <aplainzetakind> | Should I also pass -package-env=xmonad? That's where I installed the --lib's. |
| 2021-12-11 12:28:34 | <aplainzetakind> | cabal |
| 2021-12-11 12:28:41 | <geekosaur> | right, you were asking about cabal and environment files yeterday |
| 2021-12-11 12:29:00 | <geekosaur> | so, this will be in cabal's store and you will need to use cabal repl |
| 2021-12-11 12:29:16 | <geekosaur> | and yes you'll need --package-env |
| 2021-12-11 12:29:54 | <aplainzetakind> | cabal: unrecognized 'repl' option `--package-env=xmonad' |
| 2021-12-11 12:30:01 | <Solid> | liskin: it just worked \o/ thank you for making this so easy with the CI workflows |
| 2021-12-11 12:30:05 | <aplainzetakind> | repl comes after? |
| 2021-12-11 12:30:08 | <geekosaur> | you didn't export the X11 libs soo --package-env won't be enough to access them |
| 2021-12-11 12:30:20 | <geekosaur> | comes after, yes |
| 2021-12-11 12:30:23 | <aplainzetakind> | No. |
| 2021-12-11 12:30:34 | <aplainzetakind> | I mean no to coming after. |
| 2021-12-11 12:30:43 | <aplainzetakind> | Both ways it says unrecognized option. |
| 2021-12-11 12:31:12 | <geekosaur> | hm |
| 2021-12-11 12:31:33 | <geekosaur> | although actually you should not need it here since it's still in the store and cabal repl gives you access to the store |
| 2021-12-11 12:31:39 | <geekosaur> | so just go without it |
| 2021-12-11 12:32:13 | <aplainzetakind> | Can't import Graphics.X11 |
| 2021-12-11 12:32:23 | <aplainzetakind> | in a generic repl |
| 2021-12-11 12:32:41 | <geekosaur> | mm |
| 2021-12-11 12:33:03 | <aplainzetakind> | Should I go to ~/.xmonad and do it there perhaps? |
| 2021-12-11 12:33:17 | <geekosaur> | you don't really want a generic one, you want the one in the xmonad directory. but at worst `cabal repl --package=X11` should work |
| 2021-12-11 12:33:48 | <geekosaur> | that said, for the other tests you need to be in ~/.xmonad so you get the xmonad and xmonad-contrib libs, so yes go there |
| 2021-12-11 12:34:24 | <aplainzetakind> | `cabal repl --package=X11` also can't import Graphics.X11 |
| 2021-12-11 12:34:29 | <aplainzetakind> | Is my store borked? |
| 2021-12-11 12:37:47 | <geekosaur> | blah. this is supposed ti work but it's not working here either |
| 2021-12-11 12:37:53 | <geekosaur> | are you in ~/.xmonad? |
| 2021-12-11 12:38:18 | <geekosaur> | I guess you have to use cabal repl in a directory that has access to your store |
| 2021-12-11 12:38:25 | <geekosaur> | that works for me here |
| 2021-12-11 12:38:32 | <aplainzetakind> | I am in ~/.xmonad |
| 2021-12-11 12:39:09 | <geekosaur> | uh. no, it doesn't work for me after all :( |
| 2021-12-11 12:39:23 | <geekosaur> | I had expected dependencies would be at least visible, but I guess not |
| 2021-12-11 12:40:00 | <aplainzetakind> | One question, should I have two X displays or one? |
| 2021-12-11 12:40:14 | <aplainzetakind> | When a second monitor is connected that is. |
| 2021-12-11 12:40:43 | <obimod> | one display, two screens |
| 2021-12-11 12:40:52 | <obimod> | i think |
| 2021-12-11 12:40:55 | <geekosaur> | yes |
| 2021-12-11 12:41:00 | <geekosaur> | also one X11 Screen |
| 2021-12-11 12:41:36 | <geekosaur> | because you can't move windows or workspaces between X11 Screens, because the Screen abstraction dates from a day when each Screen had its own independent video card / framebuffer |
| 2021-12-11 12:41:54 | <geekosaur> | which is why X11 uses the hack of carving multiple mnonitors out of a single root window |
| 2021-12-11 12:42:17 | <geekosaur> | okay, I guess you ignore that first part and do the other two, which I know work |
| 2021-12-11 12:42:41 | <obimod> | geekosaur: good to know :) |
| 2021-12-11 12:43:02 | <geekosaur> | [11 12:10:21] <geekosaur> aplainzetakind, also helpful: stack ghci or cabal repl, then: XOpenDisplay [] >>= getCleanedScreenInfo |
| 2021-12-11 12:43:12 | <geekosaur> | oh crap that has the other bug |
| 2021-12-11 12:43:18 | <geekosaur> | [11 12:10:21] <geekosaur> aplainzetakind, also helpful: stack ghci or cabal repl, then: openDisplay [] >>= getCleanedScreenInfo |
| 2021-12-11 12:43:37 | <geekosaur> | used the C name instread of the Haskell one |
| 2021-12-11 12:44:42 | <aplainzetakind> | Well, I don't have these names in the repl either. |
| 2021-12-11 12:45:23 | <geekosaur> | o.O |
| 2021-12-11 12:45:27 | <aplainzetakind> | Running cabal in the environment is not working somehow. |
| 2021-12-11 12:45:37 | <geekosaur> | now I wonder how you built this in the first place |
| 2021-12-11 12:45:40 | <aplainzetakind> | Can I just run ghci with a flag for the env? |
| 2021-12-11 12:46:02 | <aplainzetakind> | As in hvr's comment. |
| 2021-12-11 12:46:04 | <geekosaur> | ghci --package-env=xmonad |
| 2021-12-11 12:46:10 | <geekosaur> | hopefully |
| 2021-12-11 12:47:07 | <aplainzetakind> | single - but it works and I can import XMonad. |
| 2021-12-11 12:47:14 | <aplainzetakind> | But not Graphics X11. |
| 2021-12-11 12:47:20 | <aplainzetakind> | Because it's not in the env file. |
| 2021-12-11 12:47:31 | <aplainzetakind> | Can I still access openDisplay? |
All times are in UTC.