Aptana and Eclipse Mouse Click Problems

January 21st, 2010  –  Category: Information, Webmaster Resources, Webmaster Tools  –  1 Comment »

  • Share

Recently, both the Aptana and Eclipse IDE’s have been giving me mouse clicking problems but I finally found the solution. To fix the problem you will need to do the following:

  1. Create a new empty file called aptana.sh that you will use to launch Aptana.  I store my install of Aptana in /home/username/Applications/aptana so I created the launch script in /home/username/Applications/aptana.sh.
  2. Put the following code in the empty file and save it.  It will become what is called a wrapper script for launching the Aptana application.  Change the paths to match your environment.
    #!/bin/sh
    export GDK_NATIVE_WINDOWS=1
    /home/username/Applications/aptana/AptanaStudio
  3. Make the script executable.  You can do this by right-clicking it in gnome and selecting Properties -> Permissions -> Allow executing file as program.  For the purists: chmod +x /home/username/Applications/aptana.sh
  4. Create a launch script.  For the sake of simplicity, I create a launch script for it on my desktop by right-clicking on the desktop and selecting Create Launcher.
    Name: Aptana
    Command: /home/username/applications/aptana.sh
    (browse to and select the script you created)

You should be able to use a very similar setup to fix mouse clicks in Eclipse as well.  Just change the paths and filenames where appropriate.  Keep in mind that the application for Aptana is called AptanaStudio whereas in Eclipse it is simply called eclipse.

You can now test your script by double clicking the launcher or running the shell script you created.  The mouse clicking problems should be fixed.

Related Reading:

Murach's PHP and MySQL (Murach: Training & Reference)Murach's PHP and MySQL (Murach: Training & Reference)This book was developed by the same team that authored Murach's JavaScript and DOM Scripting, and it has the same strong content organization that let... Read More >
PHP for the Web: Visual QuickStart Guide (4th Edition)PHP for the Web: Visual QuickStart Guide (4th Edition)With PHP for the World Wide Web, Fourth Edition: Visual QuickStart Guide, readers can start from the beginning to get a tour of the programming langua... Read More >
PHP and MySQL Web Development (4th Edition)PHP and MySQL Web Development (4th Edition)PHP and MySQL are popular open-source technologies that are ideal for quickly developing database-driven Web applications. PHP is a powerful scripting... Read More >

One Response to “Aptana and Eclipse Mouse Click Problems”

  1. Max Says:

    not helped

Feedback


Recommended:

Professional WordPress (Wrox Programmer to Programmer)Professional WordPress (Wrox Programmer to Programmer)An in-depth look at the internals of the WordPress system. As the most popular blogging and content management platform available today, WordPress is ... Read More >
Drupal: The Guide to Planning and Building Websites (Wrox Programmer to Programmer)Drupal: The Guide to Planning and Building Websites (Wrox Programmer to Programmer)A complete lifecycle guide to planning and building a site with Drupal

Drupal allows you to quickly and easily build a wide variety of web sites, fr... Read More >

PHP for the Web: Visual QuickStart Guide (4th Edition)PHP for the Web: Visual QuickStart Guide (4th Edition)With PHP for the World Wide Web, Fourth Edition: Visual QuickStart Guide, readers can start from the beginning to get a tour of the programming langua... Read More >

Other Information:

Programming Related

Articles we've written related to the topic of PHP Programming.


Website Development Tips

Tips and strategies related to the development of great websites.


General Information & Resources

General information and resources from WarkenSoft Productions.