Difference between revisions of "Kde-contextmenu"
From ThorstensHome
Line 1: | Line 1: | ||
− | kde-contextmenu | + | kde-contextmenu allows you to change the menu you get when right-clicking onto the KDE desktop. Use it with KDE 4.4 or higher. |
[[Image:kde-contextmenu.png||thumb|200px|kde-contextmenu is simple and extendable.]] | [[Image:kde-contextmenu.png||thumb|200px|kde-contextmenu is simple and extendable.]] |
Revision as of 11:03, 29 March 2013
kde-contextmenu allows you to change the menu you get when right-clicking onto the KDE desktop. Use it with KDE 4.4 or higher.
To set it up:
- Download it, e.g. from https://github.com/tstaerk/kde-contextmenu/archive/master.zip
- install the needed dependencies. To do this, find out your distribution, open a console and issue
KUbuntu | SUSE |
---|---|
sudo apt-get install g++ cmake kdelibs5-dev |
yast -i cmake libkde4-devel |
- 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 "Folder View Settings" -> "Mouse Actions"
- now you can change the action for "Right Button" to "KDE ContextMenu"
- enjoy this program's simplicity :)
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
- http://techbase.kde.org/Development/Tutorials/Plasma/ContainmentAction