Saturday, 22 May 2010
10 Things to do after a Fresh Ubuntu Install
Monday, 3 May 2010
Flickering Monitor in Ubuntu 10.04 for ATI Cards
However, thanks to the great people at the Ubuntu forums, it seems like I have found a fix that works. Special thanks to clhsharky for this tip. You can read the full post here.
But here's the gist of it (I've tried this on an ATI x1400 Video card, and it stops the external monitor from flickering):
Update (August 20, 2010): Seems like the rc7 release is available. You might want to download that instead... (see the comments section for more information)
Update (August 21, 2010): As Ryan suggests in his comment below, the rc6/rc7 candidates may contain a security flaw, so you may want to read that first before proceeding...
Go to http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.34-rc6-lucid/
and download the following files and install them in this order (depending on which processor you have)
For Intel (x86/64) based processors download and install (installing as in double click the .deb files after downloading it and click install..) the following in this order:
linux-headers-2.6.34-020634rc6_2.6.34-020634rc6_all.deb
linux-headers-2.6.34-020634rc6-generic_2.6.34-020634rc6_i386.deb
linux-image-2.6.34-020634rc6-generic_2.6.34-020634rc6_i386.debFor AMD processors download and install the following .deb packages in this order:
linux-headers-2.6.34-020634rc6_2.6.34-020634rc6_all.deb
linux-headers-2.6.34-020634rc6-generic_2.6.34-020634rc6_amd64.deb
linux-image-2.6.34-020634rc6-generic_2.6.34-020634rc6_amd64.debFinally, after you restart, you'll be able to choose the rc6 kernel while you boot, which should fix the problems.
Again, this may not work for all ATI cards, but it seems to work for mine!
And boy is Ubuntu fast... it loads in ~ 35 seconds on a 4 year old laptop. Impressive... and now I also use dual monitors if I want to!
Thursday, 29 April 2010
Installing Ubuntu without a CD drive using USB drive
While this was true in the past, no longer is it necessary to burn a CD (or even have a CD drive, if you’re a netbook user) in order to use an open source operating system (OSOS ?). Here’s now you can install Ubuntu or any other similar flavour of an open source OS, with UNetbootin
Sunday, 18 October 2009
Adding a deskbar to Ubuntu 9.10's panel to search files and other things
Why deskbar you ask? Because deskbar is to ubuntu as spotlight (or Windows Start menu search) is to Mac OS X (or Windows 7). It helps you quickly find the files that you need on your Ubuntu partition or your PC partition, and helps you do stuff like quick math, searching the dictionary and searching the Interwebs.
Saturday, 18 April 2009
Ubuntu Audio Does Not Work - Static Sound Instead
It's not that your sound isn't working... it's just "muted" (although I wonder why it makes the static sound instead of being completely quiet...).
To get your sound back here's what you need to do:
- Double click on the speaker icon in the menubar
- Alternatively, you can press Alt+F2 and type in: gnome-volume-control and click 'Run'


Hope this helps others out there who experience the same audio "stuttering" problem.
Sunday, 29 March 2009
Greate OneNote like Free Notetaking Application - BasKet Note Pads
However, instead of using 'professional' (and expensive!) software like OneNote from Microsoft, I decided to find an open source alternative that would do just the same. So I wouldn't have to worry about "bad karma" as they say. Although there were several alternatives out there for the Mac and also for Windows, the best alternative in my opinion so far has actually been an application for Linux!

