xorg.conf on X3100

$ sudo gedit /etc/X11/xorg.conf

Edit like this:

# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
EndSection

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizEdgeScroll" "0"
EndSection

#Section "Device"
# Identifier "Configured Video Device"
#EndSection

#Section "Monitor"
# Identifier "Configured Monitor"
#EndSection

#Section "Screen"
# Identifier "Default Screen"
# Monitor "Configured Monitor"
# Device "Configured Video Device"
#EndSection

Section "Device"
Identifier "Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller"
Driver "intel"
BusID "PCI:0:2:0"
Option "monitor-TV" "TVOutput"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 28-60
VertRefresh 43-60
EndSection

Section "Monitor"
Identifier "TVOutput"
Option "Ignore" "true"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Modes "1280x800" "1024x768"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Synaptics Touchpad"
EndSection

Klik disini untuk melanjutkan »»

Enabling Multimedia Playbacks on Hardy Heron

This simple how to installs the most common restricted codecs in Hardy Heron, so you can play mp3, aac, DVD ,mp4, avi, wmv and many more formats. It also installs the codecs for ripping mp3s using the lame encoder and making DVD/CDs.

Below is the steps:
1. In a terminal type:
$ sudo apt-get install gstreamer0.10-plugins-ugly-multiverse gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-bad gstreamer0.10-plugins-uglygstreamer0.10-ffmpeg libxine1-ffmpeg libdvdread3

2. In order to play copyrighted DVDs, you need to install the libdvdcss2 package. To do this you need to install the Medibuntu (Multimedia, Entertainment & Distractions In Ubuntu)- a repository of packages that cannot be included into the Ubuntu distribution for legal reasons like copyright, license or patent restrictions. It also includes many popular media .debs for ffmpeg, w32codes, skype and google earth.

2.1 In a terminal type:
$ sudo gedit /etc/apt/sources.list

Add this to the end of your source list:
## Medibuntu - Ubuntu 8.04 “hardy”
## Please report any bug on https://bugs.launchpad.net/medibuntu/
deb http://packages.medibuntu.org/ hardy free non-free

2.2 Then you have to add the GPG Key to authenticate the packages:
$ wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add - && sudo apt-get update

2.3 Now update your system to load the Medibuntu repository into your apt-get sources:
$ sudo apt-get update

3. To enable playback of encrypted DVDs, and other mpeg based video files:
$ sudo apt-get install libdvdcss2 w32codecs ffmpeg

That’s about it, now you have nearly complete multimedia playback capable Ubuntu 8.04, and the same steps can be applied to any of the variants of this distribution.

Klik disini untuk melanjutkan »»

CDR to SVG

To do that, you can use sk1 project and uniconvertor as converter.

USAGE: uniconv [INPUT FILE] [OUTPUT FILE]

File format that you can convert :
AI - Adobe Illustrator files (postscript based)
CDR - CorelDRAW Graphics files (7-X3,X4 versions)
CDT - CorelDRAW templates files (7-X3 versions)
CCX - Corel Compressed Exchange files
CMX - Corel Presentation Exchange files (CMX1 format)
SVG - Scalable Vector Graphics files
FIG - XFig files
CGM - Computer Graphics Metafile files
AFF - Draw files
WMF - Windows Metafile files
SK - Sketch/Skencil files
SK1 - sK1 vector graphics files

File format that able as result from conversion:
AI - Adobe Illustrator files (postscript based)
SVG - Scalable Vector Graphics files
CGM - Computer Graphics Metafile files
WMF - Windows Metafile files
SK - Sketch/Skencil files
SK1 - sK1 vector graphics files

For Example: uniconv drawing.cdr drawing.svg

Happy try.

Klik disini untuk melanjutkan »»

Removing WINE's Shortcut after Uninstall WINE Program

Look at this following directory:
~/.local/share/desktop-directories
~/.local/share/applications/wine
~/.config/menus/applications-merged

and don't forget to check this directory to:
~/.local/share/icons

Please be carefull on remove. Use at your own risk.

Klik disini untuk melanjutkan »»

GRUB Installation Via Ubuntu Live CD

Boot from Ubuntu Live CD until the desktop appear.

Open terminal
$ sudo grub

We will enter to the GRUB prompt

grub>

After that we must look for the location from the first time GRUB installation.
grub> find /boot/grub/stage1

the result is location where the GRUB was installed, ussualy is like this:
root(hdx,y)
Where x and y is number. Type in the GRUB prompt accordance with result, for example if the result is root(hd0,0), so we must type:
grub> root(hd0,0)

Install GRUB to hardisk MBR with this command:
grub> setup(hd0)

Why hd0? I was assumed our harddisk is primary. There is some info that showing to us if GRUB was well installed on MBR. Done, we must quit from GRUB prompt:
grub> quit

Now it’s time to add boot options for other OS, for example Windows XP.

Open terminal and then
$sudo gedit /boot/grub/menu.lst, then add this following line :
title Windows XP
root (hd0,1)
makeactive
chainloader +1

Pay attention to line root (hd0,1), it means, Windows partition is in second partition (showing by number 1) and on Primary Harddisk (showing by number 0). Change that value according to condition that exist.

Back to terminal:
$sudo reboot

Now we can see GRUB again ^_^

Klik disini untuk melanjutkan »»

Conexant HSF Modem Driver Installation

Preparations:

Download file alsa-driver-linuxant_1.0.16.1-1_all.deb

klik here: http://www.linuxant.com/alsa-driver/alsa-driver-linuxant_1.0.16.1-1_all.deb

