From ThorstensHome
Revision as of 15:17, 2 August 2014 by ThorstenStaerk (Talk | contribs)

Jump to: navigation, search

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.

kde-contextmenu is simple and extendable.

To set it up:

KUbuntu SUSE Fedora
sudo apt-get install g++ cmake kdelibs5-dev
yast -i cmake libkde4-devel
yum install kdelibs-devel
  • unpack it, e.g.
unzip Downloads/kde-contextmenu-master.zip
  • make sure you have the needed dependencies installed, e.g. for SUSE Linux:
yast -i cmake libkde4-devel
  • 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" or "Default Desktop Settings" -> "Mouse Actions"


  • now you can change the action for "Right Button" to "KDE ContextMenu"
  • enjoy this program's simplicity :)


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