LinuxCommandLibrary

kdocker

allows any application to be docked to the system tray

TLDR

Select a window to dock (click to select)

$ kdocker
copy
Open an application and dock it
$ kdocker [application]
copy
Dock the focused window
$ kdocker -f
copy
Dock with a custom icon
$ kdocker -i [/path/to/icon]
copy
Dock and minimize on focus loss
$ kdocker -l [application]
copy
Display version
$ kdocker --version
copy

SYNOPSIS

kdocker [options] [command]

DESCRIPTION

kdocker allows any application to be docked to the system tray. When an application is docked, clicking its tray icon toggles the window visibility, effectively providing system tray functionality to applications that don't natively support it.
The tool works by selecting a window (interactively or automatically) and managing its visibility through the system tray. It works with both Qt and GTK applications.

PARAMETERS

-f

Dock the currently focused window
-i ICON
Use custom icon for the docked application
-l
Minimize to tray when focus is lost
-m
Keep application window mapped (don't hide)
-o
Minimize to tray on start
-p SECONDS
Delay before docking
-t
Remove from tray when window is closed

CAVEATS

Requires a system tray (most desktop environments provide one). Behavior may vary with different window managers. Some applications may not dock correctly due to window management quirks.

HISTORY

KDocker was originally a KDE-specific tool but evolved to work with any X11 desktop environment. It provides universal system tray functionality regardless of toolkit.

SEE ALSO

alltray(1), trayer(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community