user-none / KDocker

Dock most applications to the system tray
GNU General Public License v2.0
316 stars 22 forks source link

Command timing out under set maximum time? #79

Closed dairefagan closed 4 years ago

dairefagan commented 4 years ago

On Ubuntu 20.04.1 Gnome I have added a startup command:

kdocker cyrptomator -n cryptomator -d 15

which I intend on boot to launch cryptomator with kdocker, grab the window with the name cryptomator, and allow 15 seconds for the window to appear.

Sometimes this works, sometimes kdocker does not minimise Crptomator and instead displays the error: Could not find matching window for cryptomator in the specified time: 5 seconds, and this is despite the Cryptomator window being visible in front of the kdocker error.

As visible in this screenshot.

Is my syntax wrong?

dairefagan commented 4 years ago

Skipping the taskbar with kdocker -t -d 15 cryptomator has been working well across several reboots. The delay is probably not even necessary but I am leaving it in for now as a precaution.

Daxx commented 4 years ago

Usage: kdocker [options] [command] -- [command options]

Options before command (as in your second comment), so ...

kdocker -t -n CRYPTOMATOR cryptomator

Otherwise all the (unknown) options are passed to cryptomator and none to kdocker.

dairefagan commented 4 years ago

Usage: kdocker [options] [command] -- [command options]

Options before command (as in your second comment), so ...

kdocker -t -n CRYPTOMATOR cryptomator

Otherwise all the (unknown) options are passed to cryptomator and none to kdocker.

Thank you for the clarification.