Tag Archives: Sleep Suspend

AppMenu QML 1.4 (Plasmoid Script)

ThumbnailAppMenu QML 1.4
(Plasmoid Script)
This plasmoid shows a menu of the installed applications, similar to Lancelot but much simpler. The purpose of the simpleness is to have a faster plasmoid which also loads faster. The plasmoid also has a list of favorites and you can search applications by application name. There are “Lock Session”, “Leave” and “Switch User” and other similar buttons. Other features:
– the number of visible columns can be changed (between 1 and 4);
– the favorites section can be hidden;
– the favorites list can be locked;
– the size of all visible icons can be changed;
– closing and opening the menu remembers its state (configurable);
– change launcher icon;
– configure which “leave” buttons are shown (or show none at all).

The plasmoid can be completely manipulated with the keyboard only except for the buttons at the bottom wich must be clicked with the mouse. The menu can be browsed with the arrow keys and PageUp and PageDown, a favorite can be added with the + or = key and removed with the – key, to search an application by its name, just start typing the name.

This plasmoid is entirely written in QML + JavaScript.

Note: this plasmoid requires KDE 4.8.0 or higher. For correct resizing of the “Leave” buttons, KDE 4.9.0 is required.

Bugs I don’t have control over (because of limitations in Qt or Plasma):
– make configuring the plasmoid’s icon more elegant by showing the current icon on the button that launches the “Change icon” dialog and by removing the text field holding the icon’s name (only possible when KConfigXT finally supports Icon)
– provide a command line to open/close the menu
– add “Recent Documents” section (below Favorites?); there is no Plasma DataEngine for this, so I cannot do it
– allow to modify the ordering of the “leave” buttons (must find a way in
KConfig XT to do this)

changelog:
version 1.4 (2013-01-14):
– reimplement the search using a PlasmaCore.SortFilterModel so that it is faster (there is however a lag on the first search because the model must then be loaded; the other possibility would be to load the model at startup of the plasmoid, but IMHO Plasma loads already slow enough)
– add PageUp and PageDown support in the menus
– reimplementation of the “Leave” toolbar
– fix bug: when an app which is also a favorite is uninstalled (e.g. at the transition KMail -> KMail2, KOffice -> Calligra, OpenOffice -> LibreOffice, when the user switches from Firefox to Google Chrome, or from Konqueror to Rekonq, … or when the user uses Chakra Linux and updates a bundle), at the next restart of the plasmoid only this entry will be removed from the favorites list instead of uncleanly failing to load the entire favorites list
– add option to have “Sleep” (Suspend to RAM) and “Hibernate” (Suspend to Disk) buttons
– specify a preferred width of the plasmoid and have the minimum width smaller than this
– update translations (by their authors)

[read more]

job recommendations:

Sales Engineer full time employee
ownCloud Inc. United States of America, Boston more about this offer

[more jobs]

Source: FULL ARTICLE at KDE Apps