It's called BasKet Note Pads (an application originally developed for the KDE environment, but works fine on Gnome too... so it should work on almost any Linux Distro out there) and it's almost like Microsoft OneNote... but better! Why? Because, it's free... and it's open source too (so that means that it will at least get an update once in a while hopefully..). So far, I've found it to be the best note taking application out there.
In BasKet Note Pads not only can you emulate the beloved one note feature of being able to click anywhere and type in a OneNote document, but you can also assign special categories to each note that you type. For example, you can give the note the tag of a Todo, and once you do this an empty checkbox will appear beside the note. Then once you are done the Todo item, just check the checkbox and BasKet will automatically place a line (strikethrough) through the text indication that the job was done.
I find that this is a great app where you can just "write down" all your ideas really quickly and then come back later and arrange them into logical categories to create a computer "mindmap" of sorts. Plus, its great to be able to take notes at a lecture in little bits and pieces and then add them together in their own little notepages to get a whole overview of the lecture topics.
There's other categories as well... like the 'progress meter'. So you can click on the progress meter once you've reached another stage in the assignment... making sure that you're on track with each project. Plus, you can create a main note for a project (with its tag as a project meter) and then drag and drop additional to-do "notes" in the project. BasKet will automatically group the notes as one whole note so you can easily minimize and maximize a project depending on what you want to look at.
If that's not enough, it also has the ability to have funky backgrounds and the ability to grab screenshots (great for doing online research... where you can grab screenshots of products you like from their website and put them in one document and then compare them side by side) and place them right into the document. The only thing it pretty much cannot do right now is take audio notes and link them to the typed notes. However, I feel that it's only going to be a matter of time before they add that feature too.
BasKet note pads is a great free way to add a little organization to your life and a great way to take notes if you are a college/high school students. Although you'll need Linux to run it, I recommend you get linux and give this little app a try. Once you figure out how to do things, I'm sure you'll find it a formidable replacement for OneNote.
Monday, 26 January 2009
Disable Annoying System Beep on Linux (Ubuntu/Kubuntu)
The beep is loud (I've fallen off the chair quite a few times because of it), useless (well... sort of), annoying and just plain unnecessary. So, I finally decided to get rid of it. Of course, like any other linux newbie I decided to do a quick search on the interweb to find out how to fix the problem.
The first article I came across, from the how to geek, was a bit useless because it was for Ubuntu Edgy! Since I'm using the 8.10 (Intrepid Ibex) version of the operating system, there is no 'System Beep' tab when I go to System > Preferences > Sound! But then I found another article from arsgeek that helped me handle the problem. Except, the instructions on arsgeek could have been a little better... so I'm publishing what I did on my blog.
First, I pressed Alt + F2, which brought up the run application command, and typed in the command as stated on arsgeek with a sudo in the front. Like so:
sudo gedit /etc/modprobe.d/blacklistAnd checked the box beside 'Run in terminal' and clicked Run.
I copied and pasted the entry:
#silly speaker beep
blacklist pcspkrat the bottom of the file, and saved the file > Closed Gedit. Finally, on the terminal window that was still open I typed in (I could have of course restarted my system... but I didn't want to waste the 20 seconds):
sudo rmmod pcspkrAnd that was the end of the annoying speaker beep problem, in Linux!
More on my experiences with Linux later!
Tuesday, 13 January 2009
Tremulous: Free Open Source Online Multiplayer Game
Plus, this games also has elements of a first person shooter game, real time strategy and additional multiplayer online game features. It's based on the Quake engine, and has two main skillsets of aliens and humans.
The game I'm talking about here is called: Tremulous.

It's free, open source (yes, that means hackable too...) fast and easy to learn. The objective of the game is this: There are two teams, humans and aliens. Each team has to build their own base and defend it, while attacking the enemy base to destroy it. Plus it looks pretty good too.
Naturally there are several unique elements in the game. For example, you need to be able to shoot (with several different kinds of weapons that work differently), build a base (both human and alien bases are different) and learn how to use an alien (because aliens can't shoot.)
Plus, since its free there are loads of people all over the world playing the game. You too can host your own game server from your very own computer (provided you have a good internet connection and a fairly fast computer) and all you need to play is a regular mouse and keyboard.
We'll instead of me telling you more about the game, why not give the game a try. May be you'll like it, may be you wont. But it's free.. so you've got nothing to loose.
Monday, 5 January 2009
Improve battery life on a Linux laptop
Improving battery life for Ubuntu/Kubuntu/Edubuntu etc.
The first things that you can do to improve your battery life are pretty obvious, but I'll mention them here anyway:- Lower the display brightness to the lowest possible level to make sure that the screen doesn't sip your battery power.
- Close any applications that you are not using and unplug any usb/external deviceees that you might not be using as well. This saves some memory from being used (and also makes the hard drive work a little less) and ensures that no power is taken for ports that you aren't really using. See below for information on how to disable the USB ports as well to improve more battery life.
- Disable all Linux eye candy (Do this by going to System > Preferences > Appearance > Visual Effects Tab > Choose 'None') . This means - No Beryl/Compiz Fusion, no wobbly windows and no fancy revolving cubes. It also means a couple of extra minutes of battery power - So choose wisely.
- Turn off wireless and bluetooth if you don't need it.
Step 1: Enable Laptop Mode
This uses the 'laptop' policies that are in ubuntu to ensure that the computer uses only the resources it really needs. As a result, it'll be able to cut down on the resources it doesn't need and save you some battery power. To do so... I did the following:First, I pressed Alt + F2, which brought up the run application command, and typed in the command:
sudo gedit /etc/default/acpi-supportAnd checked the box beside 'Run in terminal' and clicked Run.
Then, I typed in my password when Terminal asked me to type it and pressed enter... and Gedit opened with the file.
Then I changed ENABLE_LAPTOP_MODE=true. And saved the file. And finally I restarted the computer... just to let the changes take effect (but I guess there must be some command out there that I don't know of that will make the changes take effect automatically).

Step 2: Make your CPU run slower by enabling CPU frequency scaling
I opened a terminal window, (Applications > Accessories > Terminal) and typed in :
sudo chmod +s /usr/bin/cpufreq-selectorIf it asks you for you password... then type it in and press enter. Then, right click on the menubar and click Add to Panel. Then click on the CPU Frequency Scaling Monitor and click Add. From the CPU Scaling Monitor, choose the lowest possible Speed (in my case 1GHz) or choose the "Powersave" option.
Doing so will make the laptop run at a much slower CPU speed and save you a LOT of power.

Step 3: Disabling unused ports on your computer and throttling the wireless card's power
By disabling the unused USB ports etc. on your laptop, and decreasing the power used by your wireless card, you can save even more battery power. Obviously, if you're using a USB mouse or a necessary external USB device, you don't want to disable the ports. But if you're not using then then you can safely disable them.
To disable USB ports, open a terminal window and type:
sudo rmmod uhci_hcdand then type in your password if necessary and press enter. This should disable the USB ports.
To put your wireless card (sorry... this only works for intel wireless cards) into power saving mode do what i did:
I pressed Alt + F2 like stated above, which brought up the run application command, and typed in the command:
sudo gedit /etc/laptop-mode/conf.d/wireless-ipw-power.confAnd checked the box beside 'Run in terminal' and clicked Run.
Then, I typed in my password when Terminal asked me to type it and pressed enter... and Gedit opened with the file.
Then I changed the 0 to 1 for CONTROL_IPW_POWER. Saved the file and quit Gedit. Of course, you could have changed the other parameters as well... but I didn't bother doing that, since the default looked good enough for me.
Step 4: Enjoy the newly gained battery power
That's it... the "hacks" mentioned above are about the only things you can do (with the exception of restarting Ubuntu in shell mode and using only the text interface.) to boost your battery life.
If you know any other ways of improving battery life or battery performance, do state them in the comments below!
Sunday, 4 January 2009
Make fonts look better on Linux (Ubuntu)
It wasn't the anti-alising on Linux, it was something else. Nevertheless, I think I've found a way to make the fonts looks as they should be on Ubuntu (and other similar releases like Kubuntu/Edubuntu/SomethingelseBuntu).
Thanks to Jeremy Zawodny's post, and then a post in the masterplan (this post is absolutely correct when it says that we take font rendering for granted on operating systems like Windows and OS X, and then think that the fonts on Linux are just different), I was able to figure out some ways I could make the fonts on Firefox in Linux look like the fonts in Windows or on Mac.
I won't steal the contents from the post in the masterplan, however if you too want to fix the font rendering and font display in your ubuntu install, then do head over to the 'Sexy smooth fonts on kubuntu' post and follow the super simple instructions (if you guys are stuck, then I'll try to help out here).
Furthermore, you might also want to turn on Subpixel smoothing with Ubuntu by clicking on System (in the menubar) > Appearance > Fonts tab > Choosing sub pixel smoothing and clicking close. And Viola, that's an easy way to make sure that you have the smoothing that's best for almost any monitor.
I think the reason this feature is not turned on by default is probably to save some system resources (you know how particular those uber geek ubuntu users are =) !), but nevertheless its super easy to do whatever you want in the operating system. Which, of course, is absolutely great!
Sunday, 21 December 2008
Use Active Screen Corners for increasing productivity on a Mac and Linux
One thing I love about Macs (and now also in new Linux distros) is that they are filled with all kinds of productivity features. Apart from the fact that it doesn't need constant updating and anti-virus checks, it also has a great little feature called Active Screen Corners. If you've never used this before, then here's how it works.Once the feature is turned on (instructions on how to do that below...), you can move your mouse to one corner of the screen (be it the upper right hand corner, or the bottom right hand corner) and have your mac do pre-programmed tasks.
For example, in my case, I have the lower left corner set as my 'Expose' corner. So if I want to activate expose all I need to do is move my mouse over to the bottom left corner and it's does the same thing as pressing the F9 button. So instead of searching around for a keyboard shortcut or a button, you can simply move your mouse to one corner. This is much more efficient, faster and might save you some repetitive strain injuries as well.
In this post I'll only provide instructions for how to enable and play around with the active screen corner feature on a Mac. However, there are several other posts/articles/books/manuals out there that deal with how to do the same thing on Linux. But at this moment, I don't have linux installed on any of my machines, nor do I remember how to set the feature.
Anyway:
Enabling Active Screen Corners on a Mac
- Click on the Apple Button at the top left hand corner of the screen and click on 'System Preferences...'
- Click on Expose and Spaces (or just Expose if you're on Tiger)
- Switch to the Expose tab if you aren't already in it.
- Under Active Screen corners - choose your settings. (Each drop down list refers to one corner.... so if you move your mouse to that corner, the computer will perform those tasks)
- Once you are done simply close the System Preferences Window
For your reference, here's what the 'different wording' on the options mean.All Windows - Does Expose
Application Windows - Does the same thing as F10 where it only performs Expose on Application Windows
Desktop - Shows the Desktop
Dashboard - Shows the Dashboard
The other options like 'Start Screensaver' or 'Sleep Display' are pretty self explanatory.
I must mention here that I've been searching for the 'Sleep Display' option for a while, because I like to turn off the display to save power when I'm still using my computer (for tasks like listening to music) on the go... or when I'm trying to sleep with my mac turned on. So having that as an Active Screen Corner is awesome too.
That's it. Enjoy the new productivity! And believe me, its really handy when you have a bazillion windows on the desktop.
Friday, 17 October 2008
Full-screen distraction free writing environments for Windows and Linux
I love the idea of WriteRoom for the Mac, but it's a Mac only application. If you're on Windows or on Linux you'll probably have to use these free alternatives (the non-free alternative being “buy a Mac”). All of them perform the same tasks and have similar interfaces.
Unlike WriteRoom, however, these applications do not have a scrollbar for spell check. They're all black windows with green text and that's pretty much it. Of course, you can change the colour of the background and the text
JDarkroom for Windows and Linux
A simple full-screen text editor
You can download it here.
Darkroom for Windows
From the website:
Dark Room is a full screen, distraction free, writing environment. Unlike standard word processors that focus on features, Dark Room is just about you and your text.
Basically, Dark Room is a clone of the original WriteRoom that is an OS X (tiger) exclusive application. It is a child of necessity, as there were no viable alternatives in Windows to produce the same behaviour. Sure, you can kind of emulate the behaviour by jumping through a bunch of hoops in Word/Writer, but it isn’t the same. Also, you can do something similar in emacs, but who wants to learn a bunch of obscure keyboard shortcuts?
The goal of the project is to capture the essence of WriteRoom, while keeping it simple and just as free.
You can download it here.