id
stringlengths
40
40
text
stringlengths
29
2.03k
original_text
stringlengths
3
154k
subdomain
stringclasses
20 values
metadata
dict
52d28a072dc83167db84f17d66a4cb179aa33bc2
Apple Stackexchange Q: How do I open a file as root in TextEdit on Lion? How do I open a file as root, in TextEdit? I've tried these commands as root, but TextEdit always say it's locked: open -e /etc/apache2/httpd.conf open -e -F /etc/apache2/httpd.conf open -e -F -W /etc/apache2/httpd.conf And of course sudo !! makes no difference. A: BBEdit is the free tool to do this in 2019 and it replaces all functionality of TextErangler and you can download it from the App Store and the developer web site. TextEdit isn't really the right tool for editing config files -- use TextWrangler instead. It's free, has built-in capability to edit files with root access from an admin account, as well as things like opening invisible files and directories easily editing files over SFTP, etc.
Q: How do I open a file as root in TextEdit on Lion? How do I open a file as root, in TextEdit? I've tried these commands as root, but TextEdit always say it's locked: open -e /etc/apache2/httpd.conf open -e -F /etc/apache2/httpd.conf open -e -F -W /etc/apache2/httpd.conf And of course sudo !! makes no difference. A: BBEdit is the free tool to do this in 2019 and it replaces all functionality of TextErangler and you can download it from the App Store and the developer web site. TextEdit isn't really the right tool for editing config files -- use TextWrangler instead. It's free, has built-in capability to edit files with root access from an admin account, as well as things like opening invisible files and directories easily editing files over SFTP, etc. A: Here's a way to avoid running TextEdit as root: EDITOR='open -Wne' sudo -e /etc/apache2/httpd.conf You will need to quit the copy of TextEdit after editing the file. sudo -e, sometimes known as sudoedit but not on OS X, makes a temporary copy of the file with write permission for the current user, invokes an editor on it in the usual Unix fashion, and then copies it back. The options to open: -W waits for TextEdit to quit, so sudo knows when to copy the file back. -n ensures that it's waiting on a separate instance of TextEdit, not one you already have open which you might not want to quit. You can also substitute -t instead of -e if you have a favorite text editor other than TextEdit. If you already have an EDITOR variable set to use a graphical editor with its own wait-capable command line tool (such as TextMate or BBEdit), then you don't need any of these tricks and can just use sudo -e <file> directly. A: Since the root user is disabled, the only way to force an arbitrary OS X app to have root permissions is to enable root and log in as root. Apps can of course use API to ask the system for authentication and pop up the dialog you expect when asked for an administrator user and password. TextEdit doesn't have that function so you have to work around the file permissions before and after you open and write the files desired. Have you tried using sudo open -a textedit to open the app? A: sudo chmod +w name_of_the_file sudo open -a TextEdit name_of_the_file sudo chmod -w name_of_the_file Should work A: You can open up a textedit instance as root by entering the full path to the actual executable : sudo -b "/Applications/Textedit.app/Contents/MacOS/TextEdit" Once your root instance is open you could browse to the file you need or do this from the command line : sudo su - root -c "open -e /etc/apache2/httpd.conf" A: sudo nano /etc/hosts works for Lion
apple
{ "language": "en", "length": 471, "provenance": "stackexchange_00000.jsonl.gz:5994", "question_score": "16", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/20199" }
bbb36bf0b2eef7fb232c20ee398adaef46416e92
Apple Stackexchange Q: Can not set startup disk At System Preferences > Startup Disk I select a disk with Mac OS X (10.5 or 10.6) installed, but when I click Restart I get this error message: You can’t change the startup disk to the selected disk. The bless tool was unable to set the current boot disk. I have 10.6 installed on an internal hard drive and 10.5 on an external drive. I have completely erased both disks from Disk Utility; done Verify Disk, Repair Disk, Verify Disk Permissions, Repair Disk Permissions; reinstalled Mac OS several times on both drives... Update: Looks like something is wrong with internal hdd. I have tried to restart the machine in target disk mode, but I got You can't start up with target disk mode. The nvram tool was unable to set a preference A: From the errors given, it sounds like it's more about setting the NVRAM than the startup disk itself. Clear the NVRAM (previously referred to as PRAM; reboot holding command-option-P-R until you hear a second chime) and see if the problem works itself out.
Q: Can not set startup disk At System Preferences > Startup Disk I select a disk with Mac OS X (10.5 or 10.6) installed, but when I click Restart I get this error message: You can’t change the startup disk to the selected disk. The bless tool was unable to set the current boot disk. I have 10.6 installed on an internal hard drive and 10.5 on an external drive. I have completely erased both disks from Disk Utility; done Verify Disk, Repair Disk, Verify Disk Permissions, Repair Disk Permissions; reinstalled Mac OS several times on both drives... Update: Looks like something is wrong with internal hdd. I have tried to restart the machine in target disk mode, but I got You can't start up with target disk mode. The nvram tool was unable to set a preference A: From the errors given, it sounds like it's more about setting the NVRAM than the startup disk itself. Clear the NVRAM (previously referred to as PRAM; reboot holding command-option-P-R until you hear a second chime) and see if the problem works itself out. A: * *Are you sure your volume has a valid bootable image? That will cause bless to fail - you may have to run the bless command in the terminal or look at the logs to discover this error. *What is the partition map on the drives set to? Disk Utility will give you three options: Apple Partition Map, GUID, and Master Boot Record. For any relatively recent Mac, you should always choose GUID. For PowerPC Macs, choose APM. If your disk is MBR, you will not be able to boot OS X from it. When in doubt, these days, choose GUID. To change the partition map, you'll have to reformat the whole disk (including wiping all partitions).
apple
{ "language": "en", "length": 300, "provenance": "stackexchange_00000.jsonl.gz:5998", "question_score": "6", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/20224" }
33e277bf479463a8651693174d0528f0d715e4bd
Apple Stackexchange Q: What are the best disk cloning tools? Money is no object. I want a bit for bit perfect copy of a hard drive/partition which is bootable (is either possible) to be used in a backup regimen. I have heard of some tools but your recommendations with clear outlines of the features that make it useful for you as a backup solution would be most appreciated. A: Carbon Copy Cloner (CCC) hands down. Even Apple enterprise recommends it, and they use it for their live servers. Although SuperDuper! is fine for standard Mac OS, it is not recommended by the general population for the Server OS. The latest CCC adds great features too. Use the $30 you would spend on SuperDuper! And donate it to CCC. It's what we use in the field.
Q: What are the best disk cloning tools? Money is no object. I want a bit for bit perfect copy of a hard drive/partition which is bootable (is either possible) to be used in a backup regimen. I have heard of some tools but your recommendations with clear outlines of the features that make it useful for you as a backup solution would be most appreciated. A: Carbon Copy Cloner (CCC) hands down. Even Apple enterprise recommends it, and they use it for their live servers. Although SuperDuper! is fine for standard Mac OS, it is not recommended by the general population for the Server OS. The latest CCC adds great features too. Use the $30 you would spend on SuperDuper! And donate it to CCC. It's what we use in the field. A: Carbon Copy Cloner should do the job. CCC (Carbon Copy Cloner) creates a bootable backup, and preserves all your files, and in the right hierarchy. You can also have incremental backups (it only backs up items that have changed since the last backup). You can schedule CCC to backup regularly. CCC also has the ability to backup over a network. I also like the Growl notifications. SuperDuper! is another handy little application. We used to use it for backing up before Time Machine came out. It has the ability to do incremental backups, so you won't be backing up the whole hard drive; just the data that's changed. Unlike CCC, it costs $27.95. Another option would be rsync or cp. Both will have the option to make a perfect backup, invisible files included. Rsync can also backup incrementally, which means it will only backup what has changed. With rsync and cp, you can also schedule it to backup with launchd or cron. A: Clonezilla is awesome. Free, boots from cd / usb, works with win / mac / linux. Great tool to have. A: … bit for bit perfect copy …  Disk Utility If you want bit-for-bit, use the Restore features in Disk Utility. If Lion Recovery is available, you could use the Disk Utility in Mac OS X Utilities. Whilst you can use Disk Utility in a backup regime, I would not use it every day for that purpose. Is it more important for the backup to be bootable, or bit-for-bit perfect? A: Shirt Pocket's SuperDuper is a nice app, but it is pricey. $28, free trial available. One of its good features: It allows you to perform an incremental backup that only updates what's changed. A: We use Clonezilla at work. It creates exact clones of our disks and/or partitions and dumps them on an FTP server. This is also nice because we get a centralised repository of disk/partition images which we can dish out to any of our boxes pretty speedily. A: I like CCC but SuperDuper works great as well. SuperDuper costs almost $30, but it's worth it for the terrific effort the developer puts into making sure it's compatible with the current version of OS X. The thing I like most about Carbon Copy Cloner is that it's free (donations encouraged) and it has a very easy to use scheduler that will remind you to turn on drives it needs to do the job, and when you turn them on, it does it without further action on your part. Either one works great for me.
apple
{ "language": "en", "length": 564, "provenance": "stackexchange_00000.jsonl.gz:6000", "question_score": "10", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/20228" }
c41fbc1f8f676d8b048c233080da43c48a7f9c3c
Apple Stackexchange Q: Can I change the brightness on a secondary display? I have a MBP with a secondary display. Is is possible to have the brightness keys (F1 & F2) change both the main display (laptop screen) and the secondary display (a VGA external monitor connected via a Thunderbolt port with an adapter)? If not, is it possible to change the brightness on the secondary display? A: One of my favorite tools for doing this is Shades which is "donationware." You can adjust each monitor separately, and set keyboard shortcuts for them as well. If you want a command line solution, I found brightness.c which compiled cleanly using: gcc -std=c99 -o brightness brightness.c -framework IOKit -framework ApplicationServices It will let you set the brightness for either monitor. Another tool available at: Command-line display brightness control for macOS or just brew install screenbrightness.
Q: Can I change the brightness on a secondary display? I have a MBP with a secondary display. Is is possible to have the brightness keys (F1 & F2) change both the main display (laptop screen) and the secondary display (a VGA external monitor connected via a Thunderbolt port with an adapter)? If not, is it possible to change the brightness on the secondary display? A: One of my favorite tools for doing this is Shades which is "donationware." You can adjust each monitor separately, and set keyboard shortcuts for them as well. If you want a command line solution, I found brightness.c which compiled cleanly using: gcc -std=c99 -o brightness brightness.c -framework IOKit -framework ApplicationServices It will let you set the brightness for either monitor. Another tool available at: Command-line display brightness control for macOS or just brew install screenbrightness. A: Knowing that this question is rather old I want to make you aware of https://github.com/the0neyouseek/MonitorControl which is open source, well maintained and quite handy. You can control brightness, contrast or volume directly from a menulet or with keyboard native keys. Keyboard keys even display the native osd. A: If you have an Apple Cinema display and are adjusting brightness via the "displays" preference pane, note that the preference pane will show up both on your main display (the cinema display) and on the MBP. It allows you to set the brightness separately. A: A dead-simple program called Brightness Control has been dimming multiple external monitors for me since 2006. Still working fine on OS X 10.11 in 2016. Only drawback is that you cannot simultaneously run f.lux. If you only have one external monitor, you can use Shady to dim that without quitting f.lux. A: You can use https://github.com/kfix/ddcctl - works for my Dell P2715Q And even better there is https://github.com/czarny/Brisync which even syncs brightness with your internal display A: Screen Dimmer isn't free ($2), but is the only tool I could find that handles multiple monitors (up to 3). Seems nice and elegant the short time I've used it. Sits in menubar, and has a simple slider and monitor selector, as well as keybindings for brightness increase/decrease. My 3 external displays are non-apple (1 Dell with displayport, 1 samsung with displayport->dvi, and 1 old acer 19" with hdmi->dvi) on a MacBook Pro Retina 15" with 10.8.2. edit: For the OP's question this shouldn't matter, but fyi for 3 monitors - it seems to only allow one combination of monitors for dimming (i.e. can't dim completely separately -- this works for me as I use it to dim the 2 side monitors so they don't distract from the main middle monitor) edit2: The website appears to be down so here is the App Store link. Also of note it allows for dimming up to 3 monitors but remember your MacBook does count as 1 if it's open. If you have 3 externals this means you can't dim the far right one. But, you can just close your MacBook and then you can dim all 3 externals. A: I have two screens connected to my Mac Pro. (This also works for MacBook Pro.) I have the USB on the first screen connected to the Mac. The second screen has its USB connected into the back of the first screen (the 2nd screen display adapter uses an extender to get to the Mac - you could likewise use a USB extender to get to the back of the Mac). With both screens communicating to the Mac via screen as well as USB, F1 and F2 as brightness control the dimming of the first display, Ctrl+F1 and Ctrl+F2 control the second screen. No need to disconnect at all. A: I tried most of the other suggested solutions. On the latest High Sierra with a non-Apple external display over usb-C these suggestions didn't work. I did stumble upon an app called EasyOnTheEyes that actually does the trick. https://itunes.apple.com/ca/app/easyontheeyes/id799584781?mt=12 . It hasn't been updated in a while, but still seems to work. A: Another option is Brightness Slider, free in App store. A: I have 2 thunderbolt displays connected to my MBP. I had to connect only one display at a time in order to adjust the brightness. Then I reconnected them both and all was well. Too bad the control panel doesn't show the brightness slider on both displays but this is a simple solution. A: There are many answers here, but one wasn't mentioned (though it only has limited applicability---you need to have a second keyboard handy.) When I have a second display hooked up to my MBP, and a second keyboard plugged in, then the built-in laptop keyboard's function keys control the built-in (main) laptop LCD and the external keyboard's function keys work for the secondary. In case it's changed, this is on 10.6.8. A: I have MBP early 2011 connected to LED display and Thunderbolt display and I use the thunderbolt display as extended desktop. This is how you can adjust the brightness on second display. * *Press cmd+F1. This will mirror the displays. *Press F1 or F2 and both screens will increase or decrease in brightness. *When you are done, press cmd+F1 and your screens will revert back to extended desktop mode. Ok, its a pain if you are like me and have items configured on both screens but I found using "shades" the second monitor was always looking dimmer and not the same brightness as the primary screen. A: On Apple displays, if you press Control-F1 or Control-F2 the brightness on a secondary display will adjust. I have tested this on my MacBook Air 2011 13" and 27" Thunderbolt Display. Important note: You have to plug in the USB cable from the Display to the Macbook Pro in order that the keyboard shortcuts work. If you're using a MacBook with Touch Bar, this works for the "brighter"/"less bright" Touch Bar buttons but NOT for the Touch Bar brightness slider. A: Unfortunately, Macs don't have access to an external display's brightness settings. On most displays, that is only controllable using the physical buttons/menus on the display itself. I agree that this would be a great feature to see, but it isn't really possible now to control brightness over the video cable. Note that I can't speak for Apple's Cinema Display and Thunderbolt; I haven't tried that and it may be different. A: Lunar is an app which allows you to automatically sync the system display brightness with the brightness of an external monitor. With Lunar, you can use the standard display controls (and keyboard keys!) to adjust the brightness simultaneously on the main and external display, which is exactly what I wanted. It also supports tweaking of brightness and contrast ranges/offsets to get exactly the desired levels. Lunar is not restricted to any specific display type or connection method, so it should work with most displays connected over USB-C, Thunberbolt, etc. A: If you're using an Apple Cinema Display it is possible to control brightness as long as you connect the display's USB cable to your Mac. The causes a "Brightness" slider to appear on the screen's control panel in "Displays" System Preferences. Unfortunately the F1 and F2 don't change the brightness settings on the external screen. A: After experimenting with lots of hot keys I found a solution. I am using a dual screen setup with 27 inch iMac which is connected to a 27 inch Thunderbolt screen. Using cmd+ F1 (mirror displays) will also duplicate the screen brightness of screen 1 to screen 2. Now you can dim the 2nd screen with F1 Repeat the cmd+ F1 and the 2nd screen will revert to last brightness. Now you can dim the iMac screen with the brightness keys. A: Open System Preferences; Click Displays; In the lower left hand menu, click the Show displays in menu bar; Once your menu bar has the little icon of your monitor, click it and select Open Display Preferences; All monitors will have a Preferences menu linked to that specific object. A: If you are using a 24" thunderbolt display which has a USB cable in addition to the thunderbolt cable, you have to have both plugged in. Then Ctrl + F1 and Ctrl + F2 should work. A: If you run Windows Vista, Windows 7, or Windows 8, you can adjust brightness easily with Mac Brightness Control utility.
apple
{ "language": "en", "length": 1398, "provenance": "stackexchange_00000.jsonl.gz:6001", "question_score": "175", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/20237" }
05f5fc10bc45226d6cb17f8ccccb7121965b844e
Apple Stackexchange Q: How can I specify a custom icon for a Dock stack? I've created a folder in Finder with aliases of several apps. I want to add this to my dock so that those apps are grouped together and the dock isn't quite as messy. No problem; I added the folder to the dock and it's displaying as a stack. The only problem is, the icon displayed in the dock is the icon of the first app in the folder, rather than the custom icon I assigned to the folder in Finder. Is there a way to force the dock to display the custom icon? A: Right click (or ⌃ ctrl-click) the folder in the Dock, and select Display as: Folder from the menu that appears.
Q: How can I specify a custom icon for a Dock stack? I've created a folder in Finder with aliases of several apps. I want to add this to my dock so that those apps are grouped together and the dock isn't quite as messy. No problem; I added the folder to the dock and it's displaying as a stack. The only problem is, the icon displayed in the dock is the icon of the first app in the folder, rather than the custom icon I assigned to the folder in Finder. Is there a way to force the dock to display the custom icon? A: Right click (or ⌃ ctrl-click) the folder in the Dock, and select Display as: Folder from the menu that appears. A: You can't really. What you can do is add another item to the folder that has the custom icon, and then give it a name that would make it show up alphabetically first. For example, this is a set of icons that make your stacks look like the files are in a box: http://t.ecksdee.org/post/19001860/stacks-overlays A: I may be wrong, but Candybar should work. A: Yes, you CAN do it. You don't have to use the "put the picture in the stack" option. The trick is HOW you copy and paste. * *Go to the folder enclosing the files of the stack. Open "info" *OPEN the jpg you want as the folder icon *Click "edit, COPY" (copying in finder WILL NOT WORK) *Click on the icon of the folder in the INFO window *PASTE You're done. I've done this on multiple folders in my dock. A: You need to change the icon of the folder that contains the items in the stack. This can be done in several ways, but perhaps the easiest is to start by navigate to the folder of the stack, change that icon, and set the stack to display the folder instead of the contents. Click the stack, click "Open in Finder" in the stack, and then press the keystroke ⌘ + ▲. The key press will take you "one level up" in the directory hierarchy so that you are now looking at the folder that houses the items in the stack. Next, select the folder (If it's not already selected), and "get info" on it, by typing ⌘ + I, or right-clicking and selecting "Get Info". At the top of this window will be a miniature icon of a folder. You can click on this and copy it via the keyboard shortcut (⌘ + C), or paste in an image that you copied from somewhere else. Finally, you need to right-click on the stack and set it to display "folder" and not the stack contents. A: The dock folder icon is taken from the first item in an alphabetical list of its contents. When the one you want isn't the first in the list change its name to begin with a space character. It then is moved to the top of the list and its icon is used on the dock folder. eg. here's my Video Live dock folder. I want the most used to appear at the top.
apple
{ "language": "en", "length": 530, "provenance": "stackexchange_00000.jsonl.gz:6006", "question_score": "11", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/20262" }
9a19320bd0645fb5d59b3c6aa9b3bb33c6d0e7dd
Apple Stackexchange Q: Macbook Pro Dual Monitors Possible Duplicate: What do I need to connect a second monitor to my MacBook Pro? I'm sure this has been asked/answered before but I can't seem to find a clear answer on it. Feel free to point me to the proper thread(s) and or close this thread if it is a duplicate. I'm wondering what the options are for hooking up dual external monitors to a brand new Macbook Pro? This is my primary work machine so I want to be able to just "dock" it essentially and then be able to work off the two external DVI monitors with one monitor being my primary and the other monitor being an extension of the desktop (not mirrored). Here are the options I think I have: * *Get a Displayport to DVI adapter AND a USB to DVI adapter and hook one monitor up to each *Mini DisplayPort to Dual-Link DVI Adapter (Not sure about this; is this only for 30" screens?) *Thunderbolt daisy chain (does this actually work yet? If so, what cable is required?) Can anyone clarify my options? Thanks! Tom
Q: Macbook Pro Dual Monitors Possible Duplicate: What do I need to connect a second monitor to my MacBook Pro? I'm sure this has been asked/answered before but I can't seem to find a clear answer on it. Feel free to point me to the proper thread(s) and or close this thread if it is a duplicate. I'm wondering what the options are for hooking up dual external monitors to a brand new Macbook Pro? This is my primary work machine so I want to be able to just "dock" it essentially and then be able to work off the two external DVI monitors with one monitor being my primary and the other monitor being an extension of the desktop (not mirrored). Here are the options I think I have: * *Get a Displayport to DVI adapter AND a USB to DVI adapter and hook one monitor up to each *Mini DisplayPort to Dual-Link DVI Adapter (Not sure about this; is this only for 30" screens?) *Thunderbolt daisy chain (does this actually work yet? If so, what cable is required?) Can anyone clarify my options? Thanks! Tom
apple
{ "language": "en", "length": 187, "provenance": "stackexchange_00000.jsonl.gz:6009", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/20275" }
d440dd95d0628cb60fd10398ab686fc8fb05466f
Apple Stackexchange Q: I see thousands of these in my Console log 8/5/11 5:21:37 PM kernel FireWire GUID ffffffffffffffff is invalid! I have a Macbook Pro Core 2 Duo running Snow Leopard. Any suggestions? A: This could happen for a number of reasons, one of those could be that you unplugged a FireWire drive while spotlight was indexing it. You may have to reset spotlight indexes to stop the error appearing if this has happened. You can do so with the Terminal command below. sudo mdutil -E / Spotlight will need to reindex all your drives which will take some time, allow it to finish indexing each drive before unplugging it and that may solve the problem See the link below for an article from someone with a similar issue who solved it performing the steps above http://www.mb.com.ph/articles/209838/the-case-missing-firewire-port
Q: I see thousands of these in my Console log 8/5/11 5:21:37 PM kernel FireWire GUID ffffffffffffffff is invalid! I have a Macbook Pro Core 2 Duo running Snow Leopard. Any suggestions? A: This could happen for a number of reasons, one of those could be that you unplugged a FireWire drive while spotlight was indexing it. You may have to reset spotlight indexes to stop the error appearing if this has happened. You can do so with the Terminal command below. sudo mdutil -E / Spotlight will need to reindex all your drives which will take some time, allow it to finish indexing each drive before unplugging it and that may solve the problem See the link below for an article from someone with a similar issue who solved it performing the steps above http://www.mb.com.ph/articles/209838/the-case-missing-firewire-port A: A good test will be to power off the mac and disconnect all FireWire cords. When you boot, hold Command-Option-P-R to reset the hardware tree which is stored in NVRAM. If you still get the errors, your OS or FireWire ports are suspect. Since the messages are so numerous, you should be able to narrow down the cause with a little testing. I'm of the mind that it's more likely a cord or device, but best to start with the mac itself first. A: If you don't use the FireWire port, try entirely disabling it. Move out of the /System/Library/Extensions directory all FireWire modules. You can do so by running: mkdir ~/Desktop/disabled_firewire_modules sudo mv /System/Library/Extensions/IOFireWire*.kext ~/Desktop/disabled_firewire_modules in the terminal. Disabled modules will go to the desktop. Source: https://discussions.apple.com/message/9200953#9200953
apple
{ "language": "en", "length": 265, "provenance": "stackexchange_00000.jsonl.gz:6013", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/20291" }
ae673a1047dc084f24a9643a31290785039e28bb
Apple Stackexchange Q: Lion not searching SMB volume I just upgraded to Lion on my work computer and it seems like Spotlight doesn't index SMB volumes. This used to work for me perfectly under Snow Leopard. I've talked with Apple and they said it was never a supported feature, and just worked by coincidence on 10.6. Now it's not working at all. When I run the mdutil command in the terminal it says "indexing and searching disabled." Can indexing be enabled for SMB data on Lion? A: I was able to get this working by adding the volume to Privacy section of Spotlight System Preferences, then removing said share from the same location. I think this is how I got it working in previous versions as well.
Q: Lion not searching SMB volume I just upgraded to Lion on my work computer and it seems like Spotlight doesn't index SMB volumes. This used to work for me perfectly under Snow Leopard. I've talked with Apple and they said it was never a supported feature, and just worked by coincidence on 10.6. Now it's not working at all. When I run the mdutil command in the terminal it says "indexing and searching disabled." Can indexing be enabled for SMB data on Lion? A: I was able to get this working by adding the volume to Privacy section of Spotlight System Preferences, then removing said share from the same location. I think this is how I got it working in previous versions as well. A: Until Apple makes Spotlight available for network drives, the best solution is Devon technologies EasyFind. We have it installed on all our campus Macs for just this purpose. It is fast, can save search parameters, and best of all - free. A: Check your System Prefs>Spotlight when the volume is mounted. The SMB volume may be in the Privacy tab of the Spotlight prefs. A: In the Terminal, try cd / rm -R .Spotlight-V100/ rm .metadata_never_index mdutil -i on / A: You can always try to manually work with spotlight in the volume. Take a look at this AskDifferent answer: How to remove/recreate a spotlight index.
apple
{ "language": "en", "length": 232, "provenance": "stackexchange_00000.jsonl.gz:6019", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/20305" }
e1c4040832f49d836ab508465209b4a09b651b64
Apple Stackexchange Q: Will Thunderbolt Cinema displays work with Mini DisplayPort equipped macs? Is it possible to plug a Thunderbolt cinema display into a Mini DisplayPort-equipped Mac and have it work? This question suggests that it's possible and that it's pretty much the same cable, but I don't see any explicit confirmation anywhere. A: Plugs are the same, cables are not. The thunderbolt cables contain chips and firmware. I haven't used the new Thunderbolt display, however I am aware of the following: MiniDP Macbook -> MiniDP iMac 27: works fine. Thunderbolt Macbook -> MiniDP iMac 27: works fine. MiniDP Macbook -> Thunderbolt iMac 27: does not work Thunberbolt Macbook -> Thunderbolt iMac 27: works fine. This is in my experience and confirmed from various Apple KB articles. So I believe it's likely you won't be able to use the Thunderbolt display on a MiniDP machine, as that is certainly the case with the iMac 27" models.
Q: Will Thunderbolt Cinema displays work with Mini DisplayPort equipped macs? Is it possible to plug a Thunderbolt cinema display into a Mini DisplayPort-equipped Mac and have it work? This question suggests that it's possible and that it's pretty much the same cable, but I don't see any explicit confirmation anywhere. A: Plugs are the same, cables are not. The thunderbolt cables contain chips and firmware. I haven't used the new Thunderbolt display, however I am aware of the following: MiniDP Macbook -> MiniDP iMac 27: works fine. Thunderbolt Macbook -> MiniDP iMac 27: works fine. MiniDP Macbook -> Thunderbolt iMac 27: does not work Thunberbolt Macbook -> Thunderbolt iMac 27: works fine. This is in my experience and confirmed from various Apple KB articles. So I believe it's likely you won't be able to use the Thunderbolt display on a MiniDP machine, as that is certainly the case with the iMac 27" models. A: The short answer is no. Apple's Thunderbolt Display requires a thunderbolt signal (and only that) to operate. The spec page for the display implies very strongly that Thunderbolt displays will only work with Thunderbolt Macs. This happens to concern me since I own a previous-generation iMac (pre-Thunderbolt) and really wanted to have the option to use it with a Thunderbolt display. So I asked the guys at the Apple Store. The Apple Store told me no, it will not work on a non-Thunderbolt Mac. Sorry to be the bearer of bad news :(.
apple
{ "language": "en", "length": 248, "provenance": "stackexchange_00000.jsonl.gz:6022", "question_score": "8", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/20313" }
dbc3fa25c4469deecb0be72f9c37458e058d3b90
Apple Stackexchange Q: Can't print on OS X Lion via shared printer connected to Windows Vista. Fix? As the title states I am not able to print from my Mac to a shared printer that is hooked up to my Windows PC running Windows Vista. I am currently running OS X Lion 10.7 on a Mac Mini. My Mac is able to find and add the printer on my network to its list of printers. However when it comes to printing a document the status of the print job becomes: "On Hold (Authentication Required)" regardless if I correctly enter the correct credentials of the PC which the printer is connected to. Has anyone else experienced this problem? How do I fix it? Notes: Printer is a Cannon MP210 and I have the most recent drivers for it. A: IN my situation the error was caused by a changed password. In the keychain the old password was registered and used during printing. I solved to problem as follow: * *Open the KeyChain Access App (Applications -> Utilities -> Key Chain Access) *Search for your printer name *Open the key chain entry found *Change the password
Q: Can't print on OS X Lion via shared printer connected to Windows Vista. Fix? As the title states I am not able to print from my Mac to a shared printer that is hooked up to my Windows PC running Windows Vista. I am currently running OS X Lion 10.7 on a Mac Mini. My Mac is able to find and add the printer on my network to its list of printers. However when it comes to printing a document the status of the print job becomes: "On Hold (Authentication Required)" regardless if I correctly enter the correct credentials of the PC which the printer is connected to. Has anyone else experienced this problem? How do I fix it? Notes: Printer is a Cannon MP210 and I have the most recent drivers for it. A: IN my situation the error was caused by a changed password. In the keychain the old password was registered and used during printing. I solved to problem as follow: * *Open the KeyChain Access App (Applications -> Utilities -> Key Chain Access) *Search for your printer name *Open the key chain entry found *Change the password A: According to this thread on macrumors, Lion - Printing to shared Windows 7 Printer, Apple has decided to remove in OS X Lion anything that allows you to print via a windows shared printer. A: I had the same problem. My Canon MX328 is connected and shared on Windows 7. I could print test-page but not others. Try the following. 1. Select job and press hold on menu bar. Use "guest/guest" for Authentication. This solve problem for my Kyocera laser printer shared on Windows 7, but not Canon inkjet. 2. If still couldn't print (like me for Canon inkjet). Use Gutenprint driver instead of Maker's. CHeers A: This comment in the MacRumors thread fixed it for me: http://forums.macrumors.com/showpost.php?p=13090087&postcount=2 Basically go to the CUPS web admin, modify the printer and add the username/password to the samba url for the printer, i.e: smb://username:password@pcname/printername I'm on Mavericks A: In my case just using the username "guest" was enough, I guess the Windows PC was setup to allow guest users to print. (The generic postscript driver didn't work though. :( )
apple
{ "language": "en", "length": 370, "provenance": "stackexchange_00000.jsonl.gz:6032", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/20363" }
c0fd1ad00780d25f5e3234c2a52fb1207c68d310
Apple Stackexchange Q: Prevent Apple Double Format Files on Remote Share/Disk I have a web application on a local Linux Apache server that scans a folder for new files and then processes them. I have an SMB share to this folder and I use Path Finder to copy files over from my Mac (10.6). The problem is that when I copy files over a whole lot of "._filename" resource fork files get created on the share and then the web application gets confused when it encounters them. I could fix the web application to be a bit smarter and ignore them, but this is also annoying when archiving and copying to external drives. I have managed to turn off .DS_Store files and I did see a similar question with an answer, but it seemed to be dealing with NTFS Streams and a nsmb.conf file. A: There is an application called BlueHarvest that fully automates the clean up of these files. http://www.zeroonetwenty.com/blueharvest4/ Alternatively, you can use terminal: cp -X /sourcedirectory/ /volumes/destinationsmbshare/
Q: Prevent Apple Double Format Files on Remote Share/Disk I have a web application on a local Linux Apache server that scans a folder for new files and then processes them. I have an SMB share to this folder and I use Path Finder to copy files over from my Mac (10.6). The problem is that when I copy files over a whole lot of "._filename" resource fork files get created on the share and then the web application gets confused when it encounters them. I could fix the web application to be a bit smarter and ignore them, but this is also annoying when archiving and copying to external drives. I have managed to turn off .DS_Store files and I did see a similar question with an answer, but it seemed to be dealing with NTFS Streams and a nsmb.conf file. A: There is an application called BlueHarvest that fully automates the clean up of these files. http://www.zeroonetwenty.com/blueharvest4/ Alternatively, you can use terminal: cp -X /sourcedirectory/ /volumes/destinationsmbshare/ A: Adapted from https://apple.stackexchange.com/a/57832/8546 Finder Finder does much to ensure integrity of data, and to make its results compatible with a broad range of Apple operating systems. For some types of copy/move routines, ._ (dot underscore) files are required. File system If you prevent creation of ._ files at the file system level, you make that file system partially incompatible with at least: * *Apple Finder *Microsoft Office Excel, PowerPoint and Word 2011. (For any use case that involves Office 2011 saving to a file system, you must allow ._ on that file system … and so on.) For more detail please see my answer to an older question, Why are dot underscore ._ files created, and how can I avoid them?: * *Purposes of .DS_Store and ._ files
apple
{ "language": "en", "length": 297, "provenance": "stackexchange_00000.jsonl.gz:6040", "question_score": "5", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/20389" }
0f0dae543b8c5412efa59b6171bcb49fe8e01aa4
Apple Stackexchange Q: Can you list Mail attachments separately rather than as icons in the text? In Mail, is it possible to show attachments in a separate list (like in Entourage) rather than as icons buried within the text? A: The following command can be entered into terminal to disable the inline display of Mail's Attachments: defaults write com.apple.mail DisableInlineAttachmentViewing -bool yes to restore the original functionality, use this: defaults write com.apple.mail DisableInlineAttachmentViewing -bool no
Q: Can you list Mail attachments separately rather than as icons in the text? In Mail, is it possible to show attachments in a separate list (like in Entourage) rather than as icons buried within the text? A: The following command can be entered into terminal to disable the inline display of Mail's Attachments: defaults write com.apple.mail DisableInlineAttachmentViewing -bool yes to restore the original functionality, use this: defaults write com.apple.mail DisableInlineAttachmentViewing -bool no A: I'm not sure how Entourage shows attachments. However, in 10.6 (Snow Leopard) and earlier, you can view all of the attachments in one place by clicking the triangle disclosure arrow next to the paper clip icon below the headers in the message view. They will still show as icons, but this shows all of the attachments in one place. The attachment icons will also continue to be shown inline in the text. In 10.7 (Lion), this button stays below the headers, but moves to the right side of the screen. Click and hold and it will list all the attachments in a pull-down menu. Again, the icons will continue to be shown inline in the text. A: I have had the same "problem" and I have found two possible solutions for this. One, you can use the terminal command that, however, would only sort out the outgoing e-mails (for some it would not be a problem, but I have had PDFs coming in that would slow down my mail.app'. Two, there is an app called "Attachment tamer" where you can pretty much adjust any aspect in relation to e-mail attachments. Nevertheless, it costs 15 $. So, after a couple of hours I have found out a solution that works for both, outgoing and incoming mails, and does not cost anything. The "magic" app is called "TinkerTool" and it only does take two clicks and two reboots to have all the attachments displayed as symbols only. Download the App - install it - run it - tab: applications - check the 6th box from the top. And it is for free. Additionally, it has many other features which you can use. Enjoy ;-) Marek A: Right Click on the attachment and choose View As Icon. If you want View as Icon as the default check out Attachment Tamer http://lokiware.info/Attachment-Tamer
apple
{ "language": "en", "length": 382, "provenance": "stackexchange_00000.jsonl.gz:6045", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/20443" }
a623c6bc2f0c44c21454017501a3cc9e9bd68a32
Apple Stackexchange Q: Dock Folder Stack - I want ascending order Before I upgraded to OS X Lion, when I click a stack, it would show the very top. Now, it shows the very bottom of the menu meaning you would see the "Open in Finder" option after you click it. Now, I sorted my download folder by "Date Added" and its very annoying that I am seeing the oldest files first rather than the newest ones. I would have to scroll all the way to the top to access the new files. How can I have the newer files be shown first aka ascending order? A: In my Downloads stack I don't have this problem. The ordering is correct, i.e. latest download appears at the bottom. The settings which achieve this are: Sort by: Date Added Display as: Stack View content as: Fan I hope these settings work for you too.
Q: Dock Folder Stack - I want ascending order Before I upgraded to OS X Lion, when I click a stack, it would show the very top. Now, it shows the very bottom of the menu meaning you would see the "Open in Finder" option after you click it. Now, I sorted my download folder by "Date Added" and its very annoying that I am seeing the oldest files first rather than the newest ones. I would have to scroll all the way to the top to access the new files. How can I have the newer files be shown first aka ascending order? A: In my Downloads stack I don't have this problem. The ordering is correct, i.e. latest download appears at the bottom. The settings which achieve this are: Sort by: Date Added Display as: Stack View content as: Fan I hope these settings work for you too. A: My downloads folder is a stack with latest downloads appearing at the top without me having to move the slider. When I 'right' click the downloads folder icon in the dock, a contextual menu appears. A: I had mine set to List as well and noticed the problem right away after upgrade (my Downloads folder is huge). I think this is a bug. The grid view has the correct initial position (at the top of the reverse chronological ordering) I suspect we'll need to switch to grid view until a patch comes along. :( A: Try this in the Terminal: defaults write com.apple.dock use-new-list-stack -bool YES This gives you another type of List view that always starts at the top of the list with the latest files. You can scroll down for earlier files. A: I see this when I have the "list" setting. A work around is to press control-commnd-up arrow and this will bring you to the top of the list.
apple
{ "language": "en", "length": 314, "provenance": "stackexchange_00000.jsonl.gz:6047", "question_score": "12", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/20451" }
b89088fb884c8ba0f292e444c9ca0ed810d9c471
Apple Stackexchange Q: Why do I see two sizes for storage space available? I have an SSD-based MacBook Pro running Lion, with Time Machine active. I'm aware of the difference between base-10 and base-2 storage sizing, but cannot explain the discrepancy between what Finder reports as available space and what's labeled as free space in the Storage tab of System Information: Shouldn't they both be using decimal units and therefore agree on one of these two numbers? A: Having Time Machine active is probably the cause for the difference between the two reported sizes. For example: Finder tells me I currently have 55.53GB of freespace on my SSD. System Information tells me there's 44.22GB. System Information also tells me 11.31GB are being used for Backups. 44.22GB + 11.31GB = 55.53GB In Lion, Time Machine will keep Backups on the local drive in addition to the external drive. This is useful for notebooks as you are able to make use of Time Machine without needing to have the external drive with you. I would guess the oldest backup files get removed once you need the space for something else, which is why Finder doesn't report those backups as taking up any space.
Q: Why do I see two sizes for storage space available? I have an SSD-based MacBook Pro running Lion, with Time Machine active. I'm aware of the difference between base-10 and base-2 storage sizing, but cannot explain the discrepancy between what Finder reports as available space and what's labeled as free space in the Storage tab of System Information: Shouldn't they both be using decimal units and therefore agree on one of these two numbers? A: Having Time Machine active is probably the cause for the difference between the two reported sizes. For example: Finder tells me I currently have 55.53GB of freespace on my SSD. System Information tells me there's 44.22GB. System Information also tells me 11.31GB are being used for Backups. 44.22GB + 11.31GB = 55.53GB In Lion, Time Machine will keep Backups on the local drive in addition to the external drive. This is useful for notebooks as you are able to make use of Time Machine without needing to have the external drive with you. I would guess the oldest backup files get removed once you need the space for something else, which is why Finder doesn't report those backups as taking up any space.
apple
{ "language": "en", "length": 199, "provenance": "stackexchange_00000.jsonl.gz:6050", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/20462" }
7aba1df08bc76b492b44a39da15daef60f69ddab
Apple Stackexchange Q: Can Mail.app be configured to insert a blank line before the text of the previous message in a reply? Currently, a reply window contains this: *new message text starts here* ... old/previous message text starts here... What I want is this *new message text starts here* ... old/previous message text starts here... A: Not ideal but: Go into Preferences: Signatures, create a new Signature, erase the name and e-mail address, and hit Enter once to create a blank line. Then check the "Place signature above quoted text" box. Note: once a signature has been saved with actual text, Mail won't let you blank it out, so make sure you do this with a new sig, rather than editing an old one.
Q: Can Mail.app be configured to insert a blank line before the text of the previous message in a reply? Currently, a reply window contains this: *new message text starts here* ... old/previous message text starts here... What I want is this *new message text starts here* ... old/previous message text starts here... A: Not ideal but: Go into Preferences: Signatures, create a new Signature, erase the name and e-mail address, and hit Enter once to create a blank line. Then check the "Place signature above quoted text" box. Note: once a signature has been saved with actual text, Mail won't let you blank it out, so make sure you do this with a new sig, rather than editing an old one. A: I believe you can configure the free QuoteFix Mail plugin to do what you want.
apple
{ "language": "en", "length": 138, "provenance": "stackexchange_00000.jsonl.gz:6053", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/20469" }
37116da15c03d7fb9841bcf03694205264b62318
Apple Stackexchange Q: How to disable Safari's new "feed://" redirection for feeds? I'm sure some people really love that new feature, but I use Google Reader so it's driving me batty. Not to mention that as a tech guy, I might want to actually view an XML feed once in a while (like for instance, Sparkle update feeds). So how do I stop Safari from redirecting the normal XML feeds to their "feed://" pseudo-protocol? A: Apparently, it used to be possible in Tiger/Safari 2.0 to disable this using defaults write com.apple.Safari DebugSyndicationEnabled -bool NO. (source) I cannot get this to work in Lion/Safari 5.1, however. Your best bet seems to be to set the default feed reader (Safari → Preferences… → RSS) to something that gives you XML source.
Q: How to disable Safari's new "feed://" redirection for feeds? I'm sure some people really love that new feature, but I use Google Reader so it's driving me batty. Not to mention that as a tech guy, I might want to actually view an XML feed once in a while (like for instance, Sparkle update feeds). So how do I stop Safari from redirecting the normal XML feeds to their "feed://" pseudo-protocol? A: Apparently, it used to be possible in Tiger/Safari 2.0 to disable this using defaults write com.apple.Safari DebugSyndicationEnabled -bool NO. (source) I cannot get this to work in Lion/Safari 5.1, however. Your best bet seems to be to set the default feed reader (Safari → Preferences… → RSS) to something that gives you XML source. A: Just in case that would be useful, disable RSS feed in Safari 5 : Safari top menu --> Preferences --> RSS --> uncheck both boxes next to "automatically update articles in" Done.
apple
{ "language": "en", "length": 160, "provenance": "stackexchange_00000.jsonl.gz:6057", "question_score": "5", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/20483" }
a1a359de5f7f3dd409eb30fe165377a7dd750641
Apple Stackexchange Q: OS X Lion: App-Specific Resume I know there's a system wide preference to disable 'Restore windows when quitting and re-opening apps', but is there any way to have it restore only specific apps?. I would like to have Safari open in full screen every time I launch it. A: defaults write com.apple.Safari NSQuitAlwaysKeepsWindows -bool YES will enable it just for Safari. Note that you can also temporarily toggle the behavior by holding ⌥ and choosing Safari → Quit And Keep Windows (or ⌘-⌥-Q).
Q: OS X Lion: App-Specific Resume I know there's a system wide preference to disable 'Restore windows when quitting and re-opening apps', but is there any way to have it restore only specific apps?. I would like to have Safari open in full screen every time I launch it. A: defaults write com.apple.Safari NSQuitAlwaysKeepsWindows -bool YES will enable it just for Safari. Note that you can also temporarily toggle the behavior by holding ⌥ and choosing Safari → Quit And Keep Windows (or ⌘-⌥-Q). A: If you want to DISABLE restore for a particular application, it appears you can close all open documents for a program, quit the program, then go to ~/Library/Saved Application State/«app name», Get Info, and lock the folder. This could work to preserve the state of "no windows open", or to preserve any other window state that you always want to launch into.
apple
{ "language": "en", "length": 147, "provenance": "stackexchange_00000.jsonl.gz:6061", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/20507" }
4210bdc894d4c4b0c090ef2d5356df4ada2ca08d
Apple Stackexchange Q: Reverse icon view order in Finder When you press Command ⌘+J in Finder to bring up the options for the current folder and change what you sort the files by (in my case Date Created), is there any way to reverse the order? Rather than seeing the newest files at the top, I'd rather see them at the bottom. How could I reverse the order? A: After pressing Command+J, be sure the box is checked under show columns for the parameter you would like to sort by. Then, in the Finder window, just clicking on the title of the column that you would like to sort by (in your case Date Created) will toggle through the different ways to sort by that parameter. EDIT: This, unfortunately, only works on List View.
Q: Reverse icon view order in Finder When you press Command ⌘+J in Finder to bring up the options for the current folder and change what you sort the files by (in my case Date Created), is there any way to reverse the order? Rather than seeing the newest files at the top, I'd rather see them at the bottom. How could I reverse the order? A: After pressing Command+J, be sure the box is checked under show columns for the parameter you would like to sort by. Then, in the Finder window, just clicking on the title of the column that you would like to sort by (in your case Date Created) will toggle through the different ways to sort by that parameter. EDIT: This, unfortunately, only works on List View.
apple
{ "language": "en", "length": 132, "provenance": "stackexchange_00000.jsonl.gz:6064", "question_score": "8", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/20519" }
b4571e55801a06bb592b187ce24066ac002c47de
Apple Stackexchange Q: How do I find my IP Address from the command line? I know you can do ifconfig | grep inet, but that shows you several IPv4 addresses. How do I get the specific one for SSHing et al? A: To get the IP address of your computer facing the Internet, here is a working receipe: if=`netstat -nr | awk '{ if ($1 ~/default/) { print $6} }'` ifconfig ${if} | awk '{ if ($1 ~/inet/) { print $2} }' It should work even when you have multiple interfaces active, even when you have interfaces you don't know which one is actually the default gateway.
Q: How do I find my IP Address from the command line? I know you can do ifconfig | grep inet, but that shows you several IPv4 addresses. How do I get the specific one for SSHing et al? A: To get the IP address of your computer facing the Internet, here is a working receipe: if=`netstat -nr | awk '{ if ($1 ~/default/) { print $6} }'` ifconfig ${if} | awk '{ if ($1 ~/inet/) { print $2} }' It should work even when you have multiple interfaces active, even when you have interfaces you don't know which one is actually the default gateway. A: Use ipconfig getifaddr en1 for wireless, or ipconfig getifaddr en0 for ethernet. ipconfig getifaddr en0 is default for the Wi-Fi network adapter. Alternatively you can also do: dig -4 TXT +short o-o.myaddr.l.google.com @ns1.google.com Output, e.g.: 172.79.136.120 A: I've got this set up in an .aliases dotfile for frequent ip lookup: alias ip="dig +short myip.opendns.com @resolver1.opendns.com" alias localip="ipconfig getifaddr en0" A: You can do the following: Type ifconfig or ifconfig -a. This command shows you the list of interfaces along with their IP and MAC addresses (the latter one only if applicable). You can also type ifconfig en0 or ifconfig en1 for the configuration of a particular interface only (as someone said in their answers, en0 is typically the wired Ethernet while en1 is the WiFi interface). As an alternative, netstat -i will list all interfaces and will show you the IP addresses you have assigned to each of them. Typically, when you have SSH daemon running on a box, it will listen on all available interfaces, ie. you can use any IP address that's configured on your machine to connect to that machine via SSH (this, obviously, subject to Firewall rules). If you're after what the OS calls a Primary interface and primary IP address, you can use the scutil command like this: MacBook:~ scutil > show State:/Network/Global/IPv4 <dictionary> { PrimaryInterface : en0 PrimaryService : C0550F84-5C07-484F-8D62-C8B90DC977D8 Router : 10.103.4.1 } > show State:/Network/Interface/en0/IPv4 <dictionary> { Addresses : <array> { 0 : 10.103.4.234 } BroadcastAddresses : <array> { 0 : 10.103.4.255 } SubnetMasks : <array> { 0 : 255.255.255.0 } } Please note, that the above, even though is a command-line command, is also interactive (so you run scutil and then enter its own commands into it). The first show command tells you the name of the primary interface for the OS (i.e. this will be the one on top of the list in your System Preferences / Network Preferences window), as well as the IP address of your default router. The second show command takes State:/Network/Interface/<ifname>/IPv4 argument (in this case, en0) and gives you the IP addresses assigned to it. You're looking for the address in the Addresses array, the other two entries are broadcast addresses and the netmasks. Hope that helps, but if anything is not clear, let me know. A: To find your Mac's current internal IP address, run: ifconfig -l | xargs -n1 ipconfig getifaddr This is basically equivalent to ipconfig getifaddr en0, but more reliable! en0 is not always the current network interface! Thank you to @epylinkn in the comments of another answer for this hint. I'm posting it here so it's more visible; I initially missed it myself. A: The following works for me on 10.8 and on 10.10 Yosemite. ifconfig | grep "inet " | grep -Fv 127.0.0.1 | awk '{print $2}' If you find the above gives you more than one answer, save the following to a script, and run it instead ip_address.sh #!/usr/bin/env bash dumpIpForInterface() { IT=$(ifconfig "$1") if [[ "$IT" != *"status: active"* ]]; then return fi if [[ "$IT" != *" broadcast "* ]]; then return fi echo "$IT" | grep "inet " | grep -v 127.0.0.1 | awk '{print $2}' } main() { # snagged from here: https://superuser.com/a/627581/38941 DEFAULT_ROUTE=$(route -n get 0.0.0.0 2>/dev/null | awk '/interface: / {print $2}') if [ -n "$DEFAULT_ROUTE" ]; then dumpIpForInterface "$DEFAULT_ROUTE" else for i in $(ifconfig -s | awk '{print $1}' | awk '{if(NR>1)print}') do if [[ $i != *"vboxnet"* ]]; then dumpIpForInterface "$i" fi done fi } main A: Just type curl ifconfig.me in the terminal. A: Just for the record, you can make a bash script with the following content which gives you your external IP address #!/bin/bash wget -qO - http://ipecho.net/plain; echo A: This answer work on both mac and linux: ifconfig | grep -E "([0-9]{1,3}\.){3}[0-9]{1,3}" | grep -v 127.0.0.1 | head -1 | awk '{ print $2 }'
apple
{ "language": "en", "length": 755, "provenance": "stackexchange_00000.jsonl.gz:6072", "question_score": "348", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/20547" }
7819ce3146c0994dfb3ce4098524255424f11f10
Apple Stackexchange Q: Keyboard Shortcuts for "Compress" or "New Folder with Selection"? Has anybody found a decent solution to this? Custom keyboard shortcuts (as defined in System Preferences > Keyboard) don't work for any dynamic menus like Compress XX items or (new in Lion) New Folder with Selection (XX items) because they add the number of files selected after them. Are there undocumented wildcards for keyboard shortcuts? Unlike Compress, New Folder with Selection (XX items) does have a default keyboard shortcut, but there still doesn't seem to be a way to change it. A: For compressing i found simple solution. I'm using OS X Yosemite 10.10.2 and It's worked for me. Open system preferences and follow the screenshots: --> Step1: --> Step2: --> Step3: --> Step4(It's Done): That's It. I know it's been long time since you asked the Question but i'm posting the answers for those who are still looking for solution.
Q: Keyboard Shortcuts for "Compress" or "New Folder with Selection"? Has anybody found a decent solution to this? Custom keyboard shortcuts (as defined in System Preferences > Keyboard) don't work for any dynamic menus like Compress XX items or (new in Lion) New Folder with Selection (XX items) because they add the number of files selected after them. Are there undocumented wildcards for keyboard shortcuts? Unlike Compress, New Folder with Selection (XX items) does have a default keyboard shortcut, but there still doesn't seem to be a way to change it. A: For compressing i found simple solution. I'm using OS X Yosemite 10.10.2 and It's worked for me. Open system preferences and follow the screenshots: --> Step1: --> Step2: --> Step3: --> Step4(It's Done): That's It. I know it's been long time since you asked the Question but i'm posting the answers for those who are still looking for solution. A: The shortcut for a new folder with selection is Control + Command + N. There isn't a shortcut for Compress, but you can script it and then assign a shortcut to the script: Use AppleScript Editor and refer to this script from Super User on adding a shortcut: tell application "System Events" to tell process "Finder" tell menu 1 of menu bar item 3 of menu bar 1 click (menu item 1 where name starts with "Compress") end tell end tell A: I found it, for Lion: - Run Automator - create a "Service" which compresses a "file or folder" for the application "Finder" - Save the Service with a name like "Compress" - Go to Preferences -> keyboard -> Shortcuts -> Services, and add the Shortcut you want for "Compress" under "Finder". That's it. A: There aren't any wildcard characters that I am aware of. This is the first I'm running into this problem. One could work around this by using GUI scripting, which refers to menu items by their position in the menu instead of their name. You could then use another program to enable system-wide use of whatever hotkey you wanted for this script.
apple
{ "language": "en", "length": 349, "provenance": "stackexchange_00000.jsonl.gz:6074", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/20559" }
df9f900a670589d4ecdcf4143e16fc627b02f618
Apple Stackexchange Q: How can I make ⌘H send an app to the back of the ⌘Tab stack on Lion? Possible Duplicate: Can I get back Snow-Leopard-like application hiding (Cmd-H) in Lion? I just upgraded from Tiger (on an old MacBook) to Lion on a new MacBook Air. I had become accustomed to using ⌘H to both hide an application and to put it to the back of the ⌘Tab order. On Lion, the ⌘H command still hides the window but doesn't change the position of the application in the ⌘Tab order. Pressing ⌘H then ⌘Tab brings the application right back to the foreground. By hiding the app, I want to say that I'm not interested in using it for now. Is there another keystroke that sends an application back to the bottom of the ⌘Tab stack? Or is there a way to change the behaviour of ⌘H to hide and send to the back of the stack?
Q: How can I make ⌘H send an app to the back of the ⌘Tab stack on Lion? Possible Duplicate: Can I get back Snow-Leopard-like application hiding (Cmd-H) in Lion? I just upgraded from Tiger (on an old MacBook) to Lion on a new MacBook Air. I had become accustomed to using ⌘H to both hide an application and to put it to the back of the ⌘Tab order. On Lion, the ⌘H command still hides the window but doesn't change the position of the application in the ⌘Tab order. Pressing ⌘H then ⌘Tab brings the application right back to the foreground. By hiding the app, I want to say that I'm not interested in using it for now. Is there another keystroke that sends an application back to the bottom of the ⌘Tab stack? Or is there a way to change the behaviour of ⌘H to hide and send to the back of the stack?
apple
{ "language": "en", "length": 156, "provenance": "stackexchange_00000.jsonl.gz:6075", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/20561" }
0d4dd0eabe2088a76c2e2fe0aba62c1f42f266c4
Apple Stackexchange Q: Changing Preview.app's default View state in Lion One thing I dislike about Preview.app in Lion is its defaulting to Continuous Scroll as the view option when a new PDF document opens. My recollection is that previous behaviour was for the last-used view state to be honoured subsequently, and I would prefer if this applied in Lion also (my personal preference being for Single Page), or if the default could be changed. Elsewhere, I have seen reference to a Terminal command which was stated as addressing this, but it does not work for me. The command in question is defaults write com.apple.Preview PVPDFDisplayMode 1 (with a suggested variation of defaults write com.apple.Preview PVPDFDisplayMode -int 1), which is supposed to change the default to Single Page. As I say, this does not work for me, and Preview stubbornly continues to default to Continuous Scroll. Can anybody help? A: A preference for changing the default view mode was added in 10.8: I don't know any way to change the default view mode in 10.7.
Q: Changing Preview.app's default View state in Lion One thing I dislike about Preview.app in Lion is its defaulting to Continuous Scroll as the view option when a new PDF document opens. My recollection is that previous behaviour was for the last-used view state to be honoured subsequently, and I would prefer if this applied in Lion also (my personal preference being for Single Page), or if the default could be changed. Elsewhere, I have seen reference to a Terminal command which was stated as addressing this, but it does not work for me. The command in question is defaults write com.apple.Preview PVPDFDisplayMode 1 (with a suggested variation of defaults write com.apple.Preview PVPDFDisplayMode -int 1), which is supposed to change the default to Single Page. As I say, this does not work for me, and Preview stubbornly continues to default to Continuous Scroll. Can anybody help? A: A preference for changing the default view mode was added in 10.8: I don't know any way to change the default view mode in 10.7. A: I can suggest a workaround - there is an excellent PDF viewer called Skim, which does allow you to turn off continuous scroll mode. However, sadly it does not support any Lion features yet (although has its own (good!) fullscreen implementation. http://skim-app.sourceforge.net/
apple
{ "language": "en", "length": 215, "provenance": "stackexchange_00000.jsonl.gz:6080", "question_score": "8", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/20570" }
f9e09f960bbf024d3be7b0f1399d1b040c48e0db
Apple Stackexchange Q: Is there any way in Lion to have "Natural" scrolling for trackpad and "reverse" for mouse? Possible Duplicate: Macbook Pro with Lion: scrolling via trackpad vs. mouse In Lion is there any way to have "Natural" scrolling for trackpad and "reverse" for mouse? They seem tied together in the system preferences. If I change one it changes the other. I would like UP on the mousewheel to scroll up but up on the trackpad to scroll down? Is there any way to do this? A: You may try Scroll Reverser. That screenshot says it all; you can invert scrolling per-axis and per-device, individually for trackpad and mouse. (source)
Q: Is there any way in Lion to have "Natural" scrolling for trackpad and "reverse" for mouse? Possible Duplicate: Macbook Pro with Lion: scrolling via trackpad vs. mouse In Lion is there any way to have "Natural" scrolling for trackpad and "reverse" for mouse? They seem tied together in the system preferences. If I change one it changes the other. I would like UP on the mousewheel to scroll up but up on the trackpad to scroll down? Is there any way to do this? A: You may try Scroll Reverser. That screenshot says it all; you can invert scrolling per-axis and per-device, individually for trackpad and mouse. (source) A: Use USB Overdrive - With USB Overdrive, it is possible to alter any button on any input device like your mouse, and you can define specifics for a particular mouse or input device to suit your need. All you need to do is to alter wheel up and wheel down for your mouse to be the opposite direction, so that wheel up is down and wheel down is up, and you can still retain the regular behavior for other devices. A: Though there are different settings, I have not had any luck with them being separate. When I set the mouse setting off it turns the trackpad setting off and when I turn the trackpad setting on it turns the mouse setting on. This is with a logitech mouse without LCC installed, I haven't tried with an apple mouse though. A: You can use USB Overdrive to reverse the buttons assigned to wheel up and wheel down, so that the mouse wheel gets swapped back.
apple
{ "language": "en", "length": 275, "provenance": "stackexchange_00000.jsonl.gz:6081", "question_score": "7", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/20579" }
745a7c7e2d13c32f8ee261c2304bbc682c9d11e4
Apple Stackexchange Q: Reclaiming hard drive space in iPad What is the easiest way to reclaim HD space on an ipad2 without having to sync? Ideally I'm looking for an app that would allow me to delete files directly from the iPad (I remember there was one for the Newton that did this quite well, yes I'm old). A: I use the free iPhone Explorer to mount my iPod touch in the Finder, and I can find individual files and copy them to the Mac or delete them without using iTunes or syncing. It is supposed to work with iPad as well. Give it a try.
Q: Reclaiming hard drive space in iPad What is the easiest way to reclaim HD space on an ipad2 without having to sync? Ideally I'm looking for an app that would allow me to delete files directly from the iPad (I remember there was one for the Newton that did this quite well, yes I'm old). A: I use the free iPhone Explorer to mount my iPod touch in the Finder, and I can find individual files and copy them to the Mac or delete them without using iTunes or syncing. It is supposed to work with iPad as well. Give it a try. A: iOS, which is the operating system that runs on your iPad (iPhones too), is famous for it's somewhat radical approach of not having much of a "file system" to speak of. Technically it's still there, but users never see it; so it's safe to just forget that detail. All that data that you're used to seeing in the file system is now literally stored inside each respective app. So if you play a game, all your progress and anything you download for that app is entirely located in that app. If you have a text editor/viewer app, then all your notes and documents are also inside that app. Apps can "share" content, but it's really making a copy and if the receiving app happened to keep that content (which they usually will do), it would then be in both apps. If not, it's still in the original app. A common example is when you open a photo editor app and you import a photo from your camera roll/photo album. Same thing. What this boils down to is that to free up space you have to use the apps themselves to delete the data that's inside them. Alternatively, you can just delete the entire app by holding down on the icon in your home screen for a bit and tapping the little x near it. This will effectively delete all the content, data, preferences etc. along with the app itself all at once. Reinstalling the app from the App Store again is totally free of charge, but it will be back to square 1 as if you were installing it for the 1st time all over again. So don't do this with apps that have content that you don't want to lose. There are some exceptions when it comes to the default apps. They cannot be deleted as a whole, but you can still delete the content inside manually using each respective app. Tip - videos are what take up the most space of all. So try not to keep a lot of your recorded or downloaded videos on the device. If you happen to jailbreak your device, there is a great iPad/iPhone app called AppInfo that can sort all your installed apps by size and it even accounts for the content currently inside them unlike iTunes which won't account for content inside app. PS - as far as the 'without having to sync' part, iOS version 5, which is coming this fall, will add a ton of functionality to the device itself that used to require syncing with iTunes. So the bore of syncing might very well be 100% avoidable at that point. A: Like any other iOS device you can easily reclaim space by deleting an app manually using the 'x' button after holding down an icon.
apple
{ "language": "en", "length": 573, "provenance": "stackexchange_00000.jsonl.gz:6085", "question_score": "5", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/20601" }
aa8ce1938cb71d35d5467e94b8e3315f5ffbd758
Apple Stackexchange Q: How do I make Terminal.app's scrollbars disappear in Lion? Once I upgraded to Lion, I found out that the vertical scrollbar is always plastered to the right side of the application window. Because I run GNU Screen within Terminal.app, the right side of the screen session gets hidden partially underneath said scrollbar. Likewise for emacs sessions. Is there a way to disable scrollbars in Terminal.app in Lion? A: I assume you're not using a trackpad, and/or your Show scroll bars preference in System Preferences > General is set to either Automatically based on input device or Always (otherwise, you shouldn't be seeing persistent scrollbars). Try changing this setting for Terminal only: defaults write com.apple.Terminal AppleShowScrollBars -string WhenScrolling Then close Terminal and reopen it for the change to take effect.
Q: How do I make Terminal.app's scrollbars disappear in Lion? Once I upgraded to Lion, I found out that the vertical scrollbar is always plastered to the right side of the application window. Because I run GNU Screen within Terminal.app, the right side of the screen session gets hidden partially underneath said scrollbar. Likewise for emacs sessions. Is there a way to disable scrollbars in Terminal.app in Lion? A: I assume you're not using a trackpad, and/or your Show scroll bars preference in System Preferences > General is set to either Automatically based on input device or Always (otherwise, you shouldn't be seeing persistent scrollbars). Try changing this setting for Terminal only: defaults write com.apple.Terminal AppleShowScrollBars -string WhenScrolling Then close Terminal and reopen it for the change to take effect. A: System Preferences > General > Show scroll bars > When scrolling A: Try LionScrollbars. It's the only thing that worked for me (besides setting the entire system to "When scrolling"). Works like a charm under 10.8.2.
apple
{ "language": "en", "length": 167, "provenance": "stackexchange_00000.jsonl.gz:6086", "question_score": "26", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/20605" }
2a4e1c0430f951029923b41c59437f8a80857681
Apple Stackexchange Q: iBook on iPad: turn pages with voice command I bought an iPad for somebody who is paralysed; primarily as a book reader for its ability to enlarge the text- but also to surf the net, etc. with a family member or caregiver using the touchpad. I want to know if there is a voice command so he is able to turn pages himself, rather than needing to rely on anyone else. A: No - without some external hardware that would somehow touch the screen for you, voice input is for Siri / VoiceOver and not general accessibility controls. You might look to a program like Instapaper where you can scroll the view by tilting the device but iBooks doesn't have any accelerometer based controls or voice controls at present. It's not that it couldn't be added, just that it hasn't.
Q: iBook on iPad: turn pages with voice command I bought an iPad for somebody who is paralysed; primarily as a book reader for its ability to enlarge the text- but also to surf the net, etc. with a family member or caregiver using the touchpad. I want to know if there is a voice command so he is able to turn pages himself, rather than needing to rely on anyone else. A: No - without some external hardware that would somehow touch the screen for you, voice input is for Siri / VoiceOver and not general accessibility controls. You might look to a program like Instapaper where you can scroll the view by tilting the device but iBooks doesn't have any accelerometer based controls or voice controls at present. It's not that it couldn't be added, just that it hasn't. A: I am visually impaired and have been to multiple VA Blind centers, to make a long story short the VA is issueing apple products, including iOS products, not only to the visually impaired but also Vets who suffer from TBI, Spinal trauma... This came up this past Feb. If the individual has head movement a stylus can be attached to an extension and used with the mouth, not only does this allow the person to turn pages but also will allow them to open apps and move through app screens, and possibly the ability to use the home button.
apple
{ "language": "en", "length": 241, "provenance": "stackexchange_00000.jsonl.gz:6089", "question_score": "8", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/20617" }
22c2b81a99264db782810d23a2347f84f03ca12c
Apple Stackexchange Q: How to turn off the iOS-style character picker menu When I hold a key in Lion, I get this iOS-style character picker instead of a repeated character, as in previous versions of the OS: I really dislike this (I rarely use those symbols as I only speak Dutch and English). I want to hooooooooooold a key. :) Where can I turn this off? I can't find an option in the system preferences. A: If you’re interested in more of these "secret preferences" check out the awesome Secrets website. Better yet, consider installing Secrets’ accompanying prefpane which will allow you to update any of these through a GUI and auto-populates from Secrets‘ authoritative database of these little nuggets.
Q: How to turn off the iOS-style character picker menu When I hold a key in Lion, I get this iOS-style character picker instead of a repeated character, as in previous versions of the OS: I really dislike this (I rarely use those symbols as I only speak Dutch and English). I want to hooooooooooold a key. :) Where can I turn this off? I can't find an option in the system preferences. A: If you’re interested in more of these "secret preferences" check out the awesome Secrets website. Better yet, consider installing Secrets’ accompanying prefpane which will allow you to update any of these through a GUI and auto-populates from Secrets‘ authoritative database of these little nuggets. A: You have to open a Terminal window and type in the following: defaults write -g ApplePressAndHoldEnabled -bool false (from this article) A: You can do it with Terminal: http://m10lmac.blogspot.com/2011/07/os-x-107-lion-getting-rid-of-character.html Extract: A new Lion feature taken over from iOS is the "Character Picker", which generates a popup menu of accented characters when you hold down the base letter on the keyboard. Some users detest this, as it stops the key repeat function which normally results when you hold down a key. To get rid of Character Picker, open Terminal and type defaults write -g ApplePressAndHoldEnabled -bool false and then restart.
apple
{ "language": "en", "length": 218, "provenance": "stackexchange_00000.jsonl.gz:6090", "question_score": "6", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/20618" }
430cf267e646d1d3a916c12ef3913526d16daded
Apple Stackexchange Q: How to share files with coworkers via internet? Securely? I have number of co-workers in other countries. I would like to be able to setup something like shared network drive so that we can all access the files and work together. What's the best way of doing that? Do I need Lion server for that? A: Why not use something like Dropbox? There's also Sparkleshare which allows you to host files yourself.
Q: How to share files with coworkers via internet? Securely? I have number of co-workers in other countries. I would like to be able to setup something like shared network drive so that we can all access the files and work together. What's the best way of doing that? Do I need Lion server for that? A: Why not use something like Dropbox? There's also Sparkleshare which allows you to host files yourself. A: OwnCloud lets you setup your own cloud server environment.
apple
{ "language": "en", "length": 83, "provenance": "stackexchange_00000.jsonl.gz:6091", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/20621" }
0fbaa3ae3f5f5a028261461f630df3becb1b556c
Apple Stackexchange Q: does thunderbolt support connecting multiple computers to a monitor I'm planning to get a new Mac mini server plus a mac book pro. I would like information about Thunderbolt support for connecting two computers to a single display, i.e. in my case the Mac mini to the Thunderbolt display port and simultaneously the Mac Book pro with the Thunderbolt cable. A: Do you mean multiple inputs (like a TV)? In that case, no. The Thunderbolt display supports one input but allows you to chain additional displays or drives using the Thunderbolt port on the back of the display.
Q: does thunderbolt support connecting multiple computers to a monitor I'm planning to get a new Mac mini server plus a mac book pro. I would like information about Thunderbolt support for connecting two computers to a single display, i.e. in my case the Mac mini to the Thunderbolt display port and simultaneously the Mac Book pro with the Thunderbolt cable. A: Do you mean multiple inputs (like a TV)? In that case, no. The Thunderbolt display supports one input but allows you to chain additional displays or drives using the Thunderbolt port on the back of the display. A: Well it certainly won't work simultaneously. Your display can only read input from one source and there's no way to switch that unless you get a display that supports it. The device described here seems to do what you want, all you have to do is manually switch the input when you want to change. Honestly if I was in your case I would just keep the Macbook Pro hooked up to it and use VNC and/or ssh to login your server to administrate.
apple
{ "language": "en", "length": 184, "provenance": "stackexchange_00000.jsonl.gz:6094", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/20634" }
ccc009fa979549d14bf199f4abab045654ae548e
Apple Stackexchange Q: How do I encypt Time Machine with Mac OS X Lion? 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? A: 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.
Q: How do I encypt Time Machine with Mac OS X Lion? 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? A: 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. A: 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. I decided not to encrypt my Drobo after reading 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: (See also "If I encrypt a Time Machine backup disk, is the entire disk encrypted or just the Backups.backupdb directory?".) A: 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.
apple
{ "language": "en", "length": 353, "provenance": "stackexchange_00000.jsonl.gz:6099", "question_score": "5", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/20647" }
4db5e4999ecf1cb01272642c70a6191766713fe4
Apple Stackexchange Q: Disable OS X feature to reopen windows at login time In Mac OS X Lion, when I do Apple > Shut Down, there is a checkbox that says "Reopen windows when logging back in". Even though I constantly UNCHECK the box, it seems OS X doesn't care - and still opens some Finder windows and sometimes Chrome... How can I turn this feature off? A: For the record, we’re talking about this: The problem is that OS X doesn’t remember if you uncheck the checkbox on the last shutdown — it will always keep the checkbox checked by default on subsequent shutdowns. I found two different solutions for this problem, that seem to do the trick, although they aren’t ideal. Open Terminal.app and enter the following commands: defaults write com.apple.loginwindow TALLogoutSavesState -bool false defaults write com.apple.loginwindow LoginwindowLaunchesRelaunchApps -bool false This effectively disables the “reopen windows when logging back in” option, although the checkbox will still appear to be checked. You can just ignore it. I’m afraid there’s no better solution, at least not at the moment. Update: OS X 10.7.4 fixed this — it now remembers your selection:
Q: Disable OS X feature to reopen windows at login time In Mac OS X Lion, when I do Apple > Shut Down, there is a checkbox that says "Reopen windows when logging back in". Even though I constantly UNCHECK the box, it seems OS X doesn't care - and still opens some Finder windows and sometimes Chrome... How can I turn this feature off? A: For the record, we’re talking about this: The problem is that OS X doesn’t remember if you uncheck the checkbox on the last shutdown — it will always keep the checkbox checked by default on subsequent shutdowns. I found two different solutions for this problem, that seem to do the trick, although they aren’t ideal. Open Terminal.app and enter the following commands: defaults write com.apple.loginwindow TALLogoutSavesState -bool false defaults write com.apple.loginwindow LoginwindowLaunchesRelaunchApps -bool false This effectively disables the “reopen windows when logging back in” option, although the checkbox will still appear to be checked. You can just ignore it. I’m afraid there’s no better solution, at least not at the moment. Update: OS X 10.7.4 fixed this — it now remembers your selection: A: This bug has been fixed with the Lion update 10.7.4: The OS X Lion v10.7.4 Update includes fixes that: Resolve an issue in which the "Reopen windows when logging back in" setting is always enabled. (click here for more information) A: Do you ever want applications to restore to their closed state, or just at startup? If you want something resembling pre-Lion behavior (i.e. not picking up where you left off), try this. Back up your system before trying this, in case it messes anything up, but I'd recommend this procedure: In the Finder, press Command-shift-G for "Go to the folder:" then type "~/Library/Saved Application State/" (without the quotes). Delete all the folders in Saved Application State, then press Command-I to Get File Info. In the Get File Info window, check the "locked" box. This should keep applications from restoring their state. A: Be sure that Google Chrome isn't included in System Preferences > Users & Groups > Login Items. Also, Finder windows restore by default regardless, as they did in Snow Leopard.
apple
{ "language": "en", "length": 363, "provenance": "stackexchange_00000.jsonl.gz:6102", "question_score": "10", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/20651" }
3adc719973616875e52ce085e8e3690d3ee76e80
Apple Stackexchange Q: GUI for managing automounting of fileshares? I have a bunch of MP3 files on an SMB share. They play great if I use Finder's Connect to Server to mount the disk first, iTunes thinks they have names like /Volumes/musicshare/foo.mp3. But if I reboot and launch iTunes first the files are as if they don't exist until I manually remount the volume in Finder. How do I arrange for my network share to automatically mount after a reboot? Searching for answers turns up a lot of information about hand-editing autofs configuration files. I'm new to MacOS but an old Unix hand and am OK editing files in /etc. But it feels like the wrong way; does MacOS have a user friendly way of automounting network shares? A: Mount the share that you want and then open "System Preferences - Users and groups - Login items" Click the + symbol to add a new login item and then select the network share from the window that opens. The volume should open on every login. Check the box next to it to hide the item. This should keep the Finder window from appearing.
Q: GUI for managing automounting of fileshares? I have a bunch of MP3 files on an SMB share. They play great if I use Finder's Connect to Server to mount the disk first, iTunes thinks they have names like /Volumes/musicshare/foo.mp3. But if I reboot and launch iTunes first the files are as if they don't exist until I manually remount the volume in Finder. How do I arrange for my network share to automatically mount after a reboot? Searching for answers turns up a lot of information about hand-editing autofs configuration files. I'm new to MacOS but an old Unix hand and am OK editing files in /etc. But it feels like the wrong way; does MacOS have a user friendly way of automounting network shares? A: Mount the share that you want and then open "System Preferences - Users and groups - Login items" Click the + symbol to add a new login item and then select the network share from the window that opens. The volume should open on every login. Check the box next to it to hide the item. This should keep the Finder window from appearing.
apple
{ "language": "en", "length": 191, "provenance": "stackexchange_00000.jsonl.gz:6104", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/20659" }
3f0bdd821d24c5062c875944c5f0eff570ff47fb
Apple Stackexchange Q: Apple Mail reply arrow not working reliably I'm running Lion, connecting to an Exchange 2010 server. Sent messages are stored locally. Once I've replied to a messages in my Inbox, the "replied" arrow appears to the left of the message, as normal. But when I click on the arrow to see the actual reply it fails roughly 50% of the time. By "fails" I mean that nothing comes up when I click. A message I sent minutes earlier/later can work just fine. The reply WAS sent using Apple Mail (not my iPhone) and it IS in my sent mail folder. I have re-built my Spotlight index. A: As far as I know, the issue is that Microsoft doesn't provide the Active Sync API to anything other than mobile devices. This is why using Exchange on Mac is a bit buggy. I would recommend using Microsoft's own Outlook Web App (OWA) for your Exchange emails. Or installing the actual Outlook program for your computer. Those are what I use. :) Those are probably your two best options if you need your email to be 100% reliable on your Mac.
Q: Apple Mail reply arrow not working reliably I'm running Lion, connecting to an Exchange 2010 server. Sent messages are stored locally. Once I've replied to a messages in my Inbox, the "replied" arrow appears to the left of the message, as normal. But when I click on the arrow to see the actual reply it fails roughly 50% of the time. By "fails" I mean that nothing comes up when I click. A message I sent minutes earlier/later can work just fine. The reply WAS sent using Apple Mail (not my iPhone) and it IS in my sent mail folder. I have re-built my Spotlight index. A: As far as I know, the issue is that Microsoft doesn't provide the Active Sync API to anything other than mobile devices. This is why using Exchange on Mac is a bit buggy. I would recommend using Microsoft's own Outlook Web App (OWA) for your Exchange emails. Or installing the actual Outlook program for your computer. Those are what I use. :) Those are probably your two best options if you need your email to be 100% reliable on your Mac. A: I've experienced the same thing, but only with my company's Exchange server. My other IMAP servers (Gmail, MobileMe a private IMAP) all work fine, 100% of the time. I'm pretty sure this is a server side Exchange bug. A: I've seen the same behavior with IMAP accounts in Mail under Lion. I think it's a general bug, and not limited to Exchange (I say this because I have no Exchange accounts).
apple
{ "language": "en", "length": 261, "provenance": "stackexchange_00000.jsonl.gz:6107", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/20670" }
c9243f12468ae3bb779956e2a19e15524157e461
Apple Stackexchange Q: Remove rogue app from menu bar I have a rogue item on my menu bar from a terrible piece of printer/scanner software. I long ago removed the app, but the button for the app remains in the menu bar. Is there any central way for me to remove an item from the menu bar? Any plist I can hack? command line trick, etc? It's the one to the left of the Facebook icon: (I tried holding Command and dragging it away, but it doesn't seem to respect that convention.) A: This is likely a status item, not a menu extra. (Not being able to move it around or remove it by holding ⌘ and dragging is the way to find out.) In Activity Monitor (in /Applications/Utilities), set the pop-up menu to "My Processes" and look for anything that sounds related to the scanner vendor. Also, check ~/Library/LaunchAgents for a file that mentions the vendor in its name. Lastly, check System Preferences → Accounts → (your account) → Login Items.
Q: Remove rogue app from menu bar I have a rogue item on my menu bar from a terrible piece of printer/scanner software. I long ago removed the app, but the button for the app remains in the menu bar. Is there any central way for me to remove an item from the menu bar? Any plist I can hack? command line trick, etc? It's the one to the left of the Facebook icon: (I tried holding Command and dragging it away, but it doesn't seem to respect that convention.) A: This is likely a status item, not a menu extra. (Not being able to move it around or remove it by holding ⌘ and dragging is the way to find out.) In Activity Monitor (in /Applications/Utilities), set the pop-up menu to "My Processes" and look for anything that sounds related to the scanner vendor. Also, check ~/Library/LaunchAgents for a file that mentions the vendor in its name. Lastly, check System Preferences → Accounts → (your account) → Login Items. A: These icons are called menu extras. Using Terminal, try this command: mdfind menu | grep \\.menu$ This command shows a list of file paths for menu extras as indexed by Spotlight. If the unwanted menu extra is listed in the output, navigate to the path using Finder or Terminal and remove it. You may have to log out and log in again, or reboot, to clear the item from the menu bar if you are unable to drag it out.
apple
{ "language": "en", "length": 251, "provenance": "stackexchange_00000.jsonl.gz:6114", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/20700" }
3ec6062c41da328cdab31c0eae9b3878a8307c74
Apple Stackexchange Q: IBM JRE on Mac? For some uses such as communicating with Weblogic or WebSphere application servers from Windows or Unix, I have to use the IBM JRE. Does such thing exist on Mac? and/or how can I do that (except for the obvious solution of not using a Mac to run these programs)?
Q: IBM JRE on Mac? For some uses such as communicating with Weblogic or WebSphere application servers from Windows or Unix, I have to use the IBM JRE. Does such thing exist on Mac? and/or how can I do that (except for the obvious solution of not using a Mac to run these programs)?
apple
{ "language": "en", "length": 54, "provenance": "stackexchange_00000.jsonl.gz:6122", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/20732" }
8819f3a8d331adcb0f579ec2a51717479347953f
Apple Stackexchange Q: How do I undo this setting on a MacBook? Turns out cats' paws are not a very reliable input method. The cat walked across the keyboard, and now I am stuck in a "secure text field". It looks like this: How do I get out of here? [question asked on this person's behalf, since I couldn't find them an answer myself] A: You've managed to enable VoiceOver! If your sound had been turned on, you'd also hear your computer speaking the words that appear on screen. VoiceOver is OS X's built-in screen reading software for the vision-impaired. It can speak and display lots of information about the elements on screen, including the currently-active text field. You can disable/enable it with ⌘+F5 (or ⌘+fn+F5 on newer keyboards). This and more accessibility-related settings and keyboard shortcuts can be found in the Universal Access preferences, and the Universal Access section of the Keyboard preferences. (In Lion, it seems you get an intro dialog when enabling VoiceOver — perhaps this doesn't happen when the computer is locked, or in previous versions of OS X.)
Q: How do I undo this setting on a MacBook? Turns out cats' paws are not a very reliable input method. The cat walked across the keyboard, and now I am stuck in a "secure text field". It looks like this: How do I get out of here? [question asked on this person's behalf, since I couldn't find them an answer myself] A: You've managed to enable VoiceOver! If your sound had been turned on, you'd also hear your computer speaking the words that appear on screen. VoiceOver is OS X's built-in screen reading software for the vision-impaired. It can speak and display lots of information about the elements on screen, including the currently-active text field. You can disable/enable it with ⌘+F5 (or ⌘+fn+F5 on newer keyboards). This and more accessibility-related settings and keyboard shortcuts can be found in the Universal Access preferences, and the Universal Access section of the Keyboard preferences. (In Lion, it seems you get an intro dialog when enabling VoiceOver — perhaps this doesn't happen when the computer is locked, or in previous versions of OS X.) A: Found it. cmd+F5. [The by-proxy OP found the answer on their own.]
apple
{ "language": "en", "length": 194, "provenance": "stackexchange_00000.jsonl.gz:6124", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/20735" }
499e1694b80e17a919b29222e846c6ac4df4857f
Apple Stackexchange Q: Which command-line packages do you need? I generally have one of Fink, MacPorts, Homebrew installed. Most often for a single, small, and trivial package. I've found that all my day-to-day software exists in OS X versions. So, which non-OS X unix software do you find is required, interesting, or otherwise always on your computer. I'm looking to broaden my horizons. I have enough unix/linux experience to not be afraid, I just haven't found a good use-case yet. For added clarity, I'm not looking for anything already installed with OS X. So, please, no ssh, vi, etc, unless you explain the reason you need a different version. A: I frequently reinstall MacPorts (e.g., when there's a new major version of Xcode) so I keep a file with a list of my essential ports for easy reinstalling. Here's my list of essential software that doesn't come with OS X. * *arping *dnstracer *watch *wireshark *figlet *gnupg *ipcalc *lynx +ssl *minicom *mtr *ncftp *nmap *pstree *pwgen *p0f *sipcalc *ssldump *stunnel *tcpflow *unrar *w3m *wget *wordplay *fortune *cowsay *ack
Q: Which command-line packages do you need? I generally have one of Fink, MacPorts, Homebrew installed. Most often for a single, small, and trivial package. I've found that all my day-to-day software exists in OS X versions. So, which non-OS X unix software do you find is required, interesting, or otherwise always on your computer. I'm looking to broaden my horizons. I have enough unix/linux experience to not be afraid, I just haven't found a good use-case yet. For added clarity, I'm not looking for anything already installed with OS X. So, please, no ssh, vi, etc, unless you explain the reason you need a different version. A: I frequently reinstall MacPorts (e.g., when there's a new major version of Xcode) so I keep a file with a list of my essential ports for easy reinstalling. Here's my list of essential software that doesn't come with OS X. * *arping *dnstracer *watch *wireshark *figlet *gnupg *ipcalc *lynx +ssl *minicom *mtr *ncftp *nmap *pstree *pwgen *p0f *sipcalc *ssldump *stunnel *tcpflow *unrar *w3m *wget *wordplay *fortune *cowsay *ack A: These are all brew tools: coreutils exif exiftags exiftool findutils gawk gnu-sed ssed Those are for greater scripting compatibility or just better features (gsed supports things like '\t' and other things you'd expect) growlnotify Use Growl from the command line lynx wget lynx is useful if for nothing other than lynx -listonly in scripting. wget is also handy for just throwing a URL and downloading it. msmtp easily send email from command line. I wrote more about it here. multimarkdown multimarkdown tools for obvious reasons youtube-dl Download youtube videos just by throwing the URL at it. A: git and Mercurial command line. I know there are GUI out there, and I use those, too, but for some things, the command line is the fastest way to get things done. ssh (to log into other computers that are not running OSX, so I am not sure that counts) and rsync (to get data in and out from them) command line scp. Again, there is Cyberduck, but sometimes the command line is fastest. Arguably, all of the above is programmer stuff. Back in the day, I used OpenOffice via X, but now we have OpenOffice as a (more or less) Mac app, and even Quick Look can show you Excel and Word files. A: vim or its mac counterpart macvim. I can't stress enough that anybody who has even remotely to do something on the terminal should take the time to look at a couple of tutorial videos on youtube and print out the awesome Graphical vi-vim Cheat Sheet. Other than that I use the usual suspects like wget, tail, wc, ssh, scp or grep. For subversion I much more like the graphical ui built into NetBeans. A: * *wget (download files from inet) *nmap (scan ip) *unrar (It's more up to date that the GUI) *imagemagick (way faster to do thumbs than photoshop) *mencoder (to do some trasnformations between media formats, I use it regularly to extract audio from DVD's) developer stuff: git, postgresql, mongod A: Can't live without using Emacs in console mode via Terminal. A: I use iperf to measure my network bandwidth whenever I make a change to any computer or network gear. A: * *bash-completion *git *emacs (OSX's installed version is 4 years old) *inkscape *nmap *iperf A: MAMP 2.0.1. Pre-packaged * *Apache 2.2.17 *PHP 5.3.6 *phpMyAdmin 3.3.9.2 *XCache 1.3.1 *SQLite Manager 1.2.4 *MySQL 5.5.9 *SQLite Library 2.8.17 You can control everything through the MAMP web-browser interface, with almost no need for the command-line. I use it to host a local WordPress installation for testing and development.
apple
{ "language": "en", "length": 607, "provenance": "stackexchange_00000.jsonl.gz:6126", "question_score": "12", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/20740" }
5eb16dd5702101ff3f84d5b2791341a5aaa02c66
Apple Stackexchange Q: Can IPhone 4 share WIFI over WIFI? I'm going to location where my 3G will be pretty expensive. Can I connect my iPhone 4 to WIFI in hotel and share it for my laptop thru WIFI as well? That way I could save some money to not have to buy 2 x WIFI from HOTEL. A: No. The iPhone can either act as a client or an Access Point, not both simultaneously. If the WiFi access isn't registered against the device's MAC address then you should be able to use the login on either the iPhone or Laptop (but probably not at the same time). If it is MAC address based registration then you could register with your iPhone and then change your Laptop's MAC address to match the iPhone's MAC address so that you only have to buy one WiFi access card.
Q: Can IPhone 4 share WIFI over WIFI? I'm going to location where my 3G will be pretty expensive. Can I connect my iPhone 4 to WIFI in hotel and share it for my laptop thru WIFI as well? That way I could save some money to not have to buy 2 x WIFI from HOTEL. A: No. The iPhone can either act as a client or an Access Point, not both simultaneously. If the WiFi access isn't registered against the device's MAC address then you should be able to use the login on either the iPhone or Laptop (but probably not at the same time). If it is MAC address based registration then you could register with your iPhone and then change your Laptop's MAC address to match the iPhone's MAC address so that you only have to buy one WiFi access card. A: Since version 5.50.2 (4/4/2012), MyWi can share your wifi connection. A: You're probably much easier off the other way round: make sure your laptop has wifi, and enable internet sharing on your laptop, so that your iphone connects through your laptop to the internet. I think this will require you to have an extra wifi card plugged into (or connected to) your laptop though (the build-in wifi would connect to the internet, the second wifi adapter would share its connection to other devices, like your iphone) A: Yes it can. Install MyWi 6 and go on! A: TPLINK-MR3020 wifi repeater, wifi share modem 3G, AP, usb powered
apple
{ "language": "en", "length": 252, "provenance": "stackexchange_00000.jsonl.gz:6136", "question_score": "5", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/20850" }
11ed26a311ff1d8ed185cb5dacaff07cb4a90280
Apple Stackexchange Q: How can I remove dependencies recursively in Homebrew? I'm trying out Homebrew, but I can't seem to figure out when uninstalling a 'formula', how to recursively remove the dependencies as well. I.e. Macports is: $ port uninstall --follow-dependencies <portname> How does this work with Homebrew? A: A simple way to solve the problem of accumulating dependencies of deinstalled things is to periodically run brew leaves and compare it against a list of wanted leaves, and recursively remove everything else. The following works, but of course is not very readable: 1) Show all the leaves minus the ones in your wanted list: $ brew leaves | egrep -v 'bcwipe|brew-cask|lftp|mmv|mobile-shell|mplayer|node|octave|python|zsh' 2) Once you have adjusted the list (i.e. added new keepers), get rid of the rest: $ brew uninstall `brew leaves|egrep -v 'bcwipe|brew-cask|git|lftp|mmv|mobile-shell|mplayer|node|octave|python|zsh'` This usually has to be called a few times in a row to get them all, and the final call should be followed by a $ brew cleanup To beautify a bit, the list of keepers can of course be kept in a file somewhere.
Q: How can I remove dependencies recursively in Homebrew? I'm trying out Homebrew, but I can't seem to figure out when uninstalling a 'formula', how to recursively remove the dependencies as well. I.e. Macports is: $ port uninstall --follow-dependencies <portname> How does this work with Homebrew? A: A simple way to solve the problem of accumulating dependencies of deinstalled things is to periodically run brew leaves and compare it against a list of wanted leaves, and recursively remove everything else. The following works, but of course is not very readable: 1) Show all the leaves minus the ones in your wanted list: $ brew leaves | egrep -v 'bcwipe|brew-cask|lftp|mmv|mobile-shell|mplayer|node|octave|python|zsh' 2) Once you have adjusted the list (i.e. added new keepers), get rid of the rest: $ brew uninstall `brew leaves|egrep -v 'bcwipe|brew-cask|git|lftp|mmv|mobile-shell|mplayer|node|octave|python|zsh'` This usually has to be called a few times in a row to get them all, and the final call should be followed by a $ brew cleanup To beautify a bit, the list of keepers can of course be kept in a file somewhere. A: Like @Adam Vandenberg said, there's no easy way to do it. However, I filed an issue on Homebrew's GitHub page, and it appears there's a workaround to solve this, until they add an exclusive command. See my answer on StackOverflow for more info. A: In 2021, you can now use brew autoremove: https://docs.brew.sh/Manpage#autoremove---dry-run A: Unfortunately, Homebrew does not track dependencies in this way. A: I just wrote a small wrapper script to add this functionality to brew. Source it in your .bashrc and it will track which packages you install, then recursively remove unneeded dependencies when you uninstall. https://github.com/DaemonF/brew-recursive-uninstall
apple
{ "language": "en", "length": 277, "provenance": "stackexchange_00000.jsonl.gz:6137", "question_score": "14", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/20856" }
3ee1091727b7610214644c5f77b555e01100c31d
Apple Stackexchange Q: Preview.app does not update a pdf when it changes In all pre Lion versions of Mac OS X Preview.app could show an updated PDF when the PDF it was showing changed. Example: I'm writing a latex document and recompile it. Without closing Preview it just reloaded the PDF. In Lion it does not show this behaviour any more. It just seems to get stuck when the open PDF changes. Do you know how to get the pre Lion behaviour? Or am I just missing something here? Is there a PDF viewer which can update the PDF when it changes? The Problem actually was the way I build the PDF file. I have a Makefile to build my latex files which looks like this: pdflatex -output-directory out main.tex mv out/main.pdf . So the file does not get updated. It get's replaced. On pre Lion Osx this worked fine. In Lion it does not. Now I just open out/main.pdf and update it with pdflatex and it works. It also works with Preview.app A: Try Skim. It has a preference option to check for file changes.
Q: Preview.app does not update a pdf when it changes In all pre Lion versions of Mac OS X Preview.app could show an updated PDF when the PDF it was showing changed. Example: I'm writing a latex document and recompile it. Without closing Preview it just reloaded the PDF. In Lion it does not show this behaviour any more. It just seems to get stuck when the open PDF changes. Do you know how to get the pre Lion behaviour? Or am I just missing something here? Is there a PDF viewer which can update the PDF when it changes? The Problem actually was the way I build the PDF file. I have a Makefile to build my latex files which looks like this: pdflatex -output-directory out main.tex mv out/main.pdf . So the file does not get updated. It get's replaced. On pre Lion Osx this worked fine. In Lion it does not. Now I just open out/main.pdf and update it with pdflatex and it works. It also works with Preview.app A: Try Skim. It has a preference option to check for file changes. A: The issue occurs when you have an error in your latex file. At that point pdflatex will delete the pdf, and preview will stop following it. After you correct the error, pdflatex will create a new file, but this will not be tracked by preview, which is still looking at the now non-existant file. This is why skim will work for a while as well. I understand why preview tries to follow the file, sort of, but I think this behavior is very annoying. A: The Skim app does not seem to automatically refresh the rendered PDF when I replace the PDF file with a new version, even with the "Check for file changes" preference option checked. What does work with Skim is to select File -> Revert, then confirm the selection by clicking on "Revert" in the dialog box that pops up. This is way too manual for my taste. Incidentally, the "Revert" menu option is grayed out when the PDF file has not been updated, but as soon as I update/replace the PDF file with a new version, the "Revert" menu option becomes available to be selected. So this indicates that Skim notices that the PDF file on disk is different than the version that was rendered, but it doesn't automatically refresh the display. A: You could also open the PDF with Safari and refresh the page manually to view the new version. markdown2pdf replaces the PDF instead of updating it, so Lion's Preview won't work for me.
apple
{ "language": "en", "length": 435, "provenance": "stackexchange_00000.jsonl.gz:6138", "question_score": "8", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/20857" }
5d5904758960ca9ae199589fa8b322711b90f7e8
Apple Stackexchange Q: Symlinked services in ~/Library/Services not working in Lion Does anyone know how to make symlinked services work in Lion? I used to keep all my services under version control in SL and symlinked into ~/Library/Services and this stopped working when I installed Lion. Once I 'installed' the services they work but even after they installed replacing them with the symlink doesn't work. Anyone have any ideas to get this working? Or know why it no longer works? I am using soft links if that makes a difference. A: I would hard link a file to make sure it's disabled by design. You could then decide to go that path or come up with automation to deploy changes to production - something simple like make or rsync or complicated like Puppet.
Q: Symlinked services in ~/Library/Services not working in Lion Does anyone know how to make symlinked services work in Lion? I used to keep all my services under version control in SL and symlinked into ~/Library/Services and this stopped working when I installed Lion. Once I 'installed' the services they work but even after they installed replacing them with the symlink doesn't work. Anyone have any ideas to get this working? Or know why it no longer works? I am using soft links if that makes a difference. A: I would hard link a file to make sure it's disabled by design. You could then decide to go that path or come up with automation to deploy changes to production - something simple like make or rsync or complicated like Puppet.
apple
{ "language": "en", "length": 131, "provenance": "stackexchange_00000.jsonl.gz:6139", "question_score": "5", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/20858" }
f370bb199cffa8590de57aaccd0f20377ea8b65c
Apple Stackexchange Q: simplest way to open all images in a directory in Finder When I have (and browse with Finder) a directory with a bunch of photos and videos (from e.g. my camera), I often want to open all the pictures in it. How can I do that? Right now, I select all (Apple+A), open (Apple+O) and then quit QuickTime/MPlayer/VLC. But that is a bit annoying. A: If Preview is in the dock, you can drag and drop the folder onto the Preview icon to open only the pictures. I just tried this with a folder of images, wmv, mp4, and mov files and only the images opened in Preview.
Q: simplest way to open all images in a directory in Finder When I have (and browse with Finder) a directory with a bunch of photos and videos (from e.g. my camera), I often want to open all the pictures in it. How can I do that? Right now, I select all (Apple+A), open (Apple+O) and then quit QuickTime/MPlayer/VLC. But that is a bit annoying. A: If Preview is in the dock, you can drag and drop the folder onto the Preview icon to open only the pictures. I just tried this with a folder of images, wmv, mp4, and mov files and only the images opened in Preview. A: You can open all the files with Quicklook by typing: ⌘+A then space A: One approach is to sort by Kind and use the Shift key to select just the range that includes the images you want to open. Another possibility is to use the spotlight search box in the corner of the Finder window to whittle down to the stuff you want by typing the file extension of interest. Or if you are really motivated, you might whip up an Automator script and assign a dedicated keyboard shortcut. A: I use the sort by kind option and shift select all the jpeg. * *⌘+2 - enters list view *scoll to the beginning (or end) of the pictures *click once on the first picture *scroll to the end (or beginning) of the pictures *shift click the other end of the range *⌘+O - open them If I find I have more than one extension or find myself doing this more than once, making a smart folder to select the files is the winningest move. A: Rather than trying to do this in the Finder, I think you should consider a trial of a third-party image-processing program that provides a "Browser" for viewing large thumbnails of lots of images in a folder. I would suggest investigating the features offered by Adobe Photoshop Elements, GraphicConverter, and Google Picasa. A: If you want to set up what happens when you open a particular type of file just right click (ctrl click) & then click on get info. Under the open with section you can pick with app you want to open automatically. You will also get the option to use your settings for all files of that particular type
apple
{ "language": "en", "length": 396, "provenance": "stackexchange_00000.jsonl.gz:6144", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/20876" }
2eec0d3e5005c61d10a815958f77744cf254453f
Apple Stackexchange Q: Where to put the .vimrc file for sudo in OS X Lion? I always put a .vimrc in my home folder for turning :syntax on. But in OS X Lion it seems that sudo vi foo.txt ignore or can't find this vim configuration anymore. Has anyone experiences the same thing? A: Try doing sudo visudo and making sure that this lines appears somewhere in there: Defaults env_keep += "HOME" This should maintain the HOME directory and ~ should would as it did in Snow Leopard.
Q: Where to put the .vimrc file for sudo in OS X Lion? I always put a .vimrc in my home folder for turning :syntax on. But in OS X Lion it seems that sudo vi foo.txt ignore or can't find this vim configuration anymore. Has anyone experiences the same thing? A: Try doing sudo visudo and making sure that this lines appears somewhere in there: Defaults env_keep += "HOME" This should maintain the HOME directory and ~ should would as it did in Snow Leopard. A: I usually have use the same .vimrc and .vim folders as my main users and link them to a safe backupped place on Dropbox - wich btw is awesome for this kind of task. The location of the home folder for your su is /var/root. Therefore .vimrc and the .vim folder belong there. A: Try using vim instead of vi. Sometimes the default for "vi" is compatibility mode. Not sure if this is the case with Lion, however.
apple
{ "language": "en", "length": 165, "provenance": "stackexchange_00000.jsonl.gz:6146", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/20878" }
3019f6a08a3dc8d470d56ad8320922f7ba63e955
Apple Stackexchange Q: Switch between full-screen windows of the same application in Lion Is there a keyboard shortcut in Lion for navigating through my open full screen Xcode projects? ⌘~ is not working. A: I can switch between windows of the same program by dragging four fingers left or right across the trackpad. This is analogous to pressing [Command] + [~] when the windows are not in fullscreen. You can find this setting under System Preferences>Trackpad>More Gestures.
Q: Switch between full-screen windows of the same application in Lion Is there a keyboard shortcut in Lion for navigating through my open full screen Xcode projects? ⌘~ is not working. A: I can switch between windows of the same program by dragging four fingers left or right across the trackpad. This is analogous to pressing [Command] + [~] when the windows are not in fullscreen. You can find this setting under System Preferences>Trackpad>More Gestures. A: You can switch between spaces using ctrl + left right arrow keys, but this can be used with all spaces not just Xcode A: This is not the perfect solution as its a paid one, but this software called Which fills this gap. As this is truly a bothersome problem (I often use five or six RDP connections at one time in full screen) I thought I would mention it. disclaimer : I am not affiliated to this program. A: You an also use Ctrl+Number to switch to a numbered desktop. However, full-screen apps are not given a number and so can't directly be used with this technique. However, if you like the approach, you could manually resize XCode to fill a desktop without actually using full-screen, A: You can also do the swipe two fingers left/right mouse gesture to change between full-screen windows of the same application. See Settings>Mouse>More Gestures A: BEST SOLUTION, but NOT NATIVE: Witch for Mac * *https://itunes.apple.com/us/app/witch/id412485838?mt=12 *https://www.macupdate.com/app/mac/17185/witch it will do exactly this and let you customize exactly which shortcuts keys to switch between any windows of same app, just those in foreground, just those minimized, or many other combinations of those and much more functionality: A: my 'toolbox' for these problems are: * *Use maximize instead of fullscreen (alt+click_on_green_icon) so I can use ctrl+1/2/3/4 and *Double-tab with two fingers in the dock to get app-expose. *use mission control or four-finger-swipe or ctrl+left/right *the app hyperswitch so cmd-tab AND alt+tab or cmd+^/~ is usable again. *the app hyperdock *hardly using but also helping: the app ubar (not so sweet) or witch, already named. A: https://github.com/lwouis/alt-tab-macos does this. https://github.com/mandrigin/AlfredSwitchWindows might also work, but I have not tested it.
apple
{ "language": "en", "length": 358, "provenance": "stackexchange_00000.jsonl.gz:6149", "question_score": "29", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/20883" }
40193ea0cd8057f0ac6701bf93a536ddf09c7f51
Apple Stackexchange Q: How do I write to NTFS drives in OS X? What is the best, easiest, preferably cheapest way to make OS X write to NTFS-formatted drives in Mac OS X? A: The simplest solution would be to use MacFUSE and NTFS-3G for MacFUSE, though as of this post only Tuxera NTFS ( ~$35 USD) and PARAGON Software NTFS for OS X v.9.0 ($19.95 USD) support 10.7. You can grab the source for free from Tuxera for free, however. As of OS X 10.6 you can natively enable NTFS support, though your mileage may vary. Follow this writeup by Mac OS X Hints if you're interested but I'd use the MacFUSE method over this one. Keep in mind that neither of these methods are fully supported.
Q: How do I write to NTFS drives in OS X? What is the best, easiest, preferably cheapest way to make OS X write to NTFS-formatted drives in Mac OS X? A: The simplest solution would be to use MacFUSE and NTFS-3G for MacFUSE, though as of this post only Tuxera NTFS ( ~$35 USD) and PARAGON Software NTFS for OS X v.9.0 ($19.95 USD) support 10.7. You can grab the source for free from Tuxera for free, however. As of OS X 10.6 you can natively enable NTFS support, though your mileage may vary. Follow this writeup by Mac OS X Hints if you're interested but I'd use the MacFUSE method over this one. Keep in mind that neither of these methods are fully supported. A: Here's how to do a one-time mount using ntfs-3g (coeur's answer but for one time use). This way doesn't require you to boot into safe mode or use csrutil at all. NB: using ntfs-3g this way is rumored to be "safer" for write access than the built-in ntfs rw,auto,nobrowse mount option: Install latest osxfuse (3.x.x) from https://github.com/osxfuse/osxfuse/releases. Or install it from Homebrew with: brew cask install osxfuse Install latest NTFS-3GNTFS-3G from Homebrew (https://brew.sh/Homebrew), as follow: brew install ntfs-3g One time mount (replace disk1s1 with your values, discoverable by running a mount command after inserting the disk, you'll see a line like /dev/disk1s1 on /Volumes/SomeNtfsDrive (ntfs, local, nodev, nosuid, read-only, noowners) grab the disk1s1: diskutil unmount /dev/disk1s1 sudo mkdir /Volumes/my_writable_ntfs sudo /usr/local/bin/ntfs-3g /dev/disk1s1 /Volumes/my_writable_ntfs -olocal -oallow_other You'll get a popup "system extension blocked" click "Open Security Preferences" and click "Allow" next to the developer name (Benjamin Fleischer). If you can't click the allow button, see here. Run the command again after clicking allow. It'll be good until you reboot. or manually dismount it. For more details and instructions on making it permanent, see https://github.com/osxfuse/osxfuse/wiki/NTFS-3G A: Can't say that using MacFUSE and NTFS-3G for MacFUSE is the easiest way, but they are free and that's great!:) I've used them for about a year until bought 500GB external Seagate HDD and got Paragon NTFS for Mac driver for free from Seagate site: http://www.seagate.com/support/downloads/item/ntfs-driver-for-mac-os-master-dl/. Works stable for a month, no problems happened yet. Anybody knows, will users of Seagate HDDs get free NTFS driver upgrade for new OS X when Apple will release it? A: Before we start. Make sure your external name label is ONE word. That means there is no space in between. my disk = WRONG my_disk or my-disk or mydisk = CORRECT Now * *Open Terminal [Command+Space+"terminal"] *Type: sudo nano /etc/fstab *In nano, type: LABEL=my_disk none ntfs rw,auto,nobrowse Note: my_disk is your disk name *To save and exit Control+X and Enter and Enter *[optional] For ease of access, we create a sym-link to desktop: In terminal -> sudo ln -s /Volumes ~/Desktop/Volumes Later When you don't need it anymore. It is as simple as: In terminal sudo rm /etc/fstab A: Updated at May 2015, with current solutions. Free solutions FUSE for OS X - Successor to MacFUSE NTFS-3G Requires a build from source for anything newer than 2010. Last "pre built" version linked from http://macntfs-3g.blogspot.co.uk/2010/10/ntfs-3g-for-mac-os-x-2010102.html You can build it from source using homebrew in the other answers. Paid solutions Paragon NTFS Tuxera NTFS MacFuse is abandonware, and hasn't been updated since 2009. A: This answer is for latest compatibility for OS X 10.11 El Capitan, macOS 10.12 Sierra, macOS 10.13 High Sierra, macOS 10.14 Mojave. It needs an update for Apple Silicon and Monterey and Big Sur and Catalina so proceed with caution * *Install latest osxfuse (3.x.x) from GitHub. Or install it with Homebrew as follow: brew cask install osxfuse *Install latest NTFS-3G with Homebrew as follow: brew install ntfs-3g *Auto-mount NTFS volumes in read-write mode: Link NTFS-3G to boot after temporary disabling System Integrity Protection, as follow: * [reboot by holding <kbd>CMD</kbd>+<kbd>R</kbd> to get in recovery mode] csrutil disable * [reboot normally] sudo mount -uw / sudo mv /sbin/mount_ntfs /sbin/mount_ntfs.original sudo ln -s /usr/local/sbin/mount_ntfs /sbin/mount_ntfs * [reboot by holding <kbd>CMD</kbd>+<kbd>R</kbd> to get in recovery mode] csrutil enable * [reboot normally] You will need to re-link manually (step 3) each year when you upgrade macOS (10.11 → 10.12 → 10.13 → 10.14 → ...) Additional steps if solution does not work: * *try to install ntfs-3g again brew install ntfs-3g *it warns that it installed but not linked, try to link again: brew link ntfs-3g *it fails and prints dry-run command which will show files to remove: brew link --overwrite --dry-run ntfs-3g *remove these files with sudo ('Would remove:' is for English console) brew link --overwrite --dry-run ntfs-3g | grep -vF 'Would remove:' | awk '{print $1}' | xargs sudo rm *try to link again and get permission error on creation /usr/local/share/doc/ntfs-3g. brew prevents running with sudo so prepare directory for README: sudo mkdir /usr/local/share/doc/ntfs-3g sudo chmod a+w /usr/local/share/doc/ntfs-3g *run brew link again... success. *reboot your Mac and allow system extension to load in System Preferences as error box suggests. See also the following wiki page: https://github.com/osxfuse/osxfuse/wiki/NTFS-3G A: I tested this on Mountain lion and it is free and you don't need to reboot. It uses OS X's native NTFS drivers. * *Plug-in your device *Write in Terminal diskutil list and look for IDENTIFIER where TYPE is Windows_NTFS. In this case it is disk1s1 *Then run the following: diskutil unmount /dev/disk1s1 cd /Volumes mkdir Elements sudo mount -w -t ntfs -o rw,nobrowse /dev/disk1s1 /Volumes/Elements open /Volumes/Elements A: This answer is for macOS BigSur: The big difference with previous answer by Cœur: we need to turn off cryptographic verification (See Big Sur’s Signed System Volume: added security protection) with csrutil authenticated-root disable in step 3.2 and bless to create a snapshot in step 4. * *Install macFUSE from macFUSE or brew --cask install osxfuse *Install ntfs-3g with brew install gromgit/fuse/ntfs-3g-mac or try other options to install ntfs-3g *Disable SIP(System Integrity Protection) 3.1 Reboot Mac into Recovery Mode by rebooting and holding down Command+R 3.2 Utilities > Terminal: csrutil disable(enable it after the whole process) csrutil authenticated-root disable (It cannot be enabled after updating /sbin/mount_ntfs) 3.3 Reboot in normal mode *Update /sbin/mount_ntfs 4.1 Get the root disk by mount, if /dev/disk1s5s1 on / is returned, your root disk is /dev/disk1s5 4.2 update and create snapshot DISK_PATH=/dev/disk1s5 MOUNT_PATH=~/mount mkdir $MOUNT_PATH sudo mount -o nobrowse -t apfs $DISK_PATH $MOUNT_PATH sudo mv $MOUNT_PATH/sbin/mount_ntfs $MOUNT_PATH/sbin/mount_ntfs.original sudo ln -s /usr/local/sbin/mount_ntfs $MOUNT_PATH/sbin/mount_ntfs sudo bless --folder $MOUNT_PATH/System/Library/CoreServices --bootefi --create-snapshot *Reboot and enable SIP with command: csrutil enable Reference: NTFS write in macOS BigSur using osxfuse and ntfs-3g
apple
{ "language": "en", "length": 1086, "provenance": "stackexchange_00000.jsonl.gz:6150", "question_score": "68", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/20889" }
6b02fd1d999a9e7be5e563a30787d0ad7590f3f0
Apple Stackexchange Q: What is Mac OS X Lion's Finder Font? What is the default font that Mac OS X Lion use in it's apps, more importantly the Finder window? A: In response to mockman: Quick Look applies the same styling that you'd see by opening the html file in Safari. Like any browser, Safari has a set of default CSS rules which define how un-styled content is rendered. The typeface you're seeing then, is likely derived from Safari/webkit—and not OS X. (I'm still new here, so I'm not sure if it's appropriate to respond to questions raised outside of the original question—which has now been answered. Please feel free to remove this post and/or set me straight if need be.)
Q: What is Mac OS X Lion's Finder Font? What is the default font that Mac OS X Lion use in it's apps, more importantly the Finder window? A: In response to mockman: Quick Look applies the same styling that you'd see by opening the html file in Safari. Like any browser, Safari has a set of default CSS rules which define how un-styled content is rendered. The typeface you're seeing then, is likely derived from Safari/webkit—and not OS X. (I'm still new here, so I'm not sure if it's appropriate to respond to questions raised outside of the original question—which has now been answered. Please feel free to remove this post and/or set me straight if need be.) A: I know this question is old, but for folks coming from the future (like me): the current macOS system font (since 10.10) is San Francisco. A: Here are the default font settings for Mac OS X as displayed by the Bresink TinkerTool utility. TinkerTool also permits the user to change these defaults, within certain parameters, as explained in the screen shot. I am posting this screen shot here because it provides a nice chart of all the fonts and sizes and how Mac OS X uses them. A: The default system font in OS X is Lucida Grande, below is a screenshot that compares a TextEdit window and Finder. Also, this Wikipedia article describes all the fonts included with Mac OS X 10.7 and notes that Lucida Grande is the default main system font.
apple
{ "language": "en", "length": 254, "provenance": "stackexchange_00000.jsonl.gz:6152", "question_score": "12", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/20898" }
02af23ae94c78d15b949a13363650a7a5a5334f6
Apple Stackexchange Q: Does Apple's license for OS X allow it to be virtualized on an HP PC? I have an HP laptop and I'm thinking about buying OS X and running it inside a virtual machine on the laptop. Is running OS X inside virtual machine allowed by the license? A: No. Apple expressly forbids running any Mac OS on a computer that is not made by Apple, under any circumstances. What Apple does allow is running multiple instances of Mac OS X 10.7 Lion under a virtual machine on an Apple Macintosh computer that also runs Lion. This would not be of much use to a consumer; it is designed for use by developers and on servers for software testing and network implementation purposes.
Q: Does Apple's license for OS X allow it to be virtualized on an HP PC? I have an HP laptop and I'm thinking about buying OS X and running it inside a virtual machine on the laptop. Is running OS X inside virtual machine allowed by the license? A: No. Apple expressly forbids running any Mac OS on a computer that is not made by Apple, under any circumstances. What Apple does allow is running multiple instances of Mac OS X 10.7 Lion under a virtual machine on an Apple Macintosh computer that also runs Lion. This would not be of much use to a consumer; it is designed for use by developers and on servers for software testing and network implementation purposes. A: Lion is the first Mac OS X to license some virtualization on the non-server OS. From the 10.7 EULA: * *(iii) to install, use and run up to two (2) additional copies or instances of the Apple Software within virtual operating system environments on each Mac Computer you own or control that is already running the Apple Software. Notice the condition, though: it's only allowed on Mac hardware when running Lion as the host OS. There are also provisions for installing it over Snow Leopard macs. Running it on HP hardware would likely be a violation of the license as written. Check with your lawyer as always when the question of legality is involved since any license has to respect your local laws.
apple
{ "language": "en", "length": 248, "provenance": "stackexchange_00000.jsonl.gz:6158", "question_score": "8", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/20965" }
f4a6b3bf8b6bb12352a42e7b7ae3cb833e43a332
Apple Stackexchange Q: How can I map the "Archived" folder to "All Mail"? I would like to map the "Archived" folder that's created when you Archive mail to the "All Mail" folder in my Gmail account. How can I do this? A: For some reason stackexchange isn't letting me comment on the approved answer. In any case, jtbandes' comment is incomplete, you have to set the custom app shortcut as: "Message>Move To>All Mail" Note the lack of spaces between the words. This is critical; it won't work otherwise. Simply typing "All Mail" will trigger multiple, redundantly named menu items with the keyboard shortcut. I've assigned mine to Command-Y to approximate the Gmail shortcut. I learned this from a comment by LaraCroft_NYC at https://discussions.apple.com/thread/2572960?start=0&tstart=0
Q: How can I map the "Archived" folder to "All Mail"? I would like to map the "Archived" folder that's created when you Archive mail to the "All Mail" folder in my Gmail account. How can I do this? A: For some reason stackexchange isn't letting me comment on the approved answer. In any case, jtbandes' comment is incomplete, you have to set the custom app shortcut as: "Message>Move To>All Mail" Note the lack of spaces between the words. This is critical; it won't work otherwise. Simply typing "All Mail" will trigger multiple, redundantly named menu items with the keyboard shortcut. I've assigned mine to Command-Y to approximate the Gmail shortcut. I learned this from a comment by LaraCroft_NYC at https://discussions.apple.com/thread/2572960?start=0&tstart=0 A: You can't do this in Lion. File a bug if you want to be able to do this. A: The odd thing is that for me, until this morning, (Aug 11/11) the archive button was sending emails to the All Mail folder. Suddenly today Mail created a new "archive" folder and is now putting archived emails there instead of All Mail. I thought was dreaming, but I checked my all mail folder and I have emails there dated since I upgraded to Lion until yesterday. Huh?
apple
{ "language": "en", "length": 208, "provenance": "stackexchange_00000.jsonl.gz:6161", "question_score": "5", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/20977" }
9edb42170a1fda78b02a5ce7a529b2f7eeadc0f6
Apple Stackexchange Q: How can I add more destinations to Alfred's "move to..." results? Currently, when I use Alfred to action the currently selected item in Finder (using Cmd-Opt-), and then selecting "Move to...", the only options that come up are "Desktop" and "Documents". Is there a way to add additional sources to this list or to navigate in this screen to move the file to a different location? A: The screen you're referring to is Alfred's standard file system browser, which is described in Preferences -> Features -> File Navigation. A few useful keys for that screen are: * *Use / to go to the root of the filesystem *Use ~ to go to your home folder The complete description can be found in the preference window mentioned above, including a few customizable keys.
Q: How can I add more destinations to Alfred's "move to..." results? Currently, when I use Alfred to action the currently selected item in Finder (using Cmd-Opt-), and then selecting "Move to...", the only options that come up are "Desktop" and "Documents". Is there a way to add additional sources to this list or to navigate in this screen to move the file to a different location? A: The screen you're referring to is Alfred's standard file system browser, which is described in Preferences -> Features -> File Navigation. A few useful keys for that screen are: * *Use / to go to the root of the filesystem *Use ~ to go to your home folder The complete description can be found in the preference window mentioned above, including a few customizable keys. A: I don't think there is any way to add more default destinations to Move To, so if the "go there yourself" approach that Ingmar suggested is not workable for you, another approach is to create a small extension as per http://help.alfredapp.com/extensions/ . I did this to create a "Move to Dropbox" command. It's just a small shell script, configured as an Action (so you can choose it after you've selected a file) and "Silent" (so you don't get a terminal window opening up), containing a "mv {query} ~/documents/dropbox" command. The benefit here is that if there is a destination you use all the time, you can avoid having to browser/search for it. I'm not saying you need to do this; it's just an optional approach. A: you can just type in the folder name of the destination folder
apple
{ "language": "en", "length": 272, "provenance": "stackexchange_00000.jsonl.gz:6165", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/20998" }
e0d171ed2184864494929980472475c3a5197afd
Apple Stackexchange Q: How do I "blacklist" a wireless network on my Mac? My home wifi network is password protected, as it should be. My neighbor's is not. Because I have password protected my network, my computer continually joins my neighbors instead of mine. I have moved my network to the top of the list of the "preferred" wireless networks, but if my network is down for whatever reason my computer just re-joins the neighbor's network. I don't want to join my neighbor's network, ever. Is there a way to make it so that my computer will never join a particular network, i.e. "blacklist" it? A: Remove it from the list of "Preferred Networks" and it will stop auto-connecting. * *Go to "System Preferences" > "Networks" prefpane. *Choose "AirPort" (or "WiFi" on Lion) on the left. *Click the "Advanced" button. *In the resulting sheet, choose the "AirPort" (or "WiFi") tab. (It should be the leftmost.) *Select your neighbor's wifi network in the list and hit the "-" (minus) button. *Live with joy at never [auto-]connecting there again!
Q: How do I "blacklist" a wireless network on my Mac? My home wifi network is password protected, as it should be. My neighbor's is not. Because I have password protected my network, my computer continually joins my neighbors instead of mine. I have moved my network to the top of the list of the "preferred" wireless networks, but if my network is down for whatever reason my computer just re-joins the neighbor's network. I don't want to join my neighbor's network, ever. Is there a way to make it so that my computer will never join a particular network, i.e. "blacklist" it? A: Remove it from the list of "Preferred Networks" and it will stop auto-connecting. * *Go to "System Preferences" > "Networks" prefpane. *Choose "AirPort" (or "WiFi" on Lion) on the left. *Click the "Advanced" button. *In the resulting sheet, choose the "AirPort" (or "WiFi") tab. (It should be the leftmost.) *Select your neighbor's wifi network in the list and hit the "-" (minus) button. *Live with joy at never [auto-]connecting there again!
apple
{ "language": "en", "length": 175, "provenance": "stackexchange_00000.jsonl.gz:6167", "question_score": "20", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/21002" }
d8df0d25e5d9f81cf3313a72a81fe4980750bc93
Apple Stackexchange Q: How to create a Windows 7 installation USB from OS X? I'm trying to create a Windows 7 installation USB (for use on a PC) from OS X. I've tried following these instructions from a similar question on superuser: * *Insert the USB flash drive and run the command diskutil list to find out the disk name, we'll use /dev/disk1 as an example *Now unmount the disk using diskutil unmountDisk /dev/disk1 *dd if=/path/to/Win7.iso of=/dev/disk1 bs=8192 But the instructions don't work. When I insert the created USB drive into my PC and try to boot from it, I get this message: Reboot and Select proper Boot device or Insert Boot Media in selected Boot device and press a key What am I missing? A: Turns out OS X Lion ships with Boot Camp 4.0, the coolest feature of which appears to be the ability to create install USBs.
Q: How to create a Windows 7 installation USB from OS X? I'm trying to create a Windows 7 installation USB (for use on a PC) from OS X. I've tried following these instructions from a similar question on superuser: * *Insert the USB flash drive and run the command diskutil list to find out the disk name, we'll use /dev/disk1 as an example *Now unmount the disk using diskutil unmountDisk /dev/disk1 *dd if=/path/to/Win7.iso of=/dev/disk1 bs=8192 But the instructions don't work. When I insert the created USB drive into my PC and try to boot from it, I get this message: Reboot and Select proper Boot device or Insert Boot Media in selected Boot device and press a key What am I missing? A: Turns out OS X Lion ships with Boot Camp 4.0, the coolest feature of which appears to be the ability to create install USBs. A: I hope I am not offending you, but this issue may have something to do with your level of understanding of what that terminal command actually does. You can't just copy and paste the command : dd if=/path/to/Win7.iso of=/dev/disk1 bs=8192 .. and expect that to work. You need to change the above command to point to the actual location of your "Win7.iso" file (if that is what it's named). eg. Say I have a file called "windo7.iso" and it's currently located on my desktop, then the command that you should be using is : dd if=~/Desktop/windo7.iso of=/dev/disk1 bs=8192 Hope this helps. A: I've edited the Info.plist of Boot Camp to be able (https://www.youtube.com/watch?v=rR5KZnRqcxg) If you have a DVD-ROM try http://support.apple.com/en-us/HT203909 A: After dd, you should check if your new partitions on the USB device are marked as active. Do so using the fdisk utitlity. A: Right after turning on your PC press Del to enter Bios Setup and make sure that USB listed first in Boot Priority menu.
apple
{ "language": "en", "length": 317, "provenance": "stackexchange_00000.jsonl.gz:6170", "question_score": "6", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/21011" }
9885553c9e8d1d51297e6bafe1598146c2922bce
Apple Stackexchange Q: How can I reset the PRAM if Recovery Mode keeps overriding the PRAM command? Lion uses the ⌘ + R to boot into recovery mode. Resetting the PRAM in anything less than 10.7 was ⌘ + ⌥ + P + R. Recovery mode now seems to override the PRAM command. Does anyone know if there is a new way to reset the PRAM now that Lion is installed? A: Nate , PRAM reset is not working because you turn on Password Firmware Protection. Turn it off and P+R+Option+Command will work.
Q: How can I reset the PRAM if Recovery Mode keeps overriding the PRAM command? Lion uses the ⌘ + R to boot into recovery mode. Resetting the PRAM in anything less than 10.7 was ⌘ + ⌥ + P + R. Recovery mode now seems to override the PRAM command. Does anyone know if there is a new way to reset the PRAM now that Lion is installed? A: Nate , PRAM reset is not working because you turn on Password Firmware Protection. Turn it off and P+R+Option+Command will work. A: Resetting the PRAM works the same way it always did. This is a function of the hardware - not the OS. What makes you think it doesn't work anymore? (tested on Macbook, Mac Mini). A: Or she has spilt something on the keyboard and the shift key is telling the computer it's being held down, so no matter what, it will boot into recovery mode. I work for an apple specialist and see it all the time.
apple
{ "language": "en", "length": 169, "provenance": "stackexchange_00000.jsonl.gz:6173", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/21030" }
9d0b7db76601fa62cd5ddb9b45912c366ddbc1be
Apple Stackexchange Q: Making it so programs aren't restored after startup from a forced shutdown Whenever I boot up from a forced shutdown (aka holding down the power button), OSX restores all the programs I had open before the forced shutdown. Is there a way to disable this? If my computer turns off for whatever reason, I want it to boot up fresh. A: Log out once and uncheck the Reopen windows when logging back in toggle. It should stick and cover you next time you have to crash land your mac. Do be sure to check this setting in the General preference. Lastly, some more tacky per-app solutions are running around like locking the folders where state is saved. OS X Lion: App-Specific Resume
Q: Making it so programs aren't restored after startup from a forced shutdown Whenever I boot up from a forced shutdown (aka holding down the power button), OSX restores all the programs I had open before the forced shutdown. Is there a way to disable this? If my computer turns off for whatever reason, I want it to boot up fresh. A: Log out once and uncheck the Reopen windows when logging back in toggle. It should stick and cover you next time you have to crash land your mac. Do be sure to check this setting in the General preference. Lastly, some more tacky per-app solutions are running around like locking the folders where state is saved. OS X Lion: App-Specific Resume
apple
{ "language": "en", "length": 123, "provenance": "stackexchange_00000.jsonl.gz:6176", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/21037" }
351282889aefdaf20d1cc18ae4e76fdb8a805a99
Apple Stackexchange Q: Lock Screen Screenshots I want to take a screenshot of my Lion lock screen to highlight the new circular user portraits. Is there an easy way to take a screenshot of the OS X lock screen? A: You can do this via the command line if you can ssh into the machine, using the screencapture command. Take a look at this question for some more info.
Q: Lock Screen Screenshots I want to take a screenshot of my Lion lock screen to highlight the new circular user portraits. Is there an easy way to take a screenshot of the OS X lock screen? A: You can do this via the command line if you can ssh into the machine, using the screencapture command. Take a look at this question for some more info. A: I know this is old but this is a suitable solution for Lion through to Yosemite and it's pretty obvious. The commands is: sleep 5 && screencapture -t jpg -S ~/Desktop/screenshot.jpg This will take a screencapture in 5 seconds and save it to ~/Desktop/screenshot.jpg. You can quickly jump to the lock screen with Ctrl+Shift+Power or for older macbooks Ctrl+Shift+Eject.
apple
{ "language": "en", "length": 127, "provenance": "stackexchange_00000.jsonl.gz:6182", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/21094" }
7098fc1015bbe0df47f11967a65433368aa46e72
Apple Stackexchange Q: Where does $LANG variable gets set in Mac OS X? I've used wget for the first time after installing Lion OS X and I've noticed that wget got localized to my native language. Running set command in terminal showed that my LANG variable represents my local language. Where can I change this or make wget ignore this setting? update Here's what locale gives me: LANG="lt_LT.UTF-8" LC_COLLATE="lt_LT.UTF-8" LC_CTYPE="lt_LT.UTF-8" LC_MESSAGES="lt_LT.UTF-8" LC_MONETARY="lt_LT.UTF-8" LC_NUMERIC="lt_LT.UTF-8" LC_TIME="lt_LT.UTF-8" LC_ALL= Hence all the output of non-parameters (such as prompts and debug messages) are in Lithuanian. That is my problem. I'd like to get it back to English. I am using zsh as my login shell. A: It's set here... If you want more or less options in the pulldown, head over to the Encodings tab to view even more of the bounty.
Q: Where does $LANG variable gets set in Mac OS X? I've used wget for the first time after installing Lion OS X and I've noticed that wget got localized to my native language. Running set command in terminal showed that my LANG variable represents my local language. Where can I change this or make wget ignore this setting? update Here's what locale gives me: LANG="lt_LT.UTF-8" LC_COLLATE="lt_LT.UTF-8" LC_CTYPE="lt_LT.UTF-8" LC_MESSAGES="lt_LT.UTF-8" LC_MONETARY="lt_LT.UTF-8" LC_NUMERIC="lt_LT.UTF-8" LC_TIME="lt_LT.UTF-8" LC_ALL= Hence all the output of non-parameters (such as prompts and debug messages) are in Lithuanian. That is my problem. I'd like to get it back to English. I am using zsh as my login shell. A: It's set here... If you want more or less options in the pulldown, head over to the Encodings tab to view even more of the bounty. A: I solved this problem by setting the language in my .profile file which loads whenever I start a terminal. export LANG="en_US.UTF-8" export LC_ALL="POSIX" A: By default, Terminal sets the locale environment variables to match the currently selected language and time/date/number formats that Terminal is using, which is selected via System Preferences > Language and Text (That's the name on Lion. On earlier systems the exact name of the preference panel may vary.) A temporary solution is to drag English to the top of the list of languages, then open Terminal, then move Lithuanian back to the top. Then only Terminal will be in English. However, it will reset to Lithuanian if you Quit and restart Terminal. A persistent approach is to tell Terminal to not set the locale environment variables, by turning off Terminal > Preferences > Settings > [profile] > Advanced > Set locale environment variables on startup Then the locale will default to "C" with no language specified, and most programs will then default to English. Note that turning this off means that some programs won't be aware of which character encoding Terminal is using and will assume that it's ASCII or ISO-Latin-1 only. So if Terminal is using UTF-8 (the default), those programs may or may not behave as desired. If this is mostly about wget, I recommend that you make a copy of the default settings profile, turn off the locale setting in your custom profile, and only use that profile when using wget, so that you can continue to use UTF-8 with full support when using other programs, using the default settings. As others have mentioned, you can also override the initial locale settings supplied by Terminal in a shell startup script. For zsh, put it in ~/.zshrc. For bash, use ~/.bashrc (and if you don't already have one, create a ~/.bash_profile that runs ~/.bashrc). See x-man-page://1/locale for more information about each of the locale environment values. However, if you were to merely unset LANG or set it to "C", that would normally apply to all of your shells and programs, whereas most of the time you probably want to use UTF-8 and have Terminal set the locale variables to match, to get the highest degree of cooperation, fidelity and functionality. Therefore, if you're going to go that route, I suggest you write code to edit, rather than replace, the initial values, so that you preserve the encoding information ("UTF-8") and merely force the language to English, rather than setting the variables to "C". For example, this works in zsh and bash: # Replace Lithuanian with English export LANG=${LANG/lt_LT/en_US} When LANG="lt_LT.UTF-8", this will change it to LANG="en_US.UTF-8". I don't have wget available to test this, but this should suffice. Doing it this way means that if you change the character encoding preference in Terminal, you won't override that in your shell startup script. A: Based more on Linux exprience, if you do not want to change your localization completely with LC_LANG, but would like just have system messages in english, you shuld just set LC_COLLATE=C (to have standard sorting in ls, etc) LC_CTYPE=en_US.UTF-8 A: The other answers are correct, i.e. about the Terminal setting for set locale environment variables on startup and using the shell's /etc/profile. However, there is another way that is worth understanding - especially if the "problem" is experienced due to a remote ssh login. OpenSSH (as used on Linux, BSD and macOS) can send environment variables from the client's environment to the shell that the server starts. It only does this if the client is configured to send them and the server is configured to accept them. The client (~/.ssh/config) would need to have: SendEnv LANG LC_* and the server (/etc/ssh/sshd_config) would need: AcceptEnv LANG LC_* If those are both in place then the client's local is propagated into the login shell on the ssh server: $ ssh me@my-mac locale LANG="en_GB.UTF-8" LC_COLLATE="en_GB.UTF-8" LC_CTYPE="en_GB.UTF-8" LC_MESSAGES="en_GB.UTF-8" LC_MONETARY="en_GB.UTF-8" LC_NUMERIC="en_GB.UTF-8" LC_TIME="en_GB.UTF-8" LC_ALL= The required server setting is not there by default on Snow Leopard; it is there on Sierra. Remember to restart the SSH server after modifying /etc/sshd_config !!! A: Using a debian server in french and a macsox bash client, i "just" had to add this to my .bash_profile on the user directory of macosx : export LANG=fr_FR.UTF-8 Solved.
apple
{ "language": "en", "length": 851, "provenance": "stackexchange_00000.jsonl.gz:6183", "question_score": "28", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/21096" }
af2979439c871fb8817196fcf7dc5b2bb8d44773
Apple Stackexchange Q: Can the finder edit mp3 sound file tags like artist? How can I change artist of multiple selected mp3 files in finder? Like in windows we can select multiple mp3 files and can change the artist of all selected file in properties. A: iTunes can do this for you easily. You cannot do it in the Finder, so do it in iTunes instead. You do not need any third-party program. This method works for iTunes on Macintosh as well as iTunes on Windows. 1) Select multiple files 2) Right-click or control-click and select "Get Info" 3) Read the dialog box and click "Yes". 4) In this dialog, any change you make will impact all the multiple files you selected. Click OK when you are done.
Q: Can the finder edit mp3 sound file tags like artist? How can I change artist of multiple selected mp3 files in finder? Like in windows we can select multiple mp3 files and can change the artist of all selected file in properties. A: iTunes can do this for you easily. You cannot do it in the Finder, so do it in iTunes instead. You do not need any third-party program. This method works for iTunes on Macintosh as well as iTunes on Windows. 1) Select multiple files 2) Right-click or control-click and select "Get Info" 3) Read the dialog box and click "Yes". 4) In this dialog, any change you make will impact all the multiple files you selected. Click OK when you are done. A: Finder doesn't have the smarts to change this - but finder does have a services menu that will allow you to craft a custom automator service that would help automate the process. You can pop up a dialog to get the artist name, store it, import the songs to iTunes and set the Artist (and/or many of the other tags) This is a nice way to learn automator if you care, but Finder won't be doing the writing of the mp3 tags. iTunes will launch and do the writing once finder hands off the file(s) and the variable name storing the artist string to iTunes. A: I am 99% sure that Finder cannot change tags. Check here for free ID3 editors. A: A very easy way is using VLC Media Player. Right click into select the song and click at Window -> Media Information. Shortcut ⌘+I. It saves to the file automatically. A: In iTunes you can change a field (artist, album, ...) of multiple mp3 files at once. If you don't want to use iTunes (what's the alternative on OSX?), I'll think you'll have to use a special editor (like ID3 editor) to do so. A: For those seeking a free terminal-based solution * *Per the rest of the answerers in here, Finder (as of El Capitan) does not do this. *I arrived at id3v2 referenced in a Linux forum. Installation Via HomeBrew - Update HomeBrew and install commands brew update && brew install id3v2 Example Usage Change Artist to Prince id3v2 -a "Prince" 01\ Wow.mp3 Change Title to Wow id3v2 -t "Wow" 01\ Wow.mp3 A: As Wheat said it before, it's not possible to do it directly in the Finder. The closer (UX wise) you can get is doing it via a Finder plugin such as MP3-Info freeware (see screencast).
apple
{ "language": "en", "length": 429, "provenance": "stackexchange_00000.jsonl.gz:6184", "question_score": "19", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/21099" }
47a93b07ec19fbf837c0c3e0b26041b80c65f912
Apple Stackexchange Q: In Lion, how can I configure to not automatically re-open recent files that weren't closed? For example: I opened some files in Excel, then I close Excel, without close each file (ex.: command + Q). In the next time that I will open Excel, it is going to open my recent files that weren't closed. Is there someway that I can change this behaviour? P.S.: This occurs with other apps too, for example "Preview". A: If you're running Lion, this is a built-in feature called Resume. To prevent apps like Preview/TextEdit/other apps that support Resume from "resuming", quit them with Cmd+Opt+Q.
Q: In Lion, how can I configure to not automatically re-open recent files that weren't closed? For example: I opened some files in Excel, then I close Excel, without close each file (ex.: command + Q). In the next time that I will open Excel, it is going to open my recent files that weren't closed. Is there someway that I can change this behaviour? P.S.: This occurs with other apps too, for example "Preview". A: If you're running Lion, this is a built-in feature called Resume. To prevent apps like Preview/TextEdit/other apps that support Resume from "resuming", quit them with Cmd+Opt+Q. A: You can disable the resume feature on a per-app basis as well. See the section titled "Stop Preview (or Other Apps) from Restoring Windows" at http://www.maclife.com/article/howtos/how_tame_six_os_x_lion%E2%80%99s_early_problems According to the article's author, the command line (to be executed in Terminal.app) to disable the resume functionality only for Preview is defaults write com.apple.Preview NSQuitAlwaysKeepsWindows -int 0 A: System Preferences > General Uncheck the Restore windows when quitting and re-opening apps. You can also toggle this behavior by holding the option key when quitting an application. Added - October 19, 2012 In Mountain Lion, this option has been changed to read, "Close windows when quitting an application" with fine print to explain that open documents will not be restored.
apple
{ "language": "en", "length": 219, "provenance": "stackexchange_00000.jsonl.gz:6188", "question_score": "12", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/21112" }
c18b3ad1dba476ccf1d9ddcd035c58c763f93ea9
Apple Stackexchange Q: Mail.app on Lion with Exchange doesn't get updates I've noticed since upgrading to Lion that Mail.app doesn't seem to update the mailbox and synchronize properly with Exchange. Before on SL, or using Outlook now, they always maintained correct state, matching with my iPhone, or webmail. Now, it seems that Lion gets lost. I have to force a sync, open and shut it, or change folders to get it to resync that folder contents. Is this just me, or is this a known issue? Is there a work around? Thanks. A: Try the rebuild utility through the app, I had a very similar problem and this resolved it for me. Best of luck.
Q: Mail.app on Lion with Exchange doesn't get updates I've noticed since upgrading to Lion that Mail.app doesn't seem to update the mailbox and synchronize properly with Exchange. Before on SL, or using Outlook now, they always maintained correct state, matching with my iPhone, or webmail. Now, it seems that Lion gets lost. I have to force a sync, open and shut it, or change folders to get it to resync that folder contents. Is this just me, or is this a known issue? Is there a work around? Thanks. A: Try the rebuild utility through the app, I had a very similar problem and this resolved it for me. Best of luck. A: 1) Run the following in Terminal.app: sqlite3 ~/Library/Mail/V2/MailData/Envelope\ Index vacuum 2) And then select your Inbox, and select Mailbox->rebuild. Worked for me :) A: There is a partial work around for this: Delete (or copy to somewhere else) this file: ~/Library/Preferences/com.apple.mail.plist That stores your preferences for Mail.app, after deleting it you will loose your preferences with the exception of your mail accounts. This worked for me but a couple of months later the bug came back and I had to delete the file again.
apple
{ "language": "en", "length": 198, "provenance": "stackexchange_00000.jsonl.gz:6190", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/21122" }
6eae94d2e3d324cf042408eb2f48065fb813b235
Apple Stackexchange Q: Command+Tab doesn't switch between full-screen apps If I put iCal.app or Mail.app or iPhoto.app in full-screen mode, I'm unable to access those apps via Command+Tab from my main desktop interface. This seems like an oversight. What's also puzzling is that if I manually switch to one of the full-screen apps (via clicking on its dock icon) and then use Command+Tab, I'm able to switch between that full-screen app and any other full-screen apps via Command+Tab, but as soon as I switch to a non-full-screen app, then I'm unable to return to a full-screen app via Command+Tab. Is there a preference setting I'm missing? A: Yes - Go to System Preferences / Mission Control and tick "When switching to an application ..."
Q: Command+Tab doesn't switch between full-screen apps If I put iCal.app or Mail.app or iPhoto.app in full-screen mode, I'm unable to access those apps via Command+Tab from my main desktop interface. This seems like an oversight. What's also puzzling is that if I manually switch to one of the full-screen apps (via clicking on its dock icon) and then use Command+Tab, I'm able to switch between that full-screen app and any other full-screen apps via Command+Tab, but as soon as I switch to a non-full-screen app, then I'm unable to return to a full-screen app via Command+Tab. Is there a preference setting I'm missing? A: Yes - Go to System Preferences / Mission Control and tick "When switching to an application ..."
apple
{ "language": "en", "length": 122, "provenance": "stackexchange_00000.jsonl.gz:6191", "question_score": "6", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/21123" }
6049d775243b7c358dd2fd628f7597c53a2f39e2
Apple Stackexchange Q: mid-2011 Macbook Air changes applications on wake from sleep When my new Macbook Air (13" mid-2011, Lion) wakes from sleep (by opening the lid, clicking the mouse or pressing the space bar), it usually wakes to the last application I was using, then changes applications as if I had pressed alt-tab. * *Has anyone else observed this phenomenon and *Does anyone know what could be causing it A: This is related to the System Preference for when it prompts you for a password when it wakes up. Change it to never, and it goes away (less secure) or always (more secure, but a PITA). Here's the link that helped me: https://discussions.apple.com/thread/3268136?start=0&tstart=0
Q: mid-2011 Macbook Air changes applications on wake from sleep When my new Macbook Air (13" mid-2011, Lion) wakes from sleep (by opening the lid, clicking the mouse or pressing the space bar), it usually wakes to the last application I was using, then changes applications as if I had pressed alt-tab. * *Has anyone else observed this phenomenon and *Does anyone know what could be causing it A: This is related to the System Preference for when it prompts you for a password when it wakes up. Change it to never, and it goes away (less secure) or always (more secure, but a PITA). Here's the link that helped me: https://discussions.apple.com/thread/3268136?start=0&tstart=0 A: Repair your disk permission. Reboot your system then press the ALT key. Select the Recovery partition and then use Disk Utility to repair permission. I think permissions repair better when you're not using the volume that you're mounted on.
apple
{ "language": "en", "length": 152, "provenance": "stackexchange_00000.jsonl.gz:6194", "question_score": "8", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/21142" }
c6cff67dcc99efe20830e14906c88cff1270e6bb
Apple Stackexchange Q: If I encrypt a Time Machine backup disk, is the entire disk encrypted or just the Backups.backupdb directory? If I check the "Encrypt backup disk" checkbox in Time Machine (in OS X Lion), I get this warning: Will just the Time Machine "Backups.backupdb" directory be encrypted, or the entire disk? In other words, will computers running earlier versions of OS X than 10.7 be unable to access the entire disk, or just be unable to back-up to or restore from the encrypted disk? A: It encrypts the partition that you use for Time Machine, which likely means the entire disk. If you partition the drive the other partitions will not be encrypted and should mount (I have not tested this). You can see that "Time Machine" is encrypted, but "Other Backups" is not.
Q: If I encrypt a Time Machine backup disk, is the entire disk encrypted or just the Backups.backupdb directory? If I check the "Encrypt backup disk" checkbox in Time Machine (in OS X Lion), I get this warning: Will just the Time Machine "Backups.backupdb" directory be encrypted, or the entire disk? In other words, will computers running earlier versions of OS X than 10.7 be unable to access the entire disk, or just be unable to back-up to or restore from the encrypted disk? A: It encrypts the partition that you use for Time Machine, which likely means the entire disk. If you partition the drive the other partitions will not be encrypted and should mount (I have not tested this). You can see that "Time Machine" is encrypted, but "Other Backups" is not. A: It is actually the entire partition that is encrypted so if only one partition then in effect the entire disk. So other OSs can't read that partition. If you want them to, partition the disk and encrypt only the part containing the backups. A: The quick answer is the whole disk is "encrypted". This isn't technically true since you could conceivably use Disk Utility in debug mode / diskutil on the command line to partition the Drobo volume to have several partitions. In practice - Time Machine just is working on a partition within a volume, so the idea of the "whole disk" is in reference to the consumer perception where a "disk" is connected and the icon for that "disk" shows up even though the implementation of a "disk" is a partition that contains encrypted data and relies on CoreStorage to do the encryption/decryption before the file system can be mounted on OS X.
apple
{ "language": "en", "length": 290, "provenance": "stackexchange_00000.jsonl.gz:6196", "question_score": "7", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/21149" }
74970355549d23960f133b5d7f3e2a513eea72c1
Apple Stackexchange Q: What's a reliable method to create a stand alone recovery disk for Lion? I'm seeing a lot of questions with all sorts of steps to burn a DVD or create a USB disk so you can boot your Mac with Lion if the internal drive is replaced. Is there a definitive set of steps that is best in terms of support, reliability and cost? A: A 3rd party utility that creates bootable DVD or USB/hard drive installers for OS X 10.6, 10.7, and 10.8 is: LionDiskMaker.
Q: What's a reliable method to create a stand alone recovery disk for Lion? I'm seeing a lot of questions with all sorts of steps to burn a DVD or create a USB disk so you can boot your Mac with Lion if the internal drive is replaced. Is there a definitive set of steps that is best in terms of support, reliability and cost? A: A 3rd party utility that creates bootable DVD or USB/hard drive installers for OS X 10.6, 10.7, and 10.8 is: LionDiskMaker. A: This might help http://support.apple.com/kb/dl1433 "The Lion Recovery Disk Assistant lets you create Lion Recovery on an external drive that has all of the same capabilities as the built-in Lion Recovery: reinstall Lion, repair the disk using Disk Utility, restore from a Time Machine backup, or browse the web with Safari."
apple
{ "language": "en", "length": 138, "provenance": "stackexchange_00000.jsonl.gz:6203", "question_score": "8", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/21195" }
c87e9962588ef10166e9b58dac1aecbe7d28f0a3
Apple Stackexchange Q: How do I disable Chrome's two-finger back/forward navigation? In dev builds of Chrome, they've implemented, refined, and released two-finger swipes left/right in order to browse back/forward in the browser history. Unfortunately, you can accidentally trigger it while you're in the middle of a long down/up scroll, which needless to say occurs often. I generally like the gesture, and things like Preview, Safari, and other application have implemented it much better, where you cannot blindly navigate back/forward so long as you have begun to scroll up/down. How do I selectively disable two-finger back/forward navigation in Chrome? A: This is available as the #overscroll-history-navigation flag in chrome://flags Overscroll history navigation History navigation in response to horizontal overscroll. – Windows, Linux, Chrome OS #overscroll-history-navigation
Q: How do I disable Chrome's two-finger back/forward navigation? In dev builds of Chrome, they've implemented, refined, and released two-finger swipes left/right in order to browse back/forward in the browser history. Unfortunately, you can accidentally trigger it while you're in the middle of a long down/up scroll, which needless to say occurs often. I generally like the gesture, and things like Preview, Safari, and other application have implemented it much better, where you cannot blindly navigate back/forward so long as you have begun to scroll up/down. How do I selectively disable two-finger back/forward navigation in Chrome? A: This is available as the #overscroll-history-navigation flag in chrome://flags Overscroll history navigation History navigation in response to horizontal overscroll. – Windows, Linux, Chrome OS #overscroll-history-navigation A: The only way I'm currently of is two disable two-finger page swiping system-wide, from the Trackpad section of System Preferences. I wait patiently for Chrome to either fix its implementation, or at least provide an app preference for disabling the feature. A: I know its over a year later, but I had the same question, and then figured out the answer myself. Open terminal and type: defaults write com.google.Chrome AppleEnableSwipeNavigateWithScrolls -bool FALSE Then restart Chrome. Now you can have it enabled system wide, and just disabled for chrome. By the way, this works for any app, just replace com.google.Chrome with the bundle identifier of the target app. If your interested in how it works, the AppleEnableSwipeNavigateWithScrolls is the global setting, that can be overwritten for any specified app. Hope this helps someone in the future. A: Summary: It looks like Google Chrome uses Apples default gestures, so by disabling Apples gestures you disable Chromes. However, you probably still love some gestures like I do. For that get BetterTouchTools. Disable Google Chromes Gestures You can disable chromes gestures by going to System Preference > Mouse OR Trackpad > More Gestures > and uncheck Swipe between pages. Keep the Gestures You Want I still love gestures so I downloaded BetterTouchTools which allows me to make the gestures I want. I disabled all apples gestures then created my own. You can get very custom with gestures this way. Or if you prefer, leave some of apples gestures on and use BetterTouchTools for the more custom ones. A: There are two different properties, one is for the Trackpad: AppleEnableSwipeNavigateWithScrolls, the other is for the Mouse/Magic Mouse: AppleEnableMouseSwipeNavigateWithScrolls. So you need to execute one or both of these commands: defaults write com.google.Chrome AppleEnableMouseSwipeNavigateWithScrolls -bool false defaults write com.google.Chrome AppleEnableSwipeNavigateWithScrolls -bool false A: I went into the System Prefs and changed the Page change gesture from two fingers to three (OSX Lion). The three finger swipe seems to be more responsive at any rate and I'm usually only using two fingers for everything else. System Preferences > Trackpad > More Gestures > Swipe between pages A: Chrome Canary users should use: defaults write com.google.Chrome.canary AppleEnableSwipeNavigateWithScrolls -bool FALSE A: I also tried the terminal command on Yosemite, it didn't work for me. And then I tried uncheck "Swipe between pages" in mouse settings, and it worked.
apple
{ "language": "en", "length": 512, "provenance": "stackexchange_00000.jsonl.gz:6209", "question_score": "503", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/21236" }
83b7a4fd0fba2a2e263d033d041aeadf4999ce44
Apple Stackexchange Q: I can't find otool on my jailbroken iPod From what I understand is that when you change your settings in Cydia to developer you should be able to access extra utilities. Otool being on of them. However, when I attempt to use otool it tells me that the command isn't found. So I look in my bin file and can't find it there. (i'm attempting to use it via ssh from my computer) Can anyone offer suggestions on where to find the tool for my ipod? A: When you change your settings to Developer in Cydia, what you are actually doing is changing the package list filter. This means that certain packages will only be shown as available to download and install in the package list according to which filter you select. Having set your filter settings to 'Developer' you'll then need to find and install the package you want. otool is included in the package called: BigBoss Recommended Tools
Q: I can't find otool on my jailbroken iPod From what I understand is that when you change your settings in Cydia to developer you should be able to access extra utilities. Otool being on of them. However, when I attempt to use otool it tells me that the command isn't found. So I look in my bin file and can't find it there. (i'm attempting to use it via ssh from my computer) Can anyone offer suggestions on where to find the tool for my ipod? A: When you change your settings to Developer in Cydia, what you are actually doing is changing the package list filter. This means that certain packages will only be shown as available to download and install in the package list according to which filter you select. Having set your filter settings to 'Developer' you'll then need to find and install the package you want. otool is included in the package called: BigBoss Recommended Tools A: If you have a mac, you could use otool there on iOS binaries, should work with ARM-based code as well. (otool is installed with Xcode's command-line tools.) Update: Based on this answer to a related question, you can now find otool in the "Darwin CC Tools" package from the Cydia/Telesphoreo repository. Doesn't seem to be in "BigBoss Recommended Tools" package anymore. A: Just install BigBoss Recommended Tools, oTool is included there.
apple
{ "language": "en", "length": 233, "provenance": "stackexchange_00000.jsonl.gz:6215", "question_score": "5", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/21256" }
55ebaf070579e65b3dad88409ba55951fbb08a7a
Apple Stackexchange Q: Which MacBook models support (directly or indirectly) dual DVI monitors, for a total of three screens? I've read through the "Questions with similar titles", and I don't see anything that directly answers my question. Which current MacBook models (of any product line) support (directly or indirectly) attaching dual DVI monitors, for a total of three screens? The monitors are third-party (Acer). By "directly or indirectly", I'm acknowledging that I'll likely have to buy additional cables. A: You only have two options, and they're both supported by all current MacBook Pro and MacBook Air models: * *Use a DVI splitter to spread a single DVI output across multiple monitors (which will look like a single external monitor to the OS). The maximum resolution for an external monitor on all MacBook Pro or Air models is 2560 x 1600, so your maximum for the split displays will be 1280 x 1600 each (or maybe 2560 x 800). *Use a USB graphics adaptor for the third monitor, which will thus not have hardware graphic acceleration.
Q: Which MacBook models support (directly or indirectly) dual DVI monitors, for a total of three screens? I've read through the "Questions with similar titles", and I don't see anything that directly answers my question. Which current MacBook models (of any product line) support (directly or indirectly) attaching dual DVI monitors, for a total of three screens? The monitors are third-party (Acer). By "directly or indirectly", I'm acknowledging that I'll likely have to buy additional cables. A: You only have two options, and they're both supported by all current MacBook Pro and MacBook Air models: * *Use a DVI splitter to spread a single DVI output across multiple monitors (which will look like a single external monitor to the OS). The maximum resolution for an external monitor on all MacBook Pro or Air models is 2560 x 1600, so your maximum for the split displays will be 1280 x 1600 each (or maybe 2560 x 800). *Use a USB graphics adaptor for the third monitor, which will thus not have hardware graphic acceleration. A: Any current MacBook Air or MacBook Pro will work. The first DVI monitor is simple; just get a Mini-Display Port to DVI cable. The second one will require a USB to DVI adapter, like the IOGEAR USB 2.0 External DVI Video Card. The combination of these will allow you to use the two Acer monitors via DVI and the internal MacBook screen. A: As per Mike Scott's answer (specifically, point 2), an example of a USB graphics adaptor can be found here.
apple
{ "language": "en", "length": 256, "provenance": "stackexchange_00000.jsonl.gz:6218", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/21267" }
9afbd8d7aff402c5d6099c049a9bca4370aeb592
Apple Stackexchange Q: Stop SuperDrive from checking for disks after wake up I'd like to stop the SuperDrive from spinning up after coming out of sleep since the noise it makes is quite loud. The SuperDrive was 'fixed' at an authorized retailer a while back and it's made a lot of noise ever since. This is a 3 year old white MacBook, so it's out of warranty. Is there a way to not have it check for disks after opening the lid? A: You can disable the Superdrive if you set your account up under parental controls. Under Preferences > Accounts (Users under Lion) > Enable parental controls > other > check limit cd and dvd burning This should do the trick.
Q: Stop SuperDrive from checking for disks after wake up I'd like to stop the SuperDrive from spinning up after coming out of sleep since the noise it makes is quite loud. The SuperDrive was 'fixed' at an authorized retailer a while back and it's made a lot of noise ever since. This is a 3 year old white MacBook, so it's out of warranty. Is there a way to not have it check for disks after opening the lid? A: You can disable the Superdrive if you set your account up under parental controls. Under Preferences > Accounts (Users under Lion) > Enable parental controls > other > check limit cd and dvd burning This should do the trick.
apple
{ "language": "en", "length": 120, "provenance": "stackexchange_00000.jsonl.gz:6219", "question_score": "6", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/21271" }
29e0b94be9f22fe079453c0bb5a522db478fb115
Apple Stackexchange Q: Will an iPod touch suffice for testing iOS apps? I am buying a testing device for iPhone apps. I cannot afford an iPhone 4 so I am thinking to buy an iPod touch. Can I use an iPod touch for testing iPhone apps? What will be impossible to test on an iPod touch? My second thought is to buy an iPhone 3G or iPhone 3GS, but I am not sure if these devices are too old to use as testing devices. What do you think? Could I use them? Can a new system be installed on these devices (does it slow them down)? A: I wrote an extensive blog post about this topic a while ago: http://wjlafrance.net/?p=188 Basically, an iPod touch is great as long as you don't want to use GPS-based location in your app (you can test general, wifi-based location) and are only interested in iOS 4+ deployment (or iOS 5+ if that's what your iPod is running).
Q: Will an iPod touch suffice for testing iOS apps? I am buying a testing device for iPhone apps. I cannot afford an iPhone 4 so I am thinking to buy an iPod touch. Can I use an iPod touch for testing iPhone apps? What will be impossible to test on an iPod touch? My second thought is to buy an iPhone 3G or iPhone 3GS, but I am not sure if these devices are too old to use as testing devices. What do you think? Could I use them? Can a new system be installed on these devices (does it slow them down)? A: I wrote an extensive blog post about this topic a while ago: http://wjlafrance.net/?p=188 Basically, an iPod touch is great as long as you don't want to use GPS-based location in your app (you can test general, wifi-based location) and are only interested in iOS 4+ deployment (or iOS 5+ if that's what your iPod is running). A: Yes it runs iPhone apps. The iPod touch fourth generation is an excellent device for testing - it's inexpensive and has most of what you need. It has the A4 processor, same as iPad or iPhone 4, retina display, gyroscope, speaker, cameras, internet connectivity etc. iOS 5 also works great on them without slowdown. A: As a registered iOS developer, I feel qualified to answer this question. First of all, an iPod touch can do everything an iPhone can, except it does not have a 3G internet connection or an internal GPS. So, to answer your question, you can test your app on an iPod touch. However, ensure that you buy a 4th generation iPod touch, because all previous models lacked a camera and a microphone. Also, if your app requires 3G connectivity you will need an iPhone. A: Yeah...you can test but when coming to native apps the ui will differ. Because iphone-6s screen size is 5.44 inches and ipod screen size is 4 inches. I written this answer with my experience. I tested native application in ipod its working fine in that device again I tested same app in iphone-6 at that time i found some flaws (Very minor bugs).
apple
{ "language": "en", "length": 364, "provenance": "stackexchange_00000.jsonl.gz:6220", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/21278" }
f1892ee0500069cf8a38555b03a80204ba743751
Apple Stackexchange Q: How do you access the user library on a time machine backup With Lion 10.7, how does one access the user library on a time machine backup through the Finder? A: Go to the Finder. In the menu bar, select Go, then hold down Option. Select the "Library" option which appears. Then enter Time Machine as per normal.
Q: How do you access the user library on a time machine backup With Lion 10.7, how does one access the user library on a time machine backup through the Finder? A: Go to the Finder. In the menu bar, select Go, then hold down Option. Select the "Library" option which appears. Then enter Time Machine as per normal. A: If you are accessing your Time Machine Backup with "Browse Other Backup Disks...", like you do if you created a fresh install of your OS, the solution from dan8394 does not work. Probably because Time Machine can't know that your current Library folder is a newer version of the Library folder in the backup. However, the solution proposed in a question that was closed as exact duplicate of this one works. Lri helped me a lot with this answer: The Library folder is probably just hidden by Finder. You can show all hidden files by running this in Terminal: defaults write com.apple.finder AppleShowAllFiles -bool true && osascript -e 'quit app "Finder"' (Note: The part after the && will cause finder to stop, and you may need to restart it. So be aware that any open Finder windows may disappear.) Changing true to false reverts the setting.
apple
{ "language": "en", "length": 206, "provenance": "stackexchange_00000.jsonl.gz:6225", "question_score": "5", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/21295" }
04e99cc01dc20712eb991fe216ef5f3ce6a82fe9
Apple Stackexchange Q: How to undelete notes on iPhone "Notes" app? iPhone has a default "Notes" app which allows us to store notes. Stored notes can be deleted by hitting the "Delete Note" button: How do we recover a note that is accidentally deleted? Is there anyway to undo the delete? A: There is a way to undo the delete. You just have to shake your iphone, and this will activate the "undo" feature which seems to have been forgotten by most people (it was a feature of an iOS update a few revisions back around 2009). In case you think I am kidding, click here.
Q: How to undelete notes on iPhone "Notes" app? iPhone has a default "Notes" app which allows us to store notes. Stored notes can be deleted by hitting the "Delete Note" button: How do we recover a note that is accidentally deleted? Is there anyway to undo the delete? A: There is a way to undo the delete. You just have to shake your iphone, and this will activate the "undo" feature which seems to have been forgotten by most people (it was a feature of an iOS update a few revisions back around 2009). In case you think I am kidding, click here. A: Apple solved this issue with an upgrade to iCloud and notes.app There is now a deleted items folder that you can access on iOS within the notes app. Just head to the Recently Deleted folder to recover your deleted work. A: If you have an iTunes backup, you can browse it with Doctor Telephone and maybe recover notes iphone again. The linked app works only for Mac, but here's two alternatives (not tested) : * *iPhone backup extractor which is a paid multiplatform app *iphonebackupbrowser which is less polished and windows only, but free. A: If you sync your notes with Google, try looking for them in your Gmail's trash folder!
apple
{ "language": "en", "length": 216, "provenance": "stackexchange_00000.jsonl.gz:6244", "question_score": "7", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/21359" }
7b7c7f54099bd33eb07b11747febc380bf279f6f
Apple Stackexchange Q: Is there a keyboard shortcut to jump directly to a particular full screen app in Lion? When you full screen an application in Lion, it "flies out" of the desktop space it started in, and winds up at the end of the spaces list (assuming you have turned off auto-arranging). As a result if the app being pulled out of the spaces flow, there is no way to ctrl+1/2/3etc to jump to the space it is currently occupying. Does anyone know how you can make a keyboard shortcut so you can jump directly to full screened apps? A: If you want this for a specific app, you could use an application like Keyboard Maestro to set up a shortcut to switch to that application. If you want this for every app, I don't think it is possible at the moment. It may come with an update (as the ability to manually re-arrange spaces in Mission Control). Waiting for a better solution, you can still use ⌃→ and ⌃← to navigate between spaces (including fullscreen applications).
Q: Is there a keyboard shortcut to jump directly to a particular full screen app in Lion? When you full screen an application in Lion, it "flies out" of the desktop space it started in, and winds up at the end of the spaces list (assuming you have turned off auto-arranging). As a result if the app being pulled out of the spaces flow, there is no way to ctrl+1/2/3etc to jump to the space it is currently occupying. Does anyone know how you can make a keyboard shortcut so you can jump directly to full screened apps? A: If you want this for a specific app, you could use an application like Keyboard Maestro to set up a shortcut to switch to that application. If you want this for every app, I don't think it is possible at the moment. It may come with an update (as the ability to manually re-arrange spaces in Mission Control). Waiting for a better solution, you can still use ⌃→ and ⌃← to navigate between spaces (including fullscreen applications). A: You can always just use Command-Tab switching, holding tab for the appropriate length of time to reach the app you'd like to switch to. This sadly works less well with apps that can own multiple full screen spaces, or which can exist as both a full screen window, and another separate window on another desktop. A: I had problems with this also and found a solution. I assume that almost all of you realizes immediately what this is about. So the Short answer: Install better touch tool and define a gesture from predefined action called "send keyboard shortcut to specific application". Long answer: * *Install bettertouch tool (http://blog.boastr.net/) and open it. *Define the gesture for global. From the top you can define in which way you want to input the action. I used trackpad input, but this works almost in same way for other inputs also. *From down-right corner click "add new gesture". Choose a gesture you like under "touchpad gesture". Then choose predefined action from right and select "Send keyboard shortcut to specific application". You can leave the command field empty and just choose the application. Be sure to select the "bring app to front before.."-option. *You are done. (5. example) I have defined four finger swipes to switch between spaces. I switch between spotify and chrome a lot. So I defined two finger swipes from left and right edges to jump to chrome and spotify. For spotify I defined also shortcut "alt+cmd+F" so it jumps directly to search field when I do the swipe. Just realized this so I bet that other awesome actions could be done through this also. Hope this helps.
apple
{ "language": "en", "length": 452, "provenance": "stackexchange_00000.jsonl.gz:6246", "question_score": "13", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/21370" }
7c7b4490139c95d76294db8c6afd0506b67e3040
Apple Stackexchange Q: Showing current directory in Terminal's title, using tcsh I'd like the title bar of Terminal to always show the directory I'm in. I don't want it shown in the prompt. I found some magic trick code online, and have this in my .tcshrc: set prompt = "%B%m:%n %?====>%b " alias cwdcmd 'echo -ne "\033]0;$cwd\007"' It sort of works except for two things: 1) the cwd isn't shown in the title bar, and 2) the cwd along with some gibberish is printed at the command line. I figured maybe the quoting wasn't right, or some other syntax issue, but experimenting didn't lead to improvement. For reasons unspecified, I must use tcsh not bash. The latter, I can get working fine. A: This is the prompt I use in tcsh. It sets the window title to the full path (which as Chris Page answered, gains extra functionality in Lion). The prompt itself is essentially [$HOST:$PWD] $USER% using tcsh % syntax. set prompt = '%{\e]2;%~\a%}%S[%m:%c3] %n%#%s '
Q: Showing current directory in Terminal's title, using tcsh I'd like the title bar of Terminal to always show the directory I'm in. I don't want it shown in the prompt. I found some magic trick code online, and have this in my .tcshrc: set prompt = "%B%m:%n %?====>%b " alias cwdcmd 'echo -ne "\033]0;$cwd\007"' It sort of works except for two things: 1) the cwd isn't shown in the title bar, and 2) the cwd along with some gibberish is printed at the command line. I figured maybe the quoting wasn't right, or some other syntax issue, but experimenting didn't lead to improvement. For reasons unspecified, I must use tcsh not bash. The latter, I can get working fine. A: This is the prompt I use in tcsh. It sets the window title to the full path (which as Chris Page answered, gains extra functionality in Lion). The prompt itself is essentially [$HOST:$PWD] $USER% using tcsh % syntax. set prompt = '%{\e]2;%~\a%}%S[%m:%c3] %n%#%s ' A: This is what I have in my .cshrc alias cwdcmd 'printf "\033]1;%s\007\033]2;%s\007" "$cwd:t" "$HOST echo $cwd | sed s-$HOME-~-" ' It does some additional stuff for iTerm, which I use instead of Termial, but seems to work fine there as well. A: As of Mac OS X Lion 10.7, Terminal now supports displaying the working directory using the standard window "proxy" icon. This is enabled by default for bash (the default shell). See /etc/bashrc for the relevant code. This enables several behaviors, such as the ability to create a new terminal in the same directory (by default, New Tab will do so, and you can enable it when creating a new window), and restoring the working directory when quitting/restarting Terminal (for Resume). It also enables restoring working directories when opening Window Groups. As a convenience, if you have your shell configured to put the working directory path in the window (or tab) title, Terminal will check whether the title contains a valid local path and provide some of the same behaviors automatically (although it won't restore the working directory for Resume).
apple
{ "language": "en", "length": 347, "provenance": "stackexchange_00000.jsonl.gz:6250", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/21383" }
eed69f79f9309af0730b98266ed3b6020949232d
Apple Stackexchange Q: UK spelling dictionary - teach OS X *all* -ize spellings The British spelling dictionary in OS X is customized to UK spellings, a very useful feature. However, the designers have made the unfortunate choice of only listing -ise endings for words such as advertise, customise, etc. Many Brits, such as myself, prefer the -ize spelling. In Lion, auto correct keeps changing all my -ize spellings to -ise. Not what I want! Can any of you suggest a clever way (perhaps a perl script?) to quickly add all -ize variants of corresponding -ise spellings to the local dictionary? Note: the suggestion "switch to US spellings" is not acceptable! A: I found a good-enough fix for this. I copied the Oxford English dictionary -ize words from here: http://en.wikipedia.org/wiki/Wikipedia:Manual_of_Style/Spelling/Words_ending_with_%22-ise%22_or_%22-ize%22 and pasted them into /Users/danbrowne/Library/Spelling/LocalDictionary This seems like a fairly comprehensive list. Anything which is missing I can add by hand. One remaining issue: Apple doesn't seem to be able to intelligently conjugate these words, but using copy-paste on the list (ize -> izes, izing, ized, etc.) sorted that out.
Q: UK spelling dictionary - teach OS X *all* -ize spellings The British spelling dictionary in OS X is customized to UK spellings, a very useful feature. However, the designers have made the unfortunate choice of only listing -ise endings for words such as advertise, customise, etc. Many Brits, such as myself, prefer the -ize spelling. In Lion, auto correct keeps changing all my -ize spellings to -ise. Not what I want! Can any of you suggest a clever way (perhaps a perl script?) to quickly add all -ize variants of corresponding -ise spellings to the local dictionary? Note: the suggestion "switch to US spellings" is not acceptable! A: I found a good-enough fix for this. I copied the Oxford English dictionary -ize words from here: http://en.wikipedia.org/wiki/Wikipedia:Manual_of_Style/Spelling/Words_ending_with_%22-ise%22_or_%22-ize%22 and pasted them into /Users/danbrowne/Library/Spelling/LocalDictionary This seems like a fairly comprehensive list. Anything which is missing I can add by hand. One remaining issue: Apple doesn't seem to be able to intelligently conjugate these words, but using copy-paste on the list (ize -> izes, izing, ized, etc.) sorted that out. A: Adding words to the local dictionary is tiresome! Just do this instead: System Preferences > Language & Region > Keyboard Preferences… > Text > Spelling > Set up… > Check both British and US English. Works for me! A: Switching to Canadian English will sort the problem out, and seems to allow other British spelling variants, such as programme and connexion. I share your frustration: -ize is not an Americanism (although -yse is) but is standard British English (alongside the -ise variant) and preferred by Oxford on etymological grounds and by Yours Truly just because. It is also allowed in Australian dictionaries, but not in Apple's Australian English setting. Apple really ought to sort it out themselves--they're the ones who've got it wrong, after all. There doesn't seem to be anything I can do about it on the iPhone, however. This only allows 'English' or 'British English' (the cheek!), and the latter only permits -ise. A: There is an Oxford style British dictionary available here. You can download the bundle, extract the en_GB-oed.aif and en_GB-oed.dic files, and copy them into Spelling/Library. It will appear in the list of spelling dictionaries as "English (Library)". Note though that this dictionary allows only -ize spelling, not -ise. You may find this annoying, or helpful in keeping a consistent style. Also, the dictionary is a bit old, and probably of slightly worse quality than the default British English dictionary. I'm a new Mac user, so I ave minimal experience with this on OS X, but I've been using this dictionary for several years with Vim. Apart from a few words missing, it's very usable. A: Have you tried Canadian English? I think it uses -our and -ize. A: If you have “correct spelling automatically” on then you have the problem you describe. As an alternative you can activate “show spelling and grammar” and check spelling after you complete your writing and ignore any and all suggestions to replace “z" with “s". A: I guess you could try using grep from the command-line to get the list words ending with 'ize' from the US dictionary (in [/System]/Library/Spelling) and append them into user dictionary (~/Library/Spelling/LocalDictionary or ~/Library/Spelling/en_GB). This should do the trick. A: There is a very good solution for this that solves more than the -ise/-ize problem: enabling more than one English dictionary at a time: for example you can have spelling for English to accept both US and UK dictionaries. Read this answer for details on how to set it up: https://apple.stackexchange.com/a/62551/1916 A: If there are just a few which bother you, add them as custom spellings. Otherwise the Canadian dictionary is a good recommendation. Keep in mind, one can switch a single application to a spelling set if there's some documents which must be written with "-ize" but generally you write with "-ise" in your correspondence. You can also change the language for spelling while in an application. A: "Advertize", "customize" and so on are simply wrong in British English. I'm afraid there's no way to make it allow incorrect spellings en masse -- you should choose an accepted standard that's in the dictionary and stick with it. Or if you just want to make up your own spellings (which is what it sounds like) then simply turn off spell check altogether.
apple
{ "language": "en", "length": 727, "provenance": "stackexchange_00000.jsonl.gz:6264", "question_score": "16", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/21429" }
b6136123b77f148ad70ca047e593074ab06b29c7
Apple Stackexchange Q: Use only the left option key as meta key in Terminal.app There's an option in Terminal.app -> Preferences -> Settings -> Keyboard but it allows me only to set both option keys as meta keys. iTerm.app has such an option but don't like that application. A: If you aren't totally set on using Terminal, I believe that iTerm2 has a setting to just use one of the option keys as meta. If you are, is there a setting to maybe use the Esc key as meta? I know that it's more convenient to use the option key, but the Esc key might be easier to set.
Q: Use only the left option key as meta key in Terminal.app There's an option in Terminal.app -> Preferences -> Settings -> Keyboard but it allows me only to set both option keys as meta keys. iTerm.app has such an option but don't like that application. A: If you aren't totally set on using Terminal, I believe that iTerm2 has a setting to just use one of the option keys as meta. If you are, is there a setting to maybe use the Esc key as meta? I know that it's more convenient to use the option key, but the Esc key might be easier to set. A: I have built a solution myself and it doesn't require abandoning Terminal.app in favour of iTerm 2. It is a simple status bar app that runs in the background and rewrites all left Alt + $KEY key events to two key events in rapid succession, Esc, then $KEY; however, it only does this if Terminal.app is in focus. You can find the source for the app here. You'll need Xcode to build it.
apple
{ "language": "en", "length": 181, "provenance": "stackexchange_00000.jsonl.gz:6272", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/21459" }
9f4b64ab8b82dc887e31ff9a6938155384a90f4f
Apple Stackexchange Q: Is there an OS X equivalent to the web debugging proxy Fiddler? I do web development on Windows for my day job, and I rely a lot on Fiddler, which is web debugging proxy. What is an equivalent tool for OS X? A: These are both free and haven't been mentioned so far. I found that both of these are far superior to the X11 Wireshark. * *Cocoa Packet Analyzer *Packet Peeper
Q: Is there an OS X equivalent to the web debugging proxy Fiddler? I do web development on Windows for my day job, and I rely a lot on Fiddler, which is web debugging proxy. What is an equivalent tool for OS X? A: These are both free and haven't been mentioned so far. I found that both of these are far superior to the X11 Wireshark. * *Cocoa Packet Analyzer *Packet Peeper A: http://mitmproxy.org/ is text-based tool, but does a great job. For any http-speaking app you want to analyse, and even modify and replay requests. A: Fiddler now has an Alpha build based on Mono. A: Stuff that's Free: * *Burp Suite *WiireShark *ParosProxy *NetTool *LiveHTTPHeaders *Safari WebInspector Network Tab *FireBug Stuff that Costs: * *$1.99 - HTTPClient *$15.00 - HTTP Scoop *$50.00 - CharlesProxy A: I use CharlesProxy, and while it isn't as scriptable as Fiddler, it does the job. And with single license key, you can run it on all OSes (it's written in Java). My needs were little different when I needed it ... I used it to debug webdav connections or to debug http communication between servers. A: If you just want to see HTTP traffic, try Cellist. A: Try Tamper It's a Chrome extension that lets you view and modify HTTP requests in the current tab's scope A: Try Proxyman, which is exclusively built for macOS. * *Easy to use and set up the certificates on mac/iOS/Android *All advanced tools: Map Local, Map Remote, Breakpoint, Scripting, ... *Active development and bug/feature tracker *It's a premium app without time limit Disclaimer: I'm a creator of Proxyman. Just come here to suggest a better alternative to boost productivity. Hope you enjoy the app! A: ZAP Attack proxy from OWASP is an excellent OpenSource alternative. The already mentioned Burp is also excellent but the paid version is much better than the free version. I use both for work. A: Captor, available on mac app store It's a native app , can capture HTTP/HTTPS just like CharlesProxy. A: There's a mac version now via mono. Install Fiddler on Mac OSX About the App App name: Fiddler App description: fiddler (App: Fiddler.app) App website: http://www.telerik.com/fiddler Install the App Press Command+Space and type Terminal and press enter/return key. Run in Terminal app: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null ; brew install caskroom/cask/brew-cask 2> /dev/null and press enter/return key. Wait for the command to finish. Run: brew cask install fiddler Done! You can now use Fiddler.
apple
{ "language": "en", "length": 419, "provenance": "stackexchange_00000.jsonl.gz:6283", "question_score": "50", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/21511" }
7ed7b5753b1de5fb914ca6a6cd00cab887469c2b
Apple Stackexchange Q: Disabling Preview's "sliding" animation The pages of my pdf presentation add incremental changes to the first page. The second page, for instance, consists of the diagram on the first page in addition to a few more lines. This way a complex figure can be introduced gradually. But Preview now "slides" each page, which defeats the effect I am after (a few changes just appear). Instead the audience is treated to a distracting effect. Is there a way to disable the fancy sliding and go back to replacing pages? A: You can use ⌥ + ↓/↑ or ⌥ + ←/→ to navigate pages without the sliding effect.
Q: Disabling Preview's "sliding" animation The pages of my pdf presentation add incremental changes to the first page. The second page, for instance, consists of the diagram on the first page in addition to a few more lines. This way a complex figure can be introduced gradually. But Preview now "slides" each page, which defeats the effect I am after (a few changes just appear). Instead the audience is treated to a distracting effect. Is there a way to disable the fancy sliding and go back to replacing pages? A: You can use ⌥ + ↓/↑ or ⌥ + ←/→ to navigate pages without the sliding effect. A: As a workaround - use Skim. It has better tools for full-screen presentations anyway. http://skim-app.sourceforge.net/ Note - native Lion full-screen doesn't work yet, but the non-native fullscreen works fine. A: Um...If you go to "View" then click "Continuous Scroll", everything should go back to normal.
apple
{ "language": "en", "length": 153, "provenance": "stackexchange_00000.jsonl.gz:6288", "question_score": "8", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/21525" }
f33775e50d99f462afca58992a7a9439808e57a4
Apple Stackexchange Q: How can I disable the trackpad when my mouse is plugged in on Lion? For the last few hours my trackpad has been behaving terribly, jumping all over the place and sticking. I believe I remember there being an option to disable the trackpad when a mouse is plugged in in previous versions of OS X, but can't seem to find that option anymore. Is such an option still available in Lion? A: Thankfully, you can still disable the trackpad in OS X Lion. Open System Preferences, click on Universal Access, select Mouse & Trackpad and click on Trackpad Options... at the bottom. Tick the checkbox "Ignore built-in trackpad when mouse or wireless trackpad is present".
Q: How can I disable the trackpad when my mouse is plugged in on Lion? For the last few hours my trackpad has been behaving terribly, jumping all over the place and sticking. I believe I remember there being an option to disable the trackpad when a mouse is plugged in in previous versions of OS X, but can't seem to find that option anymore. Is such an option still available in Lion? A: Thankfully, you can still disable the trackpad in OS X Lion. Open System Preferences, click on Universal Access, select Mouse & Trackpad and click on Trackpad Options... at the bottom. Tick the checkbox "Ignore built-in trackpad when mouse or wireless trackpad is present". A: When you open up System Preferences, do not open up Trackpad or Mouse preferences as seen in the attached photo. Look down in the lower right hand corner for the Universal Access preference and open that up to get to more features for both the trackpad and the mouse, including the 'permanent' solution to stuck/failed built-in trackpad or mouse issues ... see the 2nd picture of the Universal Access preferences, which include 'Ignore Built In Trackpad if Mouse is used...' option. Now, you can practice not using your cheap or deprecated trackpad on your Mac Book ... and if you hit the trackpad or busted mouse click key on the trackpad by accident, it no longer will stop you or your mouse from working as if the trackpad no longer exists ... cheaper than fixing the cheap bastard ! No, but there is an option labeled "Ignore accidental trackpad input" in System Preferences: Trackpad. Does that help?
apple
{ "language": "en", "length": 275, "provenance": "stackexchange_00000.jsonl.gz:6292", "question_score": "11", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/21540" }
6a65b1f64aced512222e799b96411367e7131ba1
Apple Stackexchange Q: Auto sync local files to remote Are there any OSX tools that can watch for file changes in a directory then sync (SFTP) those changes to a remote server? Basically I want to edit files locally (whatever files, whatever program) and have them automatically upload to the server. Rsync can't watch a directory for changes on it's own, and I can't seem to get lyncd to run on osx, due to no inotify tool. Any ideas? A: I'm only aware of proprietary systems like DropBox. But it seems like this could be done fairly easily, using kqueue to detect file changes, and running rsync a few seconds later.
Q: Auto sync local files to remote Are there any OSX tools that can watch for file changes in a directory then sync (SFTP) those changes to a remote server? Basically I want to edit files locally (whatever files, whatever program) and have them automatically upload to the server. Rsync can't watch a directory for changes on it's own, and I can't seem to get lyncd to run on osx, due to no inotify tool. Any ideas? A: I'm only aware of proprietary systems like DropBox. But it seems like this could be done fairly easily, using kqueue to detect file changes, and running rsync a few seconds later. A: RE : ".. Basically I want to edit files locally (whatever files, whatever program) and have them automatically upload to the server." You're in luck, DoubleDown will do exactly what you specified : Direct Download for DoubleDown here. DoubleDown download page with more info here. More info on DoubleDown : Doubledown keeps a complete local copy of the remote directory you're syncing so all your local operations are lightning fast. After it performs an initial sync (being careful not to clobber any local changes), Doubledown is notified of changes by Mac OS X's FSEvents framework and responds by creating, uploading, and removing files or directories as required. Hope this helps. A: If you are happy writing a script, Folder Actions let you achieve what you require: http://www.simplehelp.net/2007/01/30/folder-actions-for-os-x-explained-with-real-world-examples/ The following page seems to offer exactly the solution you are looking for: http://sites.google.com/site/andreatagliasacchi/blog/osxautomaticsyncwithfolderactions A: Here's an article about doing just that with a Ruby script. It uses FSEvent, the inotify counterpart on Mac OS X. A: Use entr command-line tool to watch for file changes in a directory. It has special -d option to react to events when a new file is added to a directory. The implication is that if a new file appears it must exit to allow an external shell loop to rescan the file system, so when -d is used, you've to use it with a loop. For example (to check for changes in path/ directory): $ while true; do > find path/ | entr -d sh -c 'rsync -vuar path/ example.com:. && echo Updated' > done Installation via Brew: brew install entr.
apple
{ "language": "en", "length": 375, "provenance": "stackexchange_00000.jsonl.gz:6294", "question_score": "6", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/21557" }
0035e41b592ec58215e9f356799977a372a38d6e
Apple Stackexchange Q: Installing Imagemagick leads to weird error involving OpenCL I'm trying to install ImageMagick on Mac OSX 10.7 and I'm getting the following errors: When I try to run the suggested verification $ convert logo: logo.gif dyld: Library not loaded: /System/Library/Frameworks/OpenCL.framework/Versions/A/Libraries/libclparser.dylib Referenced from: /opt/local/bin/convert Reason: image not found Trace/BPT trap: 5 $ identify logo.gif dyld: Library not loaded: /System/Library/Frameworks/OpenCL.framework/Versions/A/Libraries/libclparser.dylib Referenced from: /opt/local/bin/identify Reason: image not found Trace/BPT trap: 5 When I try pretty much anything... $ identify -version dyld: Library not loaded: /System/Library/Frameworks/OpenCL.framework/Versions/A/Libraries/libclparser.dylib Referenced from: /opt/local/bin/identify Reason: image not found Trace/BPT trap: 5 I've followed the path and it looks like the libclparser.dylib is missing from the OpenCL.framework, but I'm unsure of where to find that or how to replace it, or even if that's the right thing to do. A: If you're using Homebrew, try the following command: brew doctor to diagnose the common problems. One of it could be to remove DYLD_FALLBACK_LIBRARY_PATH variable from your ~/.profile if you have it. Or you have to re-install libtool by: brew reinstall libtool --universal && brew unlink libtool && brew link libtool
Q: Installing Imagemagick leads to weird error involving OpenCL I'm trying to install ImageMagick on Mac OSX 10.7 and I'm getting the following errors: When I try to run the suggested verification $ convert logo: logo.gif dyld: Library not loaded: /System/Library/Frameworks/OpenCL.framework/Versions/A/Libraries/libclparser.dylib Referenced from: /opt/local/bin/convert Reason: image not found Trace/BPT trap: 5 $ identify logo.gif dyld: Library not loaded: /System/Library/Frameworks/OpenCL.framework/Versions/A/Libraries/libclparser.dylib Referenced from: /opt/local/bin/identify Reason: image not found Trace/BPT trap: 5 When I try pretty much anything... $ identify -version dyld: Library not loaded: /System/Library/Frameworks/OpenCL.framework/Versions/A/Libraries/libclparser.dylib Referenced from: /opt/local/bin/identify Reason: image not found Trace/BPT trap: 5 I've followed the path and it looks like the libclparser.dylib is missing from the OpenCL.framework, but I'm unsure of where to find that or how to replace it, or even if that's the right thing to do. A: If you're using Homebrew, try the following command: brew doctor to diagnose the common problems. One of it could be to remove DYLD_FALLBACK_LIBRARY_PATH variable from your ~/.profile if you have it. Or you have to re-install libtool by: brew reinstall libtool --universal && brew unlink libtool && brew link libtool A: The top-voted answer on https://stackoverflow.com/questions/6764176/lion-10-7-not-supporting-convert1-dylib-error (minus the first two steps) worked for me — so basically just * *brew uninstall imagemagick *brew update *brew install imagemagick *(optionally) brew doctor and follow the instructions I did have to manually delete some files, but brew doctor tells you which ones. The order of uninstall, update, install, doctor probably isn't important. A: Here's what I did to fix this. * *Booted up my old machine running OSX 10.6. *Copied /System/Library/Frameworks/OpenCL.framework/Versions/A/Libraries/libclparser.dylib from 10.6 computer into the same folder on 10.7. Now things seem to be working fine. Note: the file can also be found here:
apple
{ "language": "en", "length": 283, "provenance": "stackexchange_00000.jsonl.gz:6295", "question_score": "14", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/21562" }
3ee9917b577bd0f04c56587bc4c40e430dd93030
Apple Stackexchange Q: cannot find iTunes Connect Mobile app when searching iTunes store I am searching for "iTunes Connect Mobile" app by Apple from my iPod touch (has OS 4.0) in the Apple Store, without any luck. Also tried "iTC Mobile" (a name used in some articles about it). Opening iTunes on mac brings "iTunes Connect Mobile", and the description says it's working on iPod touch OS 3.2 and up. Any clues why iPod touch is not finding it? A: Open this on your device: http://itunes.com/apps/iTunesConnectMobile
Q: cannot find iTunes Connect Mobile app when searching iTunes store I am searching for "iTunes Connect Mobile" app by Apple from my iPod touch (has OS 4.0) in the Apple Store, without any luck. Also tried "iTC Mobile" (a name used in some articles about it). Opening iTunes on mac brings "iTunes Connect Mobile", and the description says it's working on iPod touch OS 3.2 and up. Any clues why iPod touch is not finding it? A: Open this on your device: http://itunes.com/apps/iTunesConnectMobile
apple
{ "language": "en", "length": 84, "provenance": "stackexchange_00000.jsonl.gz:6296", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/21566" }
fbf3eda71fef610005cc2b5b092d5487c88ff6d0
Apple Stackexchange Q: How can I initiate a modem connection from the command line? I am looking for a way to initiate a PPP connection with my EVDO modem from the command line instead of having to go to System Preferences -> Network and hit "Connect". A: To connect a network device, use the System Events dictionary: tell application "System Events" tell current location of network preferences connect service "Sprint 3G" end tell end tell assuming the name of the service is Sprint 3G: To disconnect, change connect to disconnect: tell application "System Events" tell current location of network preferences disconnect service "Sprint 3G" end tell end tell Once you've saved your scripts with names, you can use the terminal open command to kick off either script.
Q: How can I initiate a modem connection from the command line? I am looking for a way to initiate a PPP connection with my EVDO modem from the command line instead of having to go to System Preferences -> Network and hit "Connect". A: To connect a network device, use the System Events dictionary: tell application "System Events" tell current location of network preferences connect service "Sprint 3G" end tell end tell assuming the name of the service is Sprint 3G: To disconnect, change connect to disconnect: tell application "System Events" tell current location of network preferences disconnect service "Sprint 3G" end tell end tell Once you've saved your scripts with names, you can use the terminal open command to kick off either script. A: I'm sure there is a more elegant way, but this could be done with UI scripting. I don't have an EVDO modem, so I can't give the specifics of the script that would work, but first you would go to  -> System Preferences -> Universal Access and make sure "Enable access for assistive devices" is checked. Then, you could write a script using a text editor. As I said, the specifics of the script would depend on your system and the layout of the screen you're trying to control, but it would look something like this: #!/usr/bin/osascript tell application "System Preferences" activate set the current pane to pane id "com.apple.preference.network" click button 1 tell application "System Preferences" to quit You'd save the script, make it executable, and then you could enable your modem from the command line. I'm sure there's a more elegant way that doesn't involve popping up a window and that doesn't involve so much trial and error at the "click button 1" stage, but this is a start. A: I think this can be done using pppd. You'll need to find the device name (/dev/tty...) and read through the long list of available options but it looks like that could work.
apple
{ "language": "en", "length": 331, "provenance": "stackexchange_00000.jsonl.gz:6298", "question_score": "6", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/21573" }
e5da4179f673aa24fec32dbc2de97331fca6e4ed
Apple Stackexchange Q: Temporarily disable autocorrect (in Lion) Occasionally, when chatting, it is fun to deliberately misspell words, dyaknowadImean? OS X Lion is autocorrecting my misspellings into completely random words! Does anyone know how I can temporarily, (e.g. by holding down a key as i type the deliberately misspelled word?) disable autocorrect? A: Go to System Preferences, Keyboard, Shortcuts. Add a shortcut for All Applications. Give it the keystroke you like. The name should be: "Correct Spelling Automatically".
Q: Temporarily disable autocorrect (in Lion) Occasionally, when chatting, it is fun to deliberately misspell words, dyaknowadImean? OS X Lion is autocorrecting my misspellings into completely random words! Does anyone know how I can temporarily, (e.g. by holding down a key as i type the deliberately misspelled word?) disable autocorrect? A: Go to System Preferences, Keyboard, Shortcuts. Add a shortcut for All Applications. Give it the keystroke you like. The name should be: "Correct Spelling Automatically".
apple
{ "language": "en", "length": 76, "provenance": "stackexchange_00000.jsonl.gz:6299", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/21578" }
db6cc1f5d32967960c3611ae7fc7897825b8f5d8
Apple Stackexchange Q: Can I copy by highlighting and paste by middle click on Mac OS X? I was using Linux for the last couple of years and I find it extremely useful to copy text by highlighting it as well as to paste by clicking a middle mouse button. I'm using a Mac now and I wonder if I can achieve such behaviour on Mac OS X. A: Create the following Automator service: Assign it a keystroke, like ⌘⌥shiftcontrol] (something unlikely to conflict with anything). Then, use BetterTouchTool to assign that keystroke to the middle mouse button. The middle shell script comes from this fine answer. The first shell script copies the selection to the clipboard, the middle script clicks the mouse at its current location, and the AppleScript sends a ⌘V to paste the contents of the clipboard
Q: Can I copy by highlighting and paste by middle click on Mac OS X? I was using Linux for the last couple of years and I find it extremely useful to copy text by highlighting it as well as to paste by clicking a middle mouse button. I'm using a Mac now and I wonder if I can achieve such behaviour on Mac OS X. A: Create the following Automator service: Assign it a keystroke, like ⌘⌥shiftcontrol] (something unlikely to conflict with anything). Then, use BetterTouchTool to assign that keystroke to the middle mouse button. The middle shell script comes from this fine answer. The first shell script copies the selection to the clipboard, the middle script clicks the mouse at its current location, and the AppleScript sends a ⌘V to paste the contents of the clipboard A: I wrote a free little C program that does something similar to Gilligan's answer. Whenever you drag-highlight or double-click text, it copies to the clipboard buffer. Then you can middle-mouse-click in any window to paste it. It is called "macpaste" and on Github (https://github.com/lodestone/macpaste). It works globally for every program I use that has textual data. In iTerm2, disable their middle-click in Preferences, otherwise you'll get double pastes. A: After highlighting text in the Terminal, I can middle-click to paste it back into the Terminal without using the copy/paste keyboard shortcuts. This does not seem to work when the text comes from other applications ie. I can't copy text from TextEdit and then paste into Terminal with a middle-click. I am running Lion and I did not have configure anything to get this default behavior. I'm not sure about other versions of OS X. A: You can try BetterTouchTool. You can assign custom trackpad, mouse, and keyboard events to trigger specific actions on a global or application-specific basis. Here's my configuration to bind a three-finger tap to ⌘V (as this is the global paste shortcut. Alternatively you can select from dozens of other trackpad and mouse gestures to emulate the paste command. A: The macOS terminal can do copy/paste with two separate buffers: * *The copy/paste buffer which is shared with all other applications. It can be accessed by CommandC/CommandV. *A separate copy/past buffer which is shared only between (macOS) terminals. It can be filled (copy) by dragging over the text by mouse, double clicking, or ShiftCommand double-clicking for file names (no CommandV). The content of this buffer is pasted by the middle mouse button, by ShiftCommandV, or by Command + two-finger-click. A: I don't think there is a way in general but some programs will accept the middle button as paste e.g. * *Aquamacs - an OSX configured emacs *iTerm2 - a replacement for Terminal For newer mice/trackballs clicking the scroll wheel acts as a third button A: I tried the Automator script suggested by Daniel. It did NOT work for me on OS X 10.10. I was able to make BetterTouchTool (v 1.15), alone, work for some applications. Like this: I did Left Mouse twice for several reasons. The first one usually only changes the focus to the new window, but does not position the cursor. Also, clicking in a text box usually selects all of the text, which is then deleted when something is pasted there. I usually want the original text to stay. Gilligan A: Select Text to be copied, then Drag and Drop your selection (White Plus sign in red circle will be displayed with the cursor). This will copy-paste the text. You can Drag and Drop inside Terminal or between apps. A: I would like to add that, if the problem is, as it was with me, that you couldn't get stuff that was highlit in an X-Quartz window onto the clipboard, the secret to that is to highlight, then XQuartz menu-> Edit -> Copy. That way, it is available for paste in every ordinary Mac OS app. A: In majority of terminals you can drag and drop the highlighted text or alternatively you can use: Shift + ⌘ + v It will act like in Linux pressing middle-mouse button ( is a copy and paste together) A: The following Karabiner Complex Modification maps the middle mouse button to ⌘V and shift middle mouse button to ⇧⌘V: { "title": "Edit-related mappings", "rules": [ { "description": "MouseButton3 to Cmd+v: Paste", "manipulators": [ { "type": "basic", "from": { "pointing_button": "button3", "modifiers": { "optional": [ "caps_lock" ] } }, "to": [ { "pointing_button": "button1" }, { "key_code": "v", "modifiers": [ "command" ] } ] } ] }, { "description": "Shift+MouseButton3 to Shift+Cmd+v: Pasteboard", "manipulators": [ { "type": "basic", "from": { "pointing_button": "button3", "modifiers": { "mandatory": [ "shift" ], "optional": [ "caps_lock" ] } }, "to": [ { "pointing_button": "button1" }, { "key_code": "v", "modifiers": [ "shift", "command" ] } ] } ] } ] } The following maps the left mouse button to perform ⌘C after selection: { "description": "MouseButton1 to Cmd+c: Copy", "manipulators": [ { "type": "basic", "from": { "pointing_button": "button1", "modifiers": { "optional": [ "caps_lock" ] } }, "to_if_alone": [ { "pointing_button": "button1", "halt": true } ], "to_if_held_down": [ { "pointing_button": "button1" } ], "to_after_key_up": [ { "key_code": "c", "modifiers": [ "command" ] } ] } ] } Behavior of using this rule is a bit delayed. With the default Karabiner settings, you'll have to wait a little bit after starting a selection and moving the mouse. Changing some Karabiner settings may help with this but may have other consequences (I've set to_if_alone_timeout_milliseconds to 200 and to_if_held_down_threshold_milliseconds to 200).
apple
{ "language": "en", "length": 923, "provenance": "stackexchange_00000.jsonl.gz:6304", "question_score": "93", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/21595" }
0328001d8f93ac297a5e546018c353759fcae323
Apple Stackexchange Q: Where can I access official AppleScript documentation? Is there any official AppleScript documentation? If so, where can I find it? A: Almost all of the Mac developer documentation from Apple exists in several places. That being said, you want the unofficial Mac OS X Automation guide put together by Sal Soghoian. He also has a fabulous book on the iBook store titled AppleScript 1-2-3. Xcode is the tool that links into these libraries and allows you to search across the various user guides, developer guides, language specifications, code examples and such. Here is Xcode (with 10.6 and 10.7 documentation sets) and a quick AppleScript search. Xcode makes it easier to bookmark, search and use the documentation rather than just browsing in Safari since it will download the whole Of the 232 matches in the System Guides - about 10 cover AppleScript in depth - the rest refer to how programs make themselves available to be scripted by AppleScript.
Q: Where can I access official AppleScript documentation? Is there any official AppleScript documentation? If so, where can I find it? A: Almost all of the Mac developer documentation from Apple exists in several places. That being said, you want the unofficial Mac OS X Automation guide put together by Sal Soghoian. He also has a fabulous book on the iBook store titled AppleScript 1-2-3. Xcode is the tool that links into these libraries and allows you to search across the various user guides, developer guides, language specifications, code examples and such. Here is Xcode (with 10.6 and 10.7 documentation sets) and a quick AppleScript search. Xcode makes it easier to bookmark, search and use the documentation rather than just browsing in Safari since it will download the whole Of the 232 matches in the System Guides - about 10 cover AppleScript in depth - the rest refer to how programs make themselves available to be scripted by AppleScript. A: The official AppleScript language guide can be found in archive here.
apple
{ "language": "en", "length": 171, "provenance": "stackexchange_00000.jsonl.gz:6306", "question_score": "6", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/21602" }
e5e91633cc3fa8d20298887500d0d83bbf980c3a
Apple Stackexchange Q: Is it safe to run a Mac Mini (i5) on its side? I recently got a Mac Mini with the i5 chip. Is it OK to set it on its side and run it that way? I wanted to shrink the footprint. A: Sure. Just make sure it is in a secure position so it doesn't fall over. Apple actually has a support page on this: http://support.apple.com/kb/TA22804
Q: Is it safe to run a Mac Mini (i5) on its side? I recently got a Mac Mini with the i5 chip. Is it OK to set it on its side and run it that way? I wanted to shrink the footprint. A: Sure. Just make sure it is in a secure position so it doesn't fall over. Apple actually has a support page on this: http://support.apple.com/kb/TA22804 A: No it's not. It will heat up fast.
apple
{ "language": "en", "length": 77, "provenance": "stackexchange_00000.jsonl.gz:6311", "question_score": "7", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/21615" }
05312320c2ecc5545a4f8faca7063df3a8111318
Apple Stackexchange Q: Add a song into a playlist while listening to it? Is there a button to add the song that is being currently played into a playlist on my iPhone? So i don't have to search it back and add it manually? A: No - the playlists only get curated from the playlist tab. The iPods with physical buttons have an "add to playlist" functionality that worked this way but there's nothing yet in iOS 4 or less to do a similar thing. The drawback there is everything got added to the "on the go" playlist - not an arbitrary one.
Q: Add a song into a playlist while listening to it? Is there a button to add the song that is being currently played into a playlist on my iPhone? So i don't have to search it back and add it manually? A: No - the playlists only get curated from the playlist tab. The iPods with physical buttons have an "add to playlist" functionality that worked this way but there's nothing yet in iOS 4 or less to do a similar thing. The drawback there is everything got added to the "on the go" playlist - not an arbitrary one. A: After listening to your song, go to the playlist, hit edit and at the top left you'll see a plus sign. Hit that and go to recently played (under playlists). You'll see the song- tap the plus sign on the right of the song and it will add it to the playlist. Make sure you are editing the playlist you want it added to. A: All of those suggestions are great! Now if you have a Jailbroken Iphone you can download "SCALE" from Cydia. This will give you the option to add songs that you are currently playing directly to any of your new playlists. This also gives you the share to Facebook or Twitter so even better. A: I've done something sort of like this. It doesn't add a track to a playlist—it adds metadata to a track, and you can have a smart playlist where tracks are selected based on that metadata. I then use a macro facility (Quicksilver) to assign a key command to that script. I've used the "Grouping" metadata field -- technically, this is supposed to be reserved for movements in classical music, but I couldn't find any tracks that actually use this field, so I felt OK about misusing it. If that bothers you, you could easily change this to use the "Comments" field. Here's the script. It's very simple. tell application "iTunes" try -- change "keyword" below. Keep the quotes! if "keyword" is not in grouping of current track then set x to grouping of current track if x = "" then set grouping of current track to "keyword" else set grouping of current track to x & ", keyword" end if end if end try end tell Open Applescript Editor, paste the above into a new script, and save it as a script file with whatever name you want to [username]/Library/iTunes/Scripts (if the Scripts folder doesn't already exist, create it). You can invoke it from the Scripts menu in iTunes once you've done that, or use some kind of macro software to create a keyboard command. Then create a Smart Playlist in iTunes where the criterion is "grouping contains [keyword]" A: You can add to any playlist while listening to music! Go to the playlist you want to add to hit the edit button, then the plus sign. This will bring up your library on your phone and you can choose whichever songs you want to add to it. Of course Mac would have that, otherwise it defeats the purpose of the device.
apple
{ "language": "en", "length": 523, "provenance": "stackexchange_00000.jsonl.gz:6312", "question_score": "6", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/21616" }
3865234c9b59c916cab347ff6b5604e73f70d00c
Apple Stackexchange Q: What is the best dropbox compatible iPad app for MS office documents? It's pretty simple. I just got an iPad and want to get the best app to edit word documents that I have saved in my dropbox. There are many options: pages, quick office, docs to go, office2. I am looking to be able to browse documents within DropBox and tap edit to open them in the editor. I'll make a few changes and expect to be able to tap save and have it automatically update DropBox. A: I'm a professional writer, I've tried out a bunch of these apps, and I prefer Dataviz’s Documents to Go Premium, which creates and edits Microsoft Office documents (Word, Excel, PowerPoint). The great thing about the Premium version (and justifies the extra $6 over the basic version) is that it connects with the Dropbox online storage service. Documents to Go does a good job of editing Word documents, including maintaining styles, etc.
Q: What is the best dropbox compatible iPad app for MS office documents? It's pretty simple. I just got an iPad and want to get the best app to edit word documents that I have saved in my dropbox. There are many options: pages, quick office, docs to go, office2. I am looking to be able to browse documents within DropBox and tap edit to open them in the editor. I'll make a few changes and expect to be able to tap save and have it automatically update DropBox. A: I'm a professional writer, I've tried out a bunch of these apps, and I prefer Dataviz’s Documents to Go Premium, which creates and edits Microsoft Office documents (Word, Excel, PowerPoint). The great thing about the Premium version (and justifies the extra $6 over the basic version) is that it connects with the Dropbox online storage service. Documents to Go does a good job of editing Word documents, including maintaining styles, etc. A: My father uses DocsToGo and he´s happy. But he doesn't have a mac. But he said that it works very well for him. A: Documents To Go now trumps QuickOffice after QO dropped support for Dropbox. Also has a more friendly and flexible interface. A: Quickoffice is a great app, but it no longer supports Dropbox.
apple
{ "language": "en", "length": 218, "provenance": "stackexchange_00000.jsonl.gz:6316", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/21631" }
8997320faaf1d50a860e4b1cbac87031bb32f0d9
Apple Stackexchange Q: How do I make an AppleScript with a drop-down menu without Xcode? How do I make an AppleScript that displays a drop-down menu without using Xcode? A: One option would be to use CocoaDialog**: set l to {"aa", "bb", "cc"} set choices to "" repeat with x in l set choices to choices & quoted form of x & " " end repeat set dialog to paragraphs of (do shell script "/Applications/CocoaDialog.app/Contents/MacOS/CocoaDialog" & " standard-dropdown --title title --text text --items " & choices) if item 1 of dialog is "2" then return -- pressed cancel button item ((item 2 of dialog) + 1) of l You could also just use choose from list: choose from list {"aa", "bb", "cc"} with title "Title" with prompt "Please choose" default items "bb" with multiple selections allowed ** The original URL for this Github repo by mstratman has changed. From research it seems CocoaDialog has transitioned to an org. Here are the new changes: * *URL *Github *Repo pertaining to the previous answer
Q: How do I make an AppleScript with a drop-down menu without Xcode? How do I make an AppleScript that displays a drop-down menu without using Xcode? A: One option would be to use CocoaDialog**: set l to {"aa", "bb", "cc"} set choices to "" repeat with x in l set choices to choices & quoted form of x & " " end repeat set dialog to paragraphs of (do shell script "/Applications/CocoaDialog.app/Contents/MacOS/CocoaDialog" & " standard-dropdown --title title --text text --items " & choices) if item 1 of dialog is "2" then return -- pressed cancel button item ((item 2 of dialog) + 1) of l You could also just use choose from list: choose from list {"aa", "bb", "cc"} with title "Title" with prompt "Please choose" default items "bb" with multiple selections allowed ** The original URL for this Github repo by mstratman has changed. From research it seems CocoaDialog has transitioned to an org. Here are the new changes: * *URL *Github *Repo pertaining to the previous answer A: There is no built in concept of a menu in the dialogs-alerts within the AppleScript language. The closest you could do would be to name some dummy files (in a temporary folder) with the appropriate action and have the user choose the file labeled with the action you wanted to perform. open folder blah with selected file bah do whatever A horrendous "solution" to a problem that needs a cocoa menu - whether you make it in Xcode or someone else does - Xcode/IB is the tool that creates a menu. MacRuby is a nice way to script an app that needs a more full featured UI than AppleScript. You don't need Xcode/IB to ruby up an app from pure script. You could create a NIB using Interface Builder and script it all using AppleScript, but the nib defines the menu itself - not AppleScript (even if AppleScript can populate or delete the menu items at run time). A: Additionally, if you just need a list to choose from, you could also do choose from list listYouDefined with prompt "Choose from the list." Google "AppleScript Choose from list". A: I understand this is an old question but since the best up-voted answer says in the documentation for CocoaDialog 2: Downloads do not work Downloads for cocoadialog 2 are no longer available. This is mostly in part due to the various changes and lack of permanent storage over the years. and 3 isn't coming till Spring/Summer 18 I was searching for other alternatives and I found Pashua: (pic taken from the site) Under the documentation this is called a popup: Example: Using popup p.type = popup p.label = Example popup menu p.width = 310 p.option = Popup menu item #1 p.option = Popup menu item #2 p.option = Popup menu item #3 p.default = Popup menu item #2 Screenshot: Github repo After using it I found you can install the Pashua.app in your Application directory or you can embed Pashua in your app. I'm not the author of this but I needed a base solution for a GUI and this wasn't mentioned. A: You don't need Xcode for AppleScript. Just open the AppleScript Editor in Applications/Utilities (Finder shortcut for the Utilities folder: ⌘ Command+Shift+U). There is some sample code for dropdown menus on MacScripter: Dropdown menu.
apple
{ "language": "en", "length": 556, "provenance": "stackexchange_00000.jsonl.gz:6321", "question_score": "8", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/21658" }
73fc820fc4891f4be175d53be6bf0e9474cd4dd3
Apple Stackexchange Q: Why does my MacBook Pro say "Not charging" when plugged in? I have the latest 2011 Macbook Pro. Sometimes I notice that even when I'm plugged in, the battery status says "Not charging" even when I unplug it and the battery is at 35%. This mainly seems to happen if my laptop is under load. I had some flash thing going and I could hear the fan. Once I closed flash it started charging again. This can be very annoying if I want to unplug and take my laptop somewhere. Why isn't my MBP charging? A: I've noticed it with ours too. Try completely unplugging the charger from both the MBP and the wall outlet. Besides that, just make sure that when you plug your computer is plugged in, the green/amber light is on.
Q: Why does my MacBook Pro say "Not charging" when plugged in? I have the latest 2011 Macbook Pro. Sometimes I notice that even when I'm plugged in, the battery status says "Not charging" even when I unplug it and the battery is at 35%. This mainly seems to happen if my laptop is under load. I had some flash thing going and I could hear the fan. Once I closed flash it started charging again. This can be very annoying if I want to unplug and take my laptop somewhere. Why isn't my MBP charging? A: I've noticed it with ours too. Try completely unplugging the charger from both the MBP and the wall outlet. Besides that, just make sure that when you plug your computer is plugged in, the green/amber light is on. A: Some obvious causes: * *Need to wait 30 to 60 seconds for the SMC to read the battery and decide what to do *check for pencil lead/debris on the mac end of the magsafe *check for pins stuck down on the magsafe cord end of things *The SMC needs to be reset on the Mac *The battery, all adapter or charging circuitry itself is faulty or detecting something that causes a pause and the mac might need service. (This is exactly what your mac will do if it needs an 85 watt adapter but you've somehow gotten your "friend's" 65 watt adapter - if your adapter isn't putting out enough power, the mac can only run and not support the CPU/GPU load as well as the charging circuitry. Similarly, if the battery is drawing more than designed, the mac will prefer to run than charge and tells you this in the not charging message.) Due to the way batteries work, they can be out of tolerance / spec at only a specific portion of the entire voltage range. The sensors will correctly detect “good battery” until you reach that one point where the voltage drops too fast and shows aging or a problem with the cells. Do a calibration run at your earliest convenience if your battery doesn’t continuously self regulate and calibrate. Next, think about a visit to the genius bar or other Apple Support / service desk if the problem continues. Take your wall adapter with you when you go as it can be checked with the mac together. A: We had the same issue with our new 17" MBP at work. We contacted Apple and they said this was normal behavior. Apparently there are certain situations (e.g. during high CPU/GPU usage) in which the MBP cannot draw enough power form the power adapter, so it must also draw from the battery. A: I saw this behavior within the first few weeks of getting my Mid 2010 MBP 13". It seemed like a simple jiggle of the charger would fix it most of the times. If that didn't work, unplugging/plugging it back in to the laptop always seemed to do the job. I'm not exactly sure what caused it in my situation, but I haven't seen it since then (Nov 2010).
apple
{ "language": "en", "length": 519, "provenance": "stackexchange_00000.jsonl.gz:6322", "question_score": "7", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/21661" }
e8bba3fe37b57d876e9eb54f8f174fb345e4999b
Apple Stackexchange Q: Why does my Terminal window close automatically? I need to use my Terminal window on a MacBook Air but it closes about 10 seconds after I open it. Is there a setting or is it possible another program is causing it to close? If I type quickly I can run say diskutil but it closes after it runs. A: If you have a system administrator that has blocked terminal, you should get permission from your system administrator to unblock it.
Q: Why does my Terminal window close automatically? I need to use my Terminal window on a MacBook Air but it closes about 10 seconds after I open it. Is there a setting or is it possible another program is causing it to close? If I type quickly I can run say diskutil but it closes after it runs. A: If you have a system administrator that has blocked terminal, you should get permission from your system administrator to unblock it.
apple
{ "language": "en", "length": 81, "provenance": "stackexchange_00000.jsonl.gz:6333", "question_score": "6", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/21711" }
584ce48d721a317c5f46ed592beb3d540a75fdcd
Apple Stackexchange Q: connecting a PS2 keyboard to Mac I have a keyboard that has only a PS2 interface. I tried setting a PS2 to USB connector over it and connected to Mac. The keyboard does not work. It works fine on a Windows XP though. Is there a way I can get this PS2 interfaced keyboard to work for Mac ? (assuming there is no information on support of Mac) A: It looks like you need something like this (Good info on the page too). I've never used one of those so I can't vouch for the specific device or vendor.
Q: connecting a PS2 keyboard to Mac I have a keyboard that has only a PS2 interface. I tried setting a PS2 to USB connector over it and connected to Mac. The keyboard does not work. It works fine on a Windows XP though. Is there a way I can get this PS2 interfaced keyboard to work for Mac ? (assuming there is no information on support of Mac) A: It looks like you need something like this (Good info on the page too). I've never used one of those so I can't vouch for the specific device or vendor.
apple
{ "language": "en", "length": 100, "provenance": "stackexchange_00000.jsonl.gz:6335", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/21716" }
16ca649517cd2d7be3278f62417cdc3538ca8f0b
Apple Stackexchange Q: How can I get a list of all iPhone pictures that are imported to iPhoto? I have used iPhoto to backup my pictures from the iPhone. How can I find all the iPhone-photos without having to click on all the pictures to view the EXIF-info? A: You can create a smart album with a condition on the camera model (Camera model includes "iPhone"). It's even possible to select the front or rear camera by adding a condition on the aperture. See this hints for details. I believe iPhoto '09 has this - the picture above is in iPhoto '11 and it works great there.
Q: How can I get a list of all iPhone pictures that are imported to iPhoto? I have used iPhoto to backup my pictures from the iPhone. How can I find all the iPhone-photos without having to click on all the pictures to view the EXIF-info? A: You can create a smart album with a condition on the camera model (Camera model includes "iPhone"). It's even possible to select the front or rear camera by adding a condition on the aperture. See this hints for details. I believe iPhoto '09 has this - the picture above is in iPhoto '11 and it works great there. A: You can define a smart album and select by camera model.
apple
{ "language": "en", "length": 117, "provenance": "stackexchange_00000.jsonl.gz:6338", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/21725" }
1efcc36c91e4b13489789248ce0f85ee5b77ccd6
Apple Stackexchange Q: How do I turn off MacBook display when I have an external display? I went through a similar question, but the answer was informing how to hide the monitor, but not how to disable it. I do not want any new windows to creep into the laptop display when the external display is connected. I could not find any in the Display Settings (under System Preferences). I don't want to close the lid because I think it impacts the air flow of the MacBook Pro. I don't want to close the lid because the sound quality is reduced. A: * *Cmd + F1 (switch one display mode - laptop display will turn into mirror of external display) *F1 (until you turn off laptop display)
Q: How do I turn off MacBook display when I have an external display? I went through a similar question, but the answer was informing how to hide the monitor, but not how to disable it. I do not want any new windows to creep into the laptop display when the external display is connected. I could not find any in the Display Settings (under System Preferences). I don't want to close the lid because I think it impacts the air flow of the MacBook Pro. I don't want to close the lid because the sound quality is reduced. A: * *Cmd + F1 (switch one display mode - laptop display will turn into mirror of external display) *F1 (until you turn off laptop display) A: Update 2017 & Sierra (OSX 10.12.6+) I didn't find any working solutions in order to configure this on Sierra so I'm posting this for people looking for a solution in 2017. This should allow you to use your Mac with an external display, external keyboard/mouse or even the built in keyboard including (the very useful) fingerprint scanner and lcd touch bar on newer models. Here's how I got it to work: You need to run this command: nvram boot-args="niog=1" but it's not going to work unless you boot into recovery first. It'll give you garbage like this instead: nvram: Error setting variable - 'boot-args': (iokit/common) general error To fix this we need to boot into recovery and disable SIP. * *Reboot and hold down CMD + R during boot. When it loads, chose your language and use the top navigation bar to go to Utilities -> Terminal *Use csrutil disable command to disable SIP. *Reboot normally. *Open terminal and use the sudo nvram boot-args="niog=1" command *Reboot and close your lid, keep it closed until you've logged in and see your desktop. *Open your lid and the laptop display should stay OFF. *IMPORTANT: Go back to recovery (reboot with Command + R) and re-enable SIP using csrutil enable A: My question finally answered by running: sudo nvram boot-args="iog=0x0" http://hints.macworld.com/article.php?story=20110901113922148 A: I finally found a way to disable the main monitor instead of hiding it for any number of external monitors. I'm saying any number because the mirroring option suggested by other answers mirrors all displays. If you have two external monitors like me, you would find that it doesn't help at all. You'll need SwitchResX for this (yes, it's paid, but it you don't pay it just annoys you with a warning every day and disables some features, that's all). One thing I want to point out is that the 'disable screen' option just hides the screen and it keeps rendering in the background, which is not what we want, instead we will mirror one of the displays on the built-in one: * *Go to video mirroring in the switchresx menu and mirror the built-in display on any of your external monitors *You might have to set your external display resolution if it displays the wrong resolution *Turn off the brightness on the built-in display if you want to You will see that it's actually mirroring the display if you look at preferences > display > arrangement: And looking at the GPU memory usage, I can confirm again that it's not rendering the built-in display, which should mean much better performance and much quiter fans! A: Here's a visual answer that should help folks quickly find the solution: 1. Select "Mirror Displays" in the "Arrangement" tab You can find that "Arrangement" tab in the "Display" section of "System Preferences" whenever an external display is recognized. 2. Ensure it's optimized for the external screen This should be default, at least it was for me. 3. Lower the brightness of the MacBook down to Zero A: Solutions using Magnets for MacBooks (2015-2019) There might be many reasons you would want to turn off the built-in display of the MacBook. I am using two larger external monitors, and while using heavy applications if 3 screens are active the Mac starts to throttle. For myself personally, the smaller built-in screen is taking unnecessary resources so just reducing the brightness to zero is not an apt solution. And neither is closing the lid since I was having connectivity problems with my Wifi on the 2.4 GHz channel when the lid was closed and I also want to use the magnificent built-in trackpad for gestures rather than buying an external one. I was looking at a lot of answers in forums and in this thread but unfortunately, most software-based solutions are outdated and don't work and applications like DisableMonitor say : It has been reported that the software is able to cause irretrievable damages to your computer. Use at your own risk! The project development has been stopped and won't be continued. My Setup I am using a 2019 15" MBP and this solution worked for me. I am hoping this solution would work for all devices in this design platform that Apple used starting from 2015-present (2021). What you need We need 2 small low powered magnets. Unfortunately, the magnetic strip used in refrigerator magnets did not work for me. Magnets that I used were from cheap old IEMs (Earphones), they were perfect since they were relatively low power and I got two of the same size and power. How We are trying to simulate what MacBooks do, to know that the lid is closed. Two of the many magnets in the display lid in the MacBook in combination with Hall effect sensors in the lower chassis are used by the Mac to determine when the lid is closed. So all we need to do is place 2 magnets on the lower chassis at the exact location where the two magnets in the display would have been when the lid is closed and voilà it works. One thing we need to take care of is to place both the magnets at the exact same time otherwise, it doesn't work. Solution Place the two magnets at the exact same time near the edge of the chassis. For the 2019 15" MBP the location is just below the 2 USB-C ports on either side. Concerns The new Macs do not use any moving parts and especially the hard drives are SSDs, so that concern is for the most part alleviated. Also since the Apple laptops themselves are using magnets to know if the lid is closed it seems to be a safe enough solution as long as it's used when the MacBook is kept stationary and using low-power magnets. Also, I do not see any distortions in the audio while using the built-in speakers as long as the magnets are low in power. This is one of the only solutions that worked for me which is quite straightforward. Since we are using magnets around computers, I would recommend using as low powered as possible and also check if your computer is using any hardware internal or external which can be affected by magnets (eg, magnetic hard drives) and do after your own research the last thing we want is someone to destroy their work or damage their hardware. Update after 1 month. Based on the concerns shown in the comments: using magnets can be dangerous in that if one forgets they are there and closes the lid the display can be cracked. I have modified my solution as in the pictures bellow : Attaching the 2 magnets to a piece of packing material which is cut in the exact size of the MacBook and the magnets are glued in position, so that they align perfectly with there intended place on the laptop when the material is placed on top of the laptop. Description : The magnets are glued into correct place. Description : The spongy-material is placed with the magnets side facing down, so that the magnets align perfectly with there intended position and if there is any accidental closure the material will absorb the shock. It gives two advantages: * *Obviously the concern of accidental screen closing and the worry of the screen cracking is resolved. *An added advantage is now we don't have to go through the trouble of carefully placeing the magnets at the same time, just placing the sheet in the correct location is enough, it reduces the hassle significantly. Pro Tip: I find sliding the sheet into place much easier. Also you might have to place something with a small weight on top of it especially for the first few days so that the sheet does not bend. A: Reducing heat by adjusting the lid Having the lid closed or open does not impact the airflow of your MacBook Pro (MBP). Ambient air is never in short supply and the "exhaust" (where the hot air picked up by the blade fan(s) are expelled) is located at the back of the unit (the black stripe on the newer models and the grey stripe on the first generation machines). Some claim that keeping the lid open allows the chassis to cool down, but these claims have never had any real data behind them (simply anecdotal evidence and unsubstantiated rumour). Personally, I have a 2006 MBP that was eventually relegated to being a desktop. I ran the system for well over a year with the clamshell open, and then closed, and saw no different in CPU/CPU temps (nor any variability in the other heat sensors) as a result. Moreover, the newer models have far more efficient blade fans and would suffer even less from the effects of heat (additionally, the new Intel chipsets run cooler than their predecessors). You can conduct your own testing of course. I had replaced the heat sink, re-applied a sane amount of Arctic Silver thermal paste, and used Lobotomo Fan Control daemon to monitor my system's temperature. Disabling the internal display, properly There are two ways to connect a secondary display to your notebook without enabling the default screen (note that this does not mean dimming it, but rather turning it off). * *The first is to connect the display with the lid closed when the machine is powered down. Once the external display is connected, turn the machine on—it will detect the secondary display while leaving the internal one turned off. This will alleviate the issues you have with "dragging things off the screen" as the system will constrain your desktop to the one, active monitor. *The second is to connect the secondary display when your system is awake and active, and the clamshell open. Make sure the notebook is plugged in. Once you connect the secondary monitor, the system will recognize it. Once it does, close the lid on your notebook. The device will be put to sleep. Once that happens, move your mouse, or hit a key on your keyboard to wake it. Once it wakens, it will enable the secondary display, but not the internal one. Additionally, you may set the attribute to leave the system in the sleep state even if the clamshell is opened. You can do this using pmset, a local utility found on OS X that actually handles all your power settings. You can accomplish this with the following command: sudo pmset -a lidwake 0 The -a, -b, -c, -u flags determine whether the settings apply to battery ( -b ), charger (wall power) ( -c ), UPS ( -u ) or all ( -a ). To reverse the command, set the 0 to a 1. These settings are persistent, in that, they do not need to be re-applied every time the machine's power is cycled and are saved to the file: /Library/Preferences/SystemConfiguration/com.apple.PowerManagement.plist A: You could also use a ThirdParty App like https://github.com/Eun/DisableMonitor/ Edit: DisableMonitor adds the missing feature to disable a monitor on a Mac. You can also easily disable, enable or change the resolution of a monitor. A: Do as described here: How can I turn off the screen on the macbook when I have an external monitor set up? Then open the laptop. In Snow Leopard this will do what you are asking for. The behaviour may have changed under Lion though. Which OS version are you using? A: My suggestion is to set the displays to 'mirror' then turn the brightness down on your Mac. Both your screens are the same so you won't lose any windows. A: When I had my MacBook Pro connected to an external TV, I used the magnet trick. Placing a small weak magnet (I used one the size of a coin battery) near the bottom of the right speaker would make contact with the Reed Switch, tricking the MBP into sleep mode, with the lid open, while using the external display only. While this worked fine for the time I had the external TV and I never read any reports about this technique damaging anything (there ARE magnets inside the MBPs), I would try a software based solution, first. Some references: iBook and PowerBook Clamshell Sleep Control Location of magnet and Reed Switch for various Mac laptop models and instructions on how to use both a magnet to force sleep with the lid open or a thin piece of iron alloy to prevent sleep with the lid closed. Reed Switches Location of magnet and Reed Switch for the MacBook Pro 15" with pictures. A: I write a simple App Close Inner Screen It can be easy use A: Update for MacBook Pro 2018 running macOS 10.14.5 I found a solution that works quite well for me * *Set external display as primary display (by dragging the menu bar in the Displays setting in System preferences) *Check the box to Mirror Displays *Turn down the brightness all the way on the clamshell display This doesn't quite disable the clamshell display, but it won't actively consume any applications, and setting the brightness to 0 provides an energy efficient way to ignore the mirrored display. A: Lunar can turn off the MacBook display without having to close the lid of the MacBook. This allows the MacBook to cool down faster and allows you to keep using TouchID, webcam and the very nice speakers of the MacBook, while being able to focus on the external monitor. The feature is called Blackout, here are some more details: lunar.fyi/#blackout How it works: * *Sets the native brightness of the MacBook display to 0 *Sets the Gamma tables of the MacBook display to a list of zeroes *Mirrors the external monitor to the MacBook display so that: * *The monitor keeps its native resolution *Apps/windows don't get trapped on a non-visible display To activate, just press Control+Command+6 and Lunar will toggle Blackout and do all of the above steps for you. Disclaimer: I'm the developer of Lunar and BlackOut is a paid feature with a free 14-day trial A: You can also make the external display the primary one. By default all new windows will appear on that one. To do this, go to system preferences > Display > geometry, and drag the miniature menu bar to the miniature external display. A: for mac users trying to use hdmi to tv and having troubles turning off your screen on laptop and leaving screen on tv on, TURN THE BRIGHTNESS RIGHT OFF!!!! the laptop screen will go black but tv screen stays the same A: Simply closing mac's display when an external monitor is still on worked for me. My setup: * *MacBook Pro Sierra 10.12.6 *External monitor connected through HDMI & monitor USB cable *External mouse and keyboard connected to the monitor
apple
{ "language": "en", "length": 2598, "provenance": "stackexchange_00000.jsonl.gz:6339", "question_score": "79", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/21729" }
8c6f1fd338f1d7e23aab4437ea2310e00594426b
Apple Stackexchange Q: How do you convert video within 10.7 without any 3rd party software Is it possible to convert video resolution within 10.7 without the use of Handbrake.app or other 3rd party software? I'm not allowed to install any apps on this machine so hence not being able to download Handbrake.app A: Yes it's possible, just right click on the video file within finder and choose the encode selected video files.
Q: How do you convert video within 10.7 without any 3rd party software Is it possible to convert video resolution within 10.7 without the use of Handbrake.app or other 3rd party software? I'm not allowed to install any apps on this machine so hence not being able to download Handbrake.app A: Yes it's possible, just right click on the video file within finder and choose the encode selected video files.
apple
{ "language": "en", "length": 70, "provenance": "stackexchange_00000.jsonl.gz:6340", "question_score": "6", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/21737" }
fefcbd71ca24f81b84d2dc5d82345ee4b1e2e038
Apple Stackexchange Q: Download an entire Facebook album for offline browsing? I would like to download albums off of Facebook onto my iPhone. I tried the app called "Fb Photos download," but it seems that it downloads only by a group of 12 photos. Is there an iOS app that downloads all the photos in an album with one click? A: One click, batch photo downloads to iOS... try PhotoSync.
Q: Download an entire Facebook album for offline browsing? I would like to download albums off of Facebook onto my iPhone. I tried the app called "Fb Photos download," but it seems that it downloads only by a group of 12 photos. Is there an iOS app that downloads all the photos in an album with one click? A: One click, batch photo downloads to iOS... try PhotoSync. A: I would go for one of the browser extensions that provide this functionality, because a lot of these downloaders are made for windows or are for older versions of facebook. Some examples: * *https://addons.mozilla.org/en-US/firefox/addon/fluschipranie/ *https://addons.mozilla.org/en-US/firefox/addon/facepaste/ There are equivalent plugins for chrome as well, just search on the extension sites for facebook album downloader. Happy hunting! A: Depending on who owns the album, you may find just using iPhoto does all you need. If it's your own album, you can set them to sync within iPhoto '09 and '11. This also makes a handy uploading tool. A: You Can Use http://www.picknzip.com/ To Save Picture From Facebook A: this message is old but for any that has the same question, you can try this app from appstore fpic2sd. type in the search bar "sandra mouchi" it is for iphone only but can works on an ipad. ask if you have questions. thanks
apple
{ "language": "en", "length": 219, "provenance": "stackexchange_00000.jsonl.gz:6341", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/21740" }
79b0d6d65b0fe06719df79f26637789e512eafca
Apple Stackexchange Q: Installing Homebrew on Lion I am trying to install Homebrew on Lion but keep getting an error. $ /usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)" I run the above code, which results in: ==> This script will install: /usr/local/bin/brew /usr/local/Library/Formula/... /usr/local/Library/Homebrew/... Press enter to continue ==> /usr/bin/sudo /bin/chmod o+w /usr/local ==> Downloading and Installing Homebrew... bin/brew: Can't create 'bin/brew' tar: Error exit delayed from previous errors. Failed during: /bin/bash -o pipefail -c '/usr/bin/curl -sSfL https://github.com/mxcl/homebrew/tarball/master | /usr/bin/tar xz -m --strip 1' ==> /usr/bin/sudo /bin/chmod o-w /usr/local I have seen a couple of 'answers' to this problem which basically suggest running the initial command as root. This fails with the following error: $ sudo /usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)" Don't run this as root! Any suggestions would be appreciated! A: As per this question I ran the following command: sudo chown -R `whoami` /usr/local And then re-ran the homebrew command: $ /usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)" ==> This script will install: /usr/local/bin/brew /usr/local/Library/Formula/... /usr/local/Library/Homebrew/... Press enter to continue ==> /usr/bin/sudo /bin/chmod o+w /usr/local ==> Downloading and Installing Homebrew... ==> /usr/bin/sudo /bin/chmod o-w /usr/local ==> Installation successful! Now type: brew help I hope this helps someone in future!
Q: Installing Homebrew on Lion I am trying to install Homebrew on Lion but keep getting an error. $ /usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)" I run the above code, which results in: ==> This script will install: /usr/local/bin/brew /usr/local/Library/Formula/... /usr/local/Library/Homebrew/... Press enter to continue ==> /usr/bin/sudo /bin/chmod o+w /usr/local ==> Downloading and Installing Homebrew... bin/brew: Can't create 'bin/brew' tar: Error exit delayed from previous errors. Failed during: /bin/bash -o pipefail -c '/usr/bin/curl -sSfL https://github.com/mxcl/homebrew/tarball/master | /usr/bin/tar xz -m --strip 1' ==> /usr/bin/sudo /bin/chmod o-w /usr/local I have seen a couple of 'answers' to this problem which basically suggest running the initial command as root. This fails with the following error: $ sudo /usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)" Don't run this as root! Any suggestions would be appreciated! A: As per this question I ran the following command: sudo chown -R `whoami` /usr/local And then re-ran the homebrew command: $ /usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)" ==> This script will install: /usr/local/bin/brew /usr/local/Library/Formula/... /usr/local/Library/Homebrew/... Press enter to continue ==> /usr/bin/sudo /bin/chmod o+w /usr/local ==> Downloading and Installing Homebrew... ==> /usr/bin/sudo /bin/chmod o-w /usr/local ==> Installation successful! Now type: brew help I hope this helps someone in future! A: Wow - there's not much that can go wrong with this - is your user an admin user on the mac? (the id command should show 80(admin) for your user when in the terminal) That's about the only thing I can see that would prevent the script from calling sudo. You should see it asking you for a prompt here:
apple
{ "language": "en", "length": 256, "provenance": "stackexchange_00000.jsonl.gz:6343", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/21754" }
950b137f113afa9725acb5296164804fcf09f501
Apple Stackexchange Q: How to remove apps from the "Purchased" list in the Mac OSX App Store? I've installed a bunch of apps from the App Store, some free, some paid. Many of them are garbage, were uninstalled, and I don't intend to ever install them again. How can I remove (or hide) them from the "Purchased" list? A: I am running Lion (10.7.2), and there is an x just to the left of the Install / Installed button when you hover over the item in the purchased list. Click it for each App you do not want listed. I don't believe this uninstalls the App, merely removes it from the list. I did this to a program I actually wanted in the list, I don't recall even being asked for confirmation. Now as far as getting a purchased App back onto your purchased list, that is another issue, and another question.
Q: How to remove apps from the "Purchased" list in the Mac OSX App Store? I've installed a bunch of apps from the App Store, some free, some paid. Many of them are garbage, were uninstalled, and I don't intend to ever install them again. How can I remove (or hide) them from the "Purchased" list? A: I am running Lion (10.7.2), and there is an x just to the left of the Install / Installed button when you hover over the item in the purchased list. Click it for each App you do not want listed. I don't believe this uninstalls the App, merely removes it from the list. I did this to a program I actually wanted in the list, I don't recall even being asked for confirmation. Now as far as getting a purchased App back onto your purchased list, that is another issue, and another question. A: Right now, there is no way to remove purchased apps. It's very annoying, hopefully will be possible in the future. A: You may hide purchases in OS X by hovering over an item within the Purchased tab...hold Ctrl+right-click, then select "Hide Purchase".
apple
{ "language": "en", "length": 193, "provenance": "stackexchange_00000.jsonl.gz:6344", "question_score": "9", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/21756" }
575a3a96e9a7d2615f0cab5f814277f1922c91b3
Apple Stackexchange Q: Reinstalling XCode I just upgraded to Lion, and was having problems with my old XCode installation, so I just removed it completely by running sudo /Developer/Library/uninstall-devtools sudo rm -rf /Developer Now having removed the developer tools, I would like to reinstall them. But as soon as I go to the App Store, XCode is still marked as installed. How can I make the App Store realize that XCode has been uninstalled? A: This does not answer the question above, but I thought I would keep it here in case somebody who've got here by a search, would find it helpful. This advice deals with command line tools problems and not the XCode application. To reinstall xcode command line tools on macOS, simply run the following commands in your terminal: sudo rm -rf $(xcode-select -print-path) xcode-select --install Unfortunately, it happens quite often when other command line tools are unable to find xcode or CLT, reinstalling it as shown above, helps.
Q: Reinstalling XCode I just upgraded to Lion, and was having problems with my old XCode installation, so I just removed it completely by running sudo /Developer/Library/uninstall-devtools sudo rm -rf /Developer Now having removed the developer tools, I would like to reinstall them. But as soon as I go to the App Store, XCode is still marked as installed. How can I make the App Store realize that XCode has been uninstalled? A: This does not answer the question above, but I thought I would keep it here in case somebody who've got here by a search, would find it helpful. This advice deals with command line tools problems and not the XCode application. To reinstall xcode command line tools on macOS, simply run the following commands in your terminal: sudo rm -rf $(xcode-select -print-path) xcode-select --install Unfortunately, it happens quite often when other command line tools are unable to find xcode or CLT, reinstalling it as shown above, helps. A: try this in terminal: xcode-select --install it brings up and downloads developer tools for you A: The App Store actually recognizes the Install Xcode.app file in the Applications folder. So, in order to reinstall, just run Install Xcode again from the Applications folder. But, if you wish to redownload from the App Store, just delete the application from the Applications folder, empty your trash, and relaunch the App Store if it's open.
apple
{ "language": "en", "length": 233, "provenance": "stackexchange_00000.jsonl.gz:6354", "question_score": "15", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/21802" }
4878bc0d008fd39972ba20c3e45848391735c52a
Apple Stackexchange Q: Why does Spotlight keep reindexing my system after updating to Lion? Since I installed Lion, the Spotlight database keeps reindexing (which is taking several hours). It does this at least every second day. Are any other users experiencing this problem with Lion (i.e. is it just a 10.7.0 bug)? If not, how can I diagnose what is causing it - I see no suspicious entries in Console? Just being able to reset the spotlight history and have it rebuild would be nice to know. A: New theory: my system drive keeps running low on space — sometimes down to only a few hundred MB free. When the OS detects this situation, it deletes the Spotlight indices. When I free up space again, it has to rebuild the indices.
Q: Why does Spotlight keep reindexing my system after updating to Lion? Since I installed Lion, the Spotlight database keeps reindexing (which is taking several hours). It does this at least every second day. Are any other users experiencing this problem with Lion (i.e. is it just a 10.7.0 bug)? If not, how can I diagnose what is causing it - I see no suspicious entries in Console? Just being able to reset the spotlight history and have it rebuild would be nice to know. A: New theory: my system drive keeps running low on space — sometimes down to only a few hundred MB free. When the OS detects this situation, it deletes the Spotlight indices. When I free up space again, it has to rebuild the indices. A: @koiyu, @TJ Luoma - It was a combination of both of your answers that got my Late 2010 MacBook Air (SSD) from overheating and crashing nightly. I combined your answers in a script that I called mdutil_rebuild.sh. Save it as 'whatever_name_you_like.sh' and run it from the terminal with sh whatever_name_you_like.sh. Fyi - for me it takes about 7 hours to rebuild my ~130GB index on my machine. Might be worth doing it overnight if you're going to need all your processor for anything. #!/bin/sh # Force rebuild the spotlight index from scratch. # Compiled on 12-14-2012 in response to runaway # reindexing processes from answers by @koiyu # and @TJ Luoma. # # Ask Different Question: http://bit.ly/SYTE1j # Turn off spotlight. sudo mdutil -a -i off # Remove the index files. sudo rm -rfv /.Spotlight-V100 # Turn on spotlight. sudo mdutil -a -i on # Reindex all mounted /Volumes sudo mdutil -aE A: I, too, had the reindexing problem happening after I upgraded to Lion. However the problem didn't exist for every user, just for the one that was using FileVault 1. After a few weeks I got overfrustrated and ran… † $ sudo mdutil -a -i off … in Terminal — and the same minute I realised that the setting was applied system–wide. I shrugged and enjoyed a few hours worth of reindexing–free session after which I decided to turn Spotlight back on, as it is crucial to my workflow on other user accounts; so: $ sudo mdutil -a -i on And while I was at it, I decided to erase the old index and rebuild new from scratch with: $ sudo mdutil -aE I did this about a month ago and I haven't encountered "useless" reindexing since. I'm happily surprised because fixing the issue was merely a coincidence. So, have you tried turning it off and on again? †) the -a flag will apply the action to all volumes which might not be something you want — and actually wasn't what I wanted either, but I just wanted to go blitzkrieg on the issue. A: I figured this out. One of the spotlight plugins was causing errors, which closer scrutiny of the Console log revealed. I found out which app was causing the problem by looking in /Library/Logs/DiagnosticReports There I found several crash reports from mdworker (the backend to Spotlight). All crashes were caused by the same app plugin. I have now deleted that plugin from my system. A: Two things I discovered while investigating this same issue: 32-bit Spotlight Importers These seem to be one of the reasons mds and mdworker (the system processes behind Spotlight) were tripping up and failing to complete the index. (And might explain the mysterious "Unable to talk to lsboxd" messages.) Since mds and mdworker are 64-bit processes, it probably couldn't work with the older 32-bit Spotlight Importers (I found three on my system). To find out if you have any, use Terminal.app and enter this command: mdimport -L That'll give you a list of paths where you can find each of the Spotlight Importers (some are embedded in third-party applications). Use the Finder "Go to Folder..." command to open the enclosing folder of each Spotlight Importer. In the Finder, "Get Info" on each to see if it says "(32-bit)". I moved these to the trash and tried the process suggested above and it seemed to work better. Rebuild Mail.app mailboxes This was what finally got Spotlight to index email that hadn't been included in previous attempts, even following the processes suggested above and elsewhere. Only after Mail.app rebuild the mailboxes did Spotlight begin to return search results from those locations. A: Try going to disk utilities, select the hard disk and repair permissions. This worked for me a for a related spotlight problem. A: Two very simple things to try right off the bat - that often alleviate this kind of Spotlight shenanigans for me..  1: First, if you've got root access... sudo killall mds from the terminal.. Which kills the "mds" process.. (meta data searcher??) that'll get you out of whatever kerfluffle X, Y, Or Z plugin, file, or whatnot that made spotlight croak in the first place.. Force quit now, troubleshoot later... That's what my father always said. Just kidding, I'm an orphan.. Or  2: For a more more pedestrian solution.. Open up spotlight prefs and a: remove any non-indexed "private" items... And b: if you wanna reset the volume index.. I believe you can do so by actually adding your boot drive to that list, closing and re-opening the system prefs and then remove your aforementioned "Macintosh HD" from the privacy list it... This will reindex the drive.. Hopefully with less kvetching, this time. Oy! 
apple
{ "language": "en", "length": 920, "provenance": "stackexchange_00000.jsonl.gz:6358", "question_score": "15", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/21817" }
9e7efa58d810cb27a4e3111e88864bc6c2463ee8
Apple Stackexchange Q: How to hear/view files with extensions .VOB, .IFO, and .BUP on a Mac A friend of mine just got a new MacBook and is trying to look at some files she had from her old Wintel boxen with .VOB, .IFO, and .BUP file extensions. What Mac conversion or viewing utility or app should be used? A: I'm fairly sure these are files from a DVD movie disc. Open the default DVD player app, choice, File > Open DVD Media and select the folder in which the files are located (not the file itself, the app will combine them all and if all goes well, play the movie).
Q: How to hear/view files with extensions .VOB, .IFO, and .BUP on a Mac A friend of mine just got a new MacBook and is trying to look at some files she had from her old Wintel boxen with .VOB, .IFO, and .BUP file extensions. What Mac conversion or viewing utility or app should be used? A: I'm fairly sure these are files from a DVD movie disc. Open the default DVD player app, choice, File > Open DVD Media and select the folder in which the files are located (not the file itself, the app will combine them all and if all goes well, play the movie). A: As seen on this forum, both VLC media player and Apple's own DVD Player should do the job. In VLC, just click "Open Disc" instead of "File" while in VLC (DVD Player: File -> Open media -> VIDEO_TS folder), and select the Video_TS folder. You can see all of the features of VLC as well as all file extensions supported by it on the VLC Home Page. A: Insert the DVD and open Macintosh HD and Applications and DVDplayer.app, the dvd will start playing.
apple
{ "language": "en", "length": 193, "provenance": "stackexchange_00000.jsonl.gz:6365", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/21837" }
8d59d2819114ec596460a06b7d81168ed1223414
Apple Stackexchange Q: Disable resume for all apps I would like to disable resume for all applications by default (including newly install applications). I know the following command will disable resume for a specific application (Safari in this case) defaults write com.apple.Safari NSQuitAlwaysKeepsWindows -bool false but I was wondering if there's a way to disable it permanently. A: Uncheck Restore windows when quitting and re-opening apps under System Preferences -> General. In Mountain Lion, this option has been changed to read, Close windows when quitting an application with fine print to explain that open documents will not be restored.
Q: Disable resume for all apps I would like to disable resume for all applications by default (including newly install applications). I know the following command will disable resume for a specific application (Safari in this case) defaults write com.apple.Safari NSQuitAlwaysKeepsWindows -bool false but I was wondering if there's a way to disable it permanently. A: Uncheck Restore windows when quitting and re-opening apps under System Preferences -> General. In Mountain Lion, this option has been changed to read, Close windows when quitting an application with fine print to explain that open documents will not be restored. A: To disable resume for all applications permanently, in the Finder, press Shift-Command-G to "Go to the folder" ~/Library/Saved Application State/, then press Command-I to Get file info, and check the "locked" box to lock the folder. This will keep any newly installed applications from resuming. A: Or use the Resuminator app: http://www.tuaw.com/2011/07/26/dear-aunt-tuaw-help-me-fine-tune-session-window-restores/ Allows both fine tuning or global toggle of Resume.
apple
{ "language": "en", "length": 159, "provenance": "stackexchange_00000.jsonl.gz:6366", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/21839" }