“sed -n 2,4p file_name”
extracts lines from 2 to 4 from that file
“sed -n 2,4p file_name”
extracts lines from 2 to 4 from that file
bzip2 deletes the original file and replaces it by the compressed one, and to stop it from doing that use the “-k” option as follows:
“bzip2 -k file_name“
I was always using GNOME as my default Desktop Environment in Ubuntu (which comes by default), and I have tried many others such as KDE, XFCE …etc), and I always admired GNOME the most as it has a good balance between performance and nice GUI; I found KDE to be too fancy and with slightly less performance and XFCE to be amazingly fast, but not really good-looking, and YES! I like my desktop to be good-looking, I guess anyone who lives for 16 hours daily in a room will make it as much beautiful as he/she can :).
With XFCE 4.6 (which comes by default in Xubuntu Jaunty), I found a much nicer GUI than old XFCE releases and still the same performance boost, I guess you gotta try it out.
Guys with intel graphics cards might experience very slow graphics with their Ubuntu Jaunty installation and this was really annoying, I like to perfect my desktop! Although I don’t use Compiz or play a lot of games! This is an Intel graphics driver problem that is solved in the 2.6.30 kernel.
The following steps fixed my graphics 100% and I have experienced the best Graphics Performance I’ve ever seen using any Intel card, I guess you don’t have to worry about any damage to your machine as you can always revert to your previous kernel once you experience any problems with the new one:
Now check how things are going :); play a game, watch a movie, do anything you want to do!
Note: A problem that I faced is that the “linux-restricted-modules***” deb package which comes with every Kernel package developed in Ubuntu is not available! This package contains some drivers that you might need. For example, I was using “ndiswrapper” and/or “madwifi” drivers for my Atheros Wireless card and they both are not available (yet) after doing the above, but I found a much better driver (ath5k) that was much faster and even the wireless LED finally worked:
Note also that this method is not the official one and that it might cause your machine to hang, but anyway “No pain, No gain” 🙂
Temporarily (doesn’t require a restart):
sudo modprobe -r pcspkr
Permanent (requires restart):
sudo your_favorite_text_editor /etc/modprobe.d/blacklist.conf #text editor can be anything from “vi” to “gedit”, whatever you want!
Add this line to the end of the file: “blacklist pcspkr”
Reboot!