2007年6月13日星期三

Tune Boot-Up-Manger for better performance of Ubuntu

Ubuntu does not come with a graphical tool to disable services. The Boot-Up-Manager (BUM) is the most comprehensive and user-friendly tool for Ubuntu.

Follow these Steps to Install Boot-Up- Manager

  • Go to Applications > Add and Remove Applications


  • The Add/Remove Applications window is shown. Search for boot in the search text box. Check Boot-Up-Manager and click on OK to install.

  • Click on Apply in confirmation popup. Boot-Up-Manager is installed successfully.


Disable the services for better performance tunning

  • Go to System > Adminstration > BootUp-Manager


  • Boot-Up-Manager window is shown. Check Advanced check box, and select tab Startup and shutdown scripts


Disabling the below listed scripts doesn't disturb your PC
  • ntpdate: a utility that updates the system clock on each reboot.

  • pcmcia: used only with laptops if one has PCMCIA cards.

  • ppp: point-to-point protocol used only if you have a modem. Disabled the built-in modem in my desktop and only use a network interface card.

  • powernowd: Use an AMD processor with Ubuntu and this service does not work with AMD.

  • rsync: a utility that provides fast incremental file transfer if you wish to mirror or back up data.

  • fetchmail: a utility to retrieve and forward mail and act as a gateway to smtp. If you are a Linux groupware client, do not use this utility.

  • postfix: a mail transfer agent similar to sendmail. Use a mail server from my ISP and our company domain.

Reboot the PC and find the difference.

2007年6月11日星期一

How to disable tap-clicking with your touchpad in Linux in a easy way

Lots of people have a love/hate relationship with their touch pad on their laptops. It’s great for speeding around your screen and doing lots of cool things with nary a mouse in site. It’s horrible when you accidentaly double-click that Quake 3 icon while your boss is strolling into the room.

Here’s a quick and easy guide to disabling tap-clicking and scrolling on your touchpad. With this little hack you’ll still have a mouse replacement, but will avoid Quake 3 inspired embarrassment.

First, you’ll need to edit your xorg.conf file. This is the file that controls your display, and oddly all of your input devices as well like your keyboard, mouse and…. touchpad. Open up a CLI (Applications-> Accessories-> Terminal) and let’s get down to business.

gksu gedit /etc/X11/xorg.conf

Now you’ve got your xorg.conf file open in an editor, let’s add one line too it. Look for this section in your xorg.conf file:

Section “InputDevice”
Identifier “Synaptics Touchpad”
Driver “synaptics”
Option “SendCoreEvents” “true”
Option “Device” “/dev/psaux”
Option “Protocol” “auto-dev”
Option “HorizScrollDelta” “0″
EndSection

Yours may have all of this stuff or it may have very little of it. The key points you want to look for are the Section and EndSection bits. Everything has to go between these two, and what we’re going to add is not exception.

See the Options above? We’re going to add an option. So cut and paste the following in there just above the EndSection portion:

Option “TouchpadOff” 2

Now save your file and exit Gedit. The next time you restart your laptop (or restart your X session) you’re touchpad will be click-less.

But perhaps this way is so complicated and sometimes it doesn't work! Then you should try this way:

For KDE:
1. Open KDE Control Center
2. Select Peripherals > Touch Pad
3. Select “Tapping” tab and uncheck “Enable Tapping”
4. Click “Apply”
Done

For Gnome:

sudo apt-get install gsynaptics

And go to System > Preferences > Touchpad

Done

2007年6月5日星期二

Mount and Unmount ISO,MDF,NRG Images Using AcetoneISO (GUI Tool)

AcetoneISO is CD/DVD image manipulator for Linux.Using this tool it is very easy to Mount and Unmount ISO,MDF,NRG Images

2007年6月4日星期一

How to Fix Slow Fesity Boot For Laptops

Feisty has a terrible boot time on laptops compared to server (roughly 3x as long) even though it is a faster computer. You can speedup your boot time from over a minute to roughly 30 seconds by doing the following



read more | digg story

2007年5月31日星期四

Howto install Avant Window Navigator in Feisty!!

If you are running Ubuntu Feisty Fawn 7.04, you can install AWN and Affinity from an Ubuntu repository.

First, edit your apt sources:

  • gksudo gedit /etc/apt/sources.list
Add these lines to the bottom (without bullets):
  • ## Avant Window Navigator
  • deb http://download.tuxfamily.org/syzygy42/ feisty avant-window-navigator
  • deb-src http://download.tuxfamily.org/syzygy42/ feisty avant-window-navigator

