2024/04/05

2024-04-05 00:00:04 +0000[Leary](~Leary]@user/Leary/x-0910699)
2024-04-05 02:42:45 +0000terrorjack(~terrorjac@2a01:4f8:c17:87f8::) (Quit: The Lounge - https://thelounge.chat)
2024-04-05 02:47:17 +0000terrorjack(~terrorjac@2a01:4f8:c17:87f8::)
2024-04-05 02:57:21 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 256 seconds)
2024-04-05 02:58:15 +0000td_(~td@i53870905.versanet.de) (Ping timeout: 260 seconds)
2024-04-05 02:59:45 +0000td_(~td@i53870915.versanet.de)
2024-04-05 03:09:07 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643)
2024-04-05 03:15:37 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 256 seconds)
2024-04-05 03:28:17 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643)
2024-04-05 03:34:13 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 255 seconds)
2024-04-05 03:46:46 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643)
2024-04-05 03:52:39 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 255 seconds)
2024-04-05 04:05:36 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643)
2024-04-05 04:11:44 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 260 seconds)
2024-04-05 04:23:06 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643)
2024-04-05 04:29:07 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 255 seconds)
2024-04-05 04:41:24 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643)
2024-04-05 04:47:25 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 256 seconds)
2024-04-05 04:59:46 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643)
2024-04-05 05:06:02 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 256 seconds)
2024-04-05 05:17:21 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643)
2024-04-05 05:23:07 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 256 seconds)
2024-04-05 05:36:39 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643)
2024-04-05 05:42:29 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 240 seconds)
2024-04-05 05:55:09 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643)
2024-04-05 06:00:55 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 255 seconds)
2024-04-05 06:08:45 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643)
2024-04-05 06:15:02 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 268 seconds)
2024-04-05 06:27:24 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643)
2024-04-05 06:33:18 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 255 seconds)
2024-04-05 06:47:35 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643)
2024-04-05 06:53:12 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 260 seconds)
2024-04-05 07:05:29 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643)
2024-04-05 07:11:16 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 256 seconds)
2024-04-05 07:22:41 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643)
2024-04-05 07:29:02 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 268 seconds)
2024-04-05 07:40:57 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643)
2024-04-05 07:47:14 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 268 seconds)
2024-04-05 08:00:04 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643)
2024-04-05 08:06:45 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 256 seconds)
2024-04-05 08:18:28 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643)
2024-04-05 08:24:32 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 268 seconds)
2024-04-05 08:30:33 +0000ft(~ft@p4fc2a20e.dip0.t-ipconnect.de) (Quit: leaving)
2024-04-05 08:36:12 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643)
2024-04-05 08:42:25 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 268 seconds)
2024-04-05 08:48:49 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643)
2024-04-05 09:03:14 +0000cfricke(~cfricke@user/cfricke)
2024-04-05 09:22:38 +0000mekeor(~user@2001:a61:10db:ae01:ee8e:7029:dae7:575c)
2024-04-05 09:30:45 +0000Solitary(~Solitary@user/solitary) (Ping timeout: 256 seconds)
2024-04-05 09:39:25 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 246 seconds)
2024-04-05 09:40:09 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643)
2024-04-05 09:47:39 +0000humky(~humky@user/humky) (Quit: Leaving)
2024-04-05 09:49:33 +0000humky(~humky@user/humky)
2024-04-05 10:00:02 +0000Solitary(~Solitary@user/solitary)
2024-04-05 11:04:44 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 256 seconds)
2024-04-05 11:17:13 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643)
2024-04-05 11:45:05 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 272 seconds)
2024-04-05 11:51:25 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643)
2024-04-05 12:17:01 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 268 seconds)
2024-04-05 12:28:57 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643)
2024-04-05 12:33:39 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 256 seconds)
2024-04-05 12:45:19 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643)
2024-04-05 12:52:47 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 268 seconds)
2024-04-05 13:05:43 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643)
2024-04-05 13:11:17 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 240 seconds)
2024-04-05 13:24:10 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643)
2024-04-05 13:30:22 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 256 seconds)
2024-04-05 13:43:21 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643)
2024-04-05 13:48:27 +0000mekeor(~user@2001:a61:10db:ae01:ee8e:7029:dae7:575c) (Ping timeout: 256 seconds)
2024-04-05 13:49:21 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 255 seconds)
2024-04-05 14:00:30 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643)
2024-04-05 14:02:27 +0000alex`(~user@149.22.101.75)
2024-04-05 14:06:28 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 255 seconds)
2024-04-05 14:09:09 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643)
2024-04-05 14:15:28 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 255 seconds)
2024-04-05 14:20:32 +0000cfricke(~cfricke@user/cfricke) (Quit: WeeChat 4.1.2)
2024-04-05 14:27:59 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643)
2024-04-05 14:51:28 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 255 seconds)
2024-04-05 15:02:33 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643)
2024-04-05 15:16:43 +0000mekeor(~user@2001:a61:10db:ae01:ee8e:7029:dae7:575c)
2024-04-05 15:18:41 +0000alex`(~user@149.22.101.75) (Ping timeout: 256 seconds)
2024-04-05 16:25:31 +0000scardinal(~supreme@0x573d64a9.static.cust.fastspeed.dk) (Ping timeout: 255 seconds)
2024-04-05 16:27:13 +0000scardinal(~supreme@0x573d64a9.static.cust.fastspeed.dk)
2024-04-05 16:38:52 +0000ft(~ft@p4fc2a20e.dip0.t-ipconnect.de)
2024-04-05 18:04:57 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 255 seconds)
2024-04-05 18:17:24 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643)
2024-04-05 18:22:00 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 260 seconds)
2024-04-05 18:33:46 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643)
2024-04-05 18:39:51 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 256 seconds)
2024-04-05 18:45:46 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643)
2024-04-05 19:28:04 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 268 seconds)
2024-04-05 19:38:29 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643)
2024-04-05 19:42:25 +0000 <haskellbridge> <N​exilva> Hello there, I don't know how to Haskell.
2024-04-05 19:42:40 +0000 <haskellbridge> <N​exilva> ```hs
2024-04-05 19:42:42 +0000 <haskellbridge> <N​exilva> , name `oneOf` ["Windows 10 P2V Original Clone 1 [Running] - Oracle VM VirtualBox : 1"] --> (doF . W.view <> doShift) "8:win-A"
2024-04-05 19:42:43 +0000 <haskellbridge> <N​exilva> , name `oneOf` ["Windows 10 P2V Original Clone 1 [Running] - Oracle VM VirtualBox : 2"] --> (doF . W.view <> doShift) "8:win-B"
2024-04-05 19:42:44 +0000 <haskellbridge> <N​exilva> ```
2024-04-05 19:42:57 +0000 <haskellbridge> <N​exilva> I match Windows VM like this, then I send i to workspace as needed.
2024-04-05 19:43:22 +0000 <haskellbridge> <N​exilva> Sometimes I makes copies/images/clones of the VM and then it's called `Windows 10 P2V Original Clone 1 (Before Update) [Running] - Oracle VM VirtualBox : 1`
2024-04-05 19:44:15 +0000 <haskellbridge> <N​exilva> I don't want to have to edit the Xmonad config each time. So how can I match this properly: `Windows 10 P2V Original Clone <whatever text here> - Oracle VM VirtualBox : 1`
2024-04-05 19:44:33 +0000 <haskellbridge> <N​exilva> That way It will always work on all `Windows 10 P2V Original Clone` machines.
2024-04-05 20:06:45 +0000 <geekosaur> what is `name`? (and why use `oneOf` with a single element list?)
2024-04-05 20:08:52 +0000 <geekosaur> (our matchers are: title, appName, className)
2024-04-05 20:11:59 +0000 <haskellbridge> <N​exilva> https://matrix-client.matrix.org//b8f79778/Screenshot_20240405_141150.png
2024-04-05 20:12:08 +0000 <haskellbridge> <N​exilva> Rest of my code was like that so I just copied the oneOf over.
2024-04-05 20:13:01 +0000 <haskellbridge> <N​exilva> https://xmonad.org/INSTALL.html <- following directions here to install xmonad 18 and I get error:
2024-04-05 20:13:23 +0000 <haskellbridge> <N​exilva> https://bpa.st/DHFA
2024-04-05 20:13:45 +0000 <haskellbridge> <N​exilva> I have all the development libs installed like libxft-dev etc.
2024-04-05 20:23:07 +0000 <geekosaur> xproto should be part of the X11 core development stuff. I don't know how brew has that set up
2024-04-05 20:24:07 +0000 <haskellbridge> <N​exilva> I'm on Ubuntu 22.04. I have built xmonad 17 in the past using those instructions.
2024-04-05 20:24:19 +0000 <haskellbridge> <N​exilva> I have all the dev libs install and all the required pakckages
2024-04-05 20:24:41 +0000 <geekosaur> you have a pkg-config from linuxbrew
2024-04-05 20:25:01 +0000 <geekosaur> instead of the one from ubuntu
2024-04-05 20:26:26 +0000 <geekosaur> x11proto-dev: /usr/share/pkgconfig/xproto.pc
2024-04-05 20:27:15 +0000 <haskellbridge> <N​exilva> Yes I was using both
2024-04-05 20:27:22 +0000 <haskellbridge> <N​exilva> I tried both as I did locate on the file
2024-04-05 20:27:27 +0000 <haskellbridge> <N​exilva> ```
2024-04-05 20:27:27 +0000 <haskellbridge> <N​exilva> $ export PKG_CONFIG_PATH=/usr/share/pkgconfig/xproto.pc
2024-04-05 20:27:28 +0000 <haskellbridge> <N​exilva> stoned@stoned-desktop - ~/.config/xmonad - -
2024-04-05 20:27:30 +0000 <haskellbridge> <N​exilva> $ stack install
2024-04-05 20:27:31 +0000 <haskellbridge> <N​exilva> X11-xft > configure
2024-04-05 20:27:32 +0000 <haskellbridge> <N​exilva> X11-xft > Configuring X11-xft-0.3.4...
2024-04-05 20:27:34 +0000 <haskellbridge> <N​exilva> X11-xft > Error: Cabal-simple_6HauvNHV_3.10.1.0_ghc-9.6.4: The pkg-config package 'xft'
2024-04-05 20:27:35 +0000 <haskellbridge> <N​exilva> X11-xft > is required but it could not be found.
2024-04-05 20:27:36 +0000 <haskellbridge> <N​exilva> X11-xft >
2024-04-05 20:27:38 +0000 <haskellbridge> <N​exilva> Progress 1/2
2024-04-05 20:27:39 +0000 <haskellbridge> <N​exilva> Error: [S-7282]
2024-04-05 20:27:40 +0000 <haskellbridge> <N​exilva> Stack failed to execute the build plan.
2024-04-05 20:27:41 +0000 <haskellbridge> <N​exilva>
2024-04-05 20:27:43 +0000 <haskellbridge> <N​exilva> While executing the build plan, Stack encountered the error:
2024-04-05 20:27:44 +0000 <haskellbridge> <N​exilva>
2024-04-05 20:27:45 +0000 <haskellbridge> <N​exilva> [S-7011]
2024-04-05 20:27:47 +0000 <haskellbridge> <N​exilva> While building package X11-xft-0.3.4 (scroll up to its section to see the error) using:
2024-04-05 20:27:48 +0000 <haskellbridge> <N​exilva> /home/stoned/.stack/setup-exe-cache/x86_64-linux-tinfo6/Cabal-simple_6HauvNHV_3.10.1.0_ghc-9.6.4 --verbose=1 --builddir=.stack-work/dist/x86_64-linux-tinfo6/ghc-9.6.4 configure --with-ghc=/home/stoned/.stack/programs/x86_64-linux/ghc-tinfo6-9.6.4/bin/ghc-9.6.4 --with-ghc-pkg=/home/stoned/.stack/programs/x86_64-linux/ghc-tinfo6-9.6.4/bin/ghc-pkg-9.6.4 --user --package-db=clear
2024-04-05 20:27:48 +0000 <haskellbridge> --package-d…
2024-04-05 20:27:49 +0000 <haskellbridge> <N​exilva> b=global --package-db=/home/stoned/.stack/snapshots/x86_64-linux-tinfo6/716003aaa50e6615e9ad048198d99e65e118fd27c79961f02d5b7986b6c68e28/9.6.4/pkgdb --libdir=/home/stoned/.stack/snapshots/x86_64-linux-tinfo6/716003aaa50e6615e9ad048198d99e65e118fd27c79961f02d5b7986b6c68e28/9.6.4/lib
2024-04-05 20:27:49 +0000 <haskellbridge> --bindir=/home/stoned/.stack/snapshots/x86_64-linux-tinfo6/716003aaa50e6615e9ad048198d99e65e118fd27c79961f02d5b798…
2024-04-05 20:27:51 +0000 <haskellbridge> <N​exilva> 6b6c68e28/9.6.4/bin --datadir=/home/stoned/.stack/snapshots/x86_64-linux-tinfo6/716003aaa50e6615e9ad048198d99e65e118fd27c79961f02d5b7986b6c68e28/9.6.4/share --libexecdir=/home/stoned/.stack/snapshots/x86_64-linux-tinfo6/716003aaa50e6615e9ad048198d99e65e118fd27c79961f02d5b7986b6c68e28/9.6.4/libexec
2024-04-05 20:27:51 +0000 <haskellbridge> --sysconfdir=/home/stoned/.stack/snapshots/x86_64-linux-tinfo6/716003aaa50e6615e9ad048198d99e65e11…
2024-04-05 20:27:52 +0000 <haskellbridge> <N​exilva> 8fd27c79961f02d5b7986b6c68e28/9.6.4/etc --docdir=/home/stoned/.stack/snapshots/x86_64-linux-tinfo6/716003aaa50e6615e9ad048198d99e65e118fd27c79961f02d5b7986b6c68e28/9.6.4/doc/X11-xft-0.3.4 --htmldir=/home/stoned/.stack/snapshots/x86_64-linux-tinfo6/716003aaa50e6615e9ad048198d99e65e118fd27c79961f02d5b7986b6c68e28/9.6.4/doc/X11-xft-0.3.4
2024-04-05 20:27:52 +0000 <haskellbridge> --haddockdir=/home/stoned/.stack/snapshots/x86_64-linux-tinf…
2024-04-05 20:27:53 +0000 <haskellbridge> <N​exilva> o6/716003aaa50e6615e9ad048198d99e65e118fd27c79961f02d5b7986b6c68e28/9.6.4/doc/X11-xft-0.3.4 --dependency=X11=X11-1.10.3-Grb6PTWQzPbIodPMMce4DA --dependency=base=base-4.18.2.0 --dependency=utf8-string=utf8-string-1.0.2-FimbYq1wIkv3u9JmaBWYAg -f-pedantic --exact-configuration --ghc-option=-fhide-source-paths
2024-04-05 20:27:53 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 268 seconds)
2024-04-05 20:27:54 +0000 <haskellbridge> <N​exilva> Process exited with code: ExitFailure 1
2024-04-05 20:27:56 +0000 <haskellbridge> <N​exilva> ```
2024-04-05 20:28:39 +0000 <geekosaur> that's not how PKG_CONFIG_PATH works; it's a colon-separated list of directories, not files
2024-04-05 20:28:56 +0000 <haskellbridge> <N​exilva> Ok
2024-04-05 20:29:20 +0000 <haskellbridge> <N​exilva> There was no PKG_CONFIG_PATH set on my pc I ahd to export it
2024-04-05 20:29:27 +0000 <geekosaur> and if you have used linuxbrew for anything then you probably need both its path and ubuntu's (and I give you no guarantees about cross-compatibility)
2024-04-05 20:29:28 +0000 <haskellbridge> <N​exilva> export PKG_CONFIG_PATH=/usr/share/pkgconfig
2024-04-05 20:29:35 +0000 <haskellbridge> <N​exilva> I have no idea what linuxbrew is
2024-04-05 20:29:39 +0000 <geekosaur> right, that one's the default
2024-04-05 20:30:12 +0000 <geekosaur> X11-xft > '/home/linuxbrew/.linuxbrew/bin/pkg-config' exited with an error:
2024-04-05 20:31:04 +0000 <geekosaur> from your earlier bpaste
2024-04-05 20:31:17 +0000 <geekosaur> that is not present on a normal Ubuntu install
2024-04-05 20:31:19 +0000 <haskellbridge> <N​exilva> Ok
2024-04-05 20:31:25 +0000 <haskellbridge> <N​exilva> But I have no idea what the hell is goin gon
2024-04-05 20:31:33 +0000 <haskellbridge> <N​exilva> What is this linux brew and why do I ahve it?
2024-04-05 20:31:44 +0000 <haskellbridge> <N​exilva> And how do I just build xmoand again
2024-04-05 20:31:59 +0000 <geekosaur> I have no idea why you have it
2024-04-05 20:32:26 +0000 <haskellbridge> <N​exilva> I exported the correct path to the pc file
2024-04-05 20:32:28 +0000 <geekosaur> (I presume it's a Linux take on Homebrew for Macs, but have no idea why anyone would bother)
2024-04-05 20:32:37 +0000 <haskellbridge> <N​exilva> Now it says the other mesage about xft not found
2024-04-05 20:32:41 +0000 <geekosaur> you need the directory not the file
2024-04-05 20:32:52 +0000 <geekosaur> if it works at all it would only see that one file and not the others
2024-04-05 20:32:56 +0000 <haskellbridge> <N​exilva> Bro.
2024-04-05 20:33:07 +0000 <haskellbridge> <N​exilva> export PKG_CONFIG_PATH=/usr/share/pkgconfig
2024-04-05 20:33:15 +0000 <haskellbridge> <N​exilva> ```
2024-04-05 20:33:16 +0000 <haskellbridge> <N​exilva> $ stack install
2024-04-05 20:33:17 +0000 <haskellbridge> <N​exilva> X11-xft > configure
2024-04-05 20:33:18 +0000 <haskellbridge> <N​exilva> X11-xft > Configuring X11-xft-0.3.4...
2024-04-05 20:33:19 +0000 <haskellbridge> <N​exilva> X11-xft > Error: Cabal-simple_6HauvNHV_3.10.1.0_ghc-9.6.4: The pkg-config package 'xft'
2024-04-05 20:33:21 +0000 <haskellbridge> <N​exilva> X11-xft > is required but it could not be found.
2024-04-05 20:33:22 +0000 <haskellbridge> <N​exilva> X11-xft >
2024-04-05 20:33:23 +0000 <haskellbridge> <N​exilva> Progress 1/2
2024-04-05 20:33:25 +0000 <haskellbridge> <N​exilva> Error: [S-7282]
2024-04-05 20:33:26 +0000 <haskellbridge> <N​exilva> Stack failed to execute the build plan.
2024-04-05 20:33:27 +0000 <haskellbridge> <N​exilva>
2024-04-05 20:33:29 +0000 <haskellbridge> <N​exilva> While executing the build plan, Stack encountered the error:
2024-04-05 20:33:30 +0000 <haskellbridge> <N​exilva>
2024-04-05 20:33:31 +0000 <haskellbridge> <N​exilva> [S-7011]
2024-04-05 20:33:32 +0000 <haskellbridge> <N​exilva> While building package X11-xft-0.3.4 (scroll up to its section to see the error) using:
2024-04-05 20:33:34 +0000 <haskellbridge> <N​exilva> /home/stoned/.stack/setup-exe-cache/x86_64-linux-tinfo6/Cabal-simple_6HauvNHV_3.10.1.0_ghc-9.6.4 --verbose=1 --builddir=.stack-work/dist/x86_64-linux-tinfo6/ghc-9.6.4 configure --with-ghc=/home/stoned/.stack/programs/x86_64-linux/ghc-tinfo6-9.6.4/bin/ghc-9.6.4 --with-ghc-pkg=/home/stoned/.stack/programs/x86_64-linux/ghc-tinfo6-9.6.4/bin/ghc-pkg-9.6.4 --user --package-db=clear
2024-04-05 20:33:34 +0000 <haskellbridge> --package-d…
2024-04-05 20:33:35 +0000 <haskellbridge> <N​exilva> b=global --package-db=/home/stoned/.stack/snapshots/x86_64-linux-tinfo6/716003aaa50e6615e9ad048198d99e65e118fd27c79961f02d5b7986b6c68e28/9.6.4/pkgdb --libdir=/home/stoned/.stack/snapshots/x86_64-linux-tinfo6/716003aaa50e6615e9ad048198d99e65e118fd27c79961f02d5b7986b6c68e28/9.6.4/lib
2024-04-05 20:33:35 +0000 <haskellbridge> --bindir=/home/stoned/.stack/snapshots/x86_64-linux-tinfo6/716003aaa50e6615e9ad048198d99e65e118fd27c79961f02d5b798…
2024-04-05 20:33:36 +0000 <haskellbridge> <N​exilva> 6b6c68e28/9.6.4/bin --datadir=/home/stoned/.stack/snapshots/x86_64-linux-tinfo6/716003aaa50e6615e9ad048198d99e65e118fd27c79961f02d5b7986b6c68e28/9.6.4/share --libexecdir=/home/stoned/.stack/snapshots/x86_64-linux-tinfo6/716003aaa50e6615e9ad048198d99e65e118fd27c79961f02d5b7986b6c68e28/9.6.4/libexec
2024-04-05 20:33:36 +0000 <haskellbridge> --sysconfdir=/home/stoned/.stack/snapshots/x86_64-linux-tinfo6/716003aaa50e6615e9ad048198d99e65e11…
2024-04-05 20:33:38 +0000 <haskellbridge> <N​exilva> 8fd27c79961f02d5b7986b6c68e28/9.6.4/etc --docdir=/home/stoned/.stack/snapshots/x86_64-linux-tinfo6/716003aaa50e6615e9ad048198d99e65e118fd27c79961f02d5b7986b6c68e28/9.6.4/doc/X11-xft-0.3.4 --htmldir=/home/stoned/.stack/snapshots/x86_64-linux-tinfo6/716003aaa50e6615e9ad048198d99e65e118fd27c79961f02d5b7986b6c68e28/9.6.4/doc/X11-xft-0.3.4
2024-04-05 20:33:38 +0000 <haskellbridge> --haddockdir=/home/stoned/.stack/snapshots/x86_64-linux-tinf…
2024-04-05 20:33:39 +0000 <haskellbridge> <N​exilva> o6/716003aaa50e6615e9ad048198d99e65e118fd27c79961f02d5b7986b6c68e28/9.6.4/doc/X11-xft-0.3.4 --dependency=X11=X11-1.10.3-Grb6PTWQzPbIodPMMce4DA --dependency=base=base-4.18.2.0 --dependency=utf8-string=utf8-string-1.0.2-FimbYq1wIkv3u9JmaBWYAg -f-pedantic --exact-configuration --ghc-option=-fhide-source-paths
2024-04-05 20:33:40 +0000 <haskellbridge> <N​exilva> Process exited with code: ExitFailure 1
2024-04-05 20:33:42 +0000 <haskellbridge> <N​exilva> ```
2024-04-05 20:35:10 +0000 <geekosaur> hilfy «xmonad:hilfy-2023» ⁅xmonad-bsa⁆ Z$ dpkg -S $(find /usr -name xft.pc)
2024-04-05 20:35:10 +0000 <geekosaur> libxft-dev:amd64: /usr/lib/x86_64-linux-gnu/pkgconfig/xft.pc
2024-04-05 20:35:47 +0000 <geekosaur> so apparently you also need /usr/lib/x86_64-linux-gnu/pkgconfig in PKG_CONFIG_PATH
2024-04-05 20:35:58 +0000 <haskellbridge> <N​exilva> Fucking ridiculous horse shit manure goddamn garbage I want to curse and swear I am so mad....
2024-04-05 20:36:07 +0000 <haskellbridge> <N​exilva> I have no idea when/how I installed this brew bullshit
2024-04-05 20:36:19 +0000 <haskellbridge> <N​exilva> But I unfuckinginstalled it and now stack install is continuing to find the libs
2024-04-05 20:36:26 +0000 <haskellbridge> <N​exilva> No need to specify paths or export shit
2024-04-05 20:36:28 +0000 <geekosaur> I suspect if you get rid of that linuxbrew thing and remove PKG)CONFIG_PATH from your environment it'll just work
2024-04-05 20:36:35 +0000 <haskellbridge> <N​exilva> Goddamn what an asshole of a day. ☹️
2024-04-05 20:36:35 +0000 <geekosaur> I have no idea how linuxbrew got there
2024-04-05 20:36:44 +0000 <geekosaur> right
2024-04-05 20:37:06 +0000 <haskellbridge> <N​exilva> Completed 2 action(s).
2024-04-05 20:37:07 +0000 <haskellbridge> <N​exilva> Copying from /home/stoned/.config/xmonad/.stack-work/install/x86_64-linux-tinfo6/716003aaa50e6615e9ad048198d99e65e118fd27c79961f02d5b7986b6c68e28/9.6.4/bin/xmonad to /home/stoned/.local/bin/xmonad.
2024-04-05 20:37:08 +0000 <haskellbridge> <N​exilva> Copied executables to /home/stoned/.local/bin/:
2024-04-05 20:37:10 +0000 <haskellbridge> <N​exilva> * xmonad
2024-04-05 20:37:36 +0000defjam(~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643)
2024-04-05 20:37:48 +0000 <haskellbridge> <N​exilva> Now when I try to compile xmonad.hs it complains about not finding any of the improts
2024-04-05 20:38:25 +0000 <haskellbridge> <N​exilva> ```
2024-04-05 20:38:26 +0000 <haskellbridge> <N​exilva> Deprecations detected while compiling xmonad config: /home/stoned/.config/xmonad/xmonad.hs
2024-04-05 20:38:28 +0000 <haskellbridge> <N​exilva> $ stack build --silent --stack-yaml /home/stoned/.config/xmonad/stack.yaml
2024-04-05 20:38:29 +0000 <haskellbridge> <N​exilva> $ stack ghc --stack-yaml /home/stoned/.config/xmonad/stack.yaml -- --make xmonad.hs -i -ilib -fforce-recomp -main-is main -v0 -outputdir /home/stoned/.cache/xmonad/build-x86_64-linux -o /home/stoned/.cache/xmonad/xmonad-x86_64-linux
2024-04-05 20:38:30 +0000 <haskellbridge> <N​exilva> xmonad.hs:37:1: warning: [-Wdeprecations]
2024-04-05 20:38:31 +0000 <haskellbridge> <N​exilva> Module ‘XMonad.Layout.Circle’ is deprecated:
2024-04-05 20:38:33 +0000 <haskellbridge> <N​exilva> "Use XMonad.Layout.CircleEx instead"
2024-04-05 20:38:34 +0000 <haskellbridge> <N​exilva> |
2024-04-05 20:38:35 +0000 <haskellbridge> <N​exilva> 37 | import XMonad.Layout.Circle
2024-04-05 20:38:37 +0000 <haskellbridge> <N​exilva> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-04-05 20:38:38 +0000 <haskellbridge> <N​exilva> xmonad.hs:39:1: warning: [-Wdeprecations]
2024-04-05 20:38:39 +0000 <haskellbridge> <N​exilva> Module ‘XMonad.Layout.Cross’ is deprecated:
2024-04-05 20:38:41 +0000 <haskellbridge> <N​exilva> "Use XMonad.Layout.Circle or XMonad.Layout.ThreeColumn.ThreeColMid instead"
2024-04-05 20:38:42 +0000 <haskellbridge> <N​exilva> |
2024-04-05 20:38:43 +0000 <haskellbridge> <N​exilva> 39 | import XMonad.Layout.Cross
2024-04-05 20:38:44 +0000 <haskellbridge> <N​exilva> | ^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-04-05 20:38:46 +0000 <haskellbridge> <N​exilva> xmonad.hs:78:1: warning: [-Wdeprecations]
2024-04-05 20:38:47 +0000 <haskellbridge> <N​exilva> Module ‘XMonad.Util.Ungrab’ is deprecated:
2024-04-05 20:38:48 +0000 <haskellbridge> <N​exilva> "Use XMonad.Operations.unGrab instead"
2024-04-05 20:38:50 +0000 <haskellbridge> <N​exilva> |
2024-04-05 20:38:51 +0000 <haskellbridge> <N​exilva> 78 | import XMonad.Util.Ungrab
2024-04-05 20:38:52 +0000 <haskellbridge> <N​exilva> | ^^^^^^^^^^^^^^^^^^^^^^^^^
2024-04-05 20:38:54 +0000 <haskellbridge> <N​exilva> xmonad.hs:242:13: warning: [GHC-68441] [-Wdeprecations]
2024-04-05 20:38:55 +0000 <haskellbridge> <N​exilva> In the use of data constructor ‘Circle’
2024-04-05 20:38:56 +0000 <haskellbridge> <N​exilva> (imported from XMonad.Layout.Circle):
2024-04-05 20:38:57 +0000 <haskellbridge> <N​exilva> Deprecated: "Use XMonad.Layout.CircleEx instead"
2024-04-05 20:38:59 +0000 <haskellbridge> <N​exilva> |
2024-04-05 20:39:00 +0000 <haskellbridge> <N​exilva> 242 | ||| Circle
2024-04-05 20:39:01 +0000 <haskellbridge> <N​exilva> | ^^^^^^
2024-04-05 20:39:03 +0000 <haskellbridge> <N​exilva> xmonad.hs:243:13: warning: [GHC-68441] [-Wdeprecations]
2024-04-05 20:39:04 +0000 <haskellbridge> <N​exilva> In the use of ‘simpleCross’ (imported from XMonad.Layout.Cross):
2024-04-05 20:39:05 +0000 <geekosaur> right, those were deprecated in 0.18
2024-04-05 20:39:05 +0000 <haskellbridge> <N​exilva> Sigh now this happy horseshit. ARGH!
2024-04-05 20:39:21 +0000 <haskellbridge> <N​exilva> Sorry I didn't read the notes/release notes stuff
2024-04-05 20:39:24 +0000 <geekosaur> they're still there for now, those are warnings that they'll be removed in a future release
2024-04-05 20:39:39 +0000 <haskellbridge> <N​exilva> I don['t use circle or simplecross
2024-04-05 20:39:43 +0000 <haskellbridge> <N​exilva> I wonder what ungrab was...
2024-04-05 20:39:50 +0000 <haskellbridge> <N​exilva> I don't use circle or simplecross
2024-04-05 20:39:54 +0000 <geekosaur> (Circle was extended, Cross is actually broken and it's suggesting an alternative, Ungrab was moved into the core)
2024-04-05 20:40:04 +0000 <geekosaur> you use ungrab for screenshots
2024-04-05 20:40:59 +0000 <geekosaur> xmonad keeps the keyboard grabbed when it runs something, because it can't know if what you ran is a function that wants to read more keys. if you launch a screen shooter, it doesn't like that
2024-04-05 20:41:28 +0000 <geekosaur> so you do something like unGrab >> spawn "scrot …"
2024-04-05 20:42:30 +0000 <haskellbridge> <N​exilva> Oh right ok
2024-04-05 20:42:34 +0000 <haskellbridge> <N​exilva> Thank you
2024-04-05 20:42:50 +0000 <haskellbridge> <N​exilva> I took out the imports and now it compiles.
2024-04-05 20:43:14 +0000 <haskellbridge> <N​exilva> Don't use circle layout or simple cross, from years ago when I was checking them out.
2024-04-05 20:43:22 +0000 <haskellbridge> <N​exilva> Right now I just need stuff to work
2024-04-05 20:43:40 +0000 <haskellbridge> <N​exilva> So now, how do you suggest I do the matchig of the VMs
2024-04-05 20:44:18 +0000 <haskellbridge> <N​exilva> I asked GPT and it says:
2024-04-05 20:44:19 +0000 <haskellbridge> <N​exilva> ```
2024-04-05 20:44:20 +0000 <haskellbridge> <N​exilva> import Text.Regex.Posix
2024-04-05 20:44:21 +0000 <haskellbridge> <N​exilva> -- Function to extract the text between "Windows 10 P2V Original Clone" and "- Oracle VM VirtualBox : 1"
2024-04-05 20:44:22 +0000 <haskellbridge> <N​exilva> extractCloneName :: String -> Maybe String
2024-04-05 20:44:24 +0000 <haskellbridge> <N​exilva> extractCloneName s = case s =~ "Windows 10 P2V Original Clone (.*) - Oracle VM VirtualBox : 1" :: (String, String, String, [String]) of
2024-04-05 20:44:25 +0000 <haskellbridge> <N​exilva> (_, _, _, [name]) -> Just name
2024-04-05 20:44:26 +0000 <haskellbridge> <N​exilva> _ -> Nothing
2024-04-05 20:44:28 +0000 <haskellbridge> <N​exilva> -- Define your Xmonad configuration
2024-04-05 20:44:29 +0000 <haskellbridge> <N​exilva> myXmonadConfig = [
2024-04-05 20:44:30 +0000 <haskellbridge> <N​exilva> , fmap (\n -> name `oneOf` [n]) (extractCloneName "Windows 10 P2V Original Clone") --> (doF . W.view <> doShift) "8:win-A"
2024-04-05 20:44:32 +0000 <haskellbridge> <N​exilva> , fmap (\n -> name `oneOf` [n]) (extractCloneName "Windows 10 P2V Original Clone") --> (doF . W.view <> doShift) "8:win-B"
2024-04-05 20:44:33 +0000 <haskellbridge> <N​exilva> -- Add more rules as needed
2024-04-05 20:44:34 +0000 <haskellbridge> <N​exilva> ]
2024-04-05 20:44:35 +0000 <haskellbridge> <N​exilva> ```
2024-04-05 20:44:37 +0000 <haskellbridge> <N​exilva> Is GPT correct? I have no idea because I don't know haskell
2024-04-05 20:44:52 +0000 <haskellbridge> <N​exilva> I can always tell in C++ or PHP or Js or other langs if GPT is right or not. But Haskell I don't even know.
2024-04-05 20:48:00 +0000 <haskellbridge> <N​exilva> `, className =? "Oracle VM VirtualBox" <&&> fmap ("Windows 10 P2V Original Clone" `isPrefixOf`) title --> (doF . W.view <> doShift) "8:win-A"` Here's another thing it suggestd, but this one doesn't match the Window, as I run VM in dual screen mode (two virtual screens)
2024-04-05 20:48:31 +0000 <haskellbridge> <N​exilva> Here is yet another proposed solution:
2024-04-05 20:48:32 +0000 <haskellbridge> <N​exilva> ```
2024-04-05 20:48:33 +0000 <haskellbridge> <N​exilva> import Text.Regex.Posix
2024-04-05 20:48:35 +0000 <haskellbridge> <N​exilva> -- Define a function to match the window name using regular expressions
2024-04-05 20:48:36 +0000 <haskellbridge> <N​exilva> matchesPattern :: String -> Bool
2024-04-05 20:48:37 +0000 <haskellbridge> <N​exilva> matchesPattern s = s =~ "Windows 10 P2V Original Clone [^ ]+ - Oracle VM VirtualBox : [0-9]+"
2024-04-05 20:48:39 +0000 <haskellbridge> <N​exilva> -- Use the matchesPattern function in your Xmonad configuration
2024-04-05 20:48:40 +0000 <haskellbridge> <N​exilva> , name `matches` matchesPattern --> (doF . W.view <> doShift) "8:win-A"
2024-04-05 20:48:41 +0000 <haskellbridge> <N​exilva> ```
2024-04-05 20:49:00 +0000 <haskellbridge> <N​exilva> I could try it.
2024-04-05 20:49:28 +0000 <haskellbridge> <N​exilva> ```
2024-04-05 20:49:29 +0000 <haskellbridge> <N​exilva> -- Sort Virtual Machines into separate workspaces
2024-04-05 20:49:31 +0000 <haskellbridge> <N​exilva> , className =? "VirtualBox Manager" <&&> stringProperty "WM_NAME" =? "Windows 10 P2V Original Clone .* - Oracle VM VirtualBox : 1" --> (doF . W.view <> doShift) "8:win-A"
2024-04-05 20:49:32 +0000 <haskellbridge> <N​exilva> , className =? "VirtualBox Manager" <&&> stringProperty "WM_NAME" =? "Windows 10 P2V Original Clone .* - Oracle VM VirtualBox : 2" --> (doF . W.view <> doShift) "8:win-B"
2024-04-05 20:49:33 +0000 <haskellbridge> <N​exilva> ```
2024-04-05 20:49:34 +0000 <haskellbridge> <N​exilva> It also suggested this
2024-04-05 20:50:20 +0000 <haskellbridge> <N​exilva> If it was another language I could easily tell whether the code is good or not. Haskell I can't tell and somehow I make do
2024-04-05 20:55:09 +0000 <geekosaur> `matches` won't work because it needs to be fmapped in
2024-04-05 20:55:47 +0000 <geekosaur> also `stringProperty "WM_NAME"` is `title`
2024-04-05 20:57:53 +0000 <geekosaur> className =? "VirtualBox Manager" <&&> title ^? "Windows 10 P2V Original Clone " <&&> title ~? " Oracle VM VirtualBox : 2" --> (doF . W.view <> doShift) "8:win-A"
2024-04-05 20:58:39 +0000 <geekosaur> import XMonad.Hooks.ManageHelpers for ^? and $? (sorry I meant $? instead of ~?, IRC doesn't do edits)
2024-04-05 21:01:09 +0000 <haskellbridge> <N​exilva> So className and then matching title.
2024-04-05 21:02:29 +0000 <haskellbridge> <N​exilva> `, className =? "VirtualBox Manager" <&&> title ^? "Windows 10 P2V Original Clone " <&&> title $? " Oracle VM VirtualBox : 1" --> (doF . W.view <> doShift) "8:win-A"`
2024-04-05 21:02:29 +0000 <haskellbridge> <N​exilva> `, className =? "VirtualBox Manager" <&&> title ^? "Windows 10 P2V Original Clone " <&&> title $? " Oracle VM VirtualBox : 2" --> (doF . W.view <> doShift) "8:win-B`
2024-04-05 21:02:58 +0000 <geekosaur> right
2024-04-05 21:03:18 +0000 <haskellbridge> <N​exilva> ```
2024-04-05 21:03:19 +0000 <haskellbridge> <N​exilva> xmonad.hs:87:22: error: [GHC-88464]
2024-04-05 21:03:20 +0000 <haskellbridge> <N​exilva> Variable not in scope: (=~) :: String -> String -> Bool
2024-04-05 21:03:21 +0000 <haskellbridge> <N​exilva> Suggested fix:
2024-04-05 21:03:23 +0000 <haskellbridge> <N​exilva> Perhaps use one of these:
2024-04-05 21:03:24 +0000 <haskellbridge> <N​exilva> ‘==’ (imported from Prelude), ‘=?’ (imported from XMonad)
2024-04-05 21:03:25 +0000 <haskellbridge> <N​exilva> |
2024-04-05 21:03:26 +0000 <haskellbridge> <N​exilva> 87 | matchesPattern s = s =~ "Windows 10 P2V Original Clone [^ ]+ - Oracle VM VirtualBox : [0-9]+"
2024-04-05 21:03:28 +0000 <haskellbridge> <N​exilva> ```
2024-04-05 21:04:27 +0000 <geekosaur> you're not using that and you would have to import Text.Regex.Posix to get that operator
2024-04-05 21:05:19 +0000 <haskellbridge> <N​exilva> Ok it compiles now
2024-04-05 21:05:42 +0000 <haskellbridge> <N​exilva> $ xmonad --recompile
2024-04-05 21:05:43 +0000 <haskellbridge> <N​exilva> XMonad will use stack ghc --stack-yaml "/home/stoned/.config/xmonad/stack.yaml" to recompile.
2024-04-05 21:05:44 +0000 <haskellbridge> <N​exilva> XMonad recompiling (forced).
2024-04-05 21:05:46 +0000 <haskellbridge> <N​exilva> XMonad recompilation process exited with success!
2024-04-05 21:06:14 +0000 <geekosaur> hm, and it wouldn't do what you wanted anyway because you want to move it to a different ws based on the number, but that pattern just matches any number
2024-04-05 21:06:40 +0000 <haskellbridge> <N​exilva> I have no idea what is happening 🙂
2024-04-05 21:06:52 +0000 <haskellbridge> <N​exilva> So I launched the VM and like you said it didn't work.
2024-04-05 21:07:23 +0000 <geekosaur> no, I was talking about matchesPattern which you I think aren't using (and if you are, it's doing the wrong thing)
2024-04-05 21:07:36 +0000 <haskellbridge> <N​exilva> ```
2024-04-05 21:07:37 +0000 <haskellbridge> <N​exilva> -- Sort Virtual Machines into separate workspaces
2024-04-05 21:07:39 +0000 <haskellbridge> <N​exilva> , className =? "VirtualBox Manager" <&&> title ^? "Windows 10 P2V Original Clone " <&&> title $? " Oracle VM VirtualBox : 1" --> (doF . W.view <> doShift) "8:win-A"
2024-04-05 21:07:40 +0000 <haskellbridge> <N​exilva> , className =? "VirtualBox Manager" <&&> title ^? "Windows 10 P2V Original Clone " <&&> title $? " Oracle VM VirtualBox : 2" --> (doF . W.view <> doShift) "8:win-B"
2024-04-05 21:07:41 +0000 <haskellbridge> <N​exilva> ```
2024-04-05 21:07:43 +0000 <haskellbridge> <N​exilva> I'm using this, what you said
2024-04-05 21:07:58 +0000 <haskellbridge> <N​exilva> It compiles, but doesn't shift the VM windows
2024-04-05 21:08:11 +0000 <geekosaur> I wonder if the className is right
2024-04-05 21:08:42 +0000 <geekosaur> vbox doesn't want to work on my system for some reason so I can't check
2024-04-05 21:08:56 +0000 <haskellbridge> <N​exilva> ```
2024-04-05 21:08:57 +0000 <haskellbridge> <N​exilva> WM_NAME(STRING) = "Windows 10 P2V Original Clone 1 (Working, before update.) [Running] - Oracle VM VirtualBox : 1"
2024-04-05 21:08:58 +0000 <haskellbridge> <N​exilva> _NET_WM_NAME(UTF8_STRING) = "Windows 10 P2V Original Clone 1 (Working, before update.) [Running] - Oracle VM VirtualBox : 1"
2024-04-05 21:08:59 +0000 <haskellbridge> <N​exilva> ```
2024-04-05 21:09:11 +0000 <geekosaur> so get rid of the `className =? "VirtualBox Manager" <&&> ` part
2024-04-05 21:09:24 +0000 <haskellbridge> <N​exilva> `Windows 10 P2V Original Clone ... - Oracle VM VirtualBox : 1` to 8:win-A`
2024-04-05 21:09:24 +0000 <haskellbridge> <N​exilva> `Windows 10 P2V Original Clone ... - Oracle VM VirtualBox : 1` to 8:win-B`
2024-04-05 21:09:25 +0000 <haskellbridge> <N​exilva> How do to this?
2024-04-05 21:09:27 +0000 <haskellbridge> <N​exilva> `Windows 10 P2V Original Clone ... - Oracle VM VirtualBox : 1` to 8:win-A`
2024-04-05 21:09:28 +0000 <haskellbridge> <N​exilva> `Windows 10 P2V Original Clone ... - Oracle VM VirtualBox : 1` to 8:win-B`
2024-04-05 21:09:29 +0000 <haskellbridge> <N​exilva> How do to this?
2024-04-05 21:09:30 +0000 <haskellbridge> <N​exilva> `Windows 10 P2V Original Clone ... - Oracle VM VirtualBox : 1` to 8:win-A\`
2024-04-05 21:09:32 +0000 <haskellbridge> <N​exilva> `Windows 10 P2V Original Clone ... - Oracle VM VirtualBox : 2` to 8:win-B\`
2024-04-05 21:09:33 +0000 <haskellbridge> <N​exilva> How do to this?
2024-04-05 21:09:35 +0000 <haskellbridge> <N​exilva> `Windows 10 P2V Original Clone ... - Oracle VM VirtualBox : 1` to 8:win-A\`
2024-04-05 21:09:36 +0000 <haskellbridge> <N​exilva> `Windows 10 P2V Original Clone ... - Oracle VM VirtualBox : 2` to 8:win-B\`
2024-04-05 21:09:37 +0000 <haskellbridge> <N​exilva> How do to this?
2024-04-05 21:11:53 +0000 <geekosaur> the difference between the code you originally had and my suggestion is the className part, so remove that as I said above
2024-04-05 21:12:06 +0000 <geekosaur> presumably it's the wrong className
2024-04-05 21:13:13 +0000 <haskellbridge> <N​exilva> WM_CLASS(STRING) = "VirtualBox Machine", "VirtualBox Machine"
2024-04-05 21:13:51 +0000 <geekosaur> so change "VirtualBox Manager" to "VirtualBox Machine"
2024-04-05 21:14:07 +0000 <geekosaur> (I think you said you got that from ChatGPT? it was wrong)
2024-04-05 21:15:22 +0000 <haskellbridge> <N​exilva> Thank you
2024-04-05 21:15:28 +0000 <haskellbridge> <N​exilva> I didn't use any GPT stuff
2024-04-05 21:15:38 +0000 <haskellbridge> <N​exilva> I used it to learn how to install the text regex package
2024-04-05 21:16:00 +0000 <haskellbridge> <N​exilva> But I used your suggestions. I trust you far more over the years than GPT
2024-04-05 21:16:11 +0000 <haskellbridge> <N​exilva> It's working now.
2024-04-05 23:10:15 +0000mekeor(~user@2001:a61:10db:ae01:ee8e:7029:dae7:575c) (Quit: towards emacs as interface to a cybernetic council communism)
2024-04-05 23:17:56 +0000 <haskellbridge> <N​exilva> "VirtualBox Manager" is moved to desktop 5, and "VirtualBox Machine" to 8-A/B
2024-04-05 23:18:21 +0000 <haskellbridge> <N​exilva> "VirtualBox Manager" is the main Vbox window which lists all the VMs and allows you to configure them
2024-04-05 23:18:59 +0000 <geekosaur> yes
2024-04-05 23:19:25 +0000 <geekosaur> I had been wondering why you were matching against "VirtualBox Manager", tbh
2024-04-05 23:19:36 +0000 <haskellbridge> <N​exilva> I didn't realize the name changed
2024-04-05 23:19:43 +0000 <haskellbridge> <N​exilva> I had to do xprop to see the difference
2024-04-05 23:21:53 +0000 <geekosaur> they're actually misusing it, className should be VirtualBox, appName should be virtualBox, role should be manager vs. machine
2024-04-05 23:22:05 +0000 <geekosaur> but nobody cares about ICCCM any more
2024-04-05 23:22:09 +0000mekeor(~user@2001:a61:10db:ae01:ee8e:7029:dae7:575c)
2024-04-05 23:35:05 +0000mekeor(~user@2001:a61:10db:ae01:ee8e:7029:dae7:575c) (Quit: towards emacs as interface to a cybernetic council communism)