Hi,

I have added a swapon/off menu-item to Jakub's Load-Plugin,

http://koti.welho.com/jpavelek/tmp/770/

which he recently released under the LGPL.

The swapon/off feature will be useful for those who have a swap on the 
RS-MMC. (You really should swapoff before you unplug the RS-MMS...)
Here are some screenshots of the enhanced Load-Plugin applet:

http://www.arminwarda.mynetcologne.de/Snap00.png
http://www.arminwarda.mynetcologne.de/Snap01.png
http://www.arminwarda.mynetcologne.de/Snap02.png

The enhanced Load-Plugin applet can be downloaded here:

http://www.arminwarda.mynetcologne.de/load-plugin-aw_0.2.7-1_arm.deb

Source code and patches to transform Jakub's original source into the 
enhanced version are available, too. 

The Load-Plugin runs as 'user', swapon and swapoff need 'root',
thus you have to add the following line to /etc/sudoers manually:
user ALL = NOPASSWD: /sbin/swapon *, /sbin/swapoff *

The Load-Plugin does not create a swap file or device, you must 
already have done that, as described elsewhere.

Please remember, this modified Load-Plugin applet has only 
been tested by a few and could ruin your device. Be careful.

Do you think the Load-Plugin applet with swapon/off is 
end-user-ready and should now be linked to from the 
Maemo ApplicationCatalog Wiki?

  Armin.

-- 
   --- May the Source be with you! Linux. ---
   --- http://www.arminwarda.mynetcologne.de/
   --- secure eMail: http://www.gnupg.de/ ---

Attachment: pgp9x8jk5HFpq.pgp
Description: PGP signature

_______________________________________________
maemo-users mailing list
[email protected]
https://maemo.org/mailman/listinfo/maemo-users

Reply via email to