My new ASUS X51R laptop and Ubuntu 8.04
by Nazly on Saturday, 21st June 2008 10:01:19
After giving up my IBM Thinkpad laptop sometime back, I got used to working on Desktops for a while. But it didn't help me a great deal in organizing things when shifting my work from home to office and vice versa. So again I started hunting for a laptop that will fulfill all my needs. Finally I settled with an ASUS X51R notebook that comes with a Dual Core 2Ghz processor, 1GB RAM, 256MB ATI VGA Card, 120GB Hard disk, DVD Writer, Wireless etc.. It turned out to be good deal at the end so I went for it.

I loaded my OS of choice Ubuntu 8.04 Hardy Heron on this and everything went very smoothly except that I couldn't get the wireless working. By running lspci the wireless card was shown as Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter which is an Atheros AR5007EG wireless card. The proprietary driver for Atheros was installed by Hardy but when I ran iwconfig this is what I got.
lo no wireless extensions. eth0 no wireless extensions.
Few google searches resulted me about madwifi. Madwifi is a team of volunteer developers working on Linux kernel drivers for Wireless LAN devices with Atheros chipsets. I got madwifi installed and got my wireless card working. Here is how I did it.
First I disabled both proprietary drivers in System -> Administration -> Hardware drivers.
Then in the command prompt I did the following
Get this version of madwifi
wget -c <a href="http://snapshots.madwifi.org/special/madwifi-ng-r2756+ar5007.tar.gz" target="_blank">http://snapshots.madwifi.org/special/madwifi-ng-r2756+ar5007.tar.gz</a>
Untar the file
tar xvf madwifi-ng-r2756+ar5007.tar.gzMove inside the directory
cd madwifi-ng-r2756+ar5007You might need build-essential if you haven't compiled anything before
sudo apt-get update && sudo aptitude install build-essential
Building madwifi and installing the modules
make sudo make install sudo modprobe ath_pci sudo modprobe wlan_scan_sta
Loading module at boot
sudo gedit /etc/modules
Enter the line below in the last line of the file and save.
ath_pci
Thats it. I restarted the machine and ran iwconfig again to check
lo no wireless extensions. eth0 no wireless extensions. wifi0 no wireless extensions. ath0 IEEE 802.11g ESSID:"" Nickname:"" Mode:Managed Frequency:2.437 GHz Access Point: Not-Associated Bit Rate:0 kb/s Tx-Power:17 dBm Sensitivity=1/1 Retry:off RTS thr:off Fragment thr:off Power Management:off Link Quality=0/70 Signal level=0 dBm Noise level=0 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0
As you can see its now showing that the wireless card is working properly. Thanks to madwifi.
When it came to my graphic card I had to use the ATI propriety driver to make full use of it. Since Hardy comes with compiz out of the box I managed to get the 3D desktop working without much hassle.
To get compiz working in Hardy there are two things to be done.
1. Goto System -> Preferences – Appearance and click Visual Effects tab. Then tick Extra to get the effects working.
2. Install the Compiz Settings Manager.
sudo apt-get install compizconfig-settings-manager
After installing you can goto System -> Preferences – Advanced Desktop Effects Settings to add/configure/remove effects related to compiz.
I also enabled Emerald themes to get out of the standard Gnome look. Here is how got emerald working.
sudo apt-get install emerald
Now if you goto System -> Preferences – Emerald Theme Manager you can configure an Emerald theme of your choice. By default it doesn't come with any themes so you need to download themes from Gnome-Look.
However you need to tell compiz to use Emerald as its Window Decorator. To do that goto System -> Preferences – Advanced Desktop Effects Settings and under Effects category click on the Window Decoration icon which will take you to its settings. In the 'Command' field delete whatever is in there and add this value to that field
emerald --replace.
Have fun..
I found a nice Emerald theme which kinda reflects the one used by Matt Farrell in the movie Die Hard 4.0. Here are few screeshots of my desktop.









16 comments
Hi,
I'm a new to ubuntu i've tried to install the Ubuntu Server V8.4, but by default it starts with CLI mode, then i tried executing command "startx" but it didn't help. please advice how to switch to GUI mode.
by techtalks on June 28, 2008 at 21:29. #
Ubuntu Server doesn’t come with X windows. On Ubuntu Server if you need to install the Gnome desktop you can install it by running the following command
sudo apt-get install ubuntu-desktop
by Nazly on June 28, 2008 at 23:06. #
Hi
Thanks for the info Nazly. That's one problem down for me. How does cairo-dock work on your laptop? Did you try it? Also do you experience any slow downs when using emerald?
by Ilham Uwias on July 1, 2008 at 16:09. #
I haven't tried cairo-dock so I can't comment on its performance but I will give it a try and let u know. When it comes to using emerald I don't feel a slowdown, I mean not at all. Its very stable and smooth.
by Nazly on July 1, 2008 at 17:56. #
Can you please let me know how much your laptop was coz im hunting for a new one these days.. did u buy it from epsi?
by jay on July 9, 2008 at 16:27. #
jay, I actually didn't buy it at Epsi because I got this thru an offer from Digital base with upgraded Memory. I bought it for 79K and and at EPSI when I checked it the same model was 85K with 512MB RAM. Check with Digital Base, not sure whether they will have the offer still.
by Nazly on July 9, 2008 at 17:19. #
What theme do you have for gnome? It looks awesome!
by davisr on July 26, 2008 at 09:23. #
I got the Emerald Theme from here
Die Hard 4.0 – Matthew Farrel’s theme
And you will need this GTK theme to suit the Emeral theme
Clearlooks_blackblue
by Nazly on July 26, 2008 at 11:04. #
Hi, I was just wondering do you have to be connected to an internet source when doing this configuration of the wireless and also would it work on an Asus X50RL?
by Bob on August 9, 2008 at 12:02. #
I bought ASUS X51RL. i install kubuntu 8.04 . but no sound. it show the speaker at the bottom right. can change the volume. but no sound.
by Theja on November 12, 2008 at 18:46. #
I have this laptop. It is a little late to be posting this info @ the end of 08, but this computer works more or less perfectly with ubuntu jaunty (9.04). Even open source opengl acceleration
by Tom Szyszko on July 21, 2009 at 00:25. #
hi, i need some help. i have also asus X51R. Can any one tell me, in my laptop duel boot is possible or not.
by md.Zaman on August 23, 2009 at 11:27. #
can u provide the url of the Matt Farrell theme…?
by ahmed khalid on December 7, 2009 at 16:03. #
Die Hard 4.0 – Matthew Farrel’s theme
http://www.gnome-look.org/content/show.php/Die+Hard+4.0+-+Matthew+Farrel%27s+theme+%28E?content=66714
Clearlooks_blackblue
http://gnome-look.org/content/show.php/Clearlooks_blackblue?content=46165
by Nazly on December 7, 2009 at 17:55. #
Thanks ..its really cool …. i tried to find this theme for ages finally i got it ..thanks v much..
by ahmed khalid on December 8, 2009 at 13:46. #
Hi Nazly. i downloaded the die hard 4 theme, but it’s not working, when i try to install it there’s an error message: Invalid theme
im using ubuntu 9.10, gnome desktop
thank you for your answer
(and when i used the commands on the top, everything went well, until i tape “emerald –replace” .. and i wait .. nthg happens… :/
by Jackson on March 1, 2010 at 05:53. #