Reputation
382
Top tag
Next privilege 500 Rep.
Access review queues
Badges
4 13
Newest
 Curious
Impact
~82k people reached

  • 0 posts edited
  • 0 helpful flags
  • 19 votes cast
May
20
comment Can I create a Desktop Shortcut/Alias to a Folder from the Terminal?
Ah, you're right. I got an error before, but I must've mistyped something.
May
20
comment Can I create a Desktop Shortcut/Alias to a Folder from the Terminal?
Note that the spaces/special chars problem would exist in any solution - the shell can't know that you meant to pass 1 parameter rather than 2 separate ones.
May
20
comment Can I create a Desktop Shortcut/Alias to a Folder from the Terminal?
I think you meant ln -s ~/Library/path/to/folder folder. One minor disadvantage to this method (ie symlinking) is that the link will be broken if the "original" (ie the target) is moved or renamed.
May
20
comment Can I create a Desktop Shortcut/Alias to a Folder from the Terminal?
If you're using the bash script, you should put the filename in single quotes if it has any spaces or special characters. However, this will prevent ~ from being expanded. The best thing is not to use quotes, and to tab complete the filename so bash will properly "escape" the special characters. E.g. type ~/Library/Application then press tab. If Application Support was the only match, the shell should have inserted a backslash before the space. You can also manually use a backslash to escape.
May
20
comment Can I create a Desktop Shortcut/Alias to a Folder from the Terminal?
I just tried using ~ and it doesn't work with the one-line osascript command. I suggest using the script file instead, because the ~ is converted automatically.
May
20
answered Can I create a Desktop Shortcut/Alias to a Folder from the Terminal?
May
18
revised How can I adjust the apparent color temperature of my display in OS X?
added 34 characters in body
May
18
revised How can I adjust the apparent color temperature of my display in OS X?
alternate solution
May
18
revised How can I adjust the apparent color temperature of my display in OS X?
added 62 characters in body
May
18
revised How can I adjust the apparent color temperature of my display in OS X?
clarify; added 134 characters in body
May
18
comment How can I adjust the apparent color temperature of my display in OS X?
Here's a bonus tip: a command-line utility to set the display brightness (ie in lieu of the F1 and F2 keys). hints.macworld.com/article.php?story=20090901021817717
May
18
answered How can I adjust the apparent color temperature of my display in OS X?
May
18
comment How can I adjust the apparent color temperature of my display in OS X?
Maybe I don't understand the difficulty, but can't you just set F.lux's daytime slider to 2700? When you say "sometimes", do you mean algorithmically predictable times/dates? If so, then a script would solve your problem. I think it's possible to write a script to force F.lux to a certain daytime temp (or nighttime for that matter).
May
10
revised Text unselected when clicking to activate Terminal window (OS X Lion)
added 169 characters in body
Apr
26
awarded  Yearling
Apr
25
comment Text unselected when clicking to activate Terminal window (OS X Lion)
Thanks again, but this can cause yet another headache: all the windows that are activated during cycling are also brought to the top (as expected), disturbing the stacking order of other apps' windows. I keep some term windows behind everything else, and would like them to stay back there when possible. Yeah, I'm picky. Nice try though.
Apr
25
comment Text unselected when clicking to activate Terminal window (OS X Lion)
Thanks. I knew about the keyboard shortcuts, but usually nothing beats clicking the window itself. If I have 3 terminal windows on the current desktop, Cmd+backquote may take me to the window I didn't have my eye on.
Apr
25
asked Text unselected when clicking to activate Terminal window (OS X Lion)
Apr
16
comment How do you get a printer's IP in lion?
+1. It boggles my mind why they'd hide it in a web interface...
Apr
6
awarded  Tumbleweed