Difference between revisions of "Kde-contextmenu"
From ThorstensHome
(→See also) |
(not needed, setup.sh will launch kbuildsycoca4) |
||
Line 14: | Line 14: | ||
sh setup.sh | sh setup.sh | ||
* this should install everything | * this should install everything | ||
− | |||
* now right-click onto your KDE desktop, select "Mouse Actions" | * now right-click onto your KDE desktop, select "Mouse Actions" | ||
Revision as of 12:48, 4 March 2013
kde-contextmenu is a program that allows you to change the menu you get when you right-click onto the KDE desktop.
To set it up:
- install the needed dependencies, e.g. for SUSE Linux 12.2 open a console and issue
yast -i cmake libkde4-devel
- Download the package, e.g. from https://github.com/tstaerk/kde-contextmenu/archive/master.zip
- unpack it, e.g.
cd unzip Downloads/kde-contextmenu-master.zip
- build and install it, e.g.
cd kde-contextmenu-master sh setup.sh
- this should install everything
- now right-click onto your KDE desktop, select "Mouse Actions"
- now you can change the action for "Right Button" to "KDE ContextMenu"
- enjoy this program's simplicity :)
To revert these changes:
- delete ~/.kde4/share/config/plasma-desktop-appletsrc
Developers
This chapter is for people who want to develop this plugin.
If I do not define
QList<QAction *> contextualActions();
I get
The same happens when in contextualActions() I
return Plasma::ContainmentActions::contextualActions();
See also
- softWare
- http://kde-apps.org/content/show.php/kde-contextmenu?content=157202
- https://github.com/tstaerk/kde-contextmenu