<issue_start>username_0: I have my MacBook set to go to sleep after 2 minutes while on battery (via the Energy Saver preference pane.) However, when I leave it idle, it only turns off the screen—it does not actually sleep. This means that if I leave it and forget to close the lid, it always ends up with a dead battery.

The system sleeps correctly if it is triggered manually ( – Sleep) or by closing the lid. I have tested it with no USB devices connected and on a fresh user account, on the chance a background program was preventing sleep. There is no relevant information printed to the Console at the time when the system should sleep.

I've performed a PRAM and SMC reset to no avail, as well as the usual superstitious Verify Disk Permissions.

**Is there anything else I should try before I reinstall OS X?**

This is a `MacBookPro5,5` running OS 10.6.6.

It's worth noting that I suffered from this issue some time ago due to a [bug in a helper daemon for the product Things](http://culturedcode.com/things/wiki/index.php/Release_Notes#Things_1.3.4), but that this issue was slightly different and involved display sleep. Also, I have verified that the helper daemon was not running during my tests.

**Additional information:**

I started working through the Apple document titled "[Why your Mac might not sleep or stay in sleep mode.](http://support.apple.com/kb/HT1776)" I discovered that this issue does not appear when I Safe Boot my computer. I `diff`'d the process lists and discovered that the following programs are only running when in normal boot, and are thus possible culprits:

* `Quick Look Helper`
* `cvmsComp_x86_64`
* `kextcache`
* `launchd`
* `mdworker`
* `mdworker`
* `nmblookup`
* `vmnet-bridge`
* `vmnet-dhcpd`
* `vmnet-dhcpd`
* `vmnet-natd`
* `vmnet-netifup`
* `vmnet-netifup`<issue_comment>username_1: I’ve had this same issue with my MacBook Pro 3,1. It’s extremely frustrating. I went so far as to completely reinstall OS X, which didn’t solve the issue. This leads me to believe that it’s likely a hardware issue in my case.

