-
Notifications
You must be signed in to change notification settings - Fork 5
Linux support #7
Comments
Hey, nice to hear from someone playing on Linux. Linux support will be my next task this weekend. I usually don't game on Linux but it is my preferable platform. Things that will need to be changed:
I believe that would be all. The key and mouse listener library we use is already cross-platform. |
Hey! Awesome to hear, man. I was already able to open and build your program in Netbeans using Maven, after switching to Openjdk-13. I was on Openjdk-8 before due to another project and of course couldn't compile everything. :D |
You can follow my progress here: https://github.com/mtricht/lunaris/commits/linux
|
See #28 Is any of you willing to test it on your end? |
Fundamentally its working on my end. I have a three monitor setup, with poe in the middle and the offset is working fine. https://i.imgur.com/bdldcV8.jpg The window is a tad cut short to the right i suppose, but i can live with that. Better than tabbing out to the browser. With the patches in #28 the config branch also works for me quite well. In theory. I patched the config branch by hand before i noticed linux had its own because im blind xD Anyway, keep it coming, im happy to test more things :) |
@mkalte666 Thanks for testing! Could you test out the master branch? We've added quite a few improvements. @thorsten-passfeld would you also mind testing the master branch? We've revamped how we get the item text from in game, so alt+D should now also work for you. |
Okay, some good and some "bad" news:
|
For the record, this is the log of that "session":
|
I built 9d9fdf6 for this.
Pressing those outside of POE does not cause harm aside from overwriting the clipboard as far i can see btw, so theres that. I'll test trading hotkeys etc as soon as im actually getting a whisper. Thanks for your work! For reference, my system is
Steam is the Beta Client; Proton is 4.11; wine is 4.11 as well ($PROTONPATH/dist/bin/wine --version => wine-4.11) |
Invite last whisper works well. When you use "kick yourself from party" without setting a character name, it will paste |
@mkalte666 thanks for testing! @thorsten-passfeld would you mind testing again? And perhaps try windowed instead of windowed-fullscreen? I also created a guide for linux here: https://github.com/mtricht/lunaris/blob/master/LINUX.md |
@mtricht
Edit: |
Although that code is pretty platform-specifically written, I think this file can more or less easily be adapted for Linux and MacOS, as well as Windows too. I'll link to the source I found just now:
https://stackoverflow.com/questions/5226212/how-to-open-the-default-webbrowser-using-java
I really like your solution so far. But I'm playing on Linux, so I would love to be able to natively use this program. Since it's Java, I don't think we need to do more than to adapt the platform-specific code to be more cross-platform-compatible. It could really be a stand-out feature of this solution.
I'd take this any day over an Electron-based solution. Good god...
The text was updated successfully, but these errors were encountered: