[maemo-developers] [maemo-developers] Adding swapon/off to Jakub's Load-Plugin applet
From: Kimmo Hämäläinen kimmo.hamalainen at nokia.comDate: Thu Feb 23 15:10:04 EET 2006
- Previous message: [maemo-developers] Adding swapon/off to Jakub's Load-Plugin applet
- Next message: [maemo-developers] Adding swapon/off to Jakub's Load-Plugin applet
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, 2006-02-23 at 15:01, ext Armin M. Warda wrote: > On Thursday 23 February 2006 01:34, David D. Hagood wrote: > > alterego at sdf.lonestar.org wrote: > > >> Any suggestions? > > > > > > How about hooking swapoff to the hotplug event for the MMC card > > > cover opening? Maybe even insertion also. > > Yes, I really would like to try this, but I do not know how this has > to be done. Can anybody lend me a hand? (Of cause I would make > this feature optional, with an enable/disable checkbox in the > settings.) The easiest way is probably to use the GConf key /system/osso/af/mmc-cover-open that is updated then the MMC cover is opened and closed. GConf allows you to be notified when the value of the key changes. BR; Kimmo
- Previous message: [maemo-developers] Adding swapon/off to Jakub's Load-Plugin applet
- Next message: [maemo-developers] Adding swapon/off to Jakub's Load-Plugin applet
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]