Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Quick fix for list view opening below files Desktop
A friend and myself have run into this one at different times...

if you have a window in list view, with a large number of items, scroll down (page down, whatever) to near the bottom, close the window, the next time you open it, it remebers where you were, which is good. now if you trash or move most of these files, close the window, then open it again (sometimes or all the time), it opens with no files visible, and you have to scroll up/page up to see the files

I've found a fix to get it sorted out again...change how it's sorted (instead of by name, change it to by date) after you have scrolled up to where you want it to open (for example, at the top of the list), now close the window. next time you open it, it should open where you last set it to.

I've seen this bug happen in both my downloads folder, and my mp3 folder, in both MacOS X 10.0.3 and 10.0.4. If this isn't clear, just ask me to try and re-explain it again =)
  Post a comment  •  Comments (0)  
  • Currently 2.67 / 5
  You rated: 4 / 5 (3 votes cast)
 
[3,090 views] Email Article To a Friend View Printable Version
Shortcut key to start under X System
I don't know if this has been already documented but it seems that pressing X at startup will force the Mac to start under MacOS X if the startup system folder is set to MacOS 9 (at least if your MacOS 9 system folder is on the same partition as X). I had to use this trick a couple of times because I couldn't start under MacOS 9 which always crashed during startup for an unknown reason.

Note: if you press L at startup, you won't start Linux nor Lisa (well, actually I haven't checked !) ;-)

[Editor's note: I haven't tested this on my machine, as my OS 9 partition is on a separate hard drive. I also don't know which Macs it may or may not work on, as I have not seen this documented elsewhere.]
  Post a comment  •  Comments (4)  
  • Currently 0.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (0 votes cast)
 
[2,741 views] Email Article To a Friend View Printable Version
Deleting IE's preferences Apps
Reader Tom Ransom wrote in with a problem and a solution -- how do you delete the Internet Explorer preferences in OS X? He was unable to download from any passive FTP hosts via IE, and thought trashing the preferences might cure the problem.

The typical method would be to trash com.microsoft.explorer.plist from ~/Library/Preferences and that should do the trick. Tom tried this, but it had no affect on his problem. Through some detective work in the Terminal (since prefs files are now text-based XML and easily browsable), he determined that IE's prefs are actually stored in the file com.apple.internetconfig.plist in your Preferences directory.

So if you're having trouble with passive FTP, try trashing that file (perhaps along with com.microsoft.explorer.plist) and relaunching IE. It worked for Tom!
  Post a comment  •  Comments (5)  
  • Currently 3.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[3,347 views] Email Article To a Friend View Printable Version
Managing BBEdit backup files Apps
I have long been a fan of BBEdit's backup option, but have loathed cleaning up after it. If you've used it, you know that it doesn't take long for literally thousands of files to accumulate. Fortunately OS X makes this a breeze with the aid cron and a shell script.

I use the following to perform a daily cleanup:
#!/bin/sh
cd /path/to/bbedit_backups
mydate=`date +%Y%m%d`
mkdir $mydate
find . -name "200*" -type d -prune -o -type f -exec mv {} $mydate \;
find /path/to/BBEdit/BBEdit\ Support/FTP\ Temp -type f -exec mv {} $mydate \;
find . -type d -ctime +20 -exec rm -rf {} \;
Basically, this script goes into your backup folder, makes a new (sub)folder, and moves all of the backup files for that day into it. The FTP line moves all of the files in the FTP Temp folder into the newly created folder. Finally, the script removes any subfolder over 20 days old. (Alter to your own preference). Note that you must change the "/path/to" lines to match your setup.

[Editor: Remember that the script must be made executable (chmod 755 name_of_script) to run, and getting it working via 'cron' is left as an exercise for the reader -- there are tips posted elsewhere here on configuring cron. -rob.]
  Post a comment  •  Comments (0)  
  • Currently 0.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (0 votes cast)
 
[5,440 views] Email Article To a Friend View Printable Version
Random words from the terminal UNIX
Here's a nifty but somewhat useless quickie that will pick random words from the built-in dictionary file:
perl -e 'open IN, "</usr/share/dict/words";rand($.) < 1 && ($n=$_) while <IN>;print $n'
Notes:
  • Inspired by an example in the 'Camel' book and the fact that I couldn't come up with a non-Bash way to generate random numbers from the shell. (Any ideas why there's no /dev/random? It kinda seems that this was a design decision rather than an oversight...)
  • The /usr/share/dict/words exists on most Unix systems. Curiously, the words seem to be different from that of the system-wide spellchecker service built into OSX.
  • You can use the standard backtick operator to plop the word into another cmd-line program.
  • DO NOT *EVER* USE THIS [OR ANY DICTIONARY] TO GENERATE PASSWORDS!
