Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Q]: How to run the Linux desktop client in wayland ? #4171

Open
sahil-tgs opened this issue May 12, 2024 · 2 comments
Open

[Q]: How to run the Linux desktop client in wayland ? #4171

sahil-tgs opened this issue May 12, 2024 · 2 comments
Labels
desktop Related to desktop app enhancement New feature or request linux Related to Linux platform question Further information is requested

Comments

@sahil-tgs
Copy link

Question

Currently whenever I run the AppImage it runs on xwayland for some reason, usually I would fix it by using flags or environment variables that would force it run in Wayland, but nothing seems to be working with this simplex AppImage. Any Idea how we can make it run in Wayland?

image

@sahil-tgs sahil-tgs added question Further information is requested triage labels May 12, 2024
@Narasimha-sc Narasimha-sc added linux Related to Linux platform desktop Related to desktop app enhancement New feature or request and removed triage labels May 13, 2024
@avently
Copy link
Collaborator

avently commented May 29, 2024

Some links for the references:

So we wait until the work supporting Wayland will be done on Java side and after that we will see perspectives to use their JBR (JetBrains Runtime) as a base for SimpleX runtime image

@mattsalves
Copy link

Java Version

Ensure you have a Java version that supports Wayland. Most recent versions of OpenJDK should work fine with Wayland.

Environment Variables

Set appropriate environment variables to enable Wayland support. This might include variables like JAVA_TOOL_OPTIONS or specific Wayland-related variables depending on your system configuration.

export _JAVA_AWT_WM_NONREPARENTING=1
export GDK_BACKEND=wayland

Launch Application

Run the Simplex-Chat application as you normally would, using the appropriate command.

java -jar simplex-chat.jar

Troubleshooting

If you encounter any issues, such as graphical glitches or crashes, try running the application from the terminal and check for any error messages or warnings.

Wayland-Specific Settings

Some applications might have specific settings or configurations for running on Wayland. Check the documentation or community forums for any Wayland-specific instructions for running Simplex-Chat.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
desktop Related to desktop app enhancement New feature or request linux Related to Linux platform question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants