My very own knowledge base ☺
Linux
How to install 32bit Flash 7 on x86_64 Fedora Core 5
From http://www.gibix.net/…luginwrapper download nspluginwrapper RPMs, both plugin (e.g. nspluginwrapper-0.9.90.1–1.x86_64.rpm) and a viewer RPM (nspluginwrapper-i386–0.9.90.1–1.x86_64.rpm).
Install the RPMs (first the one with „i386“ in the name), just double click on the RPM file and than say Yes to all questions :-)
From http://www.adobe.com/…download.cgi?… download install_flash_player_7_linux.tar.gz, open the archive and extract the libflashplayer.so file.
As a root copy the file into the /usr/lib64/mozilla/plugins directory:
su -c "cp libflashplayer.so /usr/lib64/mozilla/plugins"
Run this command:
su -c "nspluginwrapper -v -i /usr/lib64/mozilla/plugins/libflashplayer.so"
You should see:
Install plugin /usr/lib64/mozilla/plugins/libflashplayer.so into /usr/lib64/mozilla/plugins/npwrapper.libflashplayer.so
Now run Firefox and you should be able to use flash! However note that the solution is not extremely stable, so I recommend to use something like SessionSaver .2 so you don't lost open tabs.
Setting Linux Firefox to behave like the Windows version
I use Firefox both under Linux and Windows so I hate if each version behaves differently. Type about:config into the URL bar to set these options.
Clicking middle mouse button on tab title closes tab:
middlemouse.contentLoadURL -> false
Middle mouse button on page switches to scrolling cursor:
general.autoScroll -> true
Fedora 5 on shutdown shows error „This utility only unmounts cifs filesystems“ on CIFS mounted entries
Change SELinux to permissive mode or disable it at all.
Java
How to set Windows native look and feel as default?
Create swing.properties file in C:\Program Files\Java\jre1.x.x_0×\lib with this content:
swing.defaultlaf=com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Eclipse
After PHPEclipse installation the Preview PHP Browser does not work
Set correct DocumentRoot in the PHPEclipse configuration Project Defaults.
ASP.NET
Server.Transfer()
Like Response.Redirect() but on the server side.
Windows XP
Disabling the welcome screen enabled by Net Framework installation
Open the Start menu and select Run. Type in:
control userpasswords2
Uncheck the box User must enter a username and password.
HTML Help (CHM) files do not work on network mapped drives
Solution: http://www.olsonsoft.com/…/tn10009.htm
How to add entry to file menu which is shown when you right click on the file?
Create and run such .reg file:
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\.extension] @="ApplicationIdentifier" [HKEY_CLASSES_ROOT\ApplicationIdentifier] [HKEY_CLASSES_ROOT\ApplicationIdentifier\Shell] @="open" [HKEY_CLASSES_ROOT\ApplicationIdentifier\Shell\open] @="Name of the action" [HKEY_CLASSES_ROOT\ApplicationIdentifier\Shell\open\command] @="c:\\path\\to\\the\\file.exe \"%1\""
That associates to a particular extension. If you want this for all files do instead:
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\*] [HKEY_CLASSES_ROOT\*\shell] [HKEY_CLASSES_ROOT\*\shell\Identifier] @="Name of the action" [HKEY_CLASSES_ROOT\*\shell\Identifier\command] @="c:\\path\\to\\the\\file.exe \"%1\""
Or if you want that to be be the default operation:
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\*] [HKEY_CLASSES_ROOT\*\shell] [HKEY_CLASSES_ROOT\*\shell\open] @="Name of the action" [HKEY_CLASSES_ROOT\*\shell\open\command] @="c:\\path\\to\\the\\file.exe \"%1\""
Add comment
EditLast updated on: 2006-07-19 16:27