2010 January 22

Converting/Mounting iso/bin/cue in linux

* 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

By WladyX on 22 January, 2010 | General | A comment?

How to shade conky

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.

By WladyX on | General | A comment?

top tricks

By WladyX on | General | A comment?

TIP:Ubuntu Sources List Generator

By WladyX on | General, Ubuntu | A comment?

How to remove repositories using command line in 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

By WladyX on | General, Ubuntu | A comment?

Archive mounter

/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

By WladyX on | Arch, General | A comment?

Zimbra upgrade

0. backup transport files if any
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
7. restore transport files if any, eg:
a. su – zimbra

b. cp /test/transportfile /opt/zimbra/postfix/conf
c. postmap /opt/zimbra/postfix/conf/transportfile

Source

By WladyX on | General, Mail, Zimbra | A comment?