Giter Club home page Giter Club logo

Comments (7)

Makubry avatar Makubry commented on September 28, 2024

Redirecting Lutris to launch the runelite.sh script directly as JagexLauncher.exe gives the same issue, although launching the shell script directly from the system terminal works perfectly, so this seems to specifically be an issue with WINE/Lutris rather than the Jagex Launcher itself. With links within the Jagex Launcher working properly, I don't understand at all.

from jagex-launcher-linux.

nmlynch94 avatar nmlynch94 commented on September 28, 2024

@Makubry Thank you for confirming it's caused by Wine. This is an issue we've seen pop up a few times and haven't been able to figure out why it's happening. I have a very similar system, but am unfortunately unable to reproduce the issue.

[System]
OS: Fedora Linux 39 Workstation Edition
Arch: x86_64
Kernel: 6.5.11-300.fc39.x86_64
Desktop: KDE
Display Server: wayland

[CPU]
Vendor: AuthenticAMD
Model: AMD Ryzen 7 3700X 8-Core Processor
Physical cores: 8
Logical cores: 16

[Memory]
RAM: 31.2 GB
Swap: 8.0 GB

[Graphics]
Vendor: NVIDIA Corporation
OpenGL Renderer: NVIDIA GeForce RTX 3070/PCIe/SSE2
OpenGL Version: 4.6.0 NVIDIA 535.129.03
OpenGL Core: 4.6.0 NVIDIA 535.129.03
OpenGL ES: OpenGL ES 3.2 NVIDIA 535.129.03
Vulkan Version: 1.3.250
Vulkan Drivers: NVIDIA GeForce RTX 3070 (1.3.242)

FWIW, in my default applications chrome is set as the browser. Which is yours set to? Maybe it's a browser-specific problem.

Also, could you please confirm xdg-open google.com in a terminal properly opens the website?

If that works, could you please modify runelite.sh to also run xdg-open google.com as well as echo "$XDG_CURRENT_DESKTOP", and see if that also works?

Another useful test could be in lutris, select Jagex Launcher, choose the wine bottle and "open bash terminal" and then try xdg-open.

I'm wondering if maybe the DE detection isn't working inside of wine.

from jagex-launcher-linux.

Makubry avatar Makubry commented on September 28, 2024

Hello, thank you for your quick reply! I can do more testing later tonight, but here's what I have for right now:

My default browser is set to Firefox. I don't have any other browser installed on my machine, but I can test it with another option later.

Opening the system terminal and running xdg-open google.com opens the window properly in Firefox. When I add this line and echo $XDG_CURRENT_DESKTOP to my runelite.sh script and launch through the Jagex Launcher, it successfully opens google in firefox after I close the RuneLite window that launches with it. I couldn't find any output of the result for the echo, but when I open the bash terminal through Lutris as described and put both lines in, it successfully opens the link in google as well as returning "KDE".

So, in summary, everything worked as intended, so this seems to specifically be an issue with the game client, specifically through WINE/Lutris.

from jagex-launcher-linux.

nmlynch94 avatar nmlynch94 commented on September 28, 2024

No problem. Thanks for checking that stuff. Very strange...So to be clear, were you changing runelite.sh, and then pressing "play" on runelite in the jagex launcher for this test? I can't imagine at all why xdg-open works there but not in RuneLite...

from jagex-launcher-linux.

Makubry avatar Makubry commented on September 28, 2024

Weirdly, that is the case. When the entirety of the runelite.sh file is
#!/bin/sh
xdg-open google.com
and I launch RuneLite from the Jagex Launcher, google opens in Firefox with no issues. If I edit the same runelite.sh file and replace the xdg-open command with the jar launch command
java -jar "$(pwd)"/Games/RuneLite/RuneLite.jar
I get the issue once again, and links don't open externally from RuneLite.

from jagex-launcher-linux.

nmlynch94 avatar nmlynch94 commented on September 28, 2024

Gotcha. I'm going to do some research and see if I can reproduce somehow. I thought before it had something to do with cinnamon because that's where I've seen it reported, but we have a very similar setup with Plasma so that much not be it.

If you're trying to sign into the client, I think a workaround could be to launch it from your cli, sign in, and then I think it'll still work in the jagex launcher because they both use ~/.runelite to store config.

from jagex-launcher-linux.

TormStorm avatar TormStorm commented on September 28, 2024

The Lutris installation method is no longer supported. If you still aren't able to open external links on any of the Flatpaks please report this issue to their respective GitHub page.

from jagex-launcher-linux.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.