07 Sep

PCManFM empty trash menu

You can add this missing feature in LXDE, emptying the trash can using a menu thanks to the file manager actions, the easy way (it should be compatible with all versions of PCManFM except maybe Qt based builds, for now). Just open a LXTerminal and use these five commands:

  • sudo apt-get install trash-cli
  • mkdir –parents $HOME/.local/share/file-manager/actions
  • 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
  • sudo wget -O /usr/local/bin/ask-trash-empty https://raw.githubusercontent.com/NicolasBernaerts/ubuntu-scripts/master/lubuntu/trash-empty/ask-trash-empty
  • sudo chmod +x /usr/local/bin/ask-trash-empty

Now re-log in again, and that’s all.

Via: Originally found in Bernaerts blog.

24 Mar

PCManFM actions

PCManFM is the default file & desktop manager for Lubuntu. It’s a simple and fast file manager, but its simplicity is now enhanced by providing us the unlimited power of customized actions, like other file managers (Nautilus, Thunar, etc). For that purpose I made another Trips and Tricks section, called Actions.

This feature (available on recent versions of PCManFM and Lubuntu 14.04) will allow you to do virtually everything, like converting MP3 to OGG, MP4 to AVI, compress a JPEG, reduce a PDF size, send a file via bluetooth, etc. For now only a couple of actions are included for now. If you made nice actions, please share with us and the entire world sending them. I’ll add them to the list, and we hope it gets bigger and more complete. Share!