Difference between revisions of "Context menus"

From Linuxintro
imported>ThorstenStaerk
imported>ThorstenStaerk
Line 26: Line 26:
 
* http://kde-apps.org/content/show.php?content=117639
 
* http://kde-apps.org/content/show.php?content=117639
 
* http://techbase.kde.org/Development/Tutorials/Plasma/JavaScript/GettingStarted
 
* http://techbase.kde.org/Development/Tutorials/Plasma/JavaScript/GettingStarted
 +
* [http://quickgit.kde.org/?p=kde-workspace.git&a=tree&h=3323d310c236dbefe44a75da771d65a5b251b129&hb=d204b5aeb73bde509bc9ae9bf379b076fb4ae6fa&f=plasma%2Fgeneric%2Fcontainmentactions%2Fcontextmenu KDE's context menu's source code]

Revision as of 19:22, 6 March 2013

When you right-click on your Linux desktop you get a context menu displayed. It looks like this:

Snapshot-context-menu-kde-1.png

How to edit it highly depends on your desktop environment.

See /usr/share/kde4/services/plasma-containmentactions-contextmenu.desktop

tweedleburg:~/.kde4/share/config # diff plasma-desktop-appletsrc~ plasma-desktop-appletsrc
3d2
< wheel:Vertical;NoModifier=switchdesktop
tweedleburg:~/.kde4/share/config # cd /usr/share/kde4/services
tweedleburg:/usr/share/kde4/services # grep -ir "switchdesktop" *
plasma-containmentactions-switchdesktop.desktop:X-KDE-Library=plasma_containmentactions_switchdesktop
plasma-containmentactions-switchdesktop.desktop:X-KDE-PluginInfo-Name=switchdesktop
tweedleburg:/usr/share/kde4/services # grep -ir "contextmenu" *
plasma-containmentactions-contextmenu.desktop:X-KDE-Library=plasma_containmentactions_contextmenu
plasma-containmentactions-contextmenu.desktop:X-KDE-PluginInfo-Name=contextmenu
plasma-containmentactions-minimalcontextmenu.desktop:X-KDE-Library=plasma_containmentactions_minimalcontextmenu
plasma-containmentactions-minimalcontextmenu.desktop:X-KDE-PluginInfo-Name=minimalcontextmenu

See also