Showing posts with label Mac. Show all posts
Showing posts with label Mac. Show all posts

Wednesday, September 28, 2011

Nvidia GT540M GPU with Optimus technology! ( Stay away Linux and Mac users!!! )

9 comments

Nvidia GT540M GPU with Optimus technology! ( Stay away Linux and Mac users!!! )

  I recently bought an Acer aspire 4750G laptop and it came with a high performance nvidia GT540M GPU with the nvidia optimus technology. In my last post I described what is called as the nvidia optimus technology and what the use of it.


             I described the issues with linux operating systems with this gpu. And I suggested you some answers too. I was able to disable my nvidia card. Even if I could disable it I’m currently working with a wubi installation of linux ubuntu 11.04 natty narwhal.  It doesn’t  give me a chance to boot in to installation page even. So I’m just saying that keep away from the notebooks with GT540M if you are a hardcore linux user.

               This story is also common for mac users too. I mean for hackintosh computers. I was also looking to install mac os x lion in my new sub notebook. But unfortunately I found that there are some users who are complaining about display resolution conflicts and errors on installation procedure with these laptops which includes nvidia GT540M. I couldn’t check mac os x yet. But I suggest you to find some more information on hackingtosh support for this gpu adaptor.

    If you are a hardcore gamer and a lovely windows user laptops with this gpu is best for you. But if you are a one who willing to make your day with linux or mac os I suggest you to find a different kind of gpu. What about intel HD3000? Laptops with 2nd generation laptops comes with this as this gpu is a internal in processor. Get a cheaper intel hd and you will be fine. If you are handy in tweaking, any laptop will suit you! See ya folks later :D

Saturday, August 27, 2011

Compiling Objective C inside Linux Ubuntu 11.04 Natty Narwhal! ( Guide to Installing and working with GNUSTEP )

16 comments

         As a very Apple addicted person I always wanted to learn developing iOS and Mac apps. When I got my first iPod touch last december I started to love it's operating system called iOS. And I was amazed by the iMacs and Macbook Pros in Apple stores but I couldn't buy one yet. You know, money matters :(   Even though I don't have a Mac to do iOS developing I wanted to do those stuff so badly. Objective C is used for that and I wanted to learn it so badly. But I couldn't as I had my high school exams. But finally last night i figured it out :D So if you are a person just like me, who have endless willings to learn iOS and Mac programming without a mac this is the place :)


            Objective C is used to make iOS and Mac apps. This language is derived from C language and this is a mid level object oriented programming language which was developed by Apple Inc. Prior experience with C++ or C will be a extra advantage. But it's not necessary. Objective C is currently compiled with xCode software in Mac Os X. But don't worry you can do it as this way too....   Okay let's get to work then.

You should have installed Linux ubuntu for this. I tried this via linux Ubuntu 11.04 - Natty Narwhal. But this should work with other versions too. Please kind enough to inform me if there's any problem with older versions. Well this guide consist of two steps. 1) Installing 2) Compiling ............. Let's do this :) Remember to enter your computer password whenever terminal requies it :D




         
                          Installing GNUSTEP in Ubuntu and getting it worked :)


1) Open the terminal. And enter below commands one by one. You should have a working internet connection dude :)

2) sudo apt-get -y install build-essential

3) sudo apt-get -y install gnustep

4) sudo apt-get install gobjc

5) sudo apt-get install gnustep-make

6) sudo apt-get install libgnustep-base-dev


Okay It's done.... Now you have successfully installed GNUSTEP in your computer. Well I know it took some long time to download it as it cost about 200MB :P But be happy you can run Objective C ! :D


               
                               Compiling a simple program with GNUSTEP !

1) Open the terminal.

2) Type gedit name.m

   Info - You should use the .m extension to compile Objective C programmes. If you use .txt it will be frikkin useless. And use your desired name in the "name" field. And use it by changing everywhere hereafter in my codes.


3) After you hit ENTER key after typing last code a Gedit text editor will be opened. As "Home" directory is the default in terminal this will be saved in "Home" directory...

4) Then type this simple sample code in that text editor. And then hit the " Save " button and close it ;)

 
#import <Foundation/Foundation.h>
int main (int argc, const char * argv[])
{
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
NSLog (@"Objective C is great");
[pool drain];
return 0;
}



5) Now come back to the terminal and type-     . /usr/share/GNUstep/Makefiles/GNUstep.sh

   info - You should enter this code everytime you start a new terminal window. I know this is a disadvantage. But it does the job ;)


6) gcc `gnustep-config --objc-flags` -lgnustep-base name.m -o name

   info - Change the "name" field to the name of gedit file you created at first step!


7) ./name

   info - After hitting enter button you will get a phrase in the terminal saying " Objective C is great :D "







Congratulations dude,,,, You have just made your first effort a success in Objective C :)

AND FOR LEARNING OBJECTIVE C I recommend you the book " PROGRAMMIN IN OBJECTIVE C 2.0 by Stephen G. Kochan " .. I downloaded a copy from thepiratebay.org But I don't remember the link for that torrent. If you couldn't find any book and need a one so badly, just ask me and I'll upload it. :)



Any questions??? Feel free to ask ;)

Sunday, February 27, 2011

Transforming Linux Ubuntu 10.04 Lucid to Mac OSX snow Leopard

0 comments
Okay... Today we are about to transform linux ubuntu 10.04 Lucid in to apple mac OSX snow leopard. As for this moment this moment this transformation pack is only available to Lucid 10.04. I mean the stable one. There is an non stable alpha vesion for 10.10 too. So I got to install this on my ubuntu 10.04 Lucid.



This will make your ubuntu desktop transform into a Mac OSX. It's not only
theme. It installs some other softwares too.
 
 
Macbuntu-10.04 theme based on GTK Leopard
Macbuntu-10.04-Icons based on Mac4Lin Faenza Icons
Macbuntu-10.04-Cursors based on Mac4Lin Cursors
Mac OSX backgrounds
Mac OSX fonts
Firefox, Thunderbird and Chrome themes
Global Menu
Docky
Ubuntu-Tweak,
Cheese
Compiz Extras
Metacity 


First thing is to download the package files

wget https://downloads.sourceforge.net/project/macbuntu/macbuntu-10.04/v2.2/Macbuntu-10.04.tar.gz -O /tmp/Macbuntu-10.04.tar.gz
 
Then run these too in the terminal :D
 
tar xzvf /tmp/Macbuntu-10.04.tar.gz -C /tmp

cd /tmp/Macbuntu-10.04/

./install.sh
 
 
 
 
After installing macbuntu it will automatically direct you to another installation. After installing those theme will be changed. But don't stop. Reboot the PC and get amazed :D :D :D :D