Manual Install
First, back up your bookmarks and settings:
cd ~/.mozilla/firefox/*.default
mkdir ~/Desktop/ffsettings
cp bookmarks.html cert8.db cookies.txt formhistory.dat hostperm.1 key3.db signons.txt history.dat mimeTypes.rdf ~/Desktop/ffsettingsDownload Firefox from the
Firefox website, and change to the directory you downloaded it to.
Install it to /opt/firefox:
# extract the tar file into /opt (you should make sure /opt already exists)
sudo tar xzvf firefox-2.0.0.1.tar.gz -C /opt
# remove the package if you no longer require it
rm firefox-2.0.0.1.tar.gzLink to your plugins and remove totem-mozilla as it doesn't seem to work with Firefox 1.5.x or 2.x:
sudo mv /opt/firefox/plugins /opt/firefox/plugins.bak
sudo ln -s /usr/lib/firefox/plugins /opt/firefox/plugins
sudo rm /usr/lib/firefox/plugins/libtotem_mozilla.*Change to your home directory, and rename your old profile, leaving it as a backup (using the existing profile may cause problems with Firefox 2.x):
cd
mv ~/.mozilla/firefox ~/.mozilla/firefox1.x.ubuntuTo ensure it is used as the default version, modify the symbolic link in /usr/bin:
# First, /usr/bin/firefox
sudo dpkg-divert --divert /usr/bin/firefox.ubuntu --rename /usr/bin/firefox
sudo ln -s /opt/firefox/firefox /usr/bin/firefox
# Then, /usr/bin/mozilla-firefox, used as the default gnome browser
sudo dpkg-divert --divert /usr/bin/mozilla-firefox.ubuntu --rename /usr/bin/mozilla-firefox
sudo ln -s /opt/firefox/firefox /usr/bin/mozilla-firefoxThe dpkg-divert command will move the original system-wide /usr/bin/firefox to a new name. The ln command will place a symlink to the newly installed Firefox in /usr/bin.
Try it out:
firefox
Running Firefox in terminal may cause errors to show but don't worry about that, it will still work once Firefox is restarted. The reason for these errors is because Firefox 2 is checking for updates, which is not abnormal activity. Also, running this command make take a some time to execute, please be patient.
Restore your old data:
cd ~/Desktop/ffsettings
mv * ~/.mozilla/firefox/*.defaultRestore your search plugins:
sudo cp -i --reply=no /usr/lib/mozilla-firefox/searchplugins/* /opt/firefox/searchplugins/
sudo cp -i --reply=no ~/.mozilla/firefox1.x.ubuntu/*.default/search/* /opt/firefox/searchplugins/
Some users are having a problem with the --reply=no flag, if you get output saying the --reply option is deprecated; use -i or -f instead remove the --reply=no flag and type no in the terminal for each plug-in.
If you want to keep the original Ubuntu icon for Firefox, enter this command:
sudo cp /usr/share/pixmaps/firefox.xpm /opt/firefox/chrome/icons/default/default.xpm
Some users may find the icon with a different extension, they should use this command:
-
sudo cp /usr/share/pixmaps/firefox.png /opt/firefox/chrome/icons/default/default.xpm
To ensure that other programs use version 2 of Firefox and not the old 1.x version, go to Preferences -> Preferred Applications in the System menu. For the "Web Browser" tab, choose "Custom" and then enter the command:
firefox %s
Firefox 2 should now be installed and working properly. If for whatever reason you become unhappy with Firefox 2 and would like to remove it, see the "Removing" section below for directions.
Restoring Extensions and Themes
In addition to restoring your settings, you can also restore your themes and extensions. As indicated above, this should only be done after running Firefox at least once and fully closing it.
Backup the new profile (just in case):
cd ~/.mozilla/firefox
mkdir ffbackup
mv profiles.ini *.default ffbackup/Restore your previous profile:
# Shutdown firefox
cp ~/.mozilla/firefox1.x.ubuntu/profiles.ini .
cp -r ~/.mozilla/firefox1.x.ubuntu/*.default .Start Firefox and try it out.
A dialog may appear indicating that one or more extensions and/or themes are not compatible. This is normal and Firefox may be able to find the updates for you.
Updating from 2 to a later version
Backup your profile with:
cp -R ~/.mozilla ~/.mozilla.backup.20x
(You may also want to consider backing up the profiles of other users on the system as they will be affected by the upgrade too).
There are two ways you can update Firefox to the newest version:
The first way is to close Firefox and give your user (yourself) file ownership:
sudo chown -R ${USER}:${USER} /opt/firefox
Start Firefox normally and update (Help -> Check for updates...) Once the update is completed, close Firefox and then restore ownership to root:
sudo chown -R root:root /opt/firefox
Do NOT browse other sites while firefox has these elevated permissions, that is without changing back the ownership of /opt/firefox over to root. Such a practice is not safe.
To update firefox you can run Firefox from the terminal with
gksudo firefox
Be sure to close any running version of Firefox first. Enter your password where prompted. Then check update (Help -> Check for updates...). If updates are found, apply the update and when it asks to restart, use the Restart option. When Firefox starts, you should see a Mozilla page confirming that you're using the latest version. Close Firefox and open it as a normal user (the way you usually open it). Firefox should now be updated to the newest version for all users. This way you don't have to change any file permissions and you won't forget to not change them back.
Note that in the second method, you must use the command
gksudo firefox
Do not use
sudo firefox
instead as it may give some files in your home directory root ownership and cause problems.
Removing
If for some reason you want to undo the installation and revert back to the standard Firefox 1.0.7, here's how:
Restore the symbolic links:
# First, /usr/bin/firefox
sudo rm /usr/bin/firefox
sudo dpkg-divert --rename --remove /usr/bin/firefox
# Then, /usr/bin/mozilla-firefox, used as the default gnome browser
sudo rm /usr/bin/mozilla-firefox
sudo dpkg-divert --rename --remove /usr/bin/mozilla-firefoxRestore your old profile:
cd
mv .mozilla .mozilla-20
mv .mozilla.ubuntu .mozilla(optional) Delete the firefox directory:
sudo rm -r /opt/firefox
Kategori : Tutorial
"Tepat di hari Ulang Tahun", itu yang pertama kali terlintas ketika membaca artikel Eee PC Blog Competition dan Launching Eee PC. Sebelum berpikiran apa yang akan aku lakukan jika aku mempunyai Eee PC, ambisi pertama adalah bagaimana bisa memperoleh Eee PC pas di acara peluncuran nanti. Pastinya ini akan jadi ulang tahun yang lebih berkesan, apalagi jika dapat memenangkan Eee PC Blog Competition dan membawa pulang sebuah Eee PC gratis. tentunya hal ini akan jadi hadiah ulang tahun termewah yang pernah aku dapat (sebelumnya paling bagus cuma baju :D).
Kembali ke topik, kalau saya punya Eee PC hal pertama yang aku lakukan seperti halnya yang dilakukan pertama oleh priyadi dalam tulisannya yaitu mengganti sistem operasi Xandros dengan Ubuntu. Eee PC ini akan jadi teman setiaku kemanapun aku pergi, menggantikan Axioo ku yang sampai sekarang masih opname di Service Center (dah satu bulan lebih oy). mungkin nantinya Axioo ku hanya akan menemaniku di rumah saja atau dipindah tangankan saja ke adik, apalagi setelah opname kondisinya pasti sudah tidak fit lagi. Eee PC akan sangat cocok untuk memenuhi kebutuhan mobile. Dengan berbekal sebuah Eee PC dan sebuah data card, akan menjadi perpaduan yang serasi untuk dapat online dimanapun berada. Aktifitas blog walking, browsing, email, chat, remote, dapat dilakukan dimana saja.
Satu lagi impianku dengan Eee PC, aku berharap dengan laptop yang kecil sekecil Eee PC dengan layar 17" dan berat tidak sampai 1 kg (0.92 kg) akan hampir sama dengan membawa sebuah buku sehingga aktifitas membaca novel ebook berjam-jam akan lebih nyaman.
Kategori : Cerita
This is a howto for installing the Canon Pixma iP2200 printer and related printers on Ubuntu 6.06 (Dapper Drake) using the Canon supplied drivers. Some or all parts may work for other Canon printers. For the iP4200, (and some others), see: HardwareSupportComponentsPrinters/CanonPrinters/CanonPixmaIP4200
Note: This manual also works for the following printers: Canon IP1600 using the IP2200 drivers.
This does not work for AMD64.
Installation
Note: You will have to accept Canon's license agreement to download the software.
1. Connect your printer, and start Ubuntu.
2. Install the needed packages: alien, libxml1, libpng12-0, libpng12-dev, libgtk1.2 and libgtk1.2-common with Synaptic or type:
sudo apt-get update
sudo apt-get install alien libxml1 libpng12-0 libpng12-dev libgtk1.2 libgtk1.2-common
3. Download the drivers for your printer from Canon. For the purposes of this howto, we will assume that the files are saved to the directory /home/yourname/canon.
The iP2200 drivers are here: [WWW] http://software.canon-europe.com/software/0024301.asp or type in a terminal
mkdir canon
cd canon
wget http://software.canon-europe.com/files/soft24301/software/iP2200_Linux_260.tar.gz
4. Extract the files with archive manager or type
tar -xvzf iP2200_Linux_260.tar.gz
5. Convert the RPM packages to Debian packages:
sudo alien cnijfilter-common-2.60-1.i386.rpm cnijfilter-ip2200-2.60-1.i386.rpm
6. Install the packages:
sudo dpkg -i *.deb
7. Make sure the library links are correct. /usr/lib/libtiff.so.3 should point to /usr/lib/libtiff.so.4 (or to the same thing as /usr/lib/libtiff.so.4 points to) If not, type:
sudo ln -s /usr/lib/libtiff.so.4 /usr/lib/libtiff.so.3
This is the important part! The iP2200 driver wants to use libtiff.so.3, but that is an old version. We fix this by making libtiff.so.3 a link to libtiff.so.4.
Also, /usr/lib/libpng.so.3 should point to /usr/lib/libpng.so If not, type:
sudo ln -s /usr/lib/libpng.so /usr/lib/libpng.so.3
and /usr/lib/libxml2.so.2 should point to /usr/lib/libxml.so.1 If not, type:
sudo ln -s /usr/lib/libxml2.so.2 /usr/lib/libxml.so.1
And finally make the loader aware of the changes:
sudo ldconfig
8. Restart cups:
sudo /etc/init.d/cupsys restart
9. Add a new printer. Under GNOME, this is accessed in System|Preferences|Printing. Select Canon as the manufacturer, click on "Install Driver..." and select /usr/share/cups/model/canonip2200.ppd. Now select "iP2200 Ver.2.60" under "Model". Select "Standard" for the driver (this should be the only option). Make sure the connection is correct. Hopefully, printing a test page will work!
Advanced Features
Unfortunately, the installed PPD file doesn't allow you to select the printing quality. To fix this, back up your ppd file, then open it as root: gksudo gedit /etc/cups/ppd/iP2200-Ver.2.60.ppd
Insert these lines in the file after the "Resolution" section:
*OpenUI *CNQuality/Quality: PickOne
*DefaultCNQuality: 3
*CNQuality 2/High: "2"
*CNQuality 3/Normal: "3"
*CNQuality 4/Standard: "4"
*CNQuality 5/Economy: "5"
*CloseUI: *CNQuality
The following gives a greater choice of print resolution if added to the "Resolution" section, but I am not clear whether the Quality setting impinges upon this. Note that the ip2200 only offers 600dpi in black and white.
*Resolution 1200/1200 dpi: "<>setpagedevice"
*Resolution 2400/2400 dpi: "<>setpagedevice"
*Resolution 4800/4800 dpi: "<>setpagedevice"
(from [WWW] http://gentoo-wiki.com/Canon_Pixma_Series)
N.b. neither of these modifications is done in the unofficial packages provided by: [WWW] http://mambo.kuhp.kyoto-u.ac.jp/~takushi/
After this, restarting cups should enable the changes sudo /etc/init.d/cupsys restart
To perform maintenance on the printer, such as head cleaning, type in a terminal: cngpij -P iP2200-Ver.2.60
You may want to add this to your menu, since it is a real pain to remember. In the window that pops up, select "Maintenance".
tutorial ini diambil dari http://help.ubuntu.com
Kategori : Tutorial
Akhirnya kesampaian juga internetan di kos pake hp. berikut langkah-langkah yang dilakukan dalam setting hp bluetooth sebagai modem di Ubuntu :
1. install 'bluez-gnome' lewat synaptic package manager(System>Administration>Synaptic..)
2. install gnome-ppp
2. colok bluetooth nya sampai muncul icon bluetooth di tray
3. idupin bluetooth hp dan lakukan pairing dulu(biasa masukin kode untuk autentifikasi)
kemudian masukkan beberapa perintah berikut :
>cek kehadiran bluetooth
dayat@dayat-laptop:~$lsusb | grep Bluetooth
Bus 002 Device 002: ID 1131:1001 Integrated System Solution Corp. KY-BT100 Bluetooth Adapter
>aktifkan bluetooth di hp dan scan dari komputer
dayat@dayat-laptop:~$hcitool scan
Scanning ...
00:1A:75:B3:04:C5 Dayat-Phone.
>cari channel hp untuk koneksi
dayat@dayat-laptop:~$sdptoop search DUN
Inquiring ...
Searching for DUN on 00:1A:75:B3:04:C5 ...
Service Name: Dial-up Networking
Service RecHandle: 0x10002
Service Class ID List:
"Dialup Networking" (0x1103)
"Generic Networking" (0x1201)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 2
Profile Descriptor List:
"Dialup Networking" (0x1103)
Version: 0x0100
>edit file rfcomm.conf sesuai hasil scan
dayat@dayat-laptop:~$sudo gedit /etc/bluetooth/rfcomm.conf
ubah hingga sebagai berikut
rfcomm0 {
bind yes;
device 00:1A:75:B3:04:C5;
channel 2;
comment “Bluetooth Modem”;
}
>lakukan binding dulu
dayat@dayat-laptop:~$ sudo rfcomm bind 0 00:1A:75:B3:04:C5 2
>cek hasil binding
dayat@dayat-laptop:~$rfcomm
rfcomm0: 00:1A:75:B3:04:C5 channel 1 clean
>edit wvdial.conf
dayat@dayat-laptop:~$sudo gedit /etc/wvdial.conf
sesuaikan isinya sebagai berikut (aku pake indosat)
[Dialer Defaults]
Modem = /dev/rfcomm0
Baud = 56700
Init1 = AT
Init2= AT&FE0V1&D2&C1S0=0
Phone = *99#
Username = indosat
Password = indosat
Stuppid Mode = yes
>mulai koneksi
mulai koneksi bisa memakai wvdial maupun gnome-ppp
Kategori : Tutorial
Postingan Lebih Baru Postingan Lama Beranda