Monday, May 21, 2012

Trash plug-in for SpaceFM

For people who like to use a trash can in their file manager: there is a (Corbeille=) Trash plug-in developed for Spacefm:
Download it here.
Install it by opening Spacefm and going to Plugin section, install file, go to download folder and file and give root password.

Usage

Corbeille-SpaceFM consists of 9 commands (available in the SpaceFM menu Plugins | Trash if installed with root protection). Note that there's no command confirmation dialog before proceeding to the selected action.

    Move to Trash: you must select at least one file outside the trash directory to have this command enabled. Selected files will be moved to the trash.

    The keyboard shortcut Shift+Delete moves to the trash the selected files.

    Restore: you must select at least one file in the trash directory to have this command enabled. Selected files will be moved to their original location. If the original location already exists, the file won't be moved and an error will be displayed.

    Delete Permanently: you must select at least one file in the trash directory to have this command enabled. Selected files will be deleted permanently, so they will no longer be recoverable in the trash.

    Go to Trash: this command is always enabled. It will open the trash directory in a new tab in the current SpaceFM window. Also, if top directory trashes are detected (for example, a trash in a removable device), they will be open each in a new tab.

    Display Properties: this command is always enabled. It will open a pop-up dialog displaying the number of files in the trash and the total size of the trash.

    Empty Trash: this command is always enabled. It's just a convenient way to delete permanently all files in the trash. You can get the same result by selecting all files in the trash and choose to delete them permanently.

    Limit the Size of the Trash: this command is always enabled. It allows to reduce the trash to a given size. The files are deleted in ascending order of date of trashing (older trashed files are deleted first).

    Delete Old Files: this command is always enabled. It allows to delete files moved to the trash for a given number of days.

    Delete Big Files: this command is always enabled. It allows to delete files moved to the trash and whose size is greater than or equal to a given size.
More info on the plug-in: http://www.jpfleury.net/en/software/corbeille-spacefm.php

Saturday, May 12, 2012

fortune zippy


Yow!  Now I get to think about all the BAD THINGS I did to a BOWLING BALL when I was in JUNIOR HIGH SCHOOL!
OK, I  admitted it; Zippy the Pinhead is my only guru.
Gotta get your guru, guru (Eric).
So install
pacman -S fortune-mod
and ask the WISE MAN, our oraclae for your instant enlightenment.
And type once: fortune zippy
and contemplate and then arrow up and enter and contemplate and arrow up, enter and comntemplate and so on, ad infinitum.
Toes, knees, NIPPLES.  Toes, knees, nipples, KNUCKLES ...
Nipples, dimples, knuckles, NICKLES, wrinkles, pimples!!
Could we understand that life is meaningless and life is beautiful at the same head moment.
 I have a TINY BOWL in my HEAD


Wednesday, May 9, 2012

Opening Firefox maximized using rc.xml

Just add some lines to the application section in your /home/user/.config/rc.xml file; it is at the end of the file.
For code look here. post18.

Sunday, May 6, 2012

LVM logical volume manager

This post raised my interest in knowing more about LVM.

The whole concept of partitioning is changed to another level, with different keywords and rules. What is important of LVM is its flexibility that it provides to the user.

From the Arch Wiki:
With LVM you can more easily handle your partitions (logical volumes) than normal hard drive partitions. For example, you can:
  • Use any number of disks as one big disk(VG)
  • Have partitions(LV) stretched over several disks (they can be as big as all of your disk storage together)
  • Resize/create/delete partitions(LV) and disks(VG) as you like (it does not depend on position of the logical volumes within volume groups as with normal partitions)
  • Resize/create/delete partitions(LV) and disks(VG) online (filesystems on them still need to be resized, but some support online resizing)
  • Name your disks(VG) and partitions(LV) as you like
  • Create small partitions(LV) and resize them "dynamically" as they get more filled (growing must be still done by hand, but you can do it online with some filesystems)
So this is a very interesting offering.
Also taking snapshots of your system can be done in a much more space efficient way. The obvious disadvantage that it makes things more complex. If you want grub legacy you need to make a separate /boot partition as it cannot read from LVM volumes. And:
When choosing mountpoints, just select your newly created logical volumes (use: /dev/mapper/Volgroup00-lvolhome).
Do NOT select the actual partitions on which logical volumes were created (do not use: /dev/sda2). 
Details on the necessary configuration you can read on the wiki page. But it is definitely good to know what LVM has to offer because it offers solutions in all kind of situations and scenarios.

Blog Archive