Simple way to execute a command on startup in Ubuntu

I would like to share with you a simple way to execute commands on startup in Ubuntu. This tip is very useful for example I have an issue on the Netatalk service that do not run properly so every time I have to run the command to restart the service after I login to Ubuntu.

All commands that you need to be executed must be stored in etc/rc.local setting. Open terminal then execute this command:

sudo nano /etc/rc.local

Add the following command to restart Netatalk service, right before “exit 0":

sudo service netatalk restart
exit 0

That’s it! It’s so simple. I have solved the Netatalk service problem for now. So I have more time to take a look what is the problem with the Netatalk service.

Advertisements

OSX Lion Theme for Natty Narwhal

Mac OSX Lion Theme for Ubuntu

There is a new version of Elementary Lion Theme 1.1 by Dolsilwa. It is pretty close to what you see in real Mac OSX on the window — the red-yellow-green buttons. Unlike Leopard, in OSX Lion has smaller buttons more elegant buttons. The rest of OSX Lion are similar to Leopard. Another difference is the scroll bar which has a grey solid color rather than shiny blue in the older version.

I’d like to have combination of the two version. Download the theme provided above. Extract the file. You will see two versions one is for Classic Ubuntu, and the other is for Unity. Select the theme you like for Natty. I choose to use The Classic Ubuntu version.

To get as the picture above, I apply the theme and I change icon using Macbuntu theme. Read my previous post if you’d like to activate the Dock and Launcher. What do you think? Let me know if you like.

Better way to setup Macbuntu in Natty Narwhal

In my previous post, we can setup Macbuntu in Ubuntu 11.04 with little adjustment in installation script. But this approach have few problems. The script provided by Macbuntu offers things that actually we don’t need and more importantly causing many problems.

In general actually we can (read: should) skip few lines to avoid problems when installing in Natty.  So let’s do it in conventional way. Below are few steps to get what we need.

Bear in mind that I use classic desktop when I login. I have not tried install this using Unity Desktop but I think shouldn’t have any problem. Read more of this post

Install Macbuntu on my old PC

Although I personally really love standard Ubuntu themes, I decided to install Macbuntu on my old PC. I know it is not a real Mac. But I have to admit the design of Mac OSX is really simple, clean, easy to use. Thanks to the developers of Macbuntu to make this availableto users. We don’t need to buy an expensive real Mac, but just want to taste its simplicity.

Now it is even make our life much more easier. Someone have prepared an ISO version of Macbuntu!

You don’t have to type any command. Download the suitable file with your PC: 32 or 64bit, Intel or AMD processor, burn it to a CD, restart your PC then wait for few minutes. Your Macbuntu is ready. What I like with this ISO installation is the Macbuntu theme is available to all (local) users. Unlike the Macbuntu do-it-yourself-install version, the theme only available to the admin user.

I like to thanks to Steve Jobs and his team too, and I will ask him (if he read this article), to allow and let Macbuntu growth. Hope he like the idea to share his Mac OSX great design theme available to users for free.

Macbuntu on Ubuntu 10.10 Maverick Meerkat

For those who just want to play around with this theme can try with non-ISO version. The installation procedure is pretty simple. But you have to be admin user to have this theme.

If you’re using Ubuntu 10.04 Lucid Lynx:
wget https://downloads.sourceforge.net/project/macbuntu/macbuntu-10.04/v2.2/Macbuntu-10.04.tar.gz -O /tmp/Macbuntu-10.04.tar.gz
tar xzvf /tmp/Macbuntu-10.04.tar.gz -C /tmp
cd /tmp/Macbuntu-10.04/
./install.sh

If you’re using the new Ubuntu 10.10 Maverick Meerkat:

wget https://downloads.sourceforge.net/project/macbuntu/macbuntu-10.10/v2.3/Macbuntu-10.10.tar.gz -O /tmp/Macbuntu-10.10.tar.gz
tar xzvf /tmp/Macbuntu-10.10.tar.gz -C /tmp
cd /tmp/Macbuntu-10.10/
./install.sh

If you wish to uninstall:
./uninstall.sh

Good luck!

My old PC just upgraded

I have a pretty old PC, Pentium IV with 512MB memory, use Windows XP. This PC is basically used by my kids for playing game and internet browsing. It is still working fine until today since I bought it hmm.. I think 5 or 6 years ago.

I have been planning to upgrade its memory to its max spec 2GB. But I keep postponing the plan. Until recently it is very difficult to find this type of memory in local store.

Accidentally I found a seller in e-Bay that sells old type RAM, a Kingston DDR1 PC2100 1GB a piece with a reasonable price exactly the type I need. Then I order it although the seller’s country is far. I thought probably will receive it within two or three weeks.

Today I just received my order. It is really not bad, less than three week as what I thought.

Immediately I open the package, check first the thing, spec, examine if anything broken. The memory is still in the original Kingston box. The memory board is still pretty clean. I know that it is not new, it is refurbished item as seller’s note in eBay.

Then I open my PC, and replace the memory. It works! I feel like I have a new toy to play. I plan to install macbuntu to this PC and introduce ubuntu to my son. This time I will install Ubuntu 10.10 Maveric.

Clean look and simple theme for Ubuntu

I have been using Mac OSX look-like theme for my Ubuntu PC for more than a year. I used Mac4lin then changed to Macbuntu v2.3. I like its simple design and human friendly menus exactly like Mac OS X. It is not perfect theme but its good for a free theme. Some applications are not fully compatible, menus are miss displayed, small things but annoying, windows’ shadow not displayed properly.

Now, let’s try another original-not-Mac-copy theme. Another simple, clean, human friendly theme. I found one of the best available is Orta. With simple installation I immediately fall in love with this theme.

I did some adjustments to keep it simple and clean. Thanks to Orta Settings Manager. I change the menu to use the first option, select the Light menu with a round menu item highlight. Then change the Panel, select the Light panel. After click the Save button, you will be asked to reselect the Orta theme.

I also adjust the fonts that I like, Mac standard fonts settings, again to make it simple and clean. Select System, Preferences, Appearance, then select font tab. Select the fonts as in the following picture:

This feature in Ubuntu is one of the best I like. You can change the look and feel, and free. If you have similar experience like me I am more than happy to share and get input. I only hope that you also like it.