5 ms·
I didn't know about `screencapture`. That's a fun one. The Linux equivalent of `open` is `xdg-open`. I usually alias it to `op`, since `/bin/open` exists. Ano
by ggreer 12y ago
I didn't know about `screencapture`. That's a fun one.
The Linux equivalent of `open` is `xdg-open`. I usually alias it to `op`, since `/bin/open` exists.
Another bit of terminal-sugar for OS X users:
alias lock='/System/Library/CoreServices/"Menu Extras"/User.menu/Contents/Resources/CGSession -suspend'
And most Linux users:
alias lock='gnome-screensaver-command -l'
If you find yourself accidentally triggering hot corners, the lock command is your savior.
I've sorta-documented this stuff over the years, but only for my own memory. https://gist.github.com/ggreer/3251885 https://gist.github.com/ggreer/3251885 contains some of my notes for what I do with a clean install of OS X. Some of the utility links are dated, but fixing the animation times really improves my quality of life.
- rimantas 12y agocmd+shift+eject
- X-Istence 12y agoCtrl + Shift + Eject or Ctrl + Shift + Power (on MacBook Pro's that don't have an eject key) Cmd + Shift + Eject doesn't do anything.
- AdamGibbins 12y agoThis sleeps/suspends rather than just locking. Equivalent to closing your MacBook.
- oneeyedpigeon 12y agoDoesn't change the fact that cmd+shift+eject doesn't actually do anything (unless it's on an older version of OSX)
- X-Istence 12y agoIf you have your Mac set to never sleep/are using Caffeine for instance, then it simply puts the display to sleep, the rest of the computer keeps on humming along. Not entirely equivalent to closing your MacBook.
- rimantas 12y agoCorrect, I wrote the wrong key.
- pimlottc 12y agoAdditional, Linux equivalents of pbcopy/pbpaste are available in a number of competing utilities such as xcut, xclip and xset. Unfortunately none of these are installed by default on standard installations, at least not on any common distribution I've ever seen.