picto_welcome.png  Welcome   

picto_download.png  Get Lubuntu   

picto_help.png  Documentation   

picto_contact.png  Get Help   


  


"Empty Trash" Menu

You can add this missing feature in LXDE, emptying the trash can using a menu thanks to the file manager actions (it should be compatible with all versions of PCManFM except maybe Qt based builds, for now).    http://3.bp.blogspot.com/-uDbk9B2OUPI/Ve10Jqw6YCI/AAAAAAAADRs/2JjJaq_LhYQ/s1600/lubuntu-kos-vyprazdnit.png

For Lubuntu 15.04 and 15.10

Open a LXTerminal and use these five commands:

  1. sudo apt-get install trash-cli
  2. mkdir --parents $HOME/.local/share/file-manager/actions
  3. wget -O $HOME/.local/share/file-manager/actions/ask-trash-empty.desktop https://raw.githubusercontent.com/NicolasBernaerts/ubuntu-scripts/master/lubuntu/trash-empty/ask-trash-empty.desktop

  4. sudo wget -O /usr/local/bin/ask-trash-empty https://raw.githubusercontent.com/NicolasBernaerts/ubuntu-scripts/master/lubuntu/trash-empty/ask-trash-empty

  5. sudo chmod +x /usr/local/bin/ask-trash-empty

Re-login again and everything should work smoothly.

For Lubuntu 14.10, LTS and below

Even though these options haven't been tested, the options should work as suggested in the above paragraph.


   

Further Contacts

If this workaround stops working for any reason, please let us know at the appropriate mailing list (lubuntu-devel-discuss) or at #lubuntu-devel @ freenode.

This workaround was originally found at Bernaerts blog.

Lubuntu/Desktop/Empty-Trash-Menu (last edited 2015-09-14 00:19:05 by rafaellaguna)