When running Windows apps under Linux via wine, it’s always a good idea to have each app in it’s own sandbox or wine bottle if you will. After you get an app running with wine, you can store the bottle and grab it from the cellar when you need it.
A wine bottle, is similar to a clean windows install. When creating it, you can specify if the architecture should be 32 or 64bit, which basically emulates a 32 or 64bit machine with windows. You can also keep for each bottle individual settings via winecfg.
Here is how you can create one:
winearch=win32 WINEPREFIX="/opt/cellar/civ5" winecfg
This will create a clean 32bit wine prefix, stores everything in the “/opt/cellar/civ5″ folder and opens the winecfg app for that prefix. Note that in order to use that prefix, you must always make sure you specify it:
winearch=win32 WINEPREFIX="/opt/cellar/civ5" wine notepad
I keep all my wine bottles on an external HDD mounted under /opt/cellar. As long as the correct wine version is installed on each machine for that bottle, i can take the HDD and use the apps on any Linux machine.
The wine version that comes with Ubuntu by default is often old so a good idea is to add the official wine repo to the apt sources and install from there:
sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get install wine1.7
If you are using Ubuntu, there is a good chance you get kernel upgrades once in a while. There is no reason, after you’ve booted the new kernel and verified that everything is working properly, why you should not delete all older kernels. This will free up a bit of that root partition. If you are like me and mount / on a small SSD partition, every MB counts. For me the modules for each kernel version are around 160MB.
Here is a CLI one-liner to delete all order kernels, leaving only the latest on the system:
sudo apt-get remove --purge $(dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d')
# Become root
# Do a couple of pre-requisites
apt-get install build-essential
ln -s /usr/src/linux-headers-$(uname -r)/include/generated/uapi/linux/version.h /usr/src/linux-headers-$(uname -r)/include/linux/version.h
# Extract each of the VMware module packages
for file in *
tar xvf $file
# Fetch and apply patches required for this release...
patch -p0 < vmci.linux-3-8.patch
# Put the VMware module source packages back together again
for file in *-only
tar cvf `basename $file -only`.tar $file
rm -rf *-only
# Tell VMware to rebuild the modules - can also just run the command "vmware" as root
vmware-modconfig --console --install-all
FROM table_name a
WHERE EXISTS (
FROM table_name b
WHERE b.name = a.name
LIMIT 1 , 1
ORDER BY name ASC
You can make it possible to mount HFS+ as Read and Write in Ubuntu Linux.
sudo apt-get install hfsplus
Then, use the -o force option to force the drive to mount:
sudo mount -o remount, force /dev/sdX /your/mount/point
There are a few possible causes including problems with mod_security.. however, if you are working behind a .htaccess/.htpasswd files to protect your site, you need to allow POST calls to go through; they’re being blocked b/c the AJAX call doesn’t know to use your cookie.
to your .htaccess and you should be good to go.
I needed to see the changes to a folder in realtime and after a bit of looking around, i’ve found this solution:
watch -d -n 1 'df; echo " "; echo "Local folder updates:"; ls -FIAt;'
If you want to refresh at longer intervals (not 1s as it is now) all you have to do is change the value of the -n parameter as so:
watch -d -n 10 'df; echo " "; echo "Local folder updates:"; ls -FIAt;'
This will show you the changes to the current folder every 10s.
After installing the Google Talk plugin, run the following to add an override for your video settings.
sudo echo "O3D_OVERRIDE_RENDER_MODE=2D" >> /opt/google/talkplugin/envvars
Use sudo if necessary. Restart your browser after doing this and check to see if you can see video streams now.
Go to Tools -> Plugins -> Settings -> Add
Name: Java Ayanata
then install the plugin
more details: http://danjared.wordpress.com/netbeans/