Filed under: Features, Cool tools, How-tos, Tips and tricks, Ask TUAW
Ask TUAW: Video encoding, remapping keyboard keys, redirecting Mail, and more
This week's Ask TUAW is wide-ranging. We have a couple of questions about video encoding, remapping keyboard keys, redirecting email, Finder window positions and more. Remember new Mac users and Switchers who are enjoying our Mac 101 series should feel very welcome to post questions for Ask TUAW. We're happy to take questions from all levels. As always, please submit your questions by commenting to this post or using our tip form.
Brennan asks
I'm a graphic/web designer planning a move from a city in Michigan to a small village in Montana, while continuing to work for the same small design shop in Michigan. Any reccomendations on particular tools to make file transfer/interoffice communication, etc. work as smoothly as possible?
Well, frankly, I'm not entirely sure what you're asking. Presumably, most of the tools (FTP client, text editor, etc.) would be the same ones you use now. However, one thing you may presumably want to do is have remote access such as VNC (remote desktop) to computers back in Michigan, in which case you'll probably want to make sure that you have secure access over SSH. Fortunately, we just recently had a post about JellyFiSSH, which makes it very easy to set up SSH tunnels. And, of course, to maintain contact with the folks back in Michigan you'll presumably want to use a chat client like iChat or Adium. If you want to keep things completely private on that end you may want to set up your own Jabber server. One final suggestion is a WebDAV server, which you can mount in the Finder and which makes file transfers particularly easy.
Ben asks
I don't know if it's just the way me and my brother type but we both have powe...macbooks and find often that when typing and going for return we nudge the up arrow key which then highlights the last line and it deletes when we push return. obviously if quick enough you can undo it but is there anyway to disable the up arrow besides pouring water into it?
Jeff asks
I'm a recent PC switcher and love my iMAC, especially with Parallels coherence. One thing that drives me crazy is the habit of hitting escape to close a window. Is there a way to configure the escape key to behave like an option-W?
These two questions are similar enough that I thought I'd try answering them together. They both basically involve remapping keyboard keys. I haven't actually done this on my own machine, but I think I have potential solutions. For Ben, I would suggest trying Ukelele (free), which is a visual keyboard layout editor. With Ukelele you could map the up arrow key to something else (or nothing). The interface, as you see above is dead simple, just double click on the key to change the binding.
For Jeff, the problem is a little different, because it probably can't be solved with keymapping, since he want to execute a keyboard shortcut. For Jeff, I would suggest trying a keyboard shortcut program like Keyboard Maestro ($20), and defining ESC to trigger a Macro that types: ⌘W.
SMAC asks
Speaking of slide show does anyone else have the problem where it crashes the Finder. It seems that if I select a bundle of pics, control-click (I just can't bring my self to call it right-click it is from windoze and it isn't right) select slide show, watch it, select another bundle, control-click, select slide show and Finder restarts... I find that selecting them all, then double clicking to get them into Preview, streaching the window to fill the screen, and clicking zoom to fit, works ok, I just keep pressing down arrow to scroll through.... But I like to show off the slideshow, is there another way to start one besides control-clicking?
Strangely, there doesn't seem to be a Finder command for invoking the Slideshow function; you have to use a right-click (if it makes you more comfortable, consider that X11 in UNIX has been right-clicking since before Windows). The solution to your problem, however, is simple. There's a slideshow function in Preview. Open the photos as you already do in Preview and go to View Slideshow (or just hit shift ⌘F).
David asks
...Since most of these releases are in a Matroska-container (.mkv) the only option I have for playback is VLC. But, as you probably found out yourselfs, this little program is quite buggy, especially while playing back h.264-material in the afore mentioned container....Extracting the seperate video- and audiostream from the Matroska-container is no problem, but putting them back a different, Quicktime-compatible container (like .mov), is. I've tried FFMpegX to create an .avi file but this always fails without any transparent reason.
Actually, I'm rather surprised to hear you say that VLC is "quite buggy" as that has not been my experience. Anyway, the latest version (1.2.3) of VisualHub supposedly "raised Matroska compatibility quite a bit". It seems to be one way, but as it happens it's the direction you want (mkv to mov), I would say give VisualHub ($23.32) a shot and see if it works (there is a demo available).
Gabo asks
Hi, I'm wondering the best way to forward mail from different accounts to one account, specifically to gmail. I have looked at Mail Forward but it doesn't look too promising. I tried a search for some web alternatives but they seemed a bit complex. I was wondering if there was a simple application/command line/web application to do this.
The best way by far to do this is server-side. I do this exact same thing, but I have my email servers do it for me. I do this on both the email server I have direct access to on my personal domain, but also on my University's mail server. In each case, there is an option to forward all my incoming email to another address, so I just put my Gmail address in there.
If for some reason you simply cannot do this (I suggest you look for the option; contact your ISP/email provider's IT for support if you don't see it), then maybe the best way to do it is with Mail.app's very convenient "Redirect" command. If you use Mail.app you can easily set up a Mail Rule to do this. Just go Mail.app's Preferences, and create a new Rule as follows:

The really cool thing about "Redirect" instead of "Forward" is that it will preserve all the headers, including sender, date, etc. Even if you don't use Mail.app to read your mail, you could still use it to do the redirection.
XiozTzu asks
If I were to recommend a video file format for a windows user to encode in, that would be the most easy to transfer between all OS platforms (windows, Linux, OS X, etc) what would it be? Something that out of the box each OS could play i.e. don't have to install flip4mac or quicktime.
Flash video (FLV) is probably your best bet right now for true cross-platform playing. On the Mac you can use the above mentioned VisualHub, on Windows (and I can't believe I'm answering this question) you'll probably want to check out RivaVX FLC Encoder (though the page is in German). Here's a nice overview of FLV options. It's true that your users will need to have Flash installed, but since its penetration is close to 90% I think that's good enough.
All of that said, the majority of PCs these days do have QuickTime (thanks to iTunes), so it could serve just as well, and it would make Mac users much happier.
Chris asks
I am totally OCD about the size and position of Finder windows. I like them to open up at certain places on the screen, at a certain size. However, the size and onscreen position change now and then, but never how I want it to. I just can't seem to get it to behave. Is there a way to save the current size and position of the Finder window?
Well it used to work that way back in Classic, pre-OS X days, but no more. Fortunately, I think I've found a solution for you. I've never used it, but Finder Window Manager ($15) looks to be exactly what you want. It has a "Precisely Position Utility" that looks to satisfy your OCD tendencies, well, precisely.
Okay that'll do it for this week. Keep those questions and comments coming!
This information is provided for your entertainment. Neither TUAW nor this author can be held responsible for any problems arising from the use of the information provided here.
Get a WordPress.com Blog
![TUAW [Cafepress]](http://www.blogsmithmedia.com/www.tuaw.com/media/tuaw-cafepress-promo.png)


Reader Comments (Page 1 of 2)
el_bob said 8:48AM on 4-25-2007
to save the current size and position of the finder window, just open a window, set it to what you want it to be, then close it. if you don't open or rename any files, it will take your action as a size/position setting, and all further windows will open in that place at that size and with those column layouts.
Reply
Paranoia said 8:58AM on 4-25-2007
One thing: in David's video question, he mentioned VLC as the only Matroska playback solution for OS X. It's not. MPlayer OS X (mplayerhq.hu) is a much better playback solution than VLC, especially for soft-subbed video in a matroska container. Even for common-or-garden-variety matroska without subs you're better off using MPlayer.
For transcoding, if you're not afraid of the command line, you could use MKVtoolnix to demux the matroska and FFmpegx to remux as an AVI, which should work.
Reply
Kichigai Mentat said 9:42AM on 4-25-2007
I agree with Paranoia that mplayer is better than VLC, however MPlayer doesn't have a lot of stellar-quality graphical front-ends, so VLC ends up being a better solution, in my opinion.
As far as video, speaking as a users who watches videos on his Mac, XBox, Linux machines, and friends' Windows computers, I absolotely hate FLV. Flash for FireFox is horribly inefficient. And it's not as universal, or high quality, as the output should be.
My advice for video sharing is to use an MPEG-4 (or an MPEG-4 variant like XviD/DivX/3viX) or H.264, since there are already tons of video codecs for Windows, and the ffmpeg codecs for Linux are quite reliable. For the container, I'd recommend AVI, but sometimes that doesn't quite cut it. Matroska (MKV) is very nice, but it'll confuse a lot of Windows users since they've probably never seen one before (usually, the best solution is just to tell 'em to use VLC). QuickTime MOVs are pretty compatible, actually. MPlayer and VLC have no problem reading the majority of MOVs, especially home-made ones. Of course, the trick is just creating one without directly using QuickTime. Fortunately, MP4 files are an open specification, and (except for Windows Media Player) everything plays it.
So, for the time being, stick with MPEG-4/H.264 and AAC in an MP4, or MPEG-4/H.264 and MP3 in AVI. These two are by far quite portable.
Reply
Daniel Schlaug said 12:47PM on 4-25-2007
About mail redirection to gmail: You can also use gmail as a POP client to check all your mailaccounts, it's rather awesome and doesn't require you to have a computer running mail.app constantly to be sure to get all your mail. Look for it in the settings for gmail.
Reply
Mo said 9:35AM on 4-25-2007
Matroska QuickTime Component (I've not tried it): http://sourceforge.net/projects/matroskaqt/
Encoding cross-platform video? Use an MPEG4 variant, be it H.264 or something else.
FLV is lovely and all, but it's best suited to playing back low-resolution, low-bitrate video. Installing a Flash video player on Linux is just as much of a pain as installing, say, VLC (in fact, doesn't VLC play FLV?), and the encoding tools for MPEG4 are… free with every Mac. The bottom line, though: steer clear of proprietary formats and containers (.avi, .mov, et al)
Reply
rdas7 said 9:37AM on 4-25-2007
In response to XiozTzu's question about which video format will work out of the box on both platforms, Flash was suggested. So, instead of installing flip4mac or quicktime, his users should install Flash? Surely the correct answer would have been for him to encode to MPEG-1, 2 or 4?
Apart from being in fashion at the moment (youtube, etc.), Flash offers the least compatibility, quality, filesize out of all of them and on top of that, the encoding tools are not free.
Reply
Jon Stieglitz said 9:45AM on 4-25-2007
I have also found the Intel versions of VLC to be very buggy and, even though I love the program, I made the switch to NicePlayer and am very happy. I have also used MPlayer OS X and can say that it is a good program.
Reply
Tarek said 10:49AM on 4-25-2007
I've got a question tangentially related to the video encoding q above, to whit:
Does the Apple DVD Player.app support 3:2 pulldown, or are there options that do? I'm pretty sure the answer is no, but I've heard the DVD player is getting something of an overhaul in Tiger, so are they adding pulldown? Also, does the DVD Player do upscaling to 1080p, or are there other options that might?
I'm considering getting a Mac Mini to drive my TV, and 3:2 pulldown is a pretty important feature for a DVD player. This CNET review says it doesn't have pulldown, but there are several factual errors in that review, (claiming the Mini's Core Duo is dual proc, for instance), so I'm not that inclined to trust it.
Reply
Tarek said 10:53AM on 4-25-2007
Whups, weblogs.com no likeee "a" tags. Here's the CNET review referenced in the above post:
http://reviews.cnet.com/Apple_Mac_Mini_Core_Duo_1_67GHz/4505-3118_7-31762058.html
Reply
Ahmad said 10:52AM on 4-25-2007
FLV, for real? I would have gone with some sort of MPEG variant
Reply
Aron Trimble said 11:12AM on 4-25-2007
@Brennan
If you're going to follow Mat's suggestion and set up an SSH server, you should install MacFUSE and use SSHFS. That allows you to mount an SSH volume right in Finder - extremely handy. Just be sure you unmount the volume before disconnecting (unless they solved that bug!)
@Tarek
I've never read the review so I can't speak to other errors, but the Mac Mini that has a Core Duo *is* a dual-core processor. However, for a time it was possible to get the Mac Mini with a Core Solo, which is in fact a single-core processor.
Reply
Mike said 11:36AM on 4-25-2007
BTW, I too have MAJOR problems with vlc, ALL my Intel computers cannot handle it. I have an iMac 17" and MacBookPro 15" Core Duos and another 15" MBP with a Core2Duo and ALL three have issues, you must open VLC, promptly close it, then reopen it and then drag a file to it, and even then you usually have to repeats 2-3 times, but it ABSOLUTELY will not open by just double clicking files that are assigned to open in VLC automatically. Now my PPC iMac does just fine, always hase, but VLC just doesn't play nice with intel macs :(
Reply
Brian said 12:06PM on 4-25-2007
For playing .mkv files I suggest getting the latest SVN build of Perian (Perian.org) and using NicePlayer. That's what I do and it works perfectly, even though it's technically still a beta.
Reply
Tarek said 12:17PM on 4-25-2007
@Aron Trimble
Oh, right, thanks for the correction!
Reply
Mat Lu said 12:33PM on 4-25-2007
re: cross-platform video
I thought about recommending H.264/MPEG-4, but I was simply unsure about whether most PCs/Linux boxen would have the appropriate playback software already installed. I do realize that you have to install Flash, but it's pretty much ubiquitous these days, so much so that I thought (like youtube and Google video, et. al.) that it's the safest cross-platform format where the emphasis is on compatibility, not video quality (which is what the questioner seemed most concerned about). That said, I pointed out that most PCs these days (though not Linux boxes) have iTunes and therefore QuickTime already installed.
Reply
Michael Pearce said 12:45PM on 4-25-2007
I have a first-gen Core Duo MacBook and have no problem playing AVIs with VLC. However, what I need is a simple editor that lets me crop parts out of such files.
What I really need is a GraphicConverter for videos. I'm amazed no one has written one. I looked at the MPlayer site, but I can't figure out how to use it.
Reply
Lee said 1:51PM on 4-25-2007
I've never gotten VLC to work right, not on Windows, not on Mac (though I haven't yet tried the very latest version). It dies every time it goes to switch layers on a dual-layer disk. Every. Single. Time.
Reply
michel said 3:25PM on 4-25-2007
hi guys,
can anyone help me with this: i'm looking for an util that copies tekst when i select it (like e.g. putty on windows)
does this exit, it sounds simple enough but i can't find anything like it
thanks
Reply
John Brownie said 3:13AM on 4-28-2007
I'm the developer of Ukelele, and I thought I'd point out a possible problem in using it for Ben's need. Some applications won't pay attention to remapping the arrow keys. I filed a bug with Apple, but it was closed as "behaves correctly". It seems that they don't want people to remap arrow keys!
Reply
Jon Stieglitz said 3:04PM on 4-28-2007
What's the deal with "Remove copy from server" in the advanced tab of the Accounts section in Mail preferences? Is this cacheing? Should I have it set to right away or after one day?
Reply