Then do this in a terminal:
  • wget http://download.tuxfamily.org/syzygy42/8434D43A.gpg -O- | sudo apt-key add -
  • sudo apt-get update
  • sudo apt-get upgrade

Now to install the stable AWN version do

NOTICE: No stable AWN at this time. It will be added at the next release

Or for AWN SVN do
  • sudo apt-get install avant-window-navigator-svn

The Affinity in this repo requires Tracker to work properly.

For the stable Affinity version do
  • sudo apt-get install affinity

Or for Affinity SVN do
  • sudo apt-get install affinity-svn

HOWTO: Cleaning up all those unnecessary junk files in ubuntu!

this article shows you how to get ri of those unwanted files taking up space in your Ubuntu folders.



read more | digg story

knowhow Adobe and del.icio.us work together?

Adobe Illustrator is one of my favorite design tools, and as part of the redesign of del.icio.us I’ve been using it in a number of interesting ways. For example, I’ve written JavaScript code to pull in and parse del.icio.us RSS feeds then automatically render my latest designs in Illustrator using real data. This allows us to rapidly iterate on the



read more | digg story

mapping to be

If you want to completely swap caps lock and escape, you have to replace the
"Lock" on caps lock. Drop this file in your home directory(don't copy the start&end lines!!):
-----------start------------
! Swap caps lock and escape
remove Lock = Caps_Lock
keysym Escape = Caps_Lock
keysym Caps_Lock = Escape
add Lock = Caps_Lock
------------end-------------
and call it ".speedswapper". Then open a terminal and type
$ xmodmap .speedswapper
and you'll be twice as efficient in vim.
Who needs caps lock anyway?

2007年5月27日星期日

Make your firefox more beautiful in ubuntu!

One thing that has always bothered me about Ubuntu's firefox is that the buttons, radio buttons, drop down menus, text fields, and checkboxes (known as widgets) are very cruddy looking. Fortunately I found a simple way to fix this. What we have below is a replacement set of images and CSS code for the widgets which will make them much nicer on the eyes (see bottom of the post for screenshots).


The original widgets are done by Osmo Salomaa . I have written a bash script to make the installation and removal process easier. You can download this at the bottom of this post. Simply unpack the archive anywhere you like, open a shell, cd to the directory you unpacked and run install (do this with the ./install command). Now you are presented with a menu.

By default this script works with the default firefox directory: /usr/lib/firefox. To work with a different directory (such as /usr/local/firefox32 if you are using Kilz's firefox32 package) you can specify a new installation/removal (option 3). Make sure you enter the correct path to your firefox directory. You can also change the installation/removal directory with the "-p=" or "--path=" command line options when you initiate the script (run ./install --help or read the README for more information).

Once you have the correct path (or you are just using the default /usr/lib/firefox path), you can install by using option 1 in the main menu. To run the installer immediately and bypass the menu use the "-i" or "--install" command line options when executing the script. Use the "-h" or "--help" command line options to get more information (./install -h).

To remove the widgets (make sure you have the correct path first just like with installing), just select option 2 from the main menu. If you wish to bypass the menu and go straight to removal, envoke the "-r" or "--remove" option.

You can also use the "-p=" option in conjunction with the "-r" or "-i" command line options if you like.

Example) ./install --path=/usr/local/Iceweasel32 -i
This would install the widgets to the /usr/local/Iceweasel32 directory.

I should also mention, I have included a backup forms.css file incase you mess anything up. This file is from a default 64-bit Firefox 2.0 installation. The forms.css file an be found in Firefox's "res" directory. You won't need my backup unless you accidently delete your's or the script malfunctions (in which case please contact me).

Read the README for more information. Screenshots are below, enjoy!


Buttons


Check Boxes


Radio Buttons


Drop Down Menus


Text Fields


Before


After

Download script:http://www.mediafire.com/?8xs20zmmrhv
Read more

2007年5月26日星期六

Installing .sh files in Ubuntu 7.04

Sometimes when you need to install a software on Ubuntu, the installation package only comes in .sh files instead of standard .deb package for Debian. Well the .sh itself has to be executable, however when you got it from internet repository its attribute is set to non-executable. To change this file attribute you need to either Right Click the .sh file from your file explorer, select file property -> file permission and make it is executable.

You can also change it via the command line console in your Ubuntu.
Open a Terminal Window. If you downloaded the file to your Ubuntu desktop you probably need to


cd /home/userid/Desktop


ls to see if the file exists.


chmod 777 /path/some_linux_installation.sh

After you changed the file attribute, you can execute those file directly via terminal window or click it when you use file manager. Your installation file should startup.