[To the editor: I admit this is sort of off-topic as far as Mac OSX is concerned. Perhaps you can use it when there's a dry spell in hints or as a 'stupid shell tricks' feature.]

[From the editor: Hey, it is a bit slow with everyone awaiting 10.1's arrival, and this is an interesting trick. There are some strange words in the dictionary!]
  Post a comment  •  Comments (4)  
  • Currently 0.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (0 votes cast)
 
[8,299 views] Email Article To a Friend View Printable Version
Installation tutorial for xspim UNIX
I have spent the last few days trying to get xspim (a MIPS emulator) to work with OS X and have finally got it going. After spending many frustrating hours on it I figured that I would post how to get it working for the few who might need it (unless you are really into assembler or need it for class or work there is really no point). fyi: download spim from here

Read the rest of the article for detailed installation instructions...
read more (319 words)   Post a comment  •  Comments (1)  
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (3 votes cast)
 
[8,325 views] Email Article To a Friend View Printable Version
Script to stay online at all times Internet
Is there a way for me to let a script (or something similar) always check whether I'm online and to re-connect when I'm not? I have a dsl flat and would like my ftp and webserver to stay online. my isp tends to disconnect if after some idle time, and i'd rather not do a permanent ping which is good for "faking" user activity.

Looking forward to your hints
;-) maciana
  Post a comment  •  Comments (12)  
  • Currently 0.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (0 votes cast)
 
[3,834 views] Email Article To a Friend View Printable Version
Hide iMovie while rendering in the background Apps
While working on an iMovie project tonight, I noticed something about the (much much loved!) ability to render transitions and other effects in the background. I started a large number of transitions rendering (probably 10 or so), and then switched back to the Finder. The machine (a G4/733) was usable, but very very jerky. I saw the spinning rainbow occasionally, and switching apps and selecting menus was very slow.

In the interest of trying anything to see if I could regain some speed, I hid the iMovie application. Amazingly enough, this made a huge difference. Although I can still tell there's background work going on (the CPU meter is pegged, for example), I have full control over the machine, the windows don't lag, and I haven't seen the spinning rainbow since hiding iMovie.

This is a very small sample size (one machine!), so I hate to jump to conclusions, but I've repeated the experiment a number of times with the same results. If iMovie is visible in the background while rendering, the machine slows dramatically. If iMovie is hidden while rendering, it's hard to tell there's much out of the usual going on.

If you work in iMovie, give it a shot and let me know if you see similar results...I'm intrigued!

-rob.
  Post a comment  •  Comments (2)  
  • Currently 0.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (0 votes cast)
 
[10,689 views] Email Article To a Friend View Printable Version
Monitor connected FTP users Network
Hi there,

I'm using the built-in ftp server. Is there any way to monitor which users are logged in and what there are doing (in realtime)? Looking forward to your response.

Thx
maciana
  Post a comment  •  Comments (4)  
  • Currently 0.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (0 votes cast)
 
[6,096 views] Email Article To a Friend View Printable Version
Terminal font spacing issue with TinkerTool System
The terminal's font spacing (even for monospaced fonts) suddenly went wacky and I haven't had any luck getting things back to normal.

Typed entries at the command line and even in editors like vi are offset by half a character to the right (relative to a normally positioned text, as output by "ls" for example). Pressing backspace returns the remaining characters to the "correct" position.

After deleting the terminal preferences, things go back to normal until the font size is changed from the default size.

Has anyone seen the following problem? If so is there a recommended remedy?
  Post a comment  •  Comments (2)  
  • Currently 0.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (0 votes cast)
 
[2,797 views] Email Article To a Friend View Printable Version