Download file hsfmodem_7.68.00.09oem_i386.deb

klik here: http://linux.dell.com/files/ubuntu/hardy/modem-drivers/hsf/hsfmodem_7.68.00.09oem_i386.deb

Open Terminal (Applications*Accessories*Terminal)
$sudo apt-get install build-essential linux-source

* * *

Driver Installations:

Double clik file alsa-driver-linuxant_1.0.16.1-1_all.deb

If this error appear:

Clik ‘Reload’

Press Ctrl + Alt + Backspace to logout from Ubuntu and then login again.

Now dobel klik hsfmodem_7.68.00.09oem_i386.deb

If error (like above) appear again, clik ‘Reload’.

Back to Terminal dan type:
$sudo hsfconfig

If having the question whether will continue to used kernel that now used, typed: “yes”, afterwards when being asked about the region, typed: your country, for example “INDONESIA” (all without quote)
Finish and you’re ready to use your modem.

Klik disini untuk melanjutkan »»

Driver Installation on Canon iP-1300 with Single Cartridge

Canon iP-1300 coming with single colour cartridge without black cartridge. Printer this could work with driver to Canon iP-2200 but the black colour was not printed if we only had colour cartridge. This problem could be resolved if we also put on black cartridge on this printer.

But whether not having the other method apart from must put on black cartridge? Because in another operation systems, this printer could print although only with single colour cartridge (without black cartridge).

After read manual (User’s Guide for Print Filter Version 2.60 Canon PIXMA iP2200) I found solution for this problem. On manual, open “CIF Command” section, scroll down until you see “Ink Cartridge Settings” and open by clicking on it. This is the setting that must be added to file canonip2200.ppd in /usr/share/cups/model/canonip2200.ppd.

This is step by step instructions to configure this printer:

Beforehand install “Alien” for the conversion packaging .rpm to packaging .deb for installation in Ubuntu.

$ sudo apt-get install alien

Step 1:
Follow this link and download the archive from Canon’s website.
Don’t forget to download the documentation too.

Step 2:
Unpack the archive
$tar -xf iP2200_Linux_260.tar.gz

Step 3:
Delete an unwanted .rpm
$rm cnijfilter-common-2.60-1.src.rpm

Step 4-1:
Convert the remaining rpm’s into .deb’s
$sudo alien -d -c *.rpm

Step 4-2:
Install the .deb files
$sudo dpkg -i *.deb

Step 5:
Install libgtk1.2
$sudo apt-get install libgtk1.2

Step 6:
Create symbolic links
$sudo ln -s /usr/lib/libpng12.so.0 /usr/lib/libpng.so.3
$sudo ln -s /usr/lib/libxml2.so.2 /usr/lib/libxml.so.1
$sudo ln -s /usr/lib/libpng12.so.0 /usr/lib/libpng.so.2
$sudo ln -s /usr/lib/libtiff.so.4 /usr/lib/libtiff.so.3

Step 7: (optional)
Configure the iP2200 ppd file
$sudo gedit /usr/share/cups/model/canonip2200.ppd (default config works fine @ 600dpi)

Make your choices as to which detail level you require.

*OpenUI *CNQuality/Quality: PickOne
*DefaultCNQuality: 3
*CNQuality 2/High: “2″
*CNQuality 3/Normal: “3″
*CNQuality 4/Standard: “4″
*CNQuality 5/Economy: “5″
*CloseUI: *CNQuality

*OpenUI *Resolution/Output Resolution: PickOne
*DefaultResolution: 600
*Resolution 600/600 dpi: “<>setpagedevice”
*Resolution 1200/1200 dpi: “<>setpagedevice”
*Resolution 2400/2400 dpi: “<>setpagedevice”
*CloseUI: *Resolution

Step 8:
Restart CUPS

$sudo killall cupsd
$sudo cupsd

Step 9:
Add your new printer

Open printing dialog in system settings
Add new printer
Choose Canon IP1300 USB # entry
When asked choose to manually choosea PPD file
browse to /usr/share/cups/model/canonip2200.ppd
Apply all settings and close wizard.

At this step, your printer is ready to work, but can’t print black colour except you add black cartridge. The next steps is the steps to make printer simulated the black colour from colour cartridge that was installed.

Step 10:

Open terminal

$sudo gedit /usr/share/cups/model/canonip2200.ppd

Scroll down and add this line:

*OpenUI *CNInkCartridgeSettings/Ink Cartridge Settings: PickOne
*DefaultCNInkCartridgeSettings: color
*CNInkCartridgeSettings color: “Color Only”
*CNInkCartridgeSettings bk: “Black Only”
*CNInkCartridgeSettings bkcolor: “Both Black and Color”
*CloseUI: *CNInkCartridgeSettings

Save the file and restart your computer.

Step 11:

After finished added setting and restart the computer, open Printer Configuration (System*Administration*Printing) then chose Printer Options tab and confirmed at Ink Cartridge Settings was chosen “color”. Click ‘apply’ and please try to printer test Page.

It is hoped was successful. Bravo Penguin!


Note: for full canonip2200.ppd point your browser to my other blog in another language on http://tuxlaptop.blogspot.com


Glossary:

  1. http://ubuntuforums.org/showthread.php?t=563627 this is a translated version of Reinaldo’s post on the openprinting forums. All credit goes to Reinaldo. ( http://forums.linux-foundation.org/read.php?25,1032 ).
  2. User’s Guide for Print Filter Version 2.60 Canon PIXMA iP2200.

Klik disini untuk melanjutkan »»
 
Namablogkamu is proudly powered by Blogger.com | Template by o-om.com