DeeBeeDouble

joined 1 year ago
[–] DeeBeeDouble@lemmy.ml 1 points 1 month ago (1 children)

I recently tried to do that but after hours of trying l had to give up. If there's a way, I'd really like to know too.

[–] DeeBeeDouble@lemmy.ml 1 points 4 months ago

Ah, that makes sense. Too bad. I have all my games on steam and haven't yet found a way to play them with the patch. I could, of course, compile proton with the patch myself, but somehow I am too stupid for that.

[–] DeeBeeDouble@lemmy.ml 1 points 4 months ago (4 children)

How did you get it to work within proton? Last time I looked, the Wayland patch wasn't yet included in proton. I'd love to use it for my games too.

[–] DeeBeeDouble@lemmy.ml 3 points 4 months ago

That's good to hear, thanks!

[–] DeeBeeDouble@lemmy.ml 22 points 4 months ago (13 children)

Any news on wine on Wayland? I haven't heard anything in a while; is it still being worked on?

[–] DeeBeeDouble@lemmy.ml 2 points 1 year ago

Funny, I remember getting the exact same comment on Reddit when it was still there. While this is obviously correct, to me, it just feels wrong to use Discord in a browser. Also, other clients offer functionality that not even Discord in a browser supports. But for those who don't mind or don't need those extra features, it's a great solution, no doubt.

[–] DeeBeeDouble@lemmy.ml 5 points 1 year ago (1 children)

Very true. There are obviously some community projects, but no doubt, official software would be better. Or even better, if they would make it easy for the community to develop those tools.

[–] DeeBeeDouble@lemmy.ml 12 points 1 year ago

They are no longer on reddit. If I hadn't reposted them here, they would have been lost forever.

[–] DeeBeeDouble@lemmy.ml 11 points 1 year ago (2 children)

I know, right? It's funny how all of my posts here so far are just old ones from Reddit...

 

All credits go to former Reddit user u/Err404UNameNotFound

He decided to delete his account and gave me permission to repost his work here.

[–] DeeBeeDouble@lemmy.ml 1 points 1 year ago

You're welcome! 

Just make sure to grab the Xenia canary version as it has many improvements for wine.

Also, in most cases, setting the renderer to Vulkan can improve things. You can do so by creating a text file called "portable.txt" in the Xenia directory, and then run Xenia again. This will create a config file in the Xenia directory, in which you can then tell Xenia to use Vulkan.

Lastly, I'd recommend using bottles for all that as it makes everything much easier.

[–] DeeBeeDouble@lemmy.ml 1 points 1 year ago (2 children)

I personally haven't tried it, but there is nothing stopping you from running it with wine. This is what I did, and it works well enough. Is there any reason why you need the native version? Because from what I've heard it's still missing some very important things and doesn't really work as of now.

 

Note: This was originally posted on Reddit. However, I have now decided to move the guide to lemmy and I will most likely delete the one on Reddit soon.

There are multiple options to achieve Wayland screen sharing with discord. I will cover two here.

OPTION 1 (Recommended):

There is a web-based discord client for Linux called "Webcord" that supports Wayland screen sharing. You just have to install it, open it, sign in, and you're done.

You can install it by downloading your preferred package from here or by using the flatpak version avaliable on flathub.

If you dont have flatpak set up - here is another quick guide.

That's it! You can now start screen sharing on Wayland!

In case you are interested in streaming your desktop audio as well, there is another Discord client called discord-screenaudio to do just that. It is also available on flathub.

OPTION 2:

What you'll need:

Step1:

Open WebApps and click on the little + icon in the bottom. Fill in the name (Discord) and the web Address (discord.com/app). The icon should apply automatically. As a browser, choose your Chromium-based browser. Then activate the switch "Isolated Profile" and click Ok.

Step2:

You now should be able to find Discord in your application-launcher of your choice. If you see discord twice, that means that you have now both the "real" Discord app and the new WebApp. Then try to launch the WebApp Discord. You now can sign in and use discord just as normal. However, there is still no Wayland support. We will activate it in step 3.

Step3: (unnecessary if you use Firefox)

While in the WebApp Discord, press Ctrl+T. A new window should appear. Then type chrome://flags in the address bar and press enter. Now search for "WebRTC PipeWire support" and change it from default to true. Now click "Relaunch" in the bottom of the window. If you have done everything right, you should now have Wayland support :)

I hope I could help you in some form, and have a nice day!

Optional: (And for more advanced users) Running the Discord WebApp without the use of Xwayland

Since Chrome version 97:

While in the Discord WebApp, press Ctrl+T. Type chrome://flags in the address bar and hit enter. Search for "Preferred Ozone platform". Change it from "Default" to "Auto". Then relaunch Discord. That's it.

Chrome Versions below 97:

Note: This is ONLY tested with arch/Manjaro and Brave. It could work on other systems and browsers too, but this is not guaranteed. So you basically just have to enable chromium Wayland flag. You can do this by creating a config file at $HOME/.config/brave-flags.conf. Do that by running nano $HOME/.config/brave-flags.conf (If you are running another browser than Brave, I guess you could replace brave with the name of the other browser, but I didn't test this). Now insert the flag --enable-features=UseOzonePlatform --ozone-platform=wayland save it by pressing Ctrl+O and exit with Ctrl+X. Now launch Discord again and see if it runs natively on Wayland. You can do this by installing and running xeyes (when installed, simply run xeyes in your terminal). When you move the mouse over a window and the eyes are moving, it uses Xwayland or X11. If not, you successfully activated Wayland.

view more: next ›