
Desktop relevant reviews, tips, tweaks and rants related to Linux in general and PCLinuxOS in particular.
RHEL 6 Beta 2 is still pushing grub legacy forward. No doubt it's going to stay with RHEL for some couple of years more. It somehow gives a little hint that grub2 is still little too complicated and experimental. However, if you are not that panicky Redhat/Centos person, you will get grub2 imposed upon you. Because the the rest of the distributions in Linux world has already been moved to grub2 land of boot configuration.
If you are one among those looking to replace grub2 with grub legacy, follow the few steps to achieve just that. The steps here pertain to Debian Testing, Ubuntu, Mint and other Debian/Ubuntu derivatives. You might have to change the steps as per your special distribution and its packaging system.
Borland Turbo C/C++ IDE is not the best, not at all recommended on production floor. But it's still the mainstay in majority of schools and colleges, especially in India. GCC/G++ on linux is better for hardcore programming. However, from a beginner's perspective, it lacks those nice contextual buttons/menus and interface of Borland Turbo C/C++ IDE.
Thanks Dosbox! You can install/run Turbo C/C++ IDE on linux too. Just follow these steps.
#1 Install Dosbox
Installing dosbox is a child's play.
If you are running Debian or Ubuntu, open the terminal as a root user and enter:
apt-get install dosbox
If you are running Red Hat, Centos or Fedora, open the terminal as root user and enter:
yum install dosbox
#2 Download Turbo C/C++ IDE
Google a bit, and you will easily find Turbo C installers for Windows/DOS in a zipped archive format.
#3 Extract Turbo C/C++ Archive in your home (~) directory
#4 Run (Alt+F2) Dosbox or open dosbox from programs menu (it sits generally under Applications > Games)
#5 Mount your home (~) in root
Why does a desktop, be it Linux or Windows, feel slow?
Because it tries to satisfy all - the vast majority of hardware and the varied requirements of a thousand different users. Result - heavier and sometimes heavily patched kernel, always running and sometimes never used services, and the unperceivable eye-candy that you don't care. Ok, now let's get on to the just right, optimized linux desktop. In the last post we have already talked how to do it on Windows).
First, apologies for posting Windows Tweaks on a Linux blog. Previously I had also attempted a few similar tweaks on Windows. But, this time the optimization tweaks are extremely paranoiac - only the strong at heart should attempt. Read on to know why ...
WHY
Because She had to do C
I was happy cruising on my good old Debian Lenny till my wify joined MCA. As a part of her 1st semester she has to do a lot of C. The University lab teaches C either on VC++ or TC on Windows. At home though my Debian desktop has a complete development tools and compilers, she is afraid to catch up with the batch, till she catches up with gcc and vi, other fellows might go ahead. That's why I thought it was better to put Windows XP Pro on another partition and install VC++ on top of it. But right after installation the greed for speed and security made me do these extreme optimization tweaks.
OBJECTIVE
My objective was a standalone XP Pro installation enough to do writing programs and compiling them on VC++, do some offline reading, enjoy some music/movies. No networks. No Internet. For networks and internet we (I and my wife) prefer Debian. (Who is going to put Windows and then search for a suitable antivirus, antispyware, and all that BS? Microsoft should make it explicit on every boxed Windows that "By buying Windows you've to make other payments towards Antivirus and antispyware, to some vendors". I don't like the shoddy security of M$.)
Your objective might be optimizing your XP just for Games, Jobworks, Desktop Publishing or Multimedia manipulation. Accordingly, your optimization may change a bit.
HOW
I wanted to squeeze every bit of juice (performance) from XP. That's why I started tinkering everything - from changing BIOS settings to tweaking Windows installation and choosing right kind of software.
BIOS
BIOS has some nitty options to set/control cpu/board fans, and reduce boot time. Also, you can disable all those unnecessary/unused devices and ports on bios further increasing your system responsiveness.
Windows Installation
A vanilla Windows Retail or OEM CD packs everything to satisfy the a vast diversity of machines and users. You can choose a Retail Windows copy and then use some third party tools like nlite to cut it for your requirements. Here, I used nlite to downsize XP. The result was a Tiny XP CD weighing only 150 MB, 1/4 byte size of the original XP.
User Profile and Permission
90% of users run Windows as a privileged user (administrator), because that's what Windows grants profile to the first default user. It's good for the dumb who doesn't like to do anything except point-and-click to install and configure devices and/or software. But default administrator mode brings the risk of security and reduced performance. What I believe every user should do is configure two accounts in Windows: 1st, the administrator account, and 2nd, a non-privileged user. Change the user settings (run "control userpasswords2") to make Windows boot non-privileged account by default. One can use administrator account for administrator tasks only, not for daily computing.
PERFORMANCE TWEAKS
Make a light installation of OS and Application Software
Strip down XP using nlite. Make a minimal installation. Then choose light-weight and custom installation of application software wherever possible. For example, if reading pdf files is what you all need, you should better install Foxit Reader. There's no need to go for a jumbo pack like Adobe Reader that drastically increases installation footprint plus takes toll on your CPU.
Similarly, make a custom installation. For example, don't push in Microsoft Office and do Click>>Click>>OK. Make a custom installation of just the necessary components. I had an enterprise copy of Microsoft Office 2007 that had all the bits and pieces of a productivity suite, but installed only Word, Excel and PowerPoint; Binder, Visio, Project, OneNote and Publisher are not my stuff.
For multimedia, I could have chosen a bunch of apps like Windows Media Player 11, RealPlayer Gold, VLC, WinAmp and bla.. bla.. bla.. But, here what I all did was to install the full version of K Lite Mega Codec Pack. It has all the necessary codecs under the sun plus a sober player interface – Media Player Classic.