this post was submitted on 08 Oct 2023
32 points (100.0% liked)

Free and Open Source Software

17964 readers
1 users here now

If it's free and open source and it's also software, it can be discussed here. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS
 

EDIT: Lol, it doesn't actually work +___+ It is enabled in KeepassXC but it just doesn't do anything. Welp.

Here's a neat trick I just found out (with a hint from here):

In Wayland you can't use KeepassXC's very cool Auto-Type feature (it's somehow Qt's fault?) but if you installed it as a Flatpak you can go into KDE Settings, search for "Flatpak Permission Settings" and in the settings for KeepassXC under "Advanced" you can disable "Wayland Windowing System" to make it work. Nice!

you are viewing a single comment's thread
view the rest of the comments
[–] thehellrocc 4 points 1 year ago (4 children)

Using the environment variable QT_QPA_PLATFORM=xcb should do the same thing, but it likely won't fix your problem. These two methods allow KeepassXC to run on X11, which lets it access other X11 apps (running on XWayland), meaning native Wayland apps still won't be able to use auto-complete.

There's probably no way around this for now, as this is due to Wayland's design, which has stricter keyboard access safety, as opposed to X11 which just let all apps read/use the keyboard all the time.

[–] jlow 1 points 1 year ago (3 children)

Yeah, I read the QT_QPA_PLATFORM=xcb as well but never saw where and how I do that, do you know?

[–] thehellrocc 2 points 1 year ago (1 children)

It has to be added to the command when you want to launch it, or added to the .desktop file so it does so automatically. On KDE, it should be as easy as right clicking it on the start menu and clicking "edit application" on the second tab there should be a command field, where you can add the variable at the beginning.

In case this doesn't fix it, your alternatives are copying and pasting passwords or, if your main use for it is in a browser, using the official extension.

[–] jlow 2 points 1 year ago (1 children)

Cool, thanks, I'll try that out! Could not get browser integtstion to work, the Firefox-addon didn't see the database (maybe another security/sandbox thing?)

[–] rnd 1 points 1 year ago

Browser integration works on my machine, which also uses Wayland, so unless you're, say, running Firefox from a flatpak or something, I don't see why it shouldn't work.

load more comments (1 replies)
load more comments (1 replies)