-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wayland-compatibility #95
Comments
Further reading (sorry ... unconstructive) ;) Think twice before abandoning Xorg. Wayland breaks everything! My first Linux experience was with Ubuntu (Gnome). It felt different from Windows, of course, but I thought I might be able to make it usable. At some point, I decided to try Kubuntu. I often look back and wonder why people stick with Gnome and conclude that that's the way the wind blows and it tends to carry people along with it. There might be GTK+ apps that you feel you can't manage without; well, just install them under KDE and look for the next obstacle ... until there are none remaining. tl;dr KDocker was written for X11. If KDE moved to Wayland (erm, no), I would be tempted to modify KDocker but I wouldn't want to discourage users from doing what I did. Maybe try it in a VM? |
Why for me there is no way around Wayland@Daxx I use Fedora34 (work-politicly, I can't change it) and I was forced to use Wayland, since X11 does neither support screen-wise scaling nor fractional scaling (it is so blurry that you can't use it), see https://unix.stackexchange.com/a/660345/241592 for details. So I can't use Xorg. My setup on my work-computer: Did you try a external second monitor (more far away than the internal one) with at least 163dpi and a resolution of at least 3840x2160? I maybe do not have the best eyes any more but for me 163dpi as a secondary screen (more far away) is too small, especially if I move a window from the internal Full-HD-Screen (141dpi) to the large external 4K-UHD-Screen(163dpi). I would like to use KDocker to keep track on my open applications, and using a VM is for me clearly the opposite. |
im using wayland to and I had to go alltray way because of not having on kdocker wayland support.. for me is ok wayland right now.. so... advantages i see many, disadvantages not many |
@userofryzen how did you make AllTray to work on wayland? |
It worked out of the box at least on Spotify without doing nothing weird or
special... Don't ask me xD idk. It works
El sáb., 16 oct. 2021 8:30 p. m., Andrew Shark ***@***.***>
escribió:
… @userofryzen <https://github.com/userofryzen> how did you make AllTray to
work on wayland?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#95 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AH5RQUNMGFQPOEZMKW3ZKQLUHHAELANCNFSM5EN444BA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
I made a Bugreport at: https://bugs.launchpad.net/alltray/+bug/1947554 |
i'm going to go out on a limb here. but maybe it was a bit of a misunderstanding to be saying that alltray works in wayland? because according to the current maintainer it for sure does not work in wayland right now https://mike.trausch.us/software/alltray/ however maybe it can work under xwayland within wayland perhaps... then shouldnt kdocker in that situation work just the same way also? to test this hypothesis: it would make sense to force just spotify app itself to be launched as an xorg app, instead of a wayland app. (if it supports both modes?) leaving all your other apps alone. for other programs you want to launch as true wayland programs... then those ones cannot be used with neither kdocker or alltray. at least... not until there is a new rewritten altray if that ever happens you can follow those ongoing progress and donate here: |
Wow, thanks for idea! This workaround works both in AllTray and KDocker. Run your app of interest (in my case it is gtg) on x11 backend, as follows: |
Thanks. I ll tray with kdocker wheni can. And yeah, Spotify is xwayland.
Maybbe its why alltray worked
El jue., 4 nov. 2021 1:16 p. m., Andrew Shark ***@***.***>
escribió:
… Wow, thanks for idea! This workaround works both in AllTray and KDocker.
Run your app of interest (in my case it is gtg) on x11 backend, as
follows: GDK_BACKEND=x11 gtg. See here
<https://wiki.archlinux.org/title/Wayland#GUI_libraries> for info about
variables needed to use for different gut libraries.
Launch kdocker as follows: QT_QPA_PLATFORM=xcb kdocker
Now hover mouse over an application, you will see mouse becomes an aim,
and after clicking, the app is docked.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#95 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AH5RQUMDGRCT5SEVNN6HSSTUKJ2S3ANCNFSM5EN444BA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
One thing I haven't seen mentioned here is how kdocker will not only not work when launched under wayland, but eats 100% of a CPU while it's running. I tried the 'QT_QPA_PLATFORM=xcb kdocker' workaround mentioned above, and while that prevents it from eating 100% CPU, it does not actually work (I never get the target... clicking all mouse buttons does nothing... have to kill the kdocker process). if I try "QT_QPA_PLATFORM=xcb kdocker -d 15 thunderbird %u", thunderbird never appears in the panel nor as a window (though I can tell it's launched from the console output) and I eventually get "Could not find a matching window for thunderbird in the specified time: 15 seconds". The same works fine under X11.
|
OMG Yes! Thank you for this! I'm on a Surface Pro 4 running EndeavourOS Artemis KDE Plasma Wayland |
Thank you very much! I managed to create a launcher for evolution to start it as a tray application in Ubuntu 22.04
Launcher:
And
|
I opened this bug in Wayland bugtracker: https://gitlab.freedesktop.org/wayland/wayland/-/issues/337 |
Would love Wayland support for this |
BTW: Anyone, like me, who wanted Wayland support for this to get Birdtray or some other Thunderbird add-on working should go check out BetterBird. It's a set of patches on top of Thunderbird which include a tray icon that works in both X11 and Wayland. |
Hello I use Chrome web app feature to get on my desktop Facebook, G Messages, G contacts. in hte case of Wayland i only use "QT_QPA_PLATFORM=xcb kdocker" in my scripts. For example, in case of Wayland in case of Facebook my script is : `#!/bin/bash bash -c '/opt/google/chrome/google-chrome --profile-directory=Default --app-id=kippjfofjhjlffjecoapiogbkgbpmgej &' while [ true ] Thanks |
Hello I use QEMU VM. QEMU is not compliant with wayland then I use "GDK_BACKEND=x11". Here is the script to launch a QEMU VM and to minimize it in the systray with kdocker. #!/bin/bash bash -c ' while [ true ] Thanks to all with your help |
Betterbird's minimize to tray feature doesn't actually work on Wayland in Wayland mode (with Exec=env MOZ_ENABLE_WAYLAND=1): Betterbird/thunderbird-patches#279 |
Hello With openSUSE Tumbleweed+KDE+Wayland Curiously, if I launch Firefox then the icons are well designed. |
Wayland is not possible. |
I think it might be already well known that KDocker does not support Wayland, however I wasn't able to find&track&watch an issue in this repro.
related Articles:
The text was updated successfully, but these errors were encountered: