speed up firefox

There are a variety of ways to improve your Firefox browser’s page load times. If you have a lot of RAM to spare in Ubuntu, moving Cache to RAM can speed up Firefox since computer can access data in RAM much faster than on a hard drive.

Firefox has a built-in feature that uses the browser cache in memory instead of disk. Below I’ll you how to enable it:

1. In address bar of Firefox, type in about:config and hit Enter. Click the button says “I’ll be careful, I promise!” to pass the warning page.

Firefox Advanced Settings

2. Stop Firefox from caching to disk.

In the filter bar, type in browser.cache.disk.enable. Double-click on the result line to set value to false.

Disable Cache to Hard Drive

3. Enable cache to RAM and assign cache size.

To enable cache to RAM, type “browser.cache.memory.enable” in the filter bar and make sure the value of result preference is true!

To assign cache size, create a new preference:

  • right click on blank area -> select “New” -> Integer
  • type in name “browser.cache.memory.capacity” (without quotes)
  • type in a value, number in KB (for example, 100000 means 100,000KB or 100MB). You can set the value to -1 to tell Firefox to dynamically determine the cache size.

Enable Memory cache

When everything’s done, restart Firefox and check out the cache information by going to the about:cache page.

Firefox Cache Information

That’s it. Enjoy!

Ubuntu-tips

This is quick tutorial that shows you how to install and setup a Telnet server in Ubuntu 14.04 LTS.

TELNET (TELetype NETwork) is a network protocol used on the Internet or local area network LAN connections. It allows one computer to access a command-line interface on a remote host.

Telnet is insecure because the communication is not encrypted, your password and all other data will be transmitted as clear text. If possible avoid Telnet, and use Secure Shell (SSH) instead.

If you really want to enable the Telnet in Ubuntu, just run the command below in text console (terminal) to install Telnet server:

sudo apt-get install xinetd telnetd

Install Telnet Server in Ubuntu

The Telnet service is started automatically once the installation is done. And you can either run telnet serverip or use a Telnet client (PuTTy, SecureCRT, etc.) to access this server.

Telnet Login

To change the port (default is 23), edit the /etc/services file with your favorite text editor. Find out and change the number in the line below:

telnet        23/tcp 

To apply changes, you have to restart the service by running the command below:

sudo /etc/init.d/xinetd restart

More configurations, see this document.

Ubuntu 15.04 Alpha 1

The first alpha of the next Ubuntu 15.04 Vivid Vervet has been released today. It features images for Kubuntu, Lubuntu, Ubuntu GNOME, UbuntuKylin and the Ubuntu Cloud images.

NOTE Pre-releases of the Vivid Vervet are *not* encouraged for anyone needing a stable system or anyone who is not comfortable running into occasional, even frequent breakage. They are, however, recommended for Ubuntu flavor developers and those who want to help in testing, reporting and fixing bugs as we work towards getting this release ready.

Alpha 1 includes a number of software updates that are ready for wider testing. This is quite an early set of images, so you should expect some bugs.

  • Kubuntu 15.04: The Plasma 5 is now the default.
  • Ubuntu Gnome 15.04:
    • Gnome-shell is still 3.12 for now (hopefully by Alpha 2, we shall have 3.14).
    • Few applications have been updated to 3.14 (hopefully by Alpha 2, most of the applications will be 3.14).
    • gnome-terminal has transparency again.
    • Window control Button layouts have been reverted to upstream default (only close); use gnome-tweak-tool if you want to get back the other controls.

Download Ubuntu 15.04 Flavors:

via: fridge.ubuntu.com

Linux Kernel 3.18.1

The first update of the latest Linux Kernel 3.18 series has been released recently. Greg Kroah-Hartman urges all users of this kernel series to upgrade as soon as possible.

Linux Kernel 3.18.1 is a small release which brings some fixes to wireless and alsa drivers. If you’re using the Asus Z99He laptop, a EAPD fixup has been added to solve “internal speaker not working” issue. For details, see the Linux Kernel Mailing List page.

How to Upgrade to Kernel 3.18.1 in Ubuntu:

The Ubuntu Kernel Team has made the packages for the new kernel release, available for download at the link below:

Download Kernel 3.18.1 .debs

First check out your OS type, 32-bit (i386) or 64-bit (amd64), then download and install the packages below in turn:

  1. linux-headers-3.18.1-031801_xxx_all.deb
  2. linux-headers-3.18.1-031801-generic_3.18.1-031801.xxx_i386/amd64.deb
  3. linux-image-3.18.1-031801-generic_3.18.1-031801.xxx_i386/amd64.deb

For Ubuntu Server edition with graphical session, run below commands one by one to download & install the kernel debs:

For 64-bit system, run:

cd /tmp/

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.18.1-vivid/linux-headers-3.18.1-031801-generic_3.18.1-031801.201412170637_amd64.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.18.1-vivid/linux-headers-3.18.1-031801_3.18.1-031801.201412170637_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.18.1-vivid/linux-image-3.18.1-031801-generic_3.18.1-031801.201412170637_amd64.deb

sudo dpkg -i linux-headers-3.18.1-*.deb linux-image-3.18.1-*.deb

For 32-bit system, run:

cd /tmp/

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.18.1-vivid/linux-headers-3.18.1-031801-generic_3.18.1-031801.201412170637_i386.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.18.1-vivid/linux-headers-3.18.1-031801_3.18.1-031801.201412170637_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.18.1-vivid/linux-image-3.18.1-031801-generic_3.18.1-031801.201412170637_i386.deb

sudo dpkg -i linux-headers-3.18.1-*.deb linux-image-3.18.1-*.deb

Once done, restart the machine.

If for some reason, the new kernel does not work properly for you, reboot with the previous Kernel (Grub boot loader -> Advanced -> select previous kernel) and run below command to remove Linux Kernel 3.18.1:

sudo apt-get remove linux-headers-3.18.1-* linux-image-3.18.1-* && sudo update-grub

That’s it. Enjoy!

CDemu Vritual CD DVD drive

Looking for a virtual cd/dvd drive software for Ubuntu? CDemu is an open-source software suite designed to emulate an optical drive and disc (including CD-ROMs and DVD-ROMs) on Linux.

CDEmu consists of:

  • a kernel module implementing a virtual drive-controller
  • libmirage which is a software library for interpreting optical disc images
  • a daemon which emulates the functionality of an optical drive+disc
  • textmode and GTK clients for controlling the emulator

Optical media emulated by CDemu can be mounted within Linux. Automounting is also allowed.

cdemu GTK client

Install CDemu in Ubuntu 14.04:

There is an unofficial PPA repository that contains the CDemu packages for Ubuntu 14.04 LTS and Linux Mint 17.

To add the PPA, press Ctrl+Alt+T to open terminal. When it opens, run the command below and type in your user password when it asks:

sudo add-apt-repository ppa:cdemu/ppa

After added the PPA, update system package lists and install the emulator by running below commands one by one:

sudo apt-get update

sudo apt-get install gcdemu cdemu-client

Install cdemu in Ubuntu

Once installed, start the GTK client gCDEmu from the Dash or Menu. Or run cdemu -h to get the command line help.