GithubHelp home page GithubHelp logo

Comments (14)

CupricReki avatar CupricReki commented on May 27, 2024 2

Since updating to Plasma 6 I see two prompts every time we I start lan mouse

from lan-mouse.

feschber avatar feschber commented on May 27, 2024

The reason it shows up twice is that it first tries to connect to Libei, which is done through the same RemoteDesktopPortal interface as the actual remote desktop portal backend.

KDE does not implement Libei yet so that fails. Then the remote desktop portal requests access again.

It would be possible to work around this by simply requesting the remote desktop portal on KDE directly instead of Libei (I actually did this in earlier versions until I changed it to this fallback based system) but I'd rather leave it like this until KDE supports libei (I dont know how long that is going to take maybe I can look into it if I have the time).

As far as I have seen, KDE does not ask again once the permission has been granted once for a specific application so I dont think this should be a large issue but let me know your thoughts.

from lan-mouse.

CupricReki avatar CupricReki commented on May 27, 2024

I'm not sure what triggers the permission prompt to be again after being accepted the first time. Perhaps the issue will go away now that that I'm installing/updating via the AUR.

Keeping this open for now.

from lan-mouse.

CupricReki avatar CupricReki commented on May 27, 2024

Bummer about Libei. But it looks like it might come to Plasma 6.1 https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/issues/12.

from lan-mouse.

feschber avatar feschber commented on May 27, 2024

I'm not sure what triggers the permission prompt to be again after being accepted the first time. Perhaps the issue will go away now that that I'm installing/updating via the AUR.

Keeping this open for now.

Did you test this? I am not getting prompts after accepting it for the first time.

from lan-mouse.

feschber avatar feschber commented on May 27, 2024

something must have changed because I see the prompt everytime now as well. Will see what I can do about that

from lan-mouse.

CupricReki avatar CupricReki commented on May 27, 2024

from lan-mouse.

feschber avatar feschber commented on May 27, 2024

Yes but I can not say 100% if that was the point where it started. Will need to check

from lan-mouse.

svillar avatar svillar commented on May 27, 2024

I've seen the same in GNOME FWIW

from lan-mouse.

feschber avatar feschber commented on May 27, 2024

What version of GNOME are you using? Starting at 45, it should only ask once as libei is now supported.

I also changed the behaviour in 0.7 now, such that it asks again if the request is cancelled. So technically it now works as intended.

I could maybe look into merging the backends into one or reuse the same portal but idk if thats actually possible even.

from lan-mouse.

svillar avatar svillar commented on May 27, 2024

What version of GNOME are you using? Starting at 45, it should only ask once as libei is now supported.

Ah maybe that's the reason, I've 45-46 in one machine but 43 in another one. Actually I couldn't make the software work at all, clients are detected but cannot share the keyboard/mouse among them. I've tried both Wayland and X11 sessions (actually the reason to try lan-mouse is the wayland support, because for X11 Ilaready have barrier working fine) I've installed libei in all the computers but shows still as unsupported

from lan-mouse.

feschber avatar feschber commented on May 27, 2024

Yeah libei alone won't help because gnome does not implement the input capture portal until version 45.

from lan-mouse.

svillar avatar svillar commented on May 27, 2024

Yeah libei alone won't help because gnome does not implement the input capture portal until version 45.

And should it work using any other fallback? I'm just trying to know whether this mix of GNOME 45 with 43 should work and then the problem is my configuration, or instead, I should wait till GNOME 45 in stable

from lan-mouse.

feschber avatar feschber commented on May 27, 2024

And should it work using any other fallback?

Unfortunately not, no. Gnome does not support the layer-shell protocol.

from lan-mouse.

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.