You are not logged in.

#1 2024-02-13 22:11:37

dulhaver
Member
Registered: 2023-08-17
Posts: 14

switch to Xorg from wayland

I am fairly new to vanilla Archlinux. When my previous Manjaro broke 2 months ago I though I'd give it a try and went a little too hardcore I suppose by running wayland/Hyprland.

Even though I like it is general I am i.e. dependent on working screen sharing in discord.
This seems not to be so easy to accomplish so I want to take a step back and run Xorg/xfce for the time being.

is that as simple as

pacman -S xorg xfce4

... or do I have to remove all wayland related packages prior making such a switch?

Last edited by dulhaver (2024-02-13 22:12:02)

Offline

#2 2024-02-13 22:55:38

seth
Member
Registered: 2012-09-03
Posts: 58,659

Re: switch to Xorg from wayland

Yes, is, no you don't.
You can switch between X11 and wayland sessions and ideally even run them in parallel (though the framebuffer handling might stumble)

Online

#3 2024-02-14 06:16:19

dulhaver
Member
Registered: 2023-08-17
Posts: 14

Re: switch to Xorg from wayland

You can switch between X11 and wayland sessions and ideally even run them in parallel

that sounds interesting. Can you then even i.e. inside a Hyprland session run discord in X11 mode including all the benefits like screen-sharing?

how would you do that?

I have the xorg-xwayland package installed but wouldn't know how to utilize that in order to i.e. tell discord to run in 'x-mode'.

Last edited by dulhaver (2024-02-14 06:17:42)

Offline

#4 2024-02-14 09:16:42

seth
Member
Registered: 2012-09-03
Posts: 58,659

Re: switch to Xorg from wayland

I'd not be surprised if discord wasn't running on xwayland anyway - the problem is the screensharing part because it's effectively running in a nested X11 server, somewhat like Xephyr, and cannot access the hosting display server.

See https://wiki.archlinux.org/title/Discor … on_Wayland for workarounds

Online

#5 2024-11-12 21:08:18

Basher52
Member
From: Sweden
Registered: 2019-07-13
Posts: 11

Re: switch to Xorg from wayland

Just found that these packages are for screen-sharing and screen capturing:
grim slurp hyprpicker xdg-desktop-portal-wlr and after a reboot it worked.


Switched to 100% in 2020 and haven't been happier but have used Linux on and off since back in the 90's.
It's either Linux or Electronics for me, fixing broken laptops and make them "faster" with Linux running on 'em

Offline

Board footer

Powered by FluxBB