Xfce Wiki

Sub domains
 

xfce4-docklike-plugin - Docklike Taskbar

A modern, minimalist taskbar for Xfce.

Docklike Taskbar behaves similarly to many other desktop environments and operating systems. Wherein all application windows are grouped together as an icon and can be pinned to act as a launcher when the application is not running. Commonly referred to as a dock.


Usage

Mouse Actions

  • ctrl+left-click to begin dragging an item in the dock
  • ctrl+right-click to access Properties, move/remove the plugin
  • shift+click to launch another instance of an application
  • middle-click to close all instances of an application
  • mouse wheel to cycle through open windows in either direction

Keyboard Shortcuts

Keyboard shortcuts are disabled by default. Be careful to avoid conflicting keyboard shortcuts!

  • super+[1,2,…] to switch between applications based on dock position
  • super to switch to the previous window

It would be nice to add a setting to change the modifier key in the future.

Hidden Settings

Your settings file is located at ~/.config/xfce4/panel/docklike-1.rc (or something like that). The file is only created after changing anything in the xfce4-docklike-plugin Properties window.

  • dockSize=<int> sets the minimum width/height (depending on panel orientation) of the dock widget (unset by default)
  • previewScale=<double> adjusts the scale factor of preview images (the default value is 0.125)
  • previewSleep=<int> adjusts the time, in milliseconds, between new preview images being generated (the default is 250)

Screenshots

Properties Dialog
Properties Dialog

Window List
Window List Window Previews

Alternate Indicator Styles
Dashes Dots

Back to Top


Theming

You can modify the appearance of dock items with CSS. Create (or modify) ~/.config/gtk-3.0/gtk.css and add any of the following:

  /* Taller or wider buttons */
  #docklike-plugin button {
    min-height: 48px;
    min-width: 48px;
  }
  
  /* Brightly colored buttons */
  #docklike-plugin .open_group { background-color: lightblue; }
  #docklike-plugin .active_group { background-color: hotpink; }
  #docklike-plugin .hover_group { background-color: orange; }
  
  /* number of open windows label */
  #docklike-plugin .window_count { color: red; }
  #docklike-plugin .open_group .window_count { color: white; }
  #docklike-plugin .active_group .window_count { color : hotpink; }

A list of all the CSS selectors created by the plugin:

  #docklike-plugin
    .group
    .open_group
    .active_group
    .window_count
    .menu
    .active_menu_item
    .hover_menu_item

Changes will take effect after the panel is restarted (xfce4-panel -r).


Latest Release

  • xfce4-docklike-plugin 0.4.1 released (2023/03/19 17:41)
    xfce4-docklike-plugin 0.4.1 is now available for download from
    
      https://archive.xfce.org/src/panel-plugins/xfce4-docklike-plugin/0.4/xfce4-docklike-plugin-0.4.1.tar.bz2
      https://archive.xfce.org/src/panel-plugins/xfce4-docklike-plugin/0.4/xfce4-docklike-plugin-0.4.1.tar.bz2?sha1
      https://archive.xfce.org/src/panel-plugins/xfce4-docklike-plugin/0.4/xfce4-docklike-plugin-0.4.1.tar.bz2?sha256
    
    
    What is xfce4-docklike-plugin?
    ==============================
    
    Docklike Taskbar behaves similarly to many other desktop environments
    and operating systems. Wherein all application windows are grouped
    together as an icon and can be pinned to act as a launcher when the
    application is not running. Commonly referred to as a dock.
    
    Website:
      https://docs.xfce.org/panel-plugins/xfce4-docklike-plugin/start
    
    
    Release notes for 0.4.1
    =======================
    - build: Use same automake init as other projects and bump autoconf
    - Update copyright year and fix bug report address
    - build: Use XDT_FEATURE_DEBUG
    - basename() called but  not included
    - Add option to change behavior of middle mouse button (Closes #32)
    - build: Keep /usr/local as default prefix
    - build: Fix autotools warnings
    - build: Fix intltool lock file problem during make distcheck
    - build: Bump GLib minimum required to 2.58
    - Anchor group menu to center of app icon
    - Add option to change inactive indicator style
    - List window previews horizontally if panel is horizontal
    - Add option to get the indicator color automatically from the Gtk 
    theme foreground color
    - Startup notification support Closes #13 Additionally, correctly 
    release memory after launching.
    - Reorder AppInfos.cpp for clarity
    - Skip loadDesktopEntry() for files not ending in .desktop
    - Pass std::string by const reference to avoid unnecessary copy
    - Speed up ftw() by increasing handle limit
    - Added Ciliora and Circles indicator styles
    - Fix reordering (ctrl+dragging) icons to the right
    - Fix size_t being truncated into uint and comparing unequal to npos
    - Fix .desktop file StartupWMClass values being ignored
    - Update TODO
    - Fix warnings/crashes from timeouts In many cases the timeout's stop 
    method was being called more than once raising GLib warnings.
    - Don't clear this list
    - Delete unused declarations
    - Improve PANEL_DEBUG macro
    - Improve debugging messages
    - Drop the inotify dependency GLib provides a GAppInfoMonitor object 
    that allows us to detect desktop file changes.
    - Use the default theme hover effect The previous effect can still be 
    achieved with CSS:
    - Update the README Better debugging instructions and long desctiption.
    - Cleanup: remove uneccessary casts to GtkWidget*
    - Remove highlight on active group Related #14 It can be restored by 
    using css or a future option.
    - Add a "window_count" class to labels Related #9
    - Translation Updates:
      Albanian, Bulgarian, Catalan, Chinese
      (China), Chinese (Taiwan), Croatian, Danish, Dutch, Finnish, French,
      German, Greek, Hebrew, Indonesian, Interlingue, Italian, Japanese,
      Korean, Lithuanian, Norwegian Bokmål, Polish, Portuguese, Portuguese
      (Brazil), Russian, Serbian, Slovak, Slovenian, Spanish, Swedish,
      Turkish, Ukrainian

Back to Top


Source Code Repository

Reporting Bugs