Archive for the ‘Windows’ Category.

Thunderbird plain text not wrapping on replys and forwards.

We had an issue here at the office where if we received a plain text e-mail (mostly from outlook users), then reply as HTML it would place the the whole reply in the <pre> tag. This would cause the whole quoted message not to wrap and making it a pain to read and impossible to print.

Here is solution that seems to work so far

  • create userContent.css file  at %appdata%\Thunderbird\Profiles\{your-profile-id}.default\chrome (the chrome folder may not exist)
  • place the following code
  • pre {
    white-space: pre-line; /* css-3 */
    }
    
  • Restart thunderbird and it should be fixed.

Windows 7 Doesn’t remember folder view settings

Finally a fix for Windows 7 and the lack of remembering individual folder view settings!

http://www.geekscribes.net/blog/2011/06/05/solved-windows-doesnt-remember-folder-view-settings/

Windows 7 SMB 2.0 Client doesn’t find new files until reboot

At work we had an issue where two Windows 7 Home Pre clients would not show newly created files on mapped network drive. Normal refresh wouldn’t cut it, but unmount and remount or a pc reboot would. After little of googling I found I wasn’t alone.

http://social.technet.microsoft.com/Forums/en/w7itprogeneral/thread/947489ae-dc86-45f0-ad5e-463a62e1d59f

Even though this topic’s setup was a windows server and here at my office we use Samba 3.6.3 with SMB2.0 enabled. But the symptoms were very similar.  The finger was pointed at the new caching abilities in the SMB2.0 client. The solution was to disable DirectoryCacheLifetime on the client via a registry entry.  Here is Microsoft link for description of DirectoryCacheLifetime http://technet.microsoft.com/en-us/library/ff686200(WS.10).aspx

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters]
“DirectoryCacheLifetime”=dword:00000000

In my experience it seems that only Windows 7 Home Pre clients are effected, our Windows 7 Pro clients have no issues. I applied the registry entry to the Windows 7 Pro machines as well with no side effects.

Convert FLAC to AAC with ffmpeg

Little windows batch script I made to convert 1 flac at a time to AAC (m4a)
C:\ffmpeg.exe -i %1 -c aac -ab 256k -strict experimental "%~d1%~p1%~n1.m4a"
grab ffmpeg.exe from http://ffmpeg.org/download.html

 

Multi-Tasking with crappy applications (MS Word)

Some applications while processing a request can ‘freeze’ or lag the UI of the OS. But most are single threaded applications and I sit on a powerful multi-core desktop. My example Mail Merge in Microsoft Word.  My work around so I can keep working in other applications on my desktop is to make multiple user accounts. So when I want to run a MS Word mail merge I first switch to ‘Jason2’ account and start the long mail merge process, and switch back to my main account to continue working with no UI Lag from the OS.

Silly Windows.

Steam and massive steamapps folder

*** Edit: Sometime in the last few months Steam added a new feature, Steam Library. You can create multiple locations on the same drive, different drives, or even networked drives to install games!.  Networked drive sounds nice! Useful if anyone is running a Cafe of steam users.

I’ve had a few people complain about the steamapp folder size being to big to fit on their main hard drive. So I thought about few solutions:

  1. Install steam on a separate harddrive
  2. Delete/backup games you don’t play?
  3. Use mklink to point all or specific games to another harddrive or network location.
Solution #1 is pretty simple
#2

You could just delete the games you don’t want. Or Above the ‘Delete Local Content’ option is ‘Backup Game Files’. Now it will backup all the games files with compression to a location you pick. It can even break the backup sets into 700mb (CD size) or 4.7GB (DVD sizes) or any custom size.

#3
Useing mklink (windows 7 has it, windows xp requires windows 2003 server resource kit)
ex.
mklink /D “C:\Program Files (x86)\Steam\steamapps” Z:\steamapps
Move your steamapps folder to your destination (Z:) first. Because source folder must not exist.
Could also do parts. like “C:\Program Files (x86)\Steam\steamapps\common” or “C:\Program Files (x86)\Steam\steamapps\username” to different locations if needed.

First!

Hello World! This will be the most boring post ever. For who ever reads this post, my goal with the website is to store notes, steps on how I solved problems, tips, and other computer related things. There has been many times blogs have shown me the way to fix complicated computer issues. So now on I will try to post every computer issues I have with a solution so maybe I can help someone with the same issue.