Converting/Mounting iso/bin/cue in linux

January 22nd, 2010   Filed Under General  

* Method 1: Use CDEmu.

cdemu 0 pro.cue
mount -t iso9660 /dev/cdemu/0 /mnt/temp

* Method 2: Convert to ISO.

bchunk -v acrobat6pro.bin pro.cue pro

Source

How to shade conky

January 22nd, 2010   Filed Under General  

Download this script and add this to conkyrc:

lua_load ~/scripts/draw_bg.lua
lua_draw_hook_pre draw_bg

source

PS: You have to install conky with lua support.

top tricks

January 22nd, 2010   Filed Under General  

http://www.thegeekstuff.com/2010/01/15-practical-unix-linux-top-command-examples/

TIP:Ubuntu Sources List Generator

January 22nd, 2010   Filed Under General, Ubuntu  

http://www.ubuntugeek.com/tipubuntu-sources-list-generator.html

How to remove repositories using command line in ubuntu

January 22nd, 2010   Filed Under General, Ubuntu  

sudo ppa-purge ppa:<repository-name>/<subdirectory>

You can download the PPA-purge .deb package from the official link of PPA-purge launchpad and install it, then use the command above to remove the repositories

Source

Archive mounter

January 22nd, 2010   Filed Under Arch, General  

/usr/share/applications/mount-archive.desktop:

[Desktop Entry]
Encoding=UTF-8
Name=Archive Mounter
Icon=gtk-cdrom
Exec=/usr/lib/gvfs/gvfsd-archive file=%u
MimeType=application/x-cd-image;application/x-bzip-compressed-tar;application/x-compressed-tar;application/x-tar;application/x-cpio;application/zip;
Terminal=false
StartupNotify=false
Type=Application
NoDisplay=true

Source

Zimbra upgrade

January 22nd, 2010   Filed Under General, Mail, Zimbra  

Not tested (yet)!

1. stop zimbra
1a. check if every process is really stopped. don’t want to see stalled mysql or something – happened to me once
2. tar zimbra installation folder
3. tar /var/lib/rpm !!! (I forget often to do this)
4. START ZIMBRA!!! (else upgrade could fail)
5. upgrade
6. if everything works, delete backups, else untar and try again

Source

Pixelize, create an image consisting of many small images

January 6th, 2010   Filed Under Cool Apps, General  

http://ubuntulandforever.blogspot.com/2009/12/pixelize-create-image-consisting-of.html

Add actions to extend Nautilus functionality

January 6th, 2010   Filed Under General  

install nautilus-actions

http://www.ghacks.net/2009/12/30/add-actions-to-extend-nautilus-functionality/

Vim Tip: using “paste” to avoid the staircase effect

January 6th, 2010   Filed Under General, Vim  

:set paste

http://www.dissociatedpress.net/2009/12/22/vim-tip-using-paste-to-avoid-the-staircase-effect/