Saturday, June 30, 2012

Ripping Video CD (VCD)

I have a VCD which I bought years back in a year which I didn't remember. Since I want let my family watch in on TV which can be connected via USB hard disk, I want to have the copy in AVI format. So I need to rip it first.

1- Rip using K3b. If you have 2CDs, you need to create two separate folder
2- Rename the file in 2nd CD to follow the sequence of first CD.

For example; 1st CD might produce bla1.mpg, bla2.mpg. 2nd CD will have bla1.mpg also. Rename it to bla3.mpg

3- Using cat command combine them all;

cat bla1.mpg bla2.mpg bla3.mpg > all.mpg

4- Use ffmpeg to convert the combined file to AVI format

ffmpeg -i all.mpg -qscale 2 mymovie.avi


Hope it works.
 

Wednesday, June 27, 2012

VMware kernel patch for Linux Mint 13 Maya

Hi,

I tried several times running VMware player on my Mint machine to no success. Luckily a Mint user blogged it out here . I mirrored her VMware player patch so that it will have several copies here

Successfully running on my machine now. Sweet!

Tuesday, June 19, 2012

Monday, June 11, 2012

ifstat - showing real time network

Ever use ifconfig to configure or check your IP address. There is also "ifstat", the purpose is to show simple stats, and in real time the usage of your network bandwidth.

najmi@vostro:~$ ifstat -tib wlan0
  Time          wlan0      
HH:MM:SS   Kbps in  Kbps out
00:23:36     64.79     57.53
00:23:37     43.89     54.96
00:23:38     56.76     54.02
00:23:39     25.62     16.33
^C





Use CTRL+C to terminate.. as other console based tool.
Switch to -b flag to get the reading in KB or kbps


najmi@vostro:~$ ifstat -ti wlan0
  Time          wlan0      
HH:MM:SS   KB/s in  KB/s out
00:23:47      4.97      5.12
00:23:48      3.00      2.61
00:23:49      4.83      4.70
00:23:50      3.85      4.26

If this not satisfy you, check my tutorial on ntop.

Tuesday, May 29, 2012

Using Inxi to show system data

Ever know "inxi" ? This cool and console based tool is pretty handy but helps a lot.
Issuing the command with -h could help you what sort of info it could retrieve.

We can check our repositories in /etc/apt/* for example:

najmi@vostro:~$ inxi -Sr
System:    Host: vostro Kernel: 3.2.0-23-generic x86_64 (64 bit) Desktop: N/A Distro: Linux Mint 13 Maya
Repos:     Active apt sources in file: /etc/apt/sources.list
           deb http://mirror.upm.edu.my/ubuntu/ precise main restricted
           deb-src http://mirror.upm.edu.my/ubuntu/ precise main restricted
           deb http://mirror.upm.edu.my/ubuntu/ precise-updates main restricted
           deb-src http://mirror.upm.edu.my/ubuntu/ precise-updates main restricted
           deb http://mirror.upm.edu.my/ubuntu/ precise universe
           deb-src http://mirror.upm.edu.my/ubuntu/ precise universe
           deb http://mirror.upm.edu.my/ubuntu/ precise-updates universe
           deb-src http://mirror.upm.edu.my/ubuntu/ precise-updates universe
           deb http://mirror.upm.edu.my/ubuntu/ precise multiverse
           deb-src http://mirror.upm.edu.my/ubuntu/ precise multiverse
           deb http://mirror.upm.edu.my/ubuntu/ precise-updates multiverse
           deb-src http://mirror.upm.edu.my/ubuntu/ precise-updates multiverse
           deb http://mirror.upm.edu.my/ubuntu/ precise-backports main restricted universe multiverse
           deb http://security.ubuntu.com/ubuntu precise-security main restricted universe multiverse
           deb-src http://security.ubuntu.com/ubuntu precise-security main restricted universe multiverse
           deb http://extras.ubuntu.com/ubuntu precise main
           deb-src http://extras.ubuntu.com/ubuntu precise main
           deb-src http://mirror.upm.edu.my/ubuntu/ precise-backports main restricted universe multiverse
           deb http://packages.linuxmint.com/ maya main upstream import
           deb http://archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
           deb http://archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
           deb http://archive.canonical.com/ubuntu/ precise partner
           deb http://packages.medibuntu.org/ precise free non-free


And.. some other info


$inxi -b
System:    Host: vostro Kernel: 3.2.0-23-generic x86_64 (64 bit) Desktop: N/A Distro: Linux Mint 13 Maya
Machine:   System: Dell (portable) product: Vostro 3400 version: A10
           Mobo: Dell model: 0RXV7H version: A10 Bios: Dell version: A10 date: 10/25/2010
CPU:       Dual core Intel Core i5 CPU M 480 (-HT-MCP-) clocked at 1197.00 MHz
Graphics:  Card-1: Intel Core Processor Integrated Graphics Controller
           Card-2: NVIDIA GT218 [GeForce 310M]
           X.Org: 1.11.3 drivers: intel (unloaded: vesa,fbdev) Resolution: 1366x768@60.1hz
           GLX Renderer: Mesa DRI Intel Ironlake Mobile GLX Version: 2.1 Mesa 8.0.2
Network:   Card-1: Realtek RTL8111/8168B PCI Express Gigabit Ethernet controller driver: r8169
           Card-2: Broadcom BCM4313 802.11b/g/n Wireless LAN Controller driver: brcmsmac
Drives:    HDD Total Size: 820.2GB (47.6% used)
Info:      Processes: 193 Uptime: 21:11 Memory: 1961.8/3755.8MB Client: Shell inxi: 1.7.33

Have fun!

Monday, May 28, 2012

Linux Mint 13 "Maya" Released

Linux Mint 13, codename "Maya" was just released last week. It is based on Ubuntu 12.04 LTS which means it will be supported until year 2017!

More info can be read here

Which regards to the comparison of it's interface, MATE and Cinnamon can be read here

For me I downloaded the Cinnamon version since last time I used "Mate" [I believe so].. at the end I decided to have both co-exist on my system. Seems I am so used to Mate.

If you already use Cinnamon and want to move to Mate, simply issue this command :

sudo apt-get install mint-meta-mate -y