Nov 7 2009

Changing resolution of your Ubuntu Server command line in VMWare Fusion

Once again I find myself blogging about something that took way too long to solve. If you want to change the console / cli / command line resolution of your Ubuntu Server running in VMWare Fusion then this is what you need to do:

Edit the grub template file:

sudo vi /etc/default/grub

Add the desired resolution from the table below to the file:

    | 640x480  800x600  1024x768 1280x1024
----+-------------------------------------
256 |  0x301    0x303    0x305    0x307
32k |  0x310    0x313    0x316    0x319
64k |  0x311    0x314    0x317    0x31A
16M |  0x312    0x315    0x318    0x31B
GRUB_CMDLINE_LINE="vga=0x317"

Trigger an update to all the grub config files by issuing the following:

sudo update-grub

Check it works :)

sudo reboot

You will get a message saying that “vga=” has been depreciated and that you should use GFXPAYLOAD instead. Unfortunately you cannot easily add that param to your /etc/default/grub file without changing a whole bunch of other stuff.

See here for more information:

Link 1

Link 2

UPDATE: I’ve since been told this doesn’t work for all users. I’ve done a bit more searching and the easiest solution is to simply use Mac OSX Terminal at full screen :)


Jun 6 2009

NetBeans, Apache, PHP, XDebug and Symfony on Mac OSX… easy!

Six months ago I tried to get Apache, PHP, MySQL and Symfony on my Mac OSX build, so that I could avoid using a CentOS based dev environment I was running in VMWare Fusion. After weeks of struggling with compiling apache, php and mysql I gave up and stuck with CentOS Linux.

Today I stumbled across the following two tutorials as a result of switching to the NetBeans IDE for my php development work. In short, using the free version of MAMP and by following the steps described in the second tutorial you can be up and running with Symfony dev environment on your Mac. ;)

Happy coding!


Mar 3 2009

Want to add FLV support to QuickLook in Mac OSX?

My answer to this questions was a big YES! Dug around the Internet and found the homepage of XDD(?).

http://homepage.mac.com/xdd/

In addition to his/her cool FLV QuickLook plugin he/she has also created a Folder and Archive plugin for QuickLook.

  • Download and install Perian
  • Simply drop the .qlgenerator file into “/Library/QuickLook”
  • Type “killall Finder” on the command line in a terminal window (if you don’t know what this is simply reboot)
  • Browse some .FLV files in Finder and you should be able to hit spacebar to bring up QuickLook – Voila!

My thanks go to XDD ;)