Logs: liberachat/#xmonad
| 2024-04-26 16:58:18 | <haskellbridge> | <Nexilva> name = stringProperty "WM_NAME" |
| 2024-04-26 16:58:20 | <haskellbridge> | <Nexilva> prop `oneOf` ss = prop <&> (`elem` ss) |
| 2024-04-26 16:58:42 | <haskellbridge> | <Nexilva> So I'm using WM_NAME which should be Diablo II |
| 2024-04-26 16:59:03 | <fizzie> | Assuming the bridge isn't leaving anything out of the paste, `role` and `name` are unused there. |
| 2024-04-26 16:59:18 | <haskellbridge> | <Nexilva> As I need/want the D2SE window to be floated, but it's a launchner that launches diablo 2, and diablo 2 needs to be not floated. |
| 2024-04-26 16:59:31 | <fizzie> | Your test in what came over to IRC is: className `oneOf` [ "Diablo II" ] --> (something). |
| 2024-04-26 16:59:35 | <fizzie> | That's className, not WM_NAME. |
| 2024-04-26 16:59:49 | <haskellbridge> | <Nexilva> https://bpa.st/I7FQ full code for reference |
| 2024-04-26 17:00:06 | <fizzie> | Well, same thing. |
| 2024-04-26 17:00:10 | <haskellbridge> | <Nexilva> So how do I target the Diablo II WM_NAME exactly? |
| 2024-04-26 17:00:41 | <fizzie> | Use `name` where it now says `className`. Like you do up there on line 123. |
| 2024-04-26 17:00:59 | <haskellbridge> | <Nexilva> Ohhh |
| 2024-04-26 17:01:01 | <haskellbridge> | <Nexilva> It's that easy? |
| 2024-04-26 17:01:09 | <fizzie> | (Or else keep it as className or replace "Diablo II" by "d2se.exe".) |
| 2024-04-26 17:01:27 | <haskellbridge> | <Nexilva> I just explained why I can't use D2SE |
| 2024-04-26 17:02:26 | <haskellbridge> | <Nexilva> Brilliant. Using 'name' works. I see how this is linked together now |
| 2024-04-26 17:02:35 | <haskellbridge> | <Nexilva> Thank you very much my friend. Happy friday! |
| 2024-04-26 17:06:35 | <fizzie> | Oh, missed the part about the launcher vs. the game. Sure. And yeah, that's using the local definition of `name`. There's also a `title` query that's exported from XMonad, that should also work: https://hackage.haskell.org/package/xmonad-0.18.0/docs/XMonad-ManageHook.html#v:title -- though I guess you might as well stick with what works. |
| 2024-04-26 17:10:12 | → | hightower4 joins (~hightower@dh207-113-33.xnet.hr) |
| 2024-04-26 17:12:49 | × | hightower3 quits (~hightower@dh207-81-6.xnet.hr) (Ping timeout: 268 seconds) |
| 2024-04-26 17:21:02 | <liskin> | Uh, Diablo 2 on Linux? |
| 2024-04-26 17:21:14 | <haskellbridge> | <Nexilva> Yes, I mod it there. |
| 2024-04-26 17:21:15 | <liskin> | Last time I tried the mods wouldn't work :-( |
| 2024-04-26 17:21:29 | <liskin> | Not that I remember the name of the particular mod |
| 2024-04-26 17:21:30 | <haskellbridge> | <Nexilva> They do |
| 2024-04-26 17:21:57 | <haskellbridge> | <Nexilva> https://matrix-client.matrix.org//0057a851/Screenshot_20240426_112145.png |
| 2024-04-26 17:21:59 | <liskin> | Using just a normal wine, is it? |
| 2024-04-26 17:22:14 | <liskin> | (that link is 404) |
| 2024-04-26 17:22:15 | <haskellbridge> | <Nexilva> https://matrix-client.matrix.org//a6fe2569/Screenshot_20240426_112205.png |
| 2024-04-26 17:22:23 | <liskin> | And that too |
| 2024-04-26 17:22:54 | <haskellbridge> | <system> file Screenshot_20240426_112239.png too big to download (3054278 > allowed size: 1000000) |
| 2024-04-26 17:22:55 | <haskellbridge> | <Nexilva> Screenshot_20240426_112239.png |
| 2024-04-26 17:23:01 | <haskellbridge> | <Nexilva> What link? I'm just uploading images to matrix |
| 2024-04-26 17:23:08 | <haskellbridge> | <Nexilva> You should be able to see it on IRC side |
| 2024-04-26 17:23:23 | <haskellbridge> | <Nexilva> Should be a matrix.org type link |
| 2024-04-26 17:23:44 | <haskellbridge> | <Nexilva> https://matrix-client.matrix.org/_matrix/media/v3/download/matrix.org/qqnIucdBfUrrpTjuQfJZUseB?allow_redirect=true |
| 2024-04-26 17:24:10 | <haskellbridge> | <Nexilva> Yessir, regular wine in Ubuntu 22, 64bit prefix in .wine and 32 in .wine32 |
| 2024-04-26 17:24:32 | <haskellbridge> | <Nexilva> I have got even Mod Organizer 2 and Skyrim with SKSE working Linux |
| 2024-04-26 17:24:36 | <haskellbridge> | <Nexilva> Warcraft II |
| 2024-04-26 17:24:40 | <haskellbridge> | <Nexilva> Morrowind |
| 2024-04-26 17:24:54 | <haskellbridge> | <Nexilva> Retroarch with every console/rom in existence, all mame roms |
| 2024-04-26 17:24:57 | <liskin> | Right, the last image went through |
| 2024-04-26 17:25:06 | <liskin> | Interesting, maybe I should try again then |
| 2024-04-26 17:25:07 | <haskellbridge> | <Nexilva> I got just about everything. No modern consoles though. I 'm old. I don't enjoy new games |
| 2024-04-26 17:25:12 | <liskin> | Anyway, gotta go, sry |
| 2024-04-26 17:25:23 | <haskellbridge> | <Nexilva> It's me HB |
| 2024-04-26 17:25:33 | <liskin> | I see! |
| 2024-04-26 17:25:37 | <haskellbridge> | <Nexilva> I just have a smaller nick now cuz you guys didn't like the long nick with certifications on IRC |
| 2024-04-26 17:25:38 | <haskellbridge> | <Nexilva> 🙂 |
| 2024-04-26 17:26:01 | <haskellbridge> | <Nexilva> I am considerate of the community. This is my 2nd account. My normal account is HB. |
| 2024-04-26 17:28:15 | <haskellbridge> | <Nexilva> Also got Path of E xile working on Linux. |
| 2024-04-26 17:28:35 | <haskellbridge> | <Nexilva> I don't game much though, just checking things out with the new RTX 3060 I got a year ago. I only did AI but now checking out some games. |
| 2024-04-26 17:29:51 | <haskellbridge> | <Nexilva> https://matrix-client.matrix.org//bae86e57/Screenshot_20240426_112939.png |
| 2024-04-26 17:29:57 | <haskellbridge> | <Nexilva> https://matrix-client.matrix.org/_matrix/media/v3/thumbnail/matrix.org/sHcMzBCbimcWTWqjtgqQglkj?width=800&height=600&method=scale&allow_redirect=true |
| 2024-04-26 17:30:13 | <haskellbridge> | <Nexilva> Here is Mod Organizer 2 for Skyrim on Linux/Wine |
| 2024-04-26 17:30:18 | <haskellbridge> | <Nexilva> I'm using Proton with STEAM |
| 2024-04-26 17:32:41 | <haskellbridge> | <Nexilva> https://matrix-client.matrix.org//b0b98da2/Screenshot_20240426_113229.png |
| 2024-04-26 17:33:00 | <haskellbridge> | <Nexilva> It seems to work. Slowly but working |
| 2024-04-26 17:47:19 | <haskellbridge> | <Nexilva> https://matrix-client.matrix.org//db697309/Screenshot_20240426_114644.png |
| 2024-04-26 17:47:45 | <haskellbridge> | <Nexilva> Finally loaded, but works fast. I have a 5800X CPU, RTX 3060 and 64GB DDR4 and 2TB NVME 5Gbit |
| 2024-04-26 17:48:37 | <haskellbridge> | <Nexilva> So here's something I need to figure out |
| 2024-04-26 17:48:54 | <haskellbridge> | <system> file Screenshot_20240426_114844.png too big to download (1492395 > allowed size: 1000000) |
| 2024-04-26 17:48:55 | <haskellbridge> | <Nexilva> Screenshot_20240426_114844.png |
| 2024-04-26 17:49:04 | <haskellbridge> | <Nexilva> https://matrix-client.matrix.org/_matrix/media/v3/download/matrix.org/BSiLNCsxHCfNyPPIhqMITUeu?allow_redirect=true |
| 2024-04-26 17:50:28 | <haskellbridge> | <Nexilva> This mod however, does not use A high res patch like my mod does. |
| 2024-04-26 17:50:29 | <haskellbridge> | <Nexilva> So this window name is also Diablo II. And this one gets fullscreened and unfloated and looks like this when sunk |
| 2024-04-26 17:50:30 | <haskellbridge> | <Nexilva> So is there a way to launch some program and manually give it a name/class etc? |
| 2024-04-26 17:50:31 | <haskellbridge> | <Nexilva> So I can tag diff windows and target them? |
| 2024-04-26 17:52:53 | <geekosaur> | only if the program itself supports it |
| 2024-04-26 17:53:39 | <geekosaur> | many (not all) legacy X11 programs support `-name` (but no way to set the class); many (but not all) gtk and qt programs offer `--name` and `--class` |
| 2024-04-26 17:54:01 | <haskellbridge> | <Nexilva> I see. I can try it. |
| 2024-04-26 17:55:10 | <geekosaur> | if you're running stuff in wine, you're probably out of luck |
| 2024-04-26 17:55:25 | → | ChubaDuba joins (~ChubaDuba@46.147.217.146) |
| 2024-04-26 17:56:45 | <haskellbridge> | <Nexilva> Darn |
| 2024-04-26 17:58:09 | <haskellbridge> | <Nexilva> With some settings with the D2GL plugin, you can setup custom resolution, center window in screen, then stretch horizontally to fit width. Makes it look fullscreen without being fullscreen. Nice. |
| 2024-04-26 17:58:31 | <haskellbridge> | <system> file Screenshot_20240426_115822.png too big to download (1975119 > allowed size: 1000000) |
| 2024-04-26 17:58:31 | <haskellbridge> | <Nexilva> Screenshot_20240426_115822.png |
| 2024-04-26 17:58:47 | <haskellbridge> | <Nexilva> https://matrix-client.matrix.org/_matrix/media/v3/download/matrix.org/ynxSqiAtBSOIgmswEdoaFtIS?allow_redirect=true |
| 2024-04-26 18:17:54 | → | L29Ah joins (~L29Ah@wikipedia/L29Ah) |
| 2024-04-26 19:06:23 | × | ChubaDuba quits (~ChubaDuba@46.147.217.146) (Read error: Connection reset by peer) |
| 2024-04-26 19:10:13 | × | defjam quits (~defjam@2a02:c7e:2807:b900:1c9b:186d:d8b4:632b) (Ping timeout: 255 seconds) |
| 2024-04-26 19:12:07 | → | ChubaDuba joins (~ChubaDuba@46.147.217.146) |
| 2024-04-26 19:16:41 | × | ChubaDuba quits (~ChubaDuba@46.147.217.146) (Read error: Connection reset by peer) |
| 2024-04-26 19:22:21 | → | defjam joins (~defjam@2a02:c7e:2807:b900:1c9b:186d:d8b4:632b) |
| 2024-04-26 19:25:31 | → | ChubaDuba joins (~ChubaDuba@46.147.217.146) |
| 2024-04-26 19:26:56 | × | defjam quits (~defjam@2a02:c7e:2807:b900:1c9b:186d:d8b4:632b) (Ping timeout: 268 seconds) |
| 2024-04-26 19:31:01 | × | todi quits (~todi@p57803331.dip0.t-ipconnect.de) (Remote host closed the connection) |
| 2024-04-26 19:39:36 | → | todi joins (~todi@p57803331.dip0.t-ipconnect.de) |
| 2024-04-26 19:49:04 | × | todi quits (~todi@p57803331.dip0.t-ipconnect.de) (Quit: ZNC - https://znc.in) |
| 2024-04-26 19:49:05 | → | defjam joins (~defjam@2a02:c7e:2807:b900:1c9b:186d:d8b4:632b) |
| 2024-04-26 20:03:48 | × | defjam quits (~defjam@2a02:c7e:2807:b900:1c9b:186d:d8b4:632b) (Ping timeout: 256 seconds) |
| 2024-04-26 20:05:02 | <liskin> | Oh, I forgot to mention that I got discharged from the hospital today so perhaps I can take a look at the X11 CI tomorrow |
| 2024-04-26 20:06:36 | <liskin> | (well I forgot to mention I ever got admitted in the first place but I suppose that's somewhat understandable given the level of my involvement recently, and how unwell I was at the time :-)) |
| 2024-04-26 20:07:10 | <liskin> | (it was not a psych ward, just a stupid pneumonia) |
| 2024-04-26 20:10:05 | → | defjam joins (~defjam@2a02:c7e:2807:b900:1c9b:186d:d8b4:632b) |
| 2024-04-26 20:10:09 | × | ChubaDuba quits (~ChubaDuba@46.147.217.146) (Quit: Leaving) |
| 2024-04-26 20:10:22 | → | ChubaDuba joins (~ChubaDuba@46.147.217.146) |
| 2024-04-26 20:12:53 | × | ft quits (~ft@p4fc2a20e.dip0.t-ipconnect.de) (Ping timeout: 268 seconds) |
| 2024-04-26 20:14:05 | → | ft joins (~ft@p4fc2a1f9.dip0.t-ipconnect.de) |
| 2024-04-26 20:18:37 | × | Nixkernal quits (~Nixkernal@240.17.194.178.dynamic.wline.res.cust.swisscom.ch) (Ping timeout: 255 seconds) |
All times are in UTC.