Wednesday, February 08, 2006

Compiling Perl using ConTEXT on Windows

For executing the perl scripts using custom user commands (I have ActiveState's Perl compiler installed):
  • Go to Options | Environment options... > Execute keys.
  • Press the Add button and type "pl" in the dialog box that appears.
  • Now select one of the function keys (say, F9).
  • Type the full path name to perl.exe in the Execute: box, "%f " in the Parameters: box, and check Capture console output.

Tuesday, February 07, 2006

VMWare 5: USB 2.0 support missing?

VMWare Workstation 5 doesn't support USB 2.0. Although, guest OS can see the USB 2.0 interface through the host, it only allows you to use a USB 1.1 interface while transferring data to a USB attached drive from guest OS.

Ubuntu Breezy: VMWare shared folders not visible in /mnt/hgfs???

I cannot figure out how the shared folders which are supposed to appear in /mnt/hgfs under Ubuntu breezy as a guest OS in VMWare workstation 5.5 would appear. I dont get any errors at all, but it shows me 0 files when I try ls in that folder. Should do some searching to find it.

history.dat file in firefox

I copied the history.dat file from my previous Ubuntu installation (hoary) to a newly created virtual machine (Ubuntu Breezy) and it seems to work fine. I was not sure if this file is somehow encrpted with the default user id created by firefox (something like 3hsdj49348934j ;)

now that it works, it seems the file is just a format not human readable, but definitely an encrypted file, so you can go ahead and clean install your ubuntu with no loss in data or settings (that is if you backup everything)

Ubuntu Breezy: gaim for yahoo pager port #

Pager port: 80 works for me... the default port 5050 doesn't work.

Windows explorer crash opening a folder with "thumbnail" view

I found it to be very annoying when WE was crashing as soon as I try opening a folder (multimedia content) with "thumbnail" preview option set. It is because WE tries to open/run/preview the MM file and thus if the file is corrupt WE will crash.

My SOLUTION:

Just change the view option to list or details :)

the eventual solution is to find the bad file and remove it.

here is something I found on internet while searching for solution:

http://www.moviecodec.com/topics/3588p1.html

1. "Windows XP Explorer has a 'feature' to provide a preview in the Details box on the left of the file you have selected, if it's supported. Image files, HTML pages, video clips, MP3s, etc are all previewed (even with the folder view open).

If you have a large movie clip and it either is corrupt (ie. no index from a partial download) or it uses an unsupported codec, then Explorer tries to load the whole file. This can slow your computer a lot and prevent deleting/renaming/moving/etc the file until it's finished.
Simply do the following steps:
1) Open a command window (Start->Run, type in 'cmd' hit enter)
2) To remove image preview, type and hit enter
regsvr32 /u shimgvw.dll
3) To readd image preview, type and hit enter
regsvr32 shimgvw.dll
4) To remove media preview, type and hit enter
regsvr32 /u shmedia.dll
5) To readd media preview, type and hit enter
regsvr32 shmedia.dll

2. even easier - make two batch files

shmediaoff.bat that has this line in it:
REGSVR32 /U SHMEDIA.DLL

and then shmediaon.bat (to turn preview for files that works) back on:
REGSVR32 SHMEDIA.DLL

3. this also seems to fix the avi problem without having to turn the SHMEDIA.DLL on/off.

http://www.annoyances.org/exec/forum/winxp/t1061425126

registry hack. Run regedit and find the following key :- HKEY_CLASSES_ROOT\SystemFileAssociations\.avi\shellex\PropertyHandler Delete the "Default" value then close. You should now be able to see .avi previews almost instantly but without the crashes.

To use this fix make a new text file, paste the following code in it, file extension change to inf. Rick click on the file and choose install. Done.

[version]
signature="$Windows NT$"

[DefaultInstall]
DelReg = Reduce.Reg

[Reduce.Reg]
HKLM, "SOFTWARE\Classes\CLSID\{87D62D94-71B3-4b9a-9489-5FE6850DC73E}\InProcServer32"
Suggested links:

http://www.tweakxp.com/tweak2123.aspx
http://forums.tech-arena.com/archive/index.php/t-4971.html

hope windows Vista improves on this feature ;)

Monday, February 06, 2006

Welcome

lets get going...