How to remove items from nautilus context menu

I installed a STUPID application and this STUPID application installed a STUPID item to my nautilus context menu so that whenever I right click any folder or file, I can send it to that STUPID application!!

Anyway, whenever I click that STUPID item, nautilus crashes!! And so, to remove it I did the following:

  1. Navigate to “/usr/share/applications”
  2. Searched for the application-specific file (named ***splugin.desktop) and renamed it to another application using “sudo mv ***splugin.desktop ***splugin.desktop.backup
  3. Killed nautilus “killall nautilus
  4. Started nautilus “nohup nautilus &

And the item is simply gone 🙂

Tagged , , | 1 Comment

Force Empty Trash

Sometimes you might face a problem where you can’t delete files in the Trash (due to permission issues), I solved this problem by doing the following:

  1. Go to directory “.local/share/Trash/” by typing “cd .local/share/Trash”
  2. Execute this command: “sudo rm -rf file_name
Tagged , | Leave a comment

How to ensure the integrity of your VERY LARGE files on AIX

Something that I’ve learnt by time is that I must check my files – especially big ones – upon transferring them from one medium to another or through a network or you’re really going to face troubles that you’ll see everyday in your worst nightmares :(. Anyway, it’s very simple and quite fast, there are lots of methods available and here are my favourite two:

  1. “csum -h MD5 file_name” #for small files, it’s very fast
  2. If the above doesn’t work, use this instead “cksum file_name” #For very large files

Both will produce an output for you that will consist of numbers, characters or both, just do this on the source medium and the destination medium (after file transfer) and if the outputs match, the file is healthy, otherwise you must re-transfer the file and re-calculate the sum, Enjoy!

Tagged , , , , | Leave a comment

Compile and Install VLC 0.9.9a on Ubuntu Hardy

Here is what I did to install VLC 0.9.9a on my Ubuntu Hardy:

sudo apt-get build-dep vlc
sudo apt-get install paranoia*
sudo apt-get install libx264-dev

wget http://www.live555.com/liveMedia/pub…-latest.tar.gz
tar xvfz live555-latest.tar.gz
cd live
sudo ./genMakefiles linux
sudo make
cd ..
sudo cp -r live /usr/lib

wget http://download.videolan.org/pub/vid…0.9.9a.tar.bz2
tar jxvf vlc-0.9.9a.tar.bz2
cd vlc-0.9.9a
sudo ./configure –with-live555-tree=/usr/lib/live –prefix=/usr –disable-zvbi –enable-flac –enable-libass –enable-caca –enable-faad –disable-kate –enable-twolame –enable-realrtsp –enable-cddax –enable-theora –enable-mozilla –with-mozilla-pkg=libxul-plugin –with-x264-tree=/usr/include
sudo make
sudo make install

Enjoy 🙂

Article Source: http://ubuntuforums.org/showthread.php?t=1115376

Tagged , | Leave a comment

Foxyproxy ROCKS!

I’ll explain later :), just know that if you use a lot of proxies in multiple client locations, schools, universities …etc, then Foxyproxy for Firefox is definitely the solution for you.

Get it here: https://addons.mozilla.org/en-US/firefox/addon/2464

Tagged , | Leave a comment