Difference between revisions of "Kde-contextmenu"

From ThorstensHome
Jump to: navigation, search
(feedback)
(KUbuntu FeedBack)
Line 5: Line 5:
 
To set it up:
 
To set it up:
 
* Download it, e.g. from https://github.com/tstaerk/kde-contextmenu/archive/master.zip
 
* Download it, e.g. from https://github.com/tstaerk/kde-contextmenu/archive/master.zip
* install the needed dependencies, e.g. for SUSE Linux 12.2 [http://www.linuxintro.org/wiki/Open_a_console open a console] and issue
+
* install the needed dependencies. To do this, [http://www.linuxintro.org/wiki/find_out_your_Distribution find out your distribution], [http://www.linuxintro.org/wiki/Open_a_console open a console] and issue
yast -i cmake libkde4-devel
+
 
 +
{| class="wikitable sortable" border=1
 +
! KUbuntu !! SUSE
 +
|-
 +
| sudo apt-get install cmake kdelibs5-dev || yast -i cmake libkde4-devel
 +
|}
 +
 
 
* unpack it, e.g.  
 
* unpack it, e.g.  
 
  cd
 
  cd

Revision as of 11:13, 11 March 2013

kde-contextmenu is a program that allows you to change the menu you get when you right-click onto the KDE desktop.

kde-contextmenu is simple and extendable.

To set it up:

KUbuntu SUSE
sudo apt-get install 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
sudo setup.sh
  • this should install everything
  • now right-click onto your KDE desktop, select "Mouse Actions"

Snapshot-kde-contextmenu-3.png

  • 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

Snapshot-kde-contextmenu.png

The same happens when in contextualActions() I

return Plasma::ContainmentActions::contextualActions();

See also