On Mac OS X, you have to double-click the buttons in the Toolbox to make them activate. To fix this annoyance, run the following from command line and then restart X11:
defaults write org.x.X11 wm_click_through -bool true
On Mac OS X, you have to double-click the buttons in the Toolbox to make them activate. To fix this annoyance, run the following from command line and then restart X11:
defaults write org.x.X11 wm_click_through -bool true
This is the vi command to find each occurrence of ‘cat’ and replace with ‘dog’:
:%s/cat/dog/g
Install m2eclipse. See instructions on http://maven.apache.org/eclipse-plugin.html.
By default, Eclipse uses the JRE as the default Java environment. When you try to create a new Maven project, you will get the following message:
The Maven Integration requires that Eclipse be running in a JDK, because a number of Maven core plugins are using jars from the JDK.
Please make sure the -vm option in eclipse.ini is pointing to a JDK and verify that Installed JREs are also using JDK installs.
My JDK is installed here:
C:\Program Files\Java\jdk1.6.0_22
To resolve this, first set the JDK as the default Java environment for eclipse. It is set under Window -> Preferences -> Java -> Installed JREs. Click on the thumbnail below for a screenshot.
Next, add the following to eclipse.ini:
-vm
C:\Progra~1\Java\jdk1.6.0_22\bin\javaw.exe
Some notes on the -vm option:
Below are the contents of my eclipse.ini:
-startup
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.0.v20100503
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm
C:\Progra~1\Java\jdk1.6.0_22\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
Was trying to install Java EE 6 SDK on Ubuntu 10.04 and got the error “JAVA_HOME not defined”. Defined JAVA_HOME by adding it to the path:
1. Install Java:
apt-get install sun-java6-jre
apt-get install sun-java6-jdk
2. sudo vi /etc/profile.d/jdk.sh
3. Add the following two lines:
export JAVA_HOME=/usr/lib/jvm/java-6-sun
export PATH=$JAVA_HOME/bin:$PATH
4. Save and exit
5. Logout and login.
6. Install Java EE 6 SDK:
sudo ./java_ee_sdk-6u1-unix.sh
I’m finished posting all the notes from my old site. The notes are really old. Newest is from September 2007!
When user logs in, a window pops up with:
KDEinit could not launch ‘/usr/bin/autorun’
This error occured after migrating an account from a CentOS machine to a Suse machine.
The solution is to remove:
~/.kde/Autostart/Autorun.desktop
Solution is from: http://www.euglug.org/pipermail/euglug/2004-November/001764.html
Upgrading Ubuntu 2.6.17-10 to 2.6.17.11 broke the wireless on my laptop. I use Prism 2.5 on
a Compaq Presario 2500. The following is the fix:
This fix is from http://www.ubuntuforums.org/showthread.php?t=358004&page=6 .
See http://ubuntuforums.org/showthread.php?t=91101
Include /etc/phpmyadmin/apache.conf