Header

Alternative Syntax Highlighting for Adobe Dreamweaver CS3, Aptana Studio & Notepad++

by Reazal Aug 10, 2008 2 comments Bookmark

When I'm coding, I prefer light text on dark background. White page will burn my eyes faster. So if you are in the same boat as me, this post might make your day!

Warning: Backup your style first (if any)!
Tips: Please click each screenshots to get the full view.


Adobe Dreamweaver CS3

Operating System: Windows XP | Font used: Consolas*.








Download


How to use?
Replace the Colors.xml in C:\Documents and Settings\USERNAME\Application Data\Adobe\Dreamweaver 9\Configuration\CodeColoring with the file you download.


Aptana Studio

Operating System: Ubuntu Linux | Font used: Bitstream Vera Sans Mono.








Download


How to use?
In Aptana menu, go to Window --> Preferences. Then you get a window with lots of options in the left. Choose Aptana --> Editors --> CSS or HTML or JavaScript --> Colors.



Then you just use the import function on your right. Just make sure you import the right .col file to the right Colors section.


Notepad++

Operating system: Windows XP | Font used: Consolas.








Download


How to use?
Replace the stylers.xml in C:\Program Files\Notepad++ with the file you download.

---
* When I use Dreamweaver in Linux, the best programming font for me is Bitstream Vera Sans Mono.

¶ Continue reading »

Install Aptana Studio in Ubuntu Hardy Heron (8.04)

by Reazal Apr 26, 2008 9 comments Bookmark

Today I have upgraded to Hardy Heron. It was a clean and fresh install. However, the most painful part after the upgrade was the installation of Aptana Studio 1.1.

The installation in Hardy Heron is pretty easy actually. You can just extract the zipped file (Aptana_Studio_Setup_Linux.zip) virtually anywhere. To fire up the application, just double-click the AptanaStudio. It does run, but I got this error message:

Embedded browser not available..bla bla bla


It took me several hours in order to find out the solution for that error. It was very frustrating actually when in the end, installing Firefox 2 solved the problem!

Yeah guys, I think the error is caused by the default web browser (Firefox 3 Beta 5) in Hardy Heron. So how to install Firefox 2? Just install it from the repositories. But you don't have to uninstall the Firefox 3 Beta 5.

If you have the same luck as mine, your Aptana Start Page tab will show something like this after that:


Good luck!

¶ Continue reading »

How To Run Dreamweaver CS3 in Ubuntu Linux Using Wine

by Reazal Jan 7, 2008 55 comments Bookmark

After several attempts, at last I manage to run Adobe Dreamweaver CS3 in my Linux box. I had read several tutorials but in my humble opinion, none of them is complete. So this tutorial is basically a hybrid of several tutorials that I mainly used to make it work.

I am using Ubuntu 7.10 (Gutsy Gibbon) and Wine 0.9.46. Firstly you have to make sure the Dreamweaver had been installed in your Windows partition before you can run Dreamweaver in your Linux.

You may want to read the comment section as well.

PART A: Copy essentials folders from Windows to Ubuntu

1) Open your /.wine directory. It is located at /home/ubuntuusername and it is hidden by default. So you have to unhide it first. In your File Browser:

Edit --> Preferences --> Views

Check the "Show hidden and backup files".

If you are a first time Wine user, then you have to configure it first before the .wine folder can appear in its unhide state. Type this:
winecfg


2) Now it is a time to copy several important folders from your Windows partition into your /.wine directory in Ubuntu. In my Ubuntu, the C-partition (i.e. Windows partition) is known as sda1 and its location is /media/sda1.


3) Here are the 4 directories from Windows that you must copy into Linux:

i) From Windows, copy Adobe folder from:
/media/sda1/Program Files

to the:
/home/ubuntuusername/.wine/drive_c/Program Files


Note: If you have Adobe Photoshop installed in your Windows, you will find it in the Adobe folder too. So you don't have to copy the whole things in Adobe folder. BUT, to makes thing easy, just copy the whole Adobe folder unless you really really know which folders and files inside the Adobe folder that are not important for Dreamweaver to run in your Ubuntu.


ii) Copy Adobe folder from:
/media/sda1/Documents and Settings/Windowsusername/Application Data

to the:
/home/ubuntuusername/.wine/drive_c/windows/profiles/All Users/Application Data

Please take note that in this ii) step, I did not choose All Users folder in Windows because I am the only user who use my computer.


iii) Copy Adobe folder from:
/media/sda1/Program Files/Common Files

to the:
/home/ubuntuusername/.wine/drive_c/Program Files/Common Files


iv) Copy WinSxS folder from:
/media/sda1/WINDOWS

to the:
/home/ubuntuusername/.wine/drive_c/windows



PART B: Deal with the Dreamweaver registry

1) Boot to Windows. This is because you must export the Dreamweaver registry keys by using regedit.


2) Go to:
Start --> Run --> type "regedit" and press Enter


3) Export the HKEY_LOCAL_MACHINE/Software/Adobe/Dreamweaver registry key to C:\dreamweaver.reg and boot back into Linux.


4) We need to convert this registry key to ASCII format by using recode utility. Install it by typing this in the terminal:
sudo apt-get install recode


5) Copy the registry to your /home/ubuntuusername directory. Now you are ready to convert it to ASCII:
recode ucs-2..ascii dreamweaver.reg


6) Now you have to import the converted registry keys to Wine:
wine regedit dreamweaver.reg


PART C: Use the Cracked Version of Dreamweaver.exe file

The main trick is to use the cracked version of Dreamweaver.exe. The original Dreamweaver.exe is located at:

/home/ubuntuusername/.wine/drive_c/Program Files/Adobe/Adobe Dreamweaver CS3

To replace it with the cracked version, you can download the torrent here. However I take no responsibility for whatever will happen to you and your computer by using this controversial trick. But, if you do not use this trick, your Dreamweaver CS3 will be terminated prematurely and you will get this license error message:
Dreamweaver CS3 will not run as the service FNPlicensingservice is not running.

If you are not happy with this step, you can always install Windows in your Linux by using InnoTek VirtualBox (it is in the repositories) and after that you can freshly install Dreamweaver CS3 in it. The tutorial can be found here.


PART D: Run the Dreamweaver CS3!

In your terminal, type:
cd .wine/drive_c/Program\ Files/Adobe/Adobe\ Dreamweaver\ CS3/
wine Dreamweaver.exe

Alternatively, you can also add shortcut in the menu.


To do so, right-click the menu, and choose Edit Menus. Then click New Item and you'll get something like below:



Name: Adobe Dreamweaver CS3 (or whatever you like)
Command: /home/ubuntuusername/.wine/drive_c/Program\ Files/Adobe/Adobe\ Dreamweaver\ CS3/Dreamweaver.exe


Eureka, get ready to embrace the power of Dreamweaver in your Linux! Just leave a comment if it does not work in your system. Here is the snapshot of my Dreamweaver running inside Ubuntu. Yes, I changed the colour syntax because I can't afford to burn my eyes by staring at the white screen for a long period of time ;)

Dreamweaver CS3 in Ubuntu

¶ Continue reading »