I’ve given up troubleshooting the issue and just use [PleaseSleep](http://www.dragonone.com/products/macosx/pleasesleep/).

>
> PleaseSleep is a utility software designed for Mac OS X that helps put your computer to sleep when you know some other app is preventing your Mac from going to sleep.
>
>
> PleaseSleep sits in the background and waits for the sleep timer you set in Energy Saver preferences pane. Depending on the preferences you set, PleaseSleep will try to put your computer to sleep when the scheduled sleep timer kicks in. PleaseSleep is very easy to configure, you can enable, disable, and access its preferences via the system menu bar icon. You can choose to have PleaseSleep activate the sleep function all the time, or you can tell PleaseSleep to activate the sleep function only when certain apps are running.
>
>
>
Upvotes: 2 <issue_comment>username_2: Might be Spotlight indexing. You could test this by going to System Preferences > Spotlight > Search Results and unchecking everything. Then see if your MacBook goes to sleep.
Upvotes: 0 <issue_comment>username_3: I finally have my system reliably idle-sleeping again. I changed three things to reach this point, all of which I believe were contributors:

* I was low on disk space (less than 5% free) on my primary volume. The kernel was complaining about this to `system.log` (viewable in Console.app) about the time it should have been sleeping.
* I disabled Dropbox, which accesses the disk frequently and obnoxiously, and is [reported to prevent sleep in Snow Leopard.](http://forums.dropbox.com/topic.php?id=8657)
* I upgraded from an embarrassingly old Chromium nightly, and I'm now on **11.0.658.0 (73560)**. There are [several](http://code.google.com/p/chromium/issues/detail?id=57028) bugs [open](http://code.google.com/p/chromium/issues/detail?id=54550&can=1&q=mac%20sleep&colspec=ID%20Stars%20Pri%20Area%20Feature%20Type%20Status%20Summary%20Modified%20Owner%20Mstone%20OS) about this Chrome/Chromium preventing idle sleep. However, I discovered this only after getting the system to idle sleep after a reboot with no programs running.

**Technical observations follow:**

It's worth noting that the Energy Saver preference pane lies a little bit. I have it set to sleep and turn off the screen after 1 minute, but the system doesn't actually go to sleep for 3 minutes and 30 seconds, give or take a few seconds to write the Safe Sleep image. The screen actually takes 2 minutes to go to sleep. I suspect this is a case of Apple knowing better than us—1 minute is probably just too fast. Regardless, this makes debugging issues like this hard because you have to wait longer than indicated to see if the system is really going to sleep.

That these two applications were contributors despite not doing anything particularly intensive suggests that Snow Leopard changed something about how the system decides whether idle sleep can occur. There is a [documented API](http://developer.apple.com/library/mac/#qa/qa2004/qa1340.html) for disabling idle sleep, but it also appears that disk activity (specifically writes) more than once a minute also resets the sleep timer and thus delays sleep. Any application that writes frequently is thus a possible cause. `sudo fs_usage -e grep -f filesys | grep -e write` in a Terminal window can help reveal culprits.
Upvotes: 3 [selected_answer]<issue_comment>username_4: To help debug sleeping issues, try the [`pmset`](https://en.wikipedia.org/wiki/Pmset) command in the terminal:

```
$ pmset -g assertions

Assertion status system-wide:
   ChargeInhibit                           0
   PreventUserIdleDisplaySleep             0
   PreventUserIdleSystemSleep              1
   NoRealPowerSources_debug                0
   CPUBoundAssertion                       0
   EnableIdleSleep                         1
   PreventSystemSleep                      0
   DisableInflow                           0
   DisableLowPowerBatteryWarnings          0
   ExternalMedia                           0

Listed by owning process:
  pid 2520: [0x0000012c000009d8] PreventUserIdleSystemSleep named: "com.apple.audio.'AppleHDAEngineOutput:1B,0,1,2:0'.noidlesleep"

```

In this case, it's the process 2520 messing up. Check it out in activity monitor and kill it (/usr/sbin/coreaudiod started by iTunes).

After that, run the command again:

```
Assertion status system-wide:
   ChargeInhibit                           0
   PreventUserIdleDisplaySleep             0
   PreventUserIdleSystemSleep              0
   NoRealPowerSources_debug                0
   CPUBoundAssertion                       0
   EnableIdleSleep                         1
   PreventSystemSleep                      0
   DisableInflow                           0
   DisableLowPowerBatteryWarnings          0
   ExternalMedia                           0

```

No flags for PreventUserIdleSystemSleep.
Upvotes: 3


<issue_start>username_0: I've an old iPhone 3G that I want to give it to my girl. She don't need it for play big games or stuff like that, but it's really slow in most of common tasks (access contacts, email, etc).

And since she isn't going to use many things the iPhone have, I was thinking in jailbreak it to see if there are apps that let you strip some of these things she wouldn't use.

Do you know jailbreak apps that strip functionality/features to iPhone 3G?

Or it'll going to be slower than now?

**EDIT**:

I expect something like remove unused characteristics like folders, or any stuff that make it slower. Kinda downgrading to 3.x but having compatibility with new apps.

Since overclocking is not safe for the phone (due to heat and functionality) I prefer to not consider it as an option, but thank you guys that suggested it!<issue_comment>username_1: NB - these instructions apply to iPhone OS 3.0, link to instructions for iOS 4.x at the bottom

You can run your iPhones processor at a higher-than-factory clock speed which should in theory make it faster. However, it may cause the iPhone to run too hot so it's something to be aware of. The steps are below:

1. Jailbreak the iPhone
2. [Use SSH](http://www.cultofmac.com/access-your-iphone-file-system-with-ssh-jailbreak-superguide/32134) to navigate to `/System/Library/System/System Configuration/PowerManagement.bundle/`
3. Rename file `com.apple.SystemPowerProfileDefault.plist` to something else
4. Restart your iPhone

Your iPhone will now run at the default speed for the processor it is built on. You may experience instability as the iPhone was designed to run at a speed lower than the native speeds of the processors it's built on so there's a major health-warning on performing this step.

[iOS 4.x instructions](http://modmyi.com/forums/file-mods/726701-how-overclock-iphone-3g-3gs-4-a.html) thanks to @mankoff for his comment pointing out that the instructions had changed with the new iOS version. I expect these will change again in future so be sure to check Google or the search box on this site for latest methods.
Upvotes: 2 <issue_comment>username_2: Not a jailbreak solution, but... turn off SpotLight.

Go to Settings > General > Home > Search Results, and turn everything off.

This should result in a noticable speedup.
Upvotes: 2


<issue_start>username_0: Is there a special procedure to be followed when installing a brand new battery ?

Like

* discharging it completely, or not;
* leave it fully charged for a certain amount of time,
* etc...

*(It's a battery of a MacBook Pro)*<issue_comment>username_1: AFAIK, there's no special procedure for a new MB/MBP battery. I recently replaced my MBP's battery myself, and searched Apple support documents for care instructions, but I couldn't find anything other than the standard "drain it once in a while."

Btw, my new battery was completely discharged, and it took about 12 hours to fully charge it. I left it on charge overnight and started using the MBP as usual the next day.
Upvotes: 3 [selected_answer]<issue_comment>username_2: Calibrating your battery means you will preserve the battery life for longer.

On its own website Apple says that you should calibrate your battery during the first week and then once every month, and then whenever you purchase new batteries.

Source: [Apple Support](http://docs.info.apple.com/article.html?path=Mac/10.6/en/9036.html)
Upvotes: 2 <issue_comment>username_3: Even better: <http://www.apple.com/batteries/>
It has a lot of good information which can be applied across the board. Although portables with built-in batteries are pre-calibrated and do not require the calibration procedure outlined in [this article](http://support.apple.com/kb/ht1490)

1- charge battery until it is full charged and let sit for 2-4 hrs fully charged.

2- remove external power source and let unit run until you get the "battery running on reserve" message from the system (usually around the 2-5% mark).

3- Allow the system to put itself to sleep at this point, or you can put the computer to sleep yourself (waiting for the front LED to ebb) and then remove the battery from the system and leave battery out of the computer for 2-4 hrs at 0% charge.

3.1- I like to tell people that they could set their computers up to run over night playing a DVD with full brightness. This usually kills the battery quickly and then the battery and system will sit the rest of the night inactive (this is also a nice way to make sure the system isn't doing anything to data-critical during calibration).

1. Plug the battery into unit and external power to the computer and charge battery to 100%.
2. That is it. Li-Ion batteries need to be calibrated only once. If used appropriately the battery life space (and charge capacity) will hold longer than manufacturer definitions.
Upvotes: 1


<issue_start>username_0: I have a large set of Powerpoint presentations that I would like to convert to Keynote. I can convert each one manually by following these steps:

1. In Finder, right-click Powerpoint document and select **Open With... -> Keynote**
2. In Keynote, choose **Save As...**, check the **Save copy as** checkbox, select *iWork '08* as the format, and click **OK**.

However, doing this for each document is tedious. I'd like a way to convert them all at once.

I've been trying to create an Automator workflow for this, but have been completely unsuccessful. (I think being a programmer actually makes it impossible to understand the for-the-rest-of-us tools like Automator and AppleScript.) Can anyone help me out?<issue_comment>username_1: Did you try to create an Automator workflow using the feature [*Watch Me Do*](http://www.tuaw.com/2009/01/19/mac-automation-creating-watch-me-do-workflows/) (which seems appropriate here) ? What problems did you encounter ?
Upvotes: 1 <issue_comment>username_2: I couldn't figure out how to get Automator to do it, but I was able to beat AppleScript into submission. Just save the following as an Application in the AppleScript Editor, then drag the files you want to convert onto the icon. It will prompt you to choose a folder where the converted files will be placed.

```
on open droppedFiles
    set theDestinationFolder to (choose folder with prompt "Choose destination folder") as Unicode text
    repeat with theFile in droppedFiles
        tell application "Keynote"
            open theFile
            set theSlideshow to slideshow 1
            set theDestinationPath to theDestinationFolder & (name of theSlideshow)
            save theSlideshow in theDestinationPath
            close theSlideshow
        end tell
    end repeat
end open

```

(I don't really know what I'm doing with AppleScript. If there are improvements that can be made here, I'd like to know about them.)
Upvotes: 3 [selected_answer]


<issue_start>username_0: I'm using iPhone as a modem.

Is there a way to port forward to my computer because I'm using it as a development server.<issue_comment>username_1: ### Short answer

Until now (iOS 9.1) there has been **no way** to configure port forwarding in Personal Hotspot

### Long Answer

Activating Personal Hotspot on an iOS device enables it's built-in NAT router. Other devices that connect to this iPhone (using USB, WiFi or Bluetooth) get an IP in the 172.16.0.0/12 subdomain.

There are no NAT settings in iOS, nor does it provide UPnP or NAT-PMP for remote NAT configuration.

### Why?

Nobody knows Apple's reasons.

Wild guess: Knowing that availability of the Personal Hotspot feature on an iOS device [depends on it's carrier](http://support.apple.com/kb/HT1937), Apple may have disabled further features as way to play nice with the carriers.

### Possible Workarounds

* On the device that needs to accept incoming connections: connect to a VPN that provides a public IP and incoming connections
* If you have access to the remote device you could create a tunnel (e.g. with ssh)
* If the remote device is connected to the same iCloud account, enabling Back to my Mac will put you on the same [private IPv6 network](https://apple.stackexchange.com/questions/53719)
* Using a 4G *modem* instead of your iPhone will give you a direct internet connection accepting incoming connections

### Edit: BUT...

Even you could bypass NAT on your device, your cellular IPv4 internet connection is [very probably](https://serverfault.com/questions/895270/how-widely-deployed-is-carrier-grade-nat) also behind a [carrier-grade NAT](https://en.wikipedia.org/wiki/Carrier-grade_NAT).
Upvotes: 3 <issue_comment>username_2: There is no way to do port forwarding on an iPhone when using it as a Wi-Fi hotspot. This is by design. (IMO) the iPhone hotspot feature was to allow users to access the Internet via their phone's data plan so the user could check email, surf the web, chat, etc. It wasn't designed to serve as a *router* with more advanced features.

There are no ports open on either "side" of the iPhone hotspot in which to interface for management. I did a portscan on both the public side and the private side (from a Mac and a PC) to see if I could access a management page - it's locked down and doesn't respond (though it does respond to a `ping`).

However, I just tested and verified that my *dedicated* hotspot - [AT&T Unite Explore](https://www.netgear.com/home/products/mobile-broadband/hotspots/AC815S.aspx#tab-features) ***does support port forwarding*** (page 60 of [User Manual](http://www.downloads.netgear.com/files/aircard/AC815S_ATT/AC815S_ATT_UM.pdf)). I was able to forward port 22 to my laptop and successfully connected via SSH to it.

One last thing - while I was able to do this successfully on AT&T, your provider may not allow you to open ports on your device - check with them first.
Upvotes: 0


<issue_start>username_0: I'm new to the Apple world. I was wondering if the update to Lion X will be free for users that has recently bought a new MacBook Pro (like me). If not, how much will it cost?<issue_comment>username_1: No, the update will not be free (though it is yet unclear what the price will be, possibilities ranging from $29 to $129), and will only be free for those who purchase computers within 2 weeks of the update coming out (this is usually the time window for the free upgrades that Apple offers) in the summer. If you've purchased your computer recently, sorry, but you'll have to pay for it.
Upvotes: 4 [selected_answer]<issue_comment>username_2: If you just bought your MacBook Pro, you won't be a recent buyer when Lion comes out (it's going to be a few months at least).

Lion will probably cost $129 like almost all OS X updates. (Two versions were less than that: Snow Leopard [10.6] was $29 and 10.1 [Cheetah, I think] was free if you had 10.0, but I doubt the reasons for those two scenarios are the case now.)
Upvotes: 2


<issue_start>username_0: I am considering getting an iPad 2 because of the support for inputting an electric guitar in via an [Apogee JAM device](http://www.apogeedigital.com/products/jam.php). However, part of my bigger picture is to take an MXL .009 [USB Condensor Mic](http://www.mxlmics.com/products/USB/USB_009/USB_009.html) into the Garageband app. But I just read that the iPad 2 does not have a USB port on it.

Is there a way to take the audio from a MXL .009 USB mic into the iPad 2 similar to the way the Apogee jam works via the dock connection?<issue_comment>username_1: I think I can use an [ipad camera connector kit](http://rads.stackoverflow.com/amzn/click/B003K1EYM6) as shown in [this video](http://www.youtube.com/watch?v=gbNu6nlywCo).
Upvotes: 0 <issue_comment>username_2: My concern would be if the MXL USB mic expects to draw electrical power through the USB port. In that case the iPad 2 and the iPad Camera Connector Kit certainly would not provide enough power for the microphone. You should go to the MXL web site and check their support information.

The [Alesis IO Dock Pro](http://www.alesis.com/iodock), US$200.00, provides professional-quality audio and MIDI interfaces to the iPad 2, but only interfaces MIDI over USB, not audio over USB like with the MXL microphone you describe. The Alesis is designed to work with conventional condenser microphones with an XLR audio cable, and it provides phantom power.
Upvotes: 1 <issue_comment>username_3: As stated by <NAME>, the iPad 2 does not allow much power through the USB port found on iPad Camera Connector Kit (the first iPad had different specs), and even most thumb Flash drives require too much power. A work around that might suit under some recording circumstances is to use an AC powered USB hub, and let the MXL USB mic draw its power from the wall rather than straight from the iPad 2. The requirement of access to an AC source is the obvious drawback, but it does work well. Here's [a link](http://www.youtube.com/watch?v=azjhW9hsQBw) to a video about the various uses for iPad Camera Connector Kit. (I did not do the video.)
Upvotes: 1


<issue_start>username_0: What are the ways for both an iMac and an iPad to **share the same *physical* keyboard**?

If it's possible to share a *regular* **Apple bluetooth keyboard** between both devices without jailbreaking the iPad, I think it would be my favored option.<issue_comment>username_1: I don't think you can. Bluetooth is designed such that pairing is two-way (computer <-> device). You can't pair to a second device without un-pairing from the first device.
Upvotes: 3 <issue_comment>username_2: Bluetooth only allows pairing with one device at a time.
Upvotes: 2 <issue_comment>username_2: This might help you, or at least lead you in the right direction.

<http://modmyi.com/forums/iphone-news/716935-synergy-ipad-share-your-mouse-keyboard.html>
Upvotes: 2 <issue_comment>username_3: Theoretically using the computer as a middle man, You could set a hotkey to switch between the two? No program exists to do it though :(
Upvotes: 2 <issue_comment>username_4: This has worked well for me - especially when I turn off the bluetooth on the current device that has the bluetooth keyboard paired, then turn on the bluetooth on the other.

Sometimes, then pair to the closest device when I power cycle the keyboard.

You have to do the initial pairing on each, but I've not had issues using one Apple Bluetooth keyboard with more than one "computer" - be it a Mac or an iOS device like an iPhone or an iPad.

You of course can't have the one keyboard drive both *at the same time* - this only works in sequence.
Upvotes: 2 <issue_comment>username_5: Logitech made a solar bluetooth keyboard allowing keyboard to pair 3 device .

With your apple bluetooth keyboard,

JUC400 Wormhole switch will do this.
Or
If you use mac, app "type2phone"is a altinative solution.
Upvotes: 3 [selected_answer]<issue_comment>username_6: It exists [for the Mac](http://houdah.com/type2Phone/index.html), so I guess it could be possible even for Windows.

>
> *Type2Phone*: Virtual Bluetooth Keyboard
>
>
> Type2Phone lets you use your Mac as Bluetooth keyboard to your iPhone,
>  iPad or Apple TV.
>
>
> Type on your full-sized keyboard. The text will appear on your iOS
>  device. Prepare text on your Mac and then paste it to your mobile
>  device.
>
>
> *Benefits*
>
>
> * Use your Mac as a keyboard to type SMS text messages at full speed
> * Send tweets.
> * Update your Facebook status.
> * Chat. With the comfort of a full keyboard
> * Reply to emails on accounts configured only on your iPhone
> * Paste addresses, passwords, … from your Mac to your iPhone
> * Use AppleScript to automate text input to your iPhone
>
>
> *Requirements*
>
>
> * Mac with Bluetooth enabled
> * Mac OS X 10.6.6
> * iPhone (3GS or later), iPad (all models), iPod touch (3rd generation or later). iOS 3.2 or later
> * Apple TV with software version 5.2 (January 2013) or later
>
>
>
Upvotes: 1 <issue_comment>username_7: An alternative to the regular Apple bluetooth keyboard is the [Kanex Multi-Sync Keyboard](http://www.kanexlive.com/keyboard).

This keyboard can be paired with four devices, paired through Bluetooth with each of the devices just once, and you can then use the Multi-Sync Keyboard with it with just a tap of a button. Another device can be connected through USB.

This keyboard has a numeric keypad built in for those spreadsheet editing, but also features iOS-specific keys for your favorite iDevice. It operates on two AAA batteries, and can also be used in a USB-wired mode if needed.

It retails in the UK at £69.00.
Upvotes: 1


<issue_start>username_0: I have been reading PDF files a lot lately and I would very much prefer it if someone could read it out aloud for me ;). Is there any software that you use that can read PDF files aloud so that you can hear it, rather than read?<issue_comment>username_1: You can do this with OS X's built in speech synth and Preview PDF-reading app. Here's how:

1. Open System Preferences → Dictation & Speech → Text to Speech.
2. Check the box (if it isn't already checked) that is labeled "Speak selected text when the key is pressed". Then, click the "Change Key…" button to the right. Press the keyboard shortcut you want to use (I use shift-cmd-r).
3. Now, open you PDF in Preview. Select what you want with the Select tool, or use cmd-a to select everything. Press the key you set earlier, and your computer will think for a moment and then read you your PDF.

Press your key again to stop.
Upvotes: 4 <issue_comment>username_2: An update for MacOS Big Sur (at least)

1. Go to `System Preferences -> Accessibility -> Spoken Content`
2. Make sure `Speak selection` is checked
3. Then highlight some text, right click, and click on `Speech -> Start Speaking`
Upvotes: 1


<issue_start>username_0: I want to access the iPad system files on my computer, so that I can modify them to change one of the iPad keyboards to support my language.

However, when I plug the iPad to my Windows 7 PC, Windows opens it as a storage device with only some wallpaper. I can't see any system files.

How do I access the system and content files for the iPad?<issue_comment>username_1: A certain number of custom keyboards are available on the App Store... maybe this could be the easiest solution for you.
Upvotes: 1 <issue_comment>username_2: To access the file system on an iPad you will need to jailbreak it. Then you can install ssh and use that to access the filesystem. [This guide](http://www.techtosh.com/ipad/how-to-access-ipad-file-system-via-ssh-on-windows-mac/) provides some details.

The reason that you aren't able to see the system files on the iPad when you simply connect it to your computer is because you aren't meant to. Apple hides all of the internal system details to keep the iPad a simple to use consumer device. Most people don't need to modify or even see the system files. Before heading straight for the system internals, consider there may be a simpler way to achieve your goal.
Upvotes: 1 <issue_comment>username_3: You will definitely need to jailbreak (which i recommend evasi0n.com for), and then you will probably want to download the cydia app called iFile. iFile allows you to view and edit a wide range of files directly from your iPad. It costs some money but it is worth it.

If you're looking for something free or need to manage the files from you computer i recommend PhoneBrowse by iMobie.com.
Upvotes: 0 <issue_comment>username_4: Jailbreak your iPad using <http://evasi0n.com> and you will have total access to the filesystem.
Upvotes: 2 <issue_comment>username_5: The recommended approach is to add the keyboard for the desired language by enabling it within the Settings app. On your iPad, go to Settings app → General → Keyboard → Keyboards → Add New Keyboard..., and select the keyboard of your choice. Of late, iOS has evolved to include support for a wide variety of languages and this approach should be taken first.

The intended approach as discussed in the question is neither possible and straightforward, nor is it recommended for attempting to add support for a new language in your iPad keyboard. Also, it isn't advisable to jailbreak your iOS device just for the sake for changing keyboard language.

Additionally, starting with **iOS 8**, Apple has enabled support for 3rd-party keyboard apps. A lot of such apps are now available on the App Store, and you should be able to find the one that fits your requirements. Alternatively, you can also write your own keyboard app that best suits your needs.

You can Learn more about keyboard settings by reading this Apple Support article, [About the keyboards settings on your iPhone, iPad, and iPod touch](https://support.apple.com/kb/HT202178).
Upvotes: 0


<issue_start>username_0: How can I change depth (bits) and frequency (kHzs) characteristics when recording session in GarageBand?

If I can't then what are the default values?<issue_comment>username_1: You cannot change depth and frequency of the recorded samples, even when changing the input settings in the `Audio MIDI Setup.app` (this is the way to change playback and recording settings for sound devices).
![Audio Devices setup in Audio MIDI Setup.app](https://i.stack.imgur.com/fvtpU.png)
The default values for Garage Band are 44kHz, 16 bit, stereo. They are kept in AIFF format. You can explore them by right-clicking your garage band project and choosing `Show package contents`. The recorded files are kept in the `Media` folder.

*Edit (added Logic 9):*

In Logic 9 you can change the sampling rate (frequency) from the `Project Settings` window, `Audio` tab. Explained in the [Logic 9 Manual - Setting the Sample rate](http://documentation.apple.com/en/logicpro/usermanual/#chapter=14%26section=2). To change the bit depth you should go to `Preferences` -> `Audio` and check/uncheck `24 bit recording` (It's checked by default). It's covered in the [Logic 9 Manual - Setting the project bit depth](http://documentation.apple.com/en/logicpro/usermanual/#chapter=14%26section=3).
Upvotes: 2 [selected_answer]<issue_comment>username_2: Using TechTools Pro you can manipulate the default audio frequency.

![enter image description here](https://i.stack.imgur.com/kEb8S.png)
Upvotes: 0


<issue_start>username_0: I'm looking for the best way to open an iPod classic, meaning taking it apart. Mine got wet and now doesn't work and I would like to open it up and check that everythin's in place. I would like to do so in the safest way, so as not to dent the iPod. Any suggestions?<issue_comment>username_1: All you need is the [plastic opening tools](http://www.ifixit.com/Tools/Plastic-Opening-Tools/IF145-000) and follow this [iFixit guide](http://www.ifixit.com/Guide/Repair/Installing-iPod-4th-Generation-or-Photo-Battery/393/1).
Upvotes: 3 [selected_answer]<issue_comment>username_2: I've had good luck opening iPods with guitar picks in the past without damaging them. You can put them in the side crack and use them as a lever if you are gentle with it. See here:
[![](https://i.stack.imgur.com/skJeK.jpg)](https://i.stack.imgur.com/skJeK.jpg)

(source: [nuxx.net](https://nuxx.net/gallery/d/87044-4/IMG_4124.jpg))
Upvotes: 1


<issue_start>username_0: When I'm working in a text document, I like to start typing at the top of the window or in the middle. I hate when the carat/cursor gets all the way to the bottom and there's no blank space left underneath where my typing will appear. It's especially annoying when I'm adding to the document by drag&drop of outside text - much easier when your target is half a page/screen, not a 5mm line.

So is there any way to push the 'last line' up the screen and create blank space? eg. in TextEdit or Textmate or Coda or a similar app.<issue_comment>username_1: There really isn't a neat way of doing this. I normally hit Command + down arrow. This will bring me to the end of the page, where I can then press enter a few times, or if using textmate, you can create a snippet to insert carriage returns for you. With an application like textexpander you can program a keypress to add carriage returns for you.
Upvotes: 2 <issue_comment>username_2: Emacs.app is the only editor I'm aware of that gives you extra space beyond the end of a text document. You can scroll the last line of a document all the way to the top of the window.
Upvotes: 1 <issue_comment>username_3: BBEdit by Bare Bones Software allows for extra space with with two settings: half-page or full-page. You mention TextMate specifically, but it doesn't allow for extra space by default, as others have mentioned.
Upvotes: 2 <issue_comment>username_4: I tried Sublime Text 2 today, and it behaves exactly the way I want.

It's a great editor in general, too. One of the very best.
Upvotes: 0


<issue_start>username_0: Is there a way to tell Finder to not peek inside or generate thumbnails for files based on a particular network share or folder?

I've got a tape archival system which presents an SMB (Windows) network share to clients. Clients can see all the files and folders that have been put on the network share, and the data gets transparently archived to tape in the background leaving a small 'stub' file on disk. When a read request on a file is issued by a client, the tape system recalls the file from tape and sends it back to the client. The upshot is I get a large amount of cheap high-latency storage, but with a very simple network share interface.

However, there's a significant problem with Mac clients: when Finder sees a directory full of files, it attempts to generate thumbnails and read other data about the file. Finder assumes that it can get data relatively quickly, so when it sees a directory full of 100GB worth of mov files, it requests to read each one so that it can generate the thumbnails.

Predictably, this sends the tape drive crazy, as it tries to pull down each of these files from tape just to generate the thumbnails.

Ideally, I'd like to tell Finder to not read any data inside the file until it's explicitly asked for by the user, ie. they request to copy it to their local disk. Is this possible?<issue_comment>username_1: I don't know if this will work in your particular case, but you might as well try it.
Open the Samba share and press Command+J, then uncheck "Show icon preview" and click on "Use as defaults". This way the Finder won't try to extract info from the file to generate a thumbnail, no matter if it is an image, or a mp3, or a movie. However this would be valid only for the root directory you just changed the settings to, so the local hard drive stuff should be ok.
Upvotes: 2 <issue_comment>username_2: First of all, I am using <http://cantuse.it/2008/11/disable-video-thumbnails-in-mac-os/> as a reference.

Now originally I remember removing and modifying the quicklook generators to associate a blank filetype with the text generators, in this case, it looks like the video thunbnail generation is handled by the same process.

Move /System/Library/Frameworks/QuickLook.framework/Resources/Generators/Movie.qlgenerator somewhere else, and it should not try to generate the thumbnails in the future. Good luck!
Upvotes: 0 <issue_comment>username_3: You can [disable the QuickLook process](http://groups.google.com/group/macenterprise/browse_thread/thread/13edca584588bc39?pli=1) responsible for generating the thumbnails.

On Mac OS X 10.6, use the following command to disable the automatic launching of the quicklookd daemon process:

```
sudo launchctl unload /System/Library/LaunchAgents/com.apple.quicklook.plist

```

Mac OS X may assume this process is always available, so always back up first and tread with care when disabling system wide services and daemons.
Upvotes: 0 <issue_comment>username_4: By pressing cmd+J then unchecking "Show icon preview", I've solved the flooding errors in my log that was :

```
com.apple.quicklook.satellite[16222]: Failed to initializeServer(), returned 5
com.apple.quicklook.satellite[16222]: Failed to communicate with qtkitserver: Connection invalid

```

if that can help too.
I didn't understand that the setting is not the same for the Desktop, windows in column view… so I've been looking for a system-wide solution that actually was a checkbox.
Then using TotalFinder and always in column view, you only have to check twice to apply this setting "everywhere", that's it.
Upvotes: 1


<issue_start>username_0: In the "Add Printer" dialog Windows section, there are no printers showing up, even though there are several in the office.

![enter image description here](https://i.stack.imgur.com/SPt1R.png)

I *think* this might be because my Mac is not "logged onto" the Windows domain where the printers live, but I can't be certain.

What are some common debugging steps to diagnose why a Mac computer on a Windows network can't browse to a Windows printer?<issue_comment>username_1: Below are three articles for trying to fix this, but generally you can just type

>
> smb://workgroup/server/sharename
>
>
>

or

>
> smb://server/sharename
>
>
>

in the windows dialog and that should work if you cannot see the printers automatically.

* Mac OS X: Cannot locate a shared
Windows printer

>
> <http://support.apple.com/kb/HT1404>
>
>
>
* Mac OS X 10.5 or earlier:
Troubleshooting printing issues

>
> <http://support.apple.com/kb/TS3140>
>
>
>
* Mac OS X: How to manually add a
Windows shared printer

>
> <http://support.apple.com/kb/ht3049>
>
>
>

I had problems printing to windows computers at my work and using these articles, so what I did was manually add the printers by IP address.

![ip printing dialog for mac os x](https://i.stack.imgur.com/BYUbT.jpg)
Upvotes: 1 <issue_comment>username_2: Apple's knowledgebase article on [troubleshooting shared Windows printers](http://support.apple.com/kb/HT1404) specifies that printers on a different subnet won't show up in the Windows dialog of Add Printer. This sounds to be the case for you.

Since you're able to connect to the domain via smb, you should be able to manually add the printer(s). Select the "Advanced" button at the top of the Add Printer dialog from your screenshot.

Select "Windows" from the Type dropdown menu. You can manually enter the printer's smb URL:

`smb://Windows_name/printer_share_name`

or possibly

`smb://user:password@Windows_Computer_Name/Shared_Printer_Name`

Select the appropriate driver and click "Add".

You can get the full steps on how to manually add a Windows printer from Apple's knowledgebase [here](http://support.apple.com/kb/ht3049).
Upvotes: 4 [selected_answer]<issue_comment>username_3: One of the first things I usually do (when it applies) is install the [Windows Services for UNIX](http://en.wikipedia.org/wiki/Windows_Services_for_UNIX) in the machine with the printer attached. It has fixed most of my problems. In fact OS X usually "forgets" or is unable to correctly identify via SMB with the remote printer/computer, even when you have either guest enabled or a specific user saved in your keychain.

Other than that, try manually browsing to see if you have access to the printer in the first place. If you can manually reach it, then you have a discoverability problem (usually fixed by the above steps) or the steps pointed in other answers.

For what is worth, installing those services on XP machines is very simple and it's included with the XP CD.

You don't really mention where is the printer connected (Windows Version) so I can only guess. If your printer is attached to Windows 7, I'd take a look at the other answers before going crazy.
Upvotes: 1 <issue_comment>username_4: It may be worth checking the port configuration for the printers. I had a similar issue with wireless Macbooks not seeing a windows shared printer.

In the Ports tab under Printer Properties (Windows) there is the option to Configure Port. Changing this from TCP/IP to LPR, and adding `lpd://Printer_Name` to the Printer/Queue Name box enabled me to see the printer from the MacBook.
Upvotes: 0


<issue_start>username_0: What is it?

(I know, oh so subjective.)

So let's make that, what's the most effective and pain free way to do it? I realize those may be contradictory conditions.<issue_comment>username_1: The easiest and most pain free way is to use homebrew

<https://github.com/mxcl/homebrew>

Once you follow the instructions to install homebrew on this page (which include installing Xcode), you can then simply type

```
brew install wine

```

And this will download and compile wine and all its dependendencies.
Upvotes: 5 [selected_answer]<issue_comment>username_2: Most pain free way is to use Codeweavers's paid for version [Crossover](http://www.codeweavers.com/products/)

It has useful default settings and for many apps provides C4P or CrossTie which will do all the installation and set up of the app from one script.
Upvotes: 2 <issue_comment>username_3: I would suggest using Winebottler from <http://winebottler.kronenberg.org/>
works fine for me!
Upvotes: 3 <issue_comment>username_4: You can install wine using [MacPorts](http://www.macports.org/) or [Fink](http://www.finkproject.org/) they both are recommended my wine.

As for GUI applications for wine the only thing besides wine's own utilities is [winetricks](https://code.google.com/p/winetricks/). They are pretty useful for automatically downloading and installing different applications and dlls with their dependencies.

If your OSX is older than 10.5 than you will definitely need to install [XQuartz](http://xquartz.macosforge.org/trac/wiki) (newer version already include X server).

### MacPorts

 [Install MacPorts](http://www.macports.org/install.php) at first.

Let's search packages matching 'wine':

```
port search wine

```

```

wine @1.4 (x11)
    Wine Is Not an Emulator

wine-crossover @11.0.0 (x11)
    Wine Is Not an Emulator (1.4-rc5 with CodeWeavers modifications for CrossOver)

wine-crossover-games @10.1.1 (x11)
    Wine Is Not an Emulator (1.3.9 with CodeWeavers modifications for CrossOver Games)

wine-devel @1.5.0 (x11)
    Wine Is Not an Emulator

winetricks @20120308 (x11)
    downloads and installs various redistributable runtime libraries

```

Now we see that we can either install CodeWeavers version or just usual wine. Let's install usual wine (I think that for another one you need some kind of licesce):

```
sudo port install wine
```

It's also a good idea to install winetricks:

```
sudo port install winetricks
```

### Fink

Install Fink as deskribed [here](http://www.finkproject.org/doc/users-guide/install.php).

```
fink list wine
```

```

     wine                  1.3.21-1         Microsoft Windows compatibility layer
     wine-dev              1.3.21-1         Microsoft Windows compatibility layer
     winetricks            20111120-2       Install redistributable runtime tools in Wine

```

Let's now install them

```

fink install wine
fink install winetricks

```

### After installation

In terminal enter wine and press [Tab] and you will see utiles that come with wine (and winetricks of course):

```

wine         winebuild    wineconsole  winedbg      winefile     winegcc      winemine     wineserver
wineboot     winecfg      winecpp      winedump     wineg++      winemaker    winepath     winetricks

```

**winecfg** is very useful to configure wine (dlls overriding, Windows version selection, etc.)

---

Is also probably posible to install wine on top of Gentoo prefix, but I'm not sure that you will get X support in this case.
Upvotes: 3 <issue_comment>username_5: The best graphical install of Wine is Wineskin. It puts all the tools in a GUI and creates a standalone .app file that Mac will run as a native app. Here is a tutorial that is using Steam as an example.

<http://www.easypctutorials.com/windows-steam-on-mac-wineskin>

If you plan on porting several applications then you'll want to run just one Wine environment. MacPorts or Homebrew are probably your best options.

<http://www.easypctutorials.com/how-to-install-wine-on-mac-os-x>

Hope this helps!
Upvotes: 2


<issue_start>username_0: I'm running Mac OS X 10.6.3, and find myself switching between the [Dvorak](http://en.wikipedia.org/wiki/Dvorak_keyboard) and U.S. Extended keyboard layout. Ideally I'd want a Dvorak layout with the international character support of the latter (e.g. Option-u for umlaut, Option-6 for circumflex, etc), but such a thing didn't turn up during some quick googling.

Can I download such a keyboard layout somewhere or, failing that, is there a tool to create such a layout?<issue_comment>username_1: `Option`-`U` does work under Dvorak -- but you have to use the Dvorak key-mappings, so really it becomes `Option`-`F`.

If you're still not happy with it, you might try this online tool to create your own custom keyboard layout: <http://wordherd.com/keyboards/>

It hasn't been updated in six years, so no guarantee it will work on the latest versions of OS X.
Upvotes: 4 [selected_answer]<issue_comment>username_2: The [Dvorak](http://en.wikipedia.org/wiki/Dvorak_keyboard) keyboard layout on Macintosh already has international character support, the exact same support found in the US keyboard layout. There is no need to switch from one to the other if your primary language is English and you need to type occasional words or sentences in other Western European languages.

I have been using the Dvorak layout on Mac since about 1988, and for all the years since then, I have been using it to type in **English**, **French**, **Spanish**, **Italian** and **German**, *without any modification or re-mapping of keys at all*. The "dead-key" diacriticals are all available; it is only a matter of *memorizing their locations*.

![enter image description here](https://i.stack.imgur.com/qoawE.png)

Dvorak

![enter image description here](https://i.stack.imgur.com/ksU88.png)

Dvorak with Option key held down to show "dead-key" diacritical combinations along with other characters needed in Western European languages

![enter image description here](https://i.stack.imgur.com/KPSls.png)

U.S. layout

![enter image description here](https://i.stack.imgur.com/ppSMI.png)

U.S. layout with Option key held down to show "dead-key" diacritical combinations. Note that the exact same set of "dead-key" diacriticals are available on both the Dvorak and U.S. layouts, and they are assigned to the *exact same keys* although those keys are of course in different physically-mapped locations. The same goes for all the other characters used in other Western European languages.

If you need other characters that are not provided on either the U.S. or Dvorak keyboard layouts, then of course you should investigate other keyboard layouts specific to other countries, nationalities and languages.

[Just last week I had to use Adobe InDesign and WordPress to handle text from an orchestra concert program including two words in Czech with characters that I had not encountered before, and neither of these keyboard layouts provide support for that!]
Upvotes: 3


<issue_start>username_0: I want to control my Windows box from my Mac. I installed RealVNC on Windows but it's impossible to connect from Mac. (Finder, Command+K) What should I do to do this?<issue_comment>username_1: Check out [Keka - the free Max OS X file archiver](http://www.kekaosx.com/)
![enter image description here](https://i.stack.imgur.com/oYHnK.png)

>
> With 7z and Zip you will have the
>  opportunity to create password
>  encrypted files to better protect your
>  privacy. It's as easy as write your
>  password in the box, and drag and drop
>  files to Keka in the dock.
>
>
>

---

Another way is to run the command in your Terminal.app:

```
$ zip -e myzip.zip

```

After the command you will be prompted for a password. Instead of the single files you can specify a folder, too.

---

I don't know of any more apps that allow you to create archives with many formats. For decrompression there are multiple great apps (The Unarchiver, Stuffit Expander).
You can give [**7zipX**](http://sixtyfive.xmghosting.com/products/7zx/) a try, too.

Some paid alternatives:

* [BetterZip](http://macitbetter.com/)
* [StuffIt](http://www.stuffit.com/mac-stuffit.html)
* [Archiver](http://archiverapp.com/)
Upvotes: 3 <issue_comment>username_2: The unarchiver and simplyRAR in addition to keka.
Upvotes: 0


<issue_start>username_0: How do I open older .imovieproject files (they're actually folders folders) in iMovie '09?
I don't want to import the assets of the old project, I want the actual project to open on iMovie '09.<issue_comment>username_1: Correct. It is not possible for someone to disable this. When the logic board or LCD panel fail, or sometimes after a severe power outage, this light can get stuck on, requiring hardware service, or a reset of certain components. Keep the tape if you like, but the techs will knowingly shake their head and chuckle.
Upvotes: -1 <issue_comment>username_2: Today I stumbled across a proper publication regarding this topic: Researches from the Johns Hopkins University recently published the paper ["iSeeYou: Disabling the MacBook Webcam Indicator LED"](http://jhir.library.jhu.edu/handle/1774.2/36569), showing that they were able to deactivate the iSight status LED on older MacBooks even without root access by replacing its firmware.

It appears they were able to do so by bypassing the standby signals sent by the USB interface; thus while the LED gets the order to "standby", the camera stays on.
Upvotes: 2 <issue_comment>username_3: I just read [another article about that on Ars Technica](http://arstechnica.com/security/2013/12/perv-utopia-light-on-macbook-webcams-can-be-bypassed/)

* Yes the LED is hardwired
* But it can still be bypassed

Only downside of [this article](https://jscholarship.library.jhu.edu/bitstream/handle/1774.2/36569/camera.pdf?sequence=1), it was only tested on "old" (late PPC, early Intel) macs.
Upvotes: 3 [selected_answer]


<issue_start>username_0: My son was playing with my iPod Touch 4th generation and changed the screen resolution. I don't know how to fix this.

How do I change the screen resolution back to what it is supposed to be?

Everything on my iPod is way too big and I can't do anything.<issue_comment>username_1: I think you may have turned on the Zoom or Large Text feature. Head over to **Settings > General > Accessibility**. turn zoom off in there, or Large Text.

![Accessibility Options](https://i.stack.imgur.com/NMzGI.png)
Upvotes: 2 <issue_comment>username_2: In case your son does it again: If you ever get stuck at a fully zoomed in view, double tap with three fingers to fully zoom in/out.
Upvotes: 0


<issue_start>username_0: Because I might just want to go to bed after this one song (but don't want to stop it midway – It's a classic).<issue_comment>username_1: There's no command as such, but you can stop iTunes from playing after completing the current song by using the column browser to switch to any album other than the one of the current song. When the current song is done, iTunes will stop playing.
Upvotes: 3 <issue_comment>username_2: No there is no command in iTunes but with Applescript you can add fuctionality. For iTunes and Applescript see [Doug's Applescripts for iTunes](http://dougscripts.com/itunes/) and they have [one to stop after the current track](http://dougscripts.com/itunes/scripts/ss.php?sp=thisisthelastsong).
Upvotes: 2 <issue_comment>username_3: There is no built-in option to do this, but there are several third party apps that are made for your situation.

[Berceuse](http://itunes.apple.com/us/app/berceuse-from-gugusoft/id412325836?mt=12) ($2)
----------------------------------------------------------------------------------------

This one that does exactly what you asked (and more).

Basically, it lets you set a number of tracks to play, amount of time, or entire playlist to play before performing a set action (shut down, sleep, pause, etc.).

If you're looking for a free version, there are two options that are timers only (set them to the length of your song to play just one more).

[iTunes Sleep Timer](http://www.mywebsight.ws/mac/applescripts/) (free)
-----------------------------------------------------------------------

This is an AppleScript that lets you very simply launch it and enter a number of second to continue playing for.

[iTunes Timer](http://www.apple.com/downloads/dashboard/music/itunestimer.html) (free)
--------------------------------------------------------------------------------------

This is a dashboard widget that lets you drag a slider to set the time to continue playing for.
Upvotes: 2 <issue_comment>username_4: If you use the search term in iTunes to search such that only that song is found, it will stop playing after it's finished (unless you've set it to loop). Or you can create a playlist with just that song and it will do the same thing.
Upvotes: 0 <issue_comment>username_5: iTunes 11
---------

Click on the Up Next button and press clear. It will stop after the current song regardless where you start the song from.

![](https://i.stack.imgur.com/K6Uy8.png)

iTunes 12
---------

"Clear" is at the end of the Up Next list, rather than the top, so you'll have to take the extra step of scrolling to the bottom.
Upvotes: 6 [selected_answer]<issue_comment>username_6: I couldn't make this work with podcast episodes. So I do this:

Right click on the episode and select 'Show in Finder'.
Then in Finder right click again and select 'Open in Quicktime Player'

I admit it is a clumsy workaround but it does the trick.
Upvotes: 0 <issue_comment>username_7: Put the song in a playlist and click the check box off. All the songs in the playlist will have to be clicked off as well.

Or easier still have the track as the only song in the play list.
Upvotes: 1 <issue_comment>username_8: Just make a playlist with the one song and that's all it will play.
Upvotes: -1 <issue_comment>username_9: Just download the VOX player (it's free and great). There is an option in settings "autoplay", you can turn it off if You want to.[![enter image description here](https://i.stack.imgur.com/tiosd.png)](https://i.stack.imgur.com/tiosd.png)
Upvotes: -1


<issue_start>username_0: I'm planning on buying a new macbook pro 13inch and I've got the choice between a `2.3ghz intel core i5` or an `2.7ghz intel core i7` for an extra €300 (= $430).

Can someone explain me what the difference is between `i5` and `i7`? Would it be worth it to updgrade (eg will the performance be better)?

I would mainly use the laptop for matlab simulations (and other simple 3D simulations) and data processing. Some of these calculation are highly recursive and take a long time (fractal computation etc) on my current machine.<issue_comment>username_1: The two processors in question are the i5-2415M and the i7-2620M. The nitty-gritty tech-spec details can be [compared here](http://ark.intel.com/Compare.aspx?ids=53449,52231,).

The main difference, besides clock speed, is that the i7 has a bigger cache and includes [Intel vPro Technology](http://en.wikipedia.org/wiki/Intel_vPro) which theoretically provides faster AES decryption and other magical buzzwords.

Of course, what you really want [are benchmarks](http://www.macworld.com/article/157893/2011/02/2011macbookpro_benchmarks.html), and then decide if the 3 seconds you save on a one minute photoshop action is worth three hundred Euros.
Upvotes: 2 <issue_comment>username_2: There is no simple answer. IMHO, the question is not about 0.4 GHz. (BTW, it is 17% above 2.3).

The real questions are:

* do you have external USB or any other backup solution?

	+ no - consider buying an external HDD first!
	+ yes, I have - next question :)
* have you already max. memory in your config?

	+ no - consider investing into more memory first
	+ yes, already max. memory - go to the next question
* is there a config with better graphics performance?

	+ yes - consider it first
	+ no - next question
* are you a heavy emulated Windows user (Parallels, VMware, VirtualBox etc)?

	+ yes, go for the 2.7
	+ no - next
* do you need every millisecond of power (because of, for example, gaming, video editing, etc.)?

	+ yes - buy the high-end one
	+ no - next question
* are you a bit paranoid (meaning, planning to use the FileVault encrypting for your $HOME folder)?

	+ yes - buy the high-end one
	+ no - next
* how often are you upgrading your Mac?

	+ every 18 months (one generation) - don't buy the high-end one, because usually they are a bit overpriced
	+ every 2 years or more? - buy the high-end

misc. ;)

* do you already own an iPad?

	+ no?! - consider saving another 300 euros on notebook and buy an iPad - trust me, it is much better for browsing in the bed... ;)
* is your girlfriend a technical geek?

	+ yes - the high-end is a MUST! :)
	+ no, bring her to somewhere for 300 EUR :)

misc 2 :)

* Have iPad, no girlfriend - and have you decided to save 300 euros based on this answer? Consider sending me 50% ;) :)
Upvotes: 5 [selected_answer]<issue_comment>username_3: To keep it for "human beings":

i7 is better for video editing.

If you do not plan to make it everyday the i5 will make you happy.
Upvotes: -1 <issue_comment>username_4: The speed differences aren't very important -- the big difference is that the i7 had Intel VT-D technology, which improves VM IO performance, especially if you use multiple VMs simultaneously.

If you see alot of work with VMs in your future and have the money, go for it. Otherwise, the i5 is more than adequate.

The i7 also has hardware AES acceleration.
Upvotes: 2


<issue_start>username_0: I want to monitor each application's network/internet usage on my Mac.

Sort of like how Activity Indicator shows total upload/download usage -- but I also want to know particular application usages.

Is this possible?<issue_comment>username_1: The app [Little Snitch](http://www.obdev.at/products/littlesnitch/index.html) can do this. Among many other things, it shows traffic by app.

It costs $29, but there is a free trial available.
Upvotes: 3 <issue_comment>username_2: Another app I've used is [RubbertNet](https://web.archive.org/web/20150321060332/http://rubbernetapp.com/) (site is down, linked via archive.org). Also not free, but has a free trial available.
Upvotes: 3 <issue_comment>username_3: You could look at [WireShark](http://www.wireshark.org/). It may have a daunting interface, but once you learn it, you can track traffic by port.

You can also check out the built-in terminal utilities [NetStat](https://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man1/netstat.1.html), [TCPDump](https://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man1/tcpdump.1.html) and [PCap](https://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man3/pcap.3pcap.html).

Using `netstat -t -u` will display the send and receive queue by process name.
Upvotes: 1 <issue_comment>username_4: If you are using iOS 5+ you can use the [remote virtual interface](http://developer.apple.com/library/ios/qa/qa1176/_index.html#//apple_ref/doc/uid/DTS10001707-CH1-SECRVI)

```
$ # First get the current list of interfaces.

$ ifconfig -l

lo0 gif0 stf0 en0 en1 p2p0 fw0 ppp0 utun0

$ # Then run the tool with the UDID of the device.

$ rvictl -s 74bd53c647548234ddcef0ee3abee616005051ed

Starting device 74bd53c647548234ddcef0ee3abee616005051ed [SUCCEEDED]

$ # Get the list of interfaces again, and you can see the new virtual

$ # network interface, rvi0, added by the previous command.

$ ifconfig -l

lo0 gif0 stf0 en0 en1 p2p0 fw0 ppp0 utun0 rvi0

```

You should be able to use wireshark or tcpdump, or ngrep on the problem, via the mac.

EDIT: ipfw is deprecated, but you can just turn on logging and see which packets go where. I don't know how to do that with pf :(

EDIT: I don't know why I thought this was for iOS. Apologies
Upvotes: -1 <issue_comment>username_5: A combination of

**[HandsOff!](http://www.metakine.com/products/handsoff/)** and **[SurplusMeter](http://www.skoobysoft.com/utilities/utilities.html)**
======================================================================================================================================

is my current solution. HandsOff is an advanced firewall which similar to LittleSnitch. It's not free, but a trial version is available. Surplusmeter on the other hand is free and open source.

Among the features which you need for monitoring network usage are:

* monitoring network activity of every process (HandsOff!)
* get the network usage of individual processes (HandsOff!)
* log total network usage (SurplusMeter)

HandOff does only display the network usage since boot. It does not log the data which is why I need SurplusMeter. However, SurplusMeter only logs the total network usage for all applications.

![enter image description here](https://i.stack.imgur.com/HKv5W.png) ![enter image description here](https://i.stack.imgur.com/pNZyT.png)
Upvotes: 3 <issue_comment>username_6: Apple include a customised version of `tcpdump` as part of MacOS/OSX which allows for the display/filtering of packet capture metadata information - which contains a number of items (see man page excerpt below) and includes process information. e.g. so you could run it to capture traffic only from firefox (`-Q proc=firefox`) and print out all packet metadata information (`-k`):

```
sudo tcpdump -Q proc=firefox -k

```

Or you could run it with just the -k option(s) and extract and analyse data per process name/pid. For more details see `man tcpdump` - here's the relevant sections (though there's more in the man page about the PKTAP filters):

```
  -k Control  the  display  of packet metadata via an optional metadata_arg argument.
     This is useful when displaying packet saved in the pcap-ng file format  or  with
     interfaces that support the PKTAP data link type.

     By default, when the metadata_arg optional argument is not specified, any avail-
     able packet metadata information is printed out.

     The metadata_arg argument controls  the  display  of  specific  packet  metadata
     information  using  a  flag  word, where each character corresponds to a type of
     packet metadata as follows:

                 I     interface name (or interface ID)
                 N     process name
                 P     process ID
                 S     service class
                 D     direction
                 C     comment
                 C     flags
                 U     process UUID (not shown by default)
                 A     display all types of metadata

     This is an Apple modification.

   -Q expression
     To  specify a filter expression based on packet metadata information like inter-
     face or process name.  Packet with matching packet metadata will be displayed or
     saved  to  a  file.  See section PACKET METADATA FILTER for the syntax of packet
     metadata filter expressions.  This is an Apple addition.

```
Upvotes: 3


<issue_start>username_0: I have a couple questions regarding this:

* Is there a good source for old firmwares, including 3.2? (iClarified doesn't have 3.2)
* Does Apple support downgrading for OS compatibility testing?

Thanks<issue_comment>username_1: As bckbck already said, you need the SHSH blob from the earlier version. If you don't have it for the desired OS version, it's too late.

And iOS 3.2 was only supported on the iPad, so it won't run on iPod touches.

Should the data on <http://theiphonewiki.com/wiki/index.php?title=SHSH> be correct, then you can downgrade to iOS 4.1 with your device.

And you can get all firmwares at <http://www.felixbruns.de/iPod/firmware/>.
Upvotes: 1 <issue_comment>username_2: First, iPhonos (my way of saying “iPhone OS”) 3.2 was a unique version that was only available for iPad users. Since iOS 4, the iPad versions have the same version as the iPhone and touch version.

Second, on iPhone 3GS and touch 3g and later, plus all iPads, it uses a unique number, called a SHSH, which is a code made up of other codes in your device, including your device's firmware version and serial numbers of the hardware inside the device. But, the touch 1g and 2g, as well as the original iPhone and the iPhone 3G, do not have some of the hardware required for the SHSH to be generated, so they have to fill in some of the gaps in the SHSH that the missing hardware would have filled in. This needs to be done by the software, not hardware. iDevices that run iPhonos 3 or earlier don't know of this, so you can downgrade to any earlier iPhonos version without needing to save a SHSH.

You should use the firmware page that @username_1 mentioned, but make sure you use the second dropdown list, as the other dropdown is for iPods that don't run iOS.

Ad@m
Upvotes: 0


<issue_start>username_0: I downloaded the new OS X Lion from the App store. I am running the latest Snow Leopard on my 2010 15" Macbook Pro. During the download, it somehow stopped while I was away from the keyboard. When I returned, I resumed it again, and after download completion, began to install it.

When it rebooted, it began to install Lion, and when it was at the 33 minute mark, it failed.

See pictures below:

![Installing Mac OS X Lion](https://i.stack.imgur.com/AlgHO.jpg)

I got the error message:

>
> **Install Failed**
>
>
> Mac OS X could not be installed on your computer
>
>
> Mac OS X couldn't be installed, because the disk Macintosh HD is damaged and can't be repaired.
>
>
>

![Install Failed](https://i.stack.imgur.com/yQZs8.jpg)

I read somewhere that I should put in the original install DVD, and run the Disk Utility to try to verify and repair.

I put the disc in, booted it, and clicked through past the language selection, but made sure to wait for the top menu bar to appear to get to Disk Utility. I clicked on Verify Disk, and got this error message after it ran:

>
> Invalid node structure
>
>
> The volume Macintosh HD could not be verified completely.
>
>
> Error: This disk needs to be repaired. Click Repair Disk.
>
>
>

![Verifying the disk](https://i.stack.imgur.com/fZpQV.jpg)

After clicking Repair Disk, I got this error message:

>
> **Disk Utility stopped repairing "Macintosh HD"**
>
>
> Disk Utility can't repair this disk. Back up as many of your files as possible, reformat the disk, and restore your backed up files.
>
>
>

![Trying to repair the disk](https://i.stack.imgur.com/xSDkx.jpg)

I'm also running Bootcamp, with Windows 7 installed in it's own partition. I don't know if that has anything to do with why I'm getting these error messages or not, or if that's why it thinks the hard drive is damaged.

How do I fix this?

I am unable to get back into Snow Leopard. Every restart leads back into the Lion install, which results in these errors. I think many others are having this issue as well.

*I do have my files backed up (not in Time Machine, but manually on an external USB drive). I don't mind wiping everything (including Bootcamp), but I rather that be a last resort.*

Reference:

* [Install Failed - Disk is damaged](https://discussions.apple.com/thread/3190279?start=0&tstart=0) on Apple Discussions site.<issue_comment>username_1: An erase may fix the node structure. Also tools like Drive Genius or Disk warrior - but if you have a backup, it will likely be much faster to just erase the drive.

That way you'll know it's OK or if it can't erase itself properly from the boot drive - you can swap out the HD (or whatever repair is appropriate) and then proceed.

Until you're ready to bring a tool other than Disk Utility to bear or try an erase - you won't be able to proceed. :-(

If it erases fine (without error) - you should be good to go. Just bad luck with the directory structure. If the drive is failing, you'll keep getting those sort of errors that are not recoverable - even during or after an erase attempt.
Upvotes: 1 <issue_comment>username_2: I had exactly the same situation - allegedly damaged hard disk with invalid node structure, on a bootcamp partitioned disk withh endless looping of installs and no route back to Snow Leopard. Here's what worked for me, courtesy of a very helpful forum user by the name of bart:

1. Boot from Snow Leopard DVD by holding down Alt after the chimes and selecting the DVD option.
2. Run Utilities -> Disk Utility.
3. Click on "Macintosh HD" and then "Unmount".
4. Close Disk Utility.
5. Run Utilities -> Terminal
6. Run the command: fsck\_hfs -rf /dev/disk0s2 (Your partition name might be different.)
7. Run it again (my disk it turns out had *a lot* of errors) until it says "Volume Repair Completed".
8. Close Terminal.
9. Run Utilities -> Disk Utility.
10. Click on "Macintosh HD" and then "Verify Disk".
11. Verify should come back ok this time.
12. Click on "Macintosh HD" and then "Mount".
13. Choose "OSX 10.6.8" as your startup disk.
14. Reboot, cross fingers.

This got me back into Snow Leopard with the Lion Installation Application still in the Dock ready to run. I'll do that when I'm a little more confident!

Hope this helps.
Upvotes: 1 <issue_comment>username_3: To just get back to Snow Leopard you shouldn't need to do any of this hocus pocus -

While in the Lion Installer ("Install Mac OS X" window) do q of select "Mac OS X Installer">quit from the hidden menubar at the top of the screen - You will be presented with a dialogue "Are you sure you want to quite?" select "Choose Startup Disk..." - select your Snow Leopard disk and click "Restart..."
Upvotes: 1 <issue_comment>username_4: I ended up bringing my Macbook Pro into the Apple store. The *genius* there attached the store's OS X Snow Leopard via USB, and booted from it, and ran the Repair Disk, which gave the same error of an invalid node structure. Since it was still under Apple Care, I got my hard drive replaced and was able to keep the old one.

With the new hard drive, it had Snow Leopard on it, and I simply upgraded it to Lion without a problem. I was able to attach the old hard drive via USB, and restore all my files.

Thanks everyone for their help. +1 to everyone.
Upvotes: 3 [selected_answer]


<issue_start>username_0: I am helping a friend set up a brand-new MacBook. She is migrating from a Windows environment and is used to OpenOffice. I have very little OS X experience.

OpenOffice 3.3 has a [native Aqua port](http://porting.openoffice.org/mac/) for OS X > 10.3.

Is this port regarded stable and ready for end users? Is it fully integrated into the OS X environment like Apple's own iWork, or are there shortcomings or compromises one needs to be aware of?<issue_comment>username_1: I used Open Office, it does the job ok. No crashes, quite feature complete. However if you really don't want to pay anything for an office suite, I'd go for Google Docs.

If you do want to pay, then definitely go for iWork. It's the only one that's fully integrated with OS X (especially if you have Lion).
Upvotes: 3 [selected_answer]<issue_comment>username_2: I have used OpenOffice. It does work, but personally I find it to be a bit slow, because it runs on Java. It certainly does work, though. Also, unlike Google Docs, it's usable offline.

When I had OpenOffice installed and I would accidentally click on a spreadsheet, I cringed at the impending system slowdown. It's not terrible, but I didn't find it to be as snappy as I would have liked to expect from software in 2011. (This was likely because I had several other apps open at the same time, but still - I wouldn't have the same issues with certain other native apps.)

In my opinion, iWork is certainly the way to go, since you can purchase it for relatively cheap from the App Store and re-download it whenever necessary. (On multiple machines too!)
Upvotes: 1 <issue_comment>username_3: I have been using Open Office for years. Not extensively, but when someone sends me a Word or Excel document (and I have no Microsoft at all on my machine) I can use Open Office to read them, modify them, save them, send them back.
Upvotes: 0


<issue_start>username_0: Since upgrading to Lion, my search in Mail has gotten drastically less helpful. Since I have read many reviews about what an improvement Mail 5.0's search is, I can only assume that my search index was not built correctly. Is there a file I can delete or a terminal command I can run to tell Mail to re-index my messages?<issue_comment>username_1: Q1: for iOS development that is the place to start.

Q2: No, you will be able to download the latest versions of iOS, including the current beta versions of it. For Mac OSX beta versions you need to register as a Mac Developer at <http://developer.apple.com/programs/mac/>. With this registration you'll not be able to submit iOS applications though.

Q3: Yes, you can register an account even from a Windows machine.

Q4: See Q2. I don't know if you'll be able to download non-betas with a Mac Developer Program Account. [Apple's page](http://developer.apple.com/programs/mac/software.html) only talks about Pre-release Software, not existing software (besides Xcode).

Lion at the moment is only available through the app store which is only available when you have the Snow Leopard installed. I'd suggest picking up a DVD of Snow Leopard and then update normally to Lion through the App Store.
Upvotes: 2 [selected_answer]<issue_comment>username_2: I have Mac and iOS developer accounts. Here is my best shot…

1. There are different development programs. Mac OS X (Macs), iOS (iPhone/iPad/iPod), and Safari. Each one requires registration and Mac and iOS require $99 each if you want to sell apps in the App Store. The link you provided has a link that will get you started but this [link](http://developer.apple.com/programs/start/standard/) (http://developer.apple.com/programs/start/standard/) is the actual registration link.
2. If you register and pay the $99 annual fee for the Mac developer program then you can download Snow Leopard (10.6) or Lion (10.7). Snow Leopard will be a big download you'll need to burn to a DVD or create a bootable drive to install. Lion gives you a promo code for the Mac App store which requires Snow Leopard (10.6.7?).
3. You'll need to upgrade to Snow Leopard before upgrading to Lion. If you are still on Leopard you'll need to make sure your machine is capable of running Lion.
4. Yes. See above.
Upvotes: 1 <issue_comment>username_3: There are two different paid developer programs: one for OS X and one for iOS. Each cost $99 and give you access to the latest and beta OSes for the platform for the program you've purchased (i.e., as of July 2011, the Mac Developer Program gives you access to Lion; iOS Developer Program gives you access to iOS 4.3 and iOS 5 beta).

You can register for the developer programs using Leopard, but Xcode 3.2 and 4.0 require Snow Leopard, and app submission requires either of those versions of Xcode.

Rather than registering for the Mac Developer Program, you should just buy a copy of Snow Leopard (and optionally Lion) and develop and submit your iOS app using Xcode 3.2/4.0.
Upvotes: 0


<issue_start>username_0: There's be mention made of the fact that OS X Lion Server ships with PostgreSQL as it's standard database rather than MySQL.

Can anyone confirm:

1. It this specific to server or does OS X Lion "client" ship with it too?

I can see indications in the file system on my Mac that it might be
included but don't know whether they're the result of a previous
aborted Postgres install I did on my machine pre-Lion or just some
form of standardisation of directory structures that stops short of
an actual install.
2. Is this intended for use as an end user database or is it just supporting functionality within the OS?<issue_comment>username_1: On OS X Lion "client", here's what you can find:

```
martin$ find /usr/ -name postgre*
/usr//include/postgres_ext.h
/usr//include/postgresql
/usr//include/postgresql/internal/postgres_fe.h
/usr//include/postgresql/server/postgres.h
/usr//include/postgresql/server/postgres_ext.h
/usr//include/postgresql/server/postgres_fe.h
/usr//lib/postgresql
/usr//share/devicemgr/backend/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
/usr//share/devicemgr/backend/vendor/rails/railties/configs/databases/postgresql.yml
/usr//share/devicemgr/webserver/gems/gems/eventmachine-0.12.10/lib/em/protocols/postgres3.rb
/usr//share/man/man1/postgres.1.gz
/usr//share/postgresql
/usr//share/postgresql/postgres.bki
/usr//share/postgresql/postgres.description
/usr//share/postgresql/postgres.shdescription
/usr//share/postgresql/postgresql.conf.sample

```

So no binary or similar on a default install (yet there are c/c++ headers) and rails stuff. (note I have Xcode 4.1 installed, and this is where all these Header files may have come from).

2) OS X doesn't use a relational database for anything as far as I know. If it's there is to support development or, well, the service itself.
Upvotes: 2 <issue_comment>username_2: <http://opensource.apple.com/source/PostgreSQL/PostgreSQL-23/>

It's used as the datastore for the stuff `serveradmin(8)` works on, Server.App and Server Essentials.

But oh yes, you have it on the client, Server.App *activates* the stuff, does not *install* it.
Upvotes: 1 <issue_comment>username_3: Yes, a clean install of Lion 10.7.2 includes Postgres.

I mean client/desktop edition (I've not used the Server edition).

The included documentation suggests Apple bundled version 9.0.4 of Postgres:
file:///Library/WebServer/Documents/postgresql/html/index.html

FYI, current versions of Postgres today are 9.0.6 and 9.1.2.

Besides the list of /usr/ items posted by <NAME>, I also found:
/System/Library/PrivateFrameworks/PostgreSQLClient.framework

This was after installing lots of stuff including Java and Eclipse, but not yet doing my own install of Postgres.
Upvotes: 1 <issue_comment>username_4: They seem to have renamed the server to `postgres_real` on my non-server version of Lion.

```
 $ /usr/bin/postgres_real --version
 postgres (PostgreSQL) 9.0.5
 $ /usr/bin/psql --version
 psql (PostgreSQL) 9.0.5
 contains support for command-line editing
 $

```

I haven't found `initdb` or `pg_ctl` **yet** so far it seems using it in practice still requires a separate userland install. I just pray that doesn't introduce conflicts and confusion between the two.
Upvotes: 2


<issue_start>username_0: I want to know all keys (property list) which available on certain domain application, as example I could list available key for `com.apple.dock` by entering this command:

```
$ defaults read com.apple.dock

```

but somehow the output of this command only showed the active property list key, and yet not all available key for `com.apple.dock` listed there.

Anyone can help me on this?<issue_comment>username_1: As far as I know an application will only store a new key if it differs from its defaults, at least that's what my apps do.

This is not something that can be controlled easily as it is part of the `User Defaults` framework, as the app only tell user defaults what needs to be stored and it takes care of the rest.

I don't think that the information you are looking for is going to be easily obtained, sadly. It could be nice though to have access to this.
Upvotes: 2 <issue_comment>username_2: There really isn't a notion of "available" keys. The application is free to read whatever keys it wants. Most people discover "secret" defaults keys by using `strings` to look through the application binary to see what keys it will try to read.
Upvotes: 3 <issue_comment>username_3: This is not a trivial task, if I recall correctly people run the `strings` utility at the command-line against an Application, and look for things that match a structure similar to com.domain.FeatureName. (com.apple.iTunes, ch.cyberduck.CyberDuck, com.panic.Coda, etc.)

The likely easiest way to manage these overrides is by a System Preferences Pane by the name of [Secrets](http://secrets.blacktree.com/). Using this installs a Preference Pane into System Preferences, and gives you an interface into choosing an application and changing their settings to your particular preference.
Upvotes: 3 <issue_comment>username_4: Most people here want to do everything via the command line, but I have a more practical suggestion.

These two programs described below list a great deal of the known command-line customizable features of Mac OS X applications, sorted by application or function. The advantage is the list of functions is provided for you; you don't have to go searching Google to find out what the functions are and the command-line sequences needed to modify each one.

There are several freeware or commercial applications that provide a graphical user interface listing most all of the customization options that can be modified via the Terminal. To activate any of these features, using these progams I'm describing, you do it within the application's GUI and you have no need to use the command line at all. You don't need to know anything about `defaults write` or `.plist` files.

Two of these apps are:

[TinkerTool](http://www.bresink.com/osx/TinkerTool.html)
--------------------------------------------------------

which is free, and

[MacPilot](http://www.koingosw.com/products/macpilot.php)
---------------------------------------------------------

which has just been updated with new Lion features, and costs US $20.00.

These are programs that I own and use.

Download the free TinkerTool and the trial version of MacPilot and and click through all the tabs to see all the myriad features you can customize. There are too many to list here.

![enter image description here](https://i.stack.imgur.com/xY33S.png)

![enter image description here](https://i.stack.imgur.com/O3p1N.png)

Update
------

[Developer username_1<NAME>](http://tweaksapp.com) has released freeware apps (donations accepted) for creating defaults write customizations specific to Lion and Mountain Lion; many of them also work fine for Mavericks (Mac OS X 10.9) as well.

Download these and see what customizations are available to you.

[Lion Tweaks](http://tweaksapp.com/app/lion-tweaks/)
----------------------------------------------------

[Mountain Tweaks](http://tweaksapp.com/app/mountain-tweaks/)
------------------------------------------------------------

![enter image description here](https://i.stack.imgur.com/iVAZ9.png)
Upvotes: 2 <issue_comment>username_5: Perhaps a fairly long explanation how things work might clear up your and others' search for these "hidden" preferences.

Most applications will read their preference files once when they start and the `defaults` tool exists to ensure the preference files are a valid structure and don't contain syntax errors. (It also allows the system to change how the keys are stored and people don't have to know the implementation details and can use the [defaults](http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man1/defaults.1.html) command to do all the reading and writing.)

English language style and grammar guides ensure the words I type here are meaningful to the average english speaker, and standardizing the defaults system sets a framework so everyone knows what to expect. The preference list formatting is far more rigid and mathematical than a human language, but the concepts are similar.

The the Mac OS X user defaults system is a key value store (or database if you prefer).

You can write anything into these preference key value stores, a Shakespeare sonnet, numbers, a shopping list. If the program is coded to look for a specific key, it will read the value stored. If it's not looking for that key - it's value sits there unused and unread.

This brings up how to know what values a specific program might be looking for when they start up. It boils down to you either have to know the value or reverse-engineer the program.

Many tools exist to look into a program and try to figure out what strings (the keys) are embedded, such as `strings` and dbx/lldb as well as linking in your own library to dump the internal structure of a specific program.

In practice, some things that are needed for testing are added in this "hidden" way so that you can't look over the program's preference pane and see these new features that are not ready for broad use. In a way, it's not at all simple to get a comprehensive list unless the author of that program releases the source code or otherwise documents these settings publicly.

When you read the defaults store for a particular app - you are just reading the "book" that was written when the app created it's default set or the settings that shipped with the Mac OS X. That is why you don't receive the exhaustive list of things that are realistically possible to change with that application.
Upvotes: 2 <issue_comment>username_6: Found a website dedicated to these Mac OS X defaults write commands, some handy commands for Mac OS X Lion & Mountain Lion.

<http://www.defaults-write.com>
Upvotes: 3


<issue_start>username_0: I am thinking about upgrading to Mac OS X 10.7 Lion, because it offers full disk encryption.

However, if I use Time Machine with on an external hard drive, will the Time Machine backups be encrypted as well? If not it seems to defeat the purpose of whole system encryption. :p

Also, if the Time Machine backups *can* be encrypted, how does it handle restoring from a Time Machine backup onto a new system?<issue_comment>username_1: Time Machine backups can be encrypted as well. When setting up Time Machine, it'll ask if you want to use encryption and to enter a password.

I've not tried to restore to a new system, but I would think it would just ask for the password and work fine after you enter it.
Upvotes: 2 <issue_comment>username_2: Time Machine does have a checkbox to encrypt the backup, but it will read, encrypt, and write every block of the disk - which can take a long time. If you are using a new drive it is much faster to encrypt it with Disk Utility first.

The encryption is handled by the OS – not Time Machine. Lion will prompt for the password whenever the disk is attached. Once the password has been entered it looks like any other disk to Time Machine.

n.b. you will not be able to use an encrypted disk with older versions of OS X.
Upvotes: 3 <issue_comment>username_3: It took me a little while to find the "Encrypt backup disk" checkbox, so I thought an answer explaining that may save you some time.

Press the "Select Disk…" button in the Time Machine System Preferences panel, and the "Encrypt backup disk" checkbox is enabled when you select a disk.
![enter image description here](https://i.stack.imgur.com/ZVzVG.png)

I decided not to encrypt my Drobo after reading [Alrescha](https://apple.stackexchange.com/users/9252/alrescha)'s important note about not being able to use an encrypted disk with older versions of OS X than Lion.

But I was curious to see if Apple would warn me:
![enter image description here](https://i.stack.imgur.com/NoAaV.png)

(See also "[If I encrypt a Time Machine backup disk, is the entire disk encrypted or just the Backups.backupdb directory?](https://apple.stackexchange.com/questions/21149/if-i-encrypt-a-time-machine-backup-disk-is-the-entire-disk-encrypted-or-just-the)".)
Upvotes: 3 [selected_answer]


<issue_start>username_0: After installing Lion, three finger gestures no longer work in the Twitter for Mac app. (I've gotten used to swiping left with three fingers to go "back" after—for example—clicking on a person's avatar to see their timeline.) In the Trackpad System Preferences panel I've disabled three finger drag, and changed "Swipe between full-screen apps", "Mission Control" and "App Exposé" to four fingers to try to eliminate conflicts. But the three finger swipe still doesn't work in Twitter.

Has anyone been able to re-enable three finger gestures in Twitter for Mac? How did you do it?<issue_comment>username_1: This annoyed me too, and it doesn't seem the solution is entirely satisfying — we'll just have to hope that Twitter for Mac gets updated soon to be better compatible with Lion.

If you have "Swipe between pages" set to "Swipe left or right with three fingers" or "Swipe with two or three fingers", then left/right three-finger swipe gestures will work in Twitter.

If you have Mission Control & App Exposé set to "Swipe up/down with three fingers", then you can hold `⌥ Option` to use up/down three-finger swipe gestures with Twitter. (I'm not sure why, but if you have these set to 4-finger swipes, it doesn't seem 3-finger swipes work at all in Twitter.)

![](https://cl.ly/1Z3S401D1n063u2R2B1v/content)
Upvotes: 3 [selected_answer]<issue_comment>username_2: Holding the option key and swiping up/down with 4 fingers does the same thing as swiping up/down with 3 fingers did in Snow Leopard. Try it in both Twitter for Mac and Firefox and you'll see.
Upvotes: 1


<issue_start>username_0: Just bought a new Macbook Pro with lion, but the launchpad button is not in the dock and I can't find it anywhere on the computer. I thought it may be gone because when I started the computer I used a firewire cable to put all the information from my old Macbook into the Macbook pro, and so all the settings from the Macbook were transferred. Could this have deleted the launchpad button? All help is appreciated!<issue_comment>username_1: The launchpad button is an normal application. You should expect to find it in the /Applications folder. If it is there, you can drag a copy to the dock.
Upvotes: 3 <issue_comment>username_2: Additionally, you can always access Launchpad by pinching three fingers and your thumb. This is shown in the Trackpad section of System Preferences, under "More Gestures".
Upvotes: 0


<issue_start>username_0: I've been tearing my hair out trying to get rid of the quarantine "Do you want to open this?" warning because I don't like it.

The well documented way (defaults write com.apple.LaunchServices LSQuarantine -bool NO) does NOT work.

Also, I've used the [Secrets Preference pane](http://secrets.blacktree.com/) and that doesn't work either. As soon as I uncheck the box and close the pane and reopen, it's still checked.

(I've tried rebooting right after these methods, no dice.)<issue_comment>username_1: Never tried to disable the behavior entirely, but you can always remove the quarantine from a file with xattr. For example:

```
$ cd ~/Downloads
$ xattr -dr com.apple.quarantine ./*

```

I think of it less as a moron check than it is a safeguard from browser vulnerabilities that might otherwise download and something without your knowledge.
Upvotes: 2 <issue_comment>username_2: Here's a simple Automator folder action that will remove the quarantine flag from files as they are downloaded to the Downloads folder:

1. Make a new Folder Action workflow in Automator
2. In the "Choose folder" menu, choose your Downloads folder
3. Add a "Run Shell Script" command
4. Change the "Pass input" menu to "as arguments"
5. Change the script to:

```
for f in "$@"
do
    xattr -d com.apple.quarantine "$f"
done

```

Finally, save the workflow with whatever name you want and it should start working immediately.
Upvotes: 1


<issue_start>username_0: I'm new to OS X. I'm running OS X Lion on a MacBook Pro. Is it safe to upgrade the bash shell using Homebrew:

```
$ brew install bash

```

If safe, how do I make it the default instance of the shell I run through Terminal?

Thanks!<issue_comment>username_1: Well before you do anything, back up your current file (of course, but always deserves to be said)

```
sudo cp /bin/bash /bin/bash.3.2.bk

```

Then create a symlink to the bash executable that Homebrew downloaded. I think it will be in /usr/local/Cellar, like so

```
sudo ln -s /usr/local/Cellar/bash/4.2.10/bin/bash /bin/bash

```

Now /bin/bash points to the file in your usr/local directory
Upvotes: 2 <issue_comment>username_2: I could be wrong here, but as far as I know `brew` would install it's own instance of `bash`, since brew works under `/usr/local/bin` while the system defaults works under `/bin` (and `/usr/bin`).

About Terminal, you can make shells open with your own, custom command. Go to Preferences > Startup and select **Shells open with: Command (complete path)**. Simply type the path to your new `bash` and vuala!

Hope it helps!

BTW: Backup! Best advice in this situations!
Upvotes: 3 <issue_comment>username_3: Binaries in `/{,usr/}{,s}bin/` should not usually be replaced with other files. Other programs expect them to be the versions that came with OS X, and they are replaced by OS upgrades.

After running `brew install bash`, you can change the default shell safely by:

* Adding `/usr/local/bin/bash` to `/etc/shells`
* Running `chsh -s /usr/local/bin/bash`.

Settings in Terminal or iTerm 2 don't normally have to be changed. Both of them default to opening new windows with a login shell of the default shell.

The default shell can also be changed from System Preferences or with dscl, but all three options just modify `/var/db/dslocal/nodes/Default/users/$USER.plist`.
Upvotes: 8 [selected_answer]<issue_comment>username_4: I think it is safe if you just launch

```
brew install bash

```

and then add it as your default shell

```
chsh -s /usr/local/bin/bash

```

since you are only modifying your current user. However, I noticed that my default *~/.profile* is

```
if [ "/bin/bash" == $BASH ]; then
    source ~/.bashrc
fi

```

so it needs to be updated. I changed it to

```
if [ "bash" == $(basename $BASH) ]; then
        source ~/.bashrc
fi

```
Upvotes: 0


<issue_start>username_0: I'm teaching a photography class and would like to use a cheap setup to display photos taken by the students in real time.

I have a macbook pro and an iphone. I also have an eye-fi card but it's an old one and doesn't work with ad-hoc networks so that's out of the question.

I'll likely be using RemoteSnap on the iphone connected to an ad-hoc wi-fi created by the mac. With this setup, the photo jpgs end up in a folder.

How can I haev every new photo in this folder to appear on the screen (in full screen)?

Thank you!<issue_comment>username_1: Hopefully this should work regardless of OS version, but it's been tested on 10.6.8:

1. Open Automator
2. Choose to create a Folder Action
3. Choose your photo folder as the folder to work on
4. Chooses Utilities -> Run AppleScript and drag it into the panel on the right
![Automator](https://i.stack.imgur.com/w0agf.jpg)
5. Paste the code below into the Run AppleScript panel
6. Save the folder action and try it out!

`on run {input, parameters}`

```
tell application "Finder"
    set the_folder to container of (item 1 of input) as alias

    if window 1 exists then
        set the target of window 1 to the_folder
    else
        reveal the_folder
    end if

    --Send the Esc key to exit the previous quick-look, if there is one
    tell application "System Events"
        key code 53
    end tell

    delay (1)

    --select the new file
    select input as alias
    activate
    activate window 1

    delay (1)

    --Activate full screen quick look on the selected file
    tell application "System Events"
        keystroke "y" using {command down, option down}
    end tell
end tell

return input

```

end run

**Note**: The script might have some unnecessary elements in it, but while trying to tweak it it often stopped working. Feel free to try on your own!
Upvotes: 1 [selected_answer]<issue_comment>username_2: Apparently there's no good (free) way of doing this.

I tried the above script, but unfortunately, with 10.8, if you are in full screen already, the next image DEACTIVATES full screen (as it sends `Cmd`-`Option`-`y`). There's no way of seeing the current "state" and if it should just select the new file or select the new file and full screen it. :(

However, I wrote a Quartz Composer Screen Saver to auto-update and rotate over the last X number of images.

<https://github.com/username_3/slideshow/>
Upvotes: 0 <issue_comment>username_3: The other simpler alternative is to accept that you are already in fullscreen quicklook mode, and use the following Applescript in the above Automator action to simply select the newest file.

```
tell application "Finder"
    set the_folder to container of (item 1 of input) as alias

    if window 1 exists then
        set the target of window 1 to the_folder
    else
        reveal the_folder
    end if

    select input as alias
    activate
    activate window 1
end tell

```

If you are already within a fullscreen quicklook, then effectively you are showing the newest file screen. It is akin to pressing "up" or "down" while in fullscreen quicklook on an already populated directory.

Take your first picture, enter fullscreen quicklook mode, take successive pictures.
Upvotes: 1


<issue_start>username_0: I am new to Mac and still struggling to be productive with fewer clicks and keys...

When I use Terminal and click on a word, I would like the delimiter to be only space and not other characters like . \_ / etc. I want these to be treated as part of the word. Then, I would like to be able to click on a word, be able to select the whole word and then copy and paste it to another place, say command line or into an editor etc. How do I achieve this?

Many thanks!<issue_comment>username_1: You might want to take a look at [iTerm2](http://www.iterm2.com), where you can set the word delimiter in the preferences. I'm a recent convert myself and like it a lot better than Terminal.app. There's a special Terminal.app keyboard shortcut compatibility set to make switching easier.

![iTerm prefs window screenshot](https://i.stack.imgur.com/7QIhf.png)
Upvotes: 5 [selected_answer]<issue_comment>username_2: For any new users coming to this question, the settings in iTerm are now done in two places :

1. General -> Selection : If you uncheck the "Double-click performs smart selection" option, you can specify delimiters in the last box.
2. Profiles -> Advanced -> Smart Selection : If you check the box in point 1, you can make changes here using regex.

[![enter image description here](https://i.stack.imgur.com/3Hw02.png)](https://i.stack.imgur.com/3Hw02.png)
Upvotes: 1 <issue_comment>username_3: Apple's Terminal application does not (yet) provide a way to configure this.

But [@Chris Page's comment](https://apple.stackexchange.com/questions/25281/how-can-i-specify-delimiters-in-terminal-for-word-and-character-selection-before/462231#comment28605_25281) is a good workaround and deserves a standalone answer:

>
> Note: If you're specifically interested in selecting file and pathnames, Shift-Command-Double-Click will select pathnames (and URLs).
>
>
>
Upvotes: 0