mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[GH-ISSUE #247] Show warning for wayland linux client #201
Labels
No labels
HiDPI
bounty
bsd/freebsd
bsd/openbsd
bug
bug
build-infra
cantfix
critical
doc
duplicate
enhancement
fix-available
from git
from release
good first issue
help wanted
installer/package
invalid
linux
macOS
meta
needs testing
pull-request
query
question
regression
regression
v2.4.0
windows
wontfix
work-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/barrier#201
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Ashark on GitHub (Feb 4, 2019).
Original GitHub issue: https://github.com/debauchee/barrier/issues/247
Operating Systems
Server: doesn't matter
Client: linux (when using wayland session)
Currently there is no wayland support (issue #109), but we can show a warning in a barrier window if we detect wayland session and it is used as a client (so we cannot process input).
TeamViewer 14 shows such warning.
@rpatterson commented on GitHub (Feb 20, 2019):
Running a Linux Wayland barrier server with a Windows client has keyboard problems, so the warning should probably also appear on the server too.
@electrofelix commented on GitHub (Mar 19, 2020):
I recently hit this with Ubuntu 18.04 as a server, which defaults to running on Wayland it appears, and the mouse couldn't leave to move across due to failing to detect that the mouse has reached the edge.
Discovered that if you have a fullscreen app it will detect reaching the side of the screen (debug shows " has no neighbour" or similar text. This caused a lot of confusion and it was only after searching through these issues I spotted I needed to force the system to use Xorg instead of Wayland.
Had to edit the file /etc/gdm3/custom.conf and set
WaylandEnable=false.Now I haven't needed to do this on another machine that is also running Ubuntu 18.04, so I'm not sure if it was just the desktop login I needed to switch to
Gnome on Xorgor if this was needed as well.However it does seem like it would be useful to alert the user that it's not going to work if it detects it is running on Wayland until supported.
@deisi commented on GitHub (May 7, 2020):
Im 99% sure that the default for Ubuntu 18.04 is Xorg. However you can change it if you want.
@electrofelix commented on GitHub (May 14, 2020):
@deisi I've just checked, my mistake it seems it's gnome3 uses wayland for the login screen with gdm3, so it you are using the ubuntu desktop your fine, but if you switch to gnome shell from the login manager you get switched to an Wayland environment unless you tweak the settings. This machine has been upgraded through a few LTS' so it is possible things don't behave the same with a fresh install.
In any case with Ubuntu 20.04 gone to wayland by default, this seems like it's going to cause a lot of surprises for people as they upgrade.
@GitHubGeek commented on GitHub (Feb 11, 2021):
A warning would be great. Just spent an afternoon testing different versions of Barrier on a brand new KDE Neon (testing edition) - Was wondering why the screen edges didn't work at all. Turned out Wayland is now the default
@GreenMan36 commented on GitHub (Sep 29, 2021):
I'd love if this would be implemented!
@Ashark commented on GitHub (Sep 30, 2021):
I have found how this is implemented in ssr.
This is platform dedection (from here):
This is a warning itself (from here):
@Ashark commented on GitHub (Oct 1, 2021):
This is how wayland detected warning looks in TeamViewer 15.22.3.

@Ashark commented on GitHub (Oct 1, 2021):
This is how warning looks in simple screen recorder:

@dddw commented on GitHub (Oct 24, 2021):
thanks for implementing this
@florent-andre commented on GitHub (Jan 7, 2022):
Hi there, comment on closed to inform you that this warning don't show up on ubuntu 21.10 (wayland by default).
I tried Barrier as the server on this OS and see no warning in the logs nor in "messageBox".
Regards.
@Ashark commented on GitHub (Jan 10, 2022):
@florent-andre Are you sure you use latest version? As I can see in the packages list, ubuntu 21.10 currently has outdated version 2.3.3.
@florent-andre commented on GitHub (Jan 10, 2022):
I install it via snap and get the

2.4.0version.Result of
snap list: "barrier 2.4.0-4-gac5a1bfd 682 latest/stable shymega -"Barrier GUI -> about:
French build date says November 3rd.
@Ashark commented on GitHub (Jan 14, 2022):
Yes, I can confirm, I have installed ubuntu 21.10 and snap package, and there is no warning window.
@RelicCornhusk commented on GitHub (May 4, 2022):
This warning would have saved me a lot of time trying to use Barrier on a Manjaro with Wayland.