|
The article is from :
http://www.noenemies.com/7-ways-to-speed-up-your-linux-desktop/
I have no any time to translate the article into chinese.so just English.
Hope this is helphul for some people.Good luck!
The context:
Linux is supposed to be the fastest of all operating systems, but sometimes poor use of your desktop can lead to slowing it down. Usually the cause isn’t viruses and spyware, which are rare, and more likely caused by overloading your desktop with special effects, and silly, useless objects. So let’s try and speed that Linux desktop up.
1. Use a Minimalistic Window Manager/Desktop Environment
I recommend Enlightenment or Fluxbox for making your desktop ultimately faster. Enlightenment version 17 (called “E17”) looks very promising, and once it is out of beta, I’m sure to try it out. The beta version was definitely buggy, and I’m hoping it will improve over time.
Fluxbox is probably even faster than Enlightenment. I wrote an article on Fluxbox a while back, and it really is a great desktop environment. If you’re looking for something extremely minimalistic, but something a little better than Blackbox, try out Fluxbox. You’ll like it.
Of course, the desktop environment you choose doesn’t have all the influence to make your desktop faster. GNOME and KDE both can be made to run fast. I’m using Xfce right now (which is my own personal favorite environment right now), and it is very fast. It runs much faster than GNOME and KDE ever did, and I’m very happy with it, because it still looks good.
2. Customizing GNOME, KDE, or Xfce
The first thing a lot of Linux newbies do when they first log on is change how the system looks, if they’ve come from Windows or OS X, and are craving eye candy. All three environments (GNOME, KDE, and Xfce), have themes available to make everything run faster. They definitely don’t look as good, but if you’re looking for speed, then they will definitely satisfy you. Fluxbox and Enlightenment already run fast, and almost any theme you use with those environments won’t change how it performs.
3. Get More RAM
This is an obvious one. Loading up your machine with 2GB of RAM or so will definitely make things run faster. There really isn’t much to say on this one.
4. Kill Unneeded Processes
Open up a terminal. Type top -u to view all the currently running processes. If you aren’t working with your local web server, you don’t need Apache running. Depending on which distro you’re using, you can kill the processes (some distros use different commands). Ubuntu uses killall to kill processes.
After launching a KDE application, other processes tend to open up as well, and KDE processes can certainly slow you down. The KDE processes usually stay there after you’ve closed the program, and you should probably kill those as well. You certainly don’t need knotify and other processes if you’re not running any KDE apps.
5. Remove Virtual Terminals
I haven’t checked other distros, but I know Ubuntu, by default, provides you with 6 virtual terminals, most of which you don’t need. I’ve only used one of those, and you will only need them when in an emergency. Open a terminal, and type nano /etc/inittab, and find these lines:
3:23:respawn:/sbin/getty 38400 tty3
4:23:respawn:/sbin/getty 38400 tty4
5:23:respawn:/sbin/getty 38400 tty5
6:23:respawn:/sbin/getty 38400 tty6
Comment them out like this:
#3:23:respawn:/sbin/getty 38400 tty3 #4:23:respawn:/sbin/getty 38400 tty4 #5:23:respawn:/sbin/getty 38400 tty5 #6:23:respawn:/sbin/getty 38400 tty6
Press Ctrl + X to quit, and press “Y” to save. If you don’t have permissions, try sudo nano /etc/inittab. I don’t know much about virtual terminals on other distros, just on Ubuntu.
6. Use “Small” Applications
There are a number of applications you can use to free up RAM. Use Dillo instead of Firefox, Evolution instead of Thunderbird, irssi instead of XChat, and others. Using terminal applications, like irssi, will certainly free up RAM. And using a lightweight terminal emulator, like xterm, eterm, or aterm, will run faster than konsole or gnome-terminal.
7, Remove Start-Up Services
If you’re using Ubuntu, open a terminal and type sudo apt-get install bum. This will install the Boot-up Manager, and you can use this application to disable certain services. Again, I don’t have much knowledge about other distros and the Boot-up Manager, but I’m sure there is a way to disable certain start up services. This article can help you decide which services to disable. Scroll down to the list of services. If you aren’t sure about something, Google it and figure out what it does before getting rid of it.
Disabling start-up services will definitely decrease the time it takes to boot up the system. All of these services can be restarted if something gets messed up. Read carefully to prevent mistakes.
Additional Reading
Although these are both Ubuntu articles, they will probably be useful to anyone running Linux. HOWTO run Ubuntu on low RAM computers is a good read, and so is the Speed up boot article on the Ubuntu Document Storage Facility.
It depends on whether you prefer eye candy or speed. Making Linux look pretty will definitely sacrifice some speed, and making your distro quick as a fox will sacrifice good looks. If you’re looking to Linux to be a full-time production operating system, you’ll probably need speed more than anything. |
|