Archive for category Software

MKV videos slow as hell

I noticed that the initial opening of mkv files was becoming increasingly slow and that it appeared to depend on the number of mkv files in the same folder.

The culprit? A setting in Haali Media Splitter.

To prevent the scanning of other mkv files when playback begins use this setting in Haali:

Options -> Input -> Try to open linked files -> NO

Tags: , , ,

Windows Registry permissions reset

Windows Registry permissions can be mangled by third party applications such as Anti-Virus or Firewall applications attempting to give you more “security”. The downside of this is it can cause havoc when you try to install other software or drivers.

Thankfully it is easy, albeit time-consuming, to reset the registry permissions with just a few commands:

cd /d "%ProgramFiles%\Windows Resource Kits\Tools"
subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f /grant=system=f
subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f /grant=system=f
subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f /grant=system=f
subinacl /subdirectories %SystemDrive%\ /grant=administrators=f /grant=system=f

Tags: , ,

SSH Proxy

Did you know that OpenSSH includes function to act as a SOCKS4 and SOCKS5 host? (I didn’t)

It is as simple as creating a “Dynamic forwarded port” in PuTTY or using the -D switch with the SSH client.

Tunnelling just became a whole lot easier.

References

HOWTO: Secure Firefox and IM with PuTTY

Tags: , ,

Comparison of Twitter clients

Echofon

(formally known as Twitterfox)

Pros Cons
  • Easy to favourite, reply, retweet
  • Shortcut key for open and paste in current page’s url
  • Automatically shrinks urls
    Uses browser’s dictionary
  • Easy to open selected tweet’s owner’s page in browser
  • Compact user interface
  • Preview destination of short urls before clicking
  • Only loads subset of recent tweets, not all since last runtime
  • Seems to randomly switch between using bit.ly and tinyurl.com
  • Ugly theme since renaming to “Echofon”
  • No marking of posts as read

Tweetdeck

Pros Cons
  • Preview destination of shortened links before opening in browser
  • Can mark posts ‘read’
  • Fixed height for all tweets wastes precious screen space.
  • NO colourcoding of text (eg. links, usernames, etc)
  • Marking post ‘read’ only marks it in current tab
  • No smooth scrolling, scrolls item by item

Seesmic

Pros Cons
  • Different Tweet types are colourcoded (eg. messages, replies, ReTweets)
  • No checklist of current followed accounts, makes it tedious to create a list of friends – have to locate an existing tweet and then click ‘add to userlist’. (compared to how Tweetdeck does it)
  • Adding a user to a list will not bring over their existing tweets (unless you restart the program)
  • No marking of posts as read
  • No smooth scrolling, scrolls item by item

Peoplebrowsr

Pros Cons
  • Has web and desktop versions (thus far appear identical, and settings carry-over between them)
  • Can switch between Lite, Advanced, and Business modes.
  • Can show people’s @replies that are not directed at you
  • Marking a post as ‘read’ markes it in ALL tabs (and changes its colour)
  • Smooth scrolling
  • Preview the destination of short urls
  • Desktop App (Adobe Air) is buggy and slow

Tags: , , , , , ,

Deleting in Gmail IMAP

Getting “Delete” to work as expected in Gmail IMAP was surprisingly complicated.

The default action when a client deletes a message is to archive it (ie: move it to “All Mail”). I didn’t like this because then if I accessed the account from POP the deleted mail would still be downloaded.

Recommended IMAP settings tells you all the things NOT to do, but doesn’t give any useful advice on how to setup clients.

Eventually after trying many different settings I realised the simplest method was to tell the client to MOVE the message to the Gmail Trash folder when it is deleted. To do this in Thunderbird2 required manually editing the prefs.js file to specify a custom IMAP trash folder:

user_pref("mail.server.server#.trash_folder_name", "[Gmail]/Trash");

Note that the case of the trash folder name IS important.

Tags: , , ,

Disable WordPress Autosave

WordPress’ Autosave feature was getting on my nerves. Often I make several revisions of a page before I save and WordPress was saving intermediate drafts that I didn’t want to keep.

I was surprised to find that there is no option in WordPress core to disable Autosave. Thankfully though it is incredibly easy to disable through editing the source or creating a custom plugin.

The following code (take from the reference link below) will function as a WordPress plugin and will disable autosave (works in WordPress 2.8)

<?php
/*
Plugin Name: Disable Autosave
*/
function disable_autosave() {
wp_deregister_script('autosave');
}
add_action( 'wp_print_scripts', 'disable_autosave' );
?>

References

Adjust WordPress Autosave or Disable It Completely

Tags: ,

MultiMedia in Ubuntu

For Ubuntu here is a Comprehensive Multimedia & Video Howto – everything from Flash to DVDs, albeit no hints on getting Blu-Rays to play yet.

Tags: , ,

OpenSSH escape characters

SSH has tilde (~) as an escape character by default. Make sure that the last you typed in was nothing or a newline, then type one of the following sequences:

~. - terminate connection
~B - send a BREAK to the remote system
~C - open a command line
~R - Request rekey (SSH protocol 2 only)
~^Z - suspend ssh
~# - list forwarded connections
~& - background ssh (when waiting for connections to terminate)
~? - this message
~~ - send the escape character by typing it twice

References

OpenSSH Escape Characters
man page ssh(1)

Tags: ,

Excel multiple windows

A refreshing feature of Microsoft Word 2007 is the ability for each document to open in a separate application window. This allows viewing multiple documents on your screen(s) simultaneously for easy reference or edits. Unfortunately Microsoft Excel 2007 does not ship with this feature enabled, however here are two ways to make it work for you.

These instructions are based on Microsoft Office 2007, aka Version 12. Some differences will exist for other versions of Microsoft Office.

This simplest solution involves an advanced setting in Excel, but it didn’t for me. Give it a try first before continuing further:

Office button -> Excel Options -> Advanced.

Under General, check ‘Ignore other applications that use Dynamic Data Exchange’.

An alternative solution requires editing the registry and modifying the default Excel file types and is described below.

Firstly you may need to update the permissions of that registry tree so that Administrators have full control over Excel’s file types.

Open the registry, and go to:

HKEY_CLASSES_ROOT\Excel.Sheet.12

Right click the tree and adjust the permissions to grant Full Control to Administrators

Then after that in explorer go to:

Options -> File Types -> XLSX -> Advanced

Append "%1" to the command and Uncheck DDE.

Unfortunately this is where I discovered that with a single file open, the Taskbar caption always begins with “Microsoft Excel – ” prepending the filename, and this makes it difficult to tell apart the applications in the taskbar when you can only see the first word or two.

A plausible workaround to the Taskbar caption is to create a custom add-in for Excel to load on startup that will rewrite the caption (albeit in this example the name is NOT updated if the file is closed and a new file opened).

Tags: , , ,

Excel 2007 opening problem

Symptom: upon double clicking an Excel document to open, Excel starts but does not open the document immediately. If you minimize the window then it will re-appear and then open the document.

Likely cause: bad addins, in my case it was PDFMaker.xla

Delete the addin from the following locations:

  • C:\Documents and Settings\USERID\Application Data\Microsoft\Excel\XLSTART
  • C:\Program Files\Microsoft Office\Office12\XLSTART

Result: Excel opens document immediately.

Tags: , , , ,