
Command Launcher
Various KDE 1.-4. Improvements
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
This is KDE desktop mouse action plugin that executes a command line.
Inspired by Favorites Launcher.
USAGE:
After build/install restart KDE (re-login).
Left click on desktop -> Default Desktop Settings -> Mouse Actions
From the drop-down list select Command Launcher.
Click its configuration button and type in a command.
This will be executed directly.
Mark an "Execut via 'bash -c'" to run via bash.
EXAMPLE:
1. Assign the following to the selected mouse button to run "Present Windows" effect:
qdbus org.kde.kglobalaccel /component/kwin org.kde.kglobalaccel.Component.invokeShortcut ExposeAll
2. Assign the following to the selected mouse button to run "Desktop Grid" effect:
qdbus org.kde.kglobalaccel /component/kwin org.kde.kglobalaccel.Component.invokeShortcut ShowDesktopGrid
3. Cube fans can use:
qdbus org.kde.kglobalaccel /component/kwin org.kde.kglobalaccel.Component.invokeShortcut Cube
BUILD:
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
make
INSTALL:
sudo make install
Note:
It might build against lower KDE version that 4.12, edit it in CMakeLists.txt.
Since I tested with 4.12 I put this version there.
6 years ago
v.0.1 - Initial version
6 years ago
v.0.1 - Initial version
DanaKil
6 years ago
:)
Report
pru
6 years ago
Report