Spacer with Mouse gestures for the KDE Plasma Panel featuring Latte Dock/Gnome/Unity drag window gesture. Run any shortcut, command, application or URL/file with up to ten configurable mouse actions!
2023-07-19_18-34-55.mp4
- Mouse actions
- Single click
- Double click
- Middle click
- Mouse wheel up/down
- Min wheel steps
- Mouse drag (four axis)
- Min track distance
- Long press
- Hold duration
- Actions
- Run any keyboard shortcut (detects all available shortcuts in System Settings > Shortcuts)
- Run custom commands
- Launch Applications/Urls/Files
- Sync configuration across widget instances
- Quick disable/reset defaults
- Popup/Notification showing shortcut being run
- Panel visual feedback
https://aur.archlinux.org/packages/plasma6-applets-panel-spacer-extended
yay -S plasma6-applets-panel-spacer-extended
For those using NixOS or the Nix package manager, there is a package available in nixpkgs.
To install the widget use one of these methods:
-
NixOS
environment.systemPackages = [ pkgs.plasma-panel-spacer-extended ];
-
home.packages = [ pkgs.plasma-panel-spacer-extended ];
-
Plasma-manager: If the widget gets added to a panel it will automatically be installed
-
Other distros using Nix package manager
# without flakes: nix-env -iA nixpkgs.plasma-panel-spacer-extended # with flakes: nix profile install nixpkgs#plasma-panel-spacer-extended
- Right click on the Panel > Add Widgets > Get New Widgets > Download New Plasma Widgets
- Search for "Panel Spacer Extended" and install it.
-
Install dependencies (please let me know if I missed something) or their equivalent for your distribution
# Arch Linux sudo pacman -S git gcc cmake extra-cmake-modules libplasma kdeplasma-addons # Fedora sudo dnf install git gcc-c++ cmake extra-cmake-modules libplasma-devel kdeplasma-addons # Kubuntu sudo apt install git build-essential cmake extra-cmake-modules libplasma-dev kdeplasma-addons
NOTE:
kdeplasma-addons
is a runtime dependency -
Clone and install
git clone https://github.com/luisbocanegra/plasma-panel-spacer-extended cd plasma-panel-spacer-extended ./install.sh
- Add the widget to your panel(s)
- If you have default plasma spacer on the same panel remove it and only use the same spacer type (built-in or extended) if you have more than one.
- Done, now you can use the default actions or customize them to your liking.
- Runs
calls dbus method org.kde.kglobalaccel /component/$COMPONENT org.kde.kglobalaccel.Component.invokeShortcut "ACTION NAME"
for shortcuts - App/URL/File actions depend on
kdeplasma-addons
If you like what I do consider donating/sponsoring this and my other open source work
< 8146 ul dir="auto">