Difference between revisions of "Kde-contextmenu"

From ThorstensHome
Jump to: navigation, search
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
kde-contextmenu is a program that allows you to change the menu you get when you right-click onto the KDE desktop. Use it with KDE 4.4 or higher.
+
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.]]
Line 8: Line 8:
  
 
{| class="wikitable sortable" border=1
 
{| class="wikitable sortable" border=1
! KUbuntu !! SUSE  
+
! KUbuntu !! SUSE !! Fedora
 
|-
 
|-
 
|  
 
|  
Line 14: Line 14:
 
||
 
||
 
  yast -i cmake libkde4-devel
 
  yast -i cmake libkde4-devel
 +
||
 +
yum install kdelibs-devel
 
|}
 
|}
  
Line 19: Line 21:
 
  cd
 
  cd
 
  unzip Downloads/kde-contextmenu-master.zip
 
  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.
 
* build and install it, e.g.
 
  cd kde-contextmenu-master
 
  cd kde-contextmenu-master
 
  sh setup.sh
 
  sh setup.sh
 
* this should install everything
 
* this should install everything
* now right-click onto your KDE desktop, select "Folder View Settings" -> "Mouse Actions"
+
* now right-click onto your KDE desktop, select "Folder View Settings" or "Default Desktop Settings" -> "Mouse Actions"
  
[[File:Snapshot-kde-contextmenu-3.png]]
+
[[File:Snapshot-kde-context-menu.png]]
  
 
* now you can change the action for "Right Button" to "KDE ContextMenu"
 
* now you can change the action for "Right Button" to "KDE ContextMenu"
Line 43: Line 47:
  
 
= See also =
 
= See also =
* [[softWare]]
+
* [[software]]
 
* http://kde-apps.org/content/show.php/kde-contextmenu?content=157202
 
* http://kde-apps.org/content/show.php/kde-contextmenu?content=157202
 
* https://github.com/tstaerk/kde-contextmenu
 
* https://github.com/tstaerk/kde-contextmenu
 
* http://techbase.kde.org/Development/Tutorials/Plasma/ContainmentAction
 
* http://techbase.kde.org/Development/Tutorials/Plasma/ContainmentAction

Latest revision as of 16:22, 2 August 2014

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.
cd
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"

Snapshot-kde-context-menu.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