Making the Arduino-IDE a bit more e3PC friendly. ------------------------------------------------- The standard layout of the Arduino-IDE enforces a window-height that extends beyond the screen-height of the e3PC. Some hardcoded limitations in the source make it impossible to use the IDE on the e3PC with moving the whole application window on the screen. I have made a few changes to the code, that improve the situation a little bit: - The Splitpane that divides the editor-panel from message can now be resized, so that both panels are fully visible (with scrollbars if necessary). - I removed the statusbar that displays the current linenumber. - I switched the look-and-feel of the IDE from "GTK" to "Metal" - I switched to Java Swing Fileselection Dialogs because they are easier to navigate on a small screen. - Added an option to run the IDE in a undecorated window with EasyMode- Menubar still visible It's now possible to work with the IDE in e3PC-EasyMode and still have the MenuBar at the bottom of the screen. INSTALL ------- The whole procedure has ONLY been tested on Arduino Version 0010. So you might have to upgrade to this version to make it work. 1) Save the current IDE-Version so it can be restored later: - go to the directory where you installed Arduino-0010 > cd [DirWhereArduinoIsInstalled] - cd into into the lib-directory > cd lib - save a copy of the current IDE > cp pde.jar pde.jar.original 2) Install the new IDE: - download/save the file "pde.jar.eee" to the directory [DirWhereArduinoIsInstalled]/lib - copy the file to pde.jar so it replaces the current IDE > cp pde.jar.eee pde.jar - start the IDE and see if you like the different looks. 3) Running the IDE fullscreen There is no easy way for a java-application to detect wether it is run on a e3PC. Sowe have to give a little help here... The arduino-ide will check wether a file named "eeepc" exists in the directory /etc. If it does it will remove all window-decorations from the application-window and resize itself that only the EasyMode menubar is visible. Install: - create a new file named "eeepc" (case matters!) in directory where the arduino IDE saves the properties (which is usually /home/user/.arduino ) > touch ~/.arduino/eeepc There is no need for any content in the file. The IDE will startup fullscreen, when it exists... Uninstall : If you don't like the fullscreen-mode simply remove the file ".arduino/eeepc" > rm ~/.arduino/eeepc The IDE will then start as a normal (decorated) window again. RESTORE (the standard Arduino-IDE) ------- -------------------------- If you don't like the new IDE looks it is easy to restore the old one: - go to the directory where you installed Arduino-0010 > cd [DirWhereArduinoIsInstalled] - cd into into the lib-directory > cd lib - restore the original IDE from the saved version > cp pde.jar.original pde.jar talled Arduino-0010 > cd [DirWhereArduinoIsInstalled] - cd into into the lib-directory > cd lib - restore the original IDE from the saved version > cp pde.jar.original pde.jar