Since one month or two, my solution to execute kdocker with wayland fails. The app is not minimized in the systray of KDE only in the task bar.
Perhaps something changed with wayland, KDE, Chrome or anything else, but what ?
The previous solution to lauch kdocker was :
QT_QPA_PLATFORM=xcb kdocker
see [howto], wayland, using kdocker
Do you know the statement to launch kdocker with wayland with success ?
Thanks
knurpht
September 11, 2025, 4:11pm
2
That was not a solution, since it makes kdocker not run on full Wayland
Some info.
I launch a vbox machine and with success I minimize it in the kde systray with the statement :
QT_QPA_PLATFORM=xcb kdocker
Here is the script
sleep 50s
bash -c 'VBoxManage startvm Windows_11_24H2_Pro --type headless & '
sleep 20s
bash -c 'rdesktop -g 1919x950 -N -M localhost &'
#bash -c 'rdesktop -r sound:local -u <user mail> -p <user pwd> -g 1919x950 -N -M <ip address> &'
# minimize the rdsktop window in the systray
while [ true ]
do
sleep 5s
status=$(wmctrl -l | grep "rdesktop")
if [ "$status" != "" ] ; then
break
fi
done
WID="$(wmctrl -lx | grep "rdesktop")"; QT_QPA_PLATFORM=xcb kdocker -qtw "${WID%% *}" -i ~/.local/share/icons/hicolor/32x32/apps/chrome-hnpfjngllnobngcgfapefoaidbinmjnm-Default.png &
The difference when it fails is when the app I minimize is a Chrome web app.
Something in Chrome changed.
I’m not a Chrome user, but can’t it run as a native wayland app these days?
Another info.
This worked with Chrome web app with Wayland till one or two months. I was able to minimize in KDE systray any Chrome web app with the following statement :
QT_QPA_PLATFORM=xcb kdocker
I’ve never used a system tray utility, but wondering if wkdocker might be a suitable replacement?
https://www.reddit.com/r/kde/comments/1jsieqe/wkdocker_similar_to_kdocker_but_works_under/
thanks
It seems there is no command line.
I sent a wish
opened 09:37AM - 12 Sep 25 UTC
Hello
thank you for this good news, a replacement of kdocker, compliant with Way… land.
But I use kdocker in a script to launch and minimize a Chrome web app as the following one :
#!/bin/bash
bash -c '/opt/google/chrome/google-chrome --profile-directory=Default --app-id=pmcngklofgngifnoceehmchjlildnhkj &'
while [ true ]
do
sleep 5
status=$(wmctrl -l | grep "Contacts")
if [ "$status" != "" ] ; then
break
fi
done
WID="$(wmctrl -lx | grep "Contacts")"; QT_QPA_PLATFORM=xcb kdocker -qtw "${WID%% *}" -i ~/.local/share/icons/hicolor/32x32/apps/chrome-pmcngklofgngifnoceehmchjlildnhkj-Default.png &
Can you provide a command line for writing a script ?
Perhaps, initially, the dbus command.
Thanks
Anybody knowing a tool which simulates the keyboard typing ?
You should start a new topic for this. ^^
I wonder if the problem is :
with recent change of Chrome we can’t access to the title of the title bar with
wmctrl
Another idea.
With
QT_QPA_PLATFORM=xcb kdocker
we launch kdocker in an X11 environment.
Is there an equivalent for Chrome ?
system
Closed
October 12, 2025, 9:59am
12
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.