id
stringlengths
40
40
text
stringlengths
29
2.03k
original_text
stringlengths
3
154k
subdomain
stringclasses
20 values
metadata
dict
c57dd9fbdc7d26c132b0438d05992f695203c1e0
Apple Stackexchange Q: How do I run Gimp on Mountain Lion? I recently upgraded to Mountain Lion and tried to open GIMP. To my dismay my computer asked me where X11 was. How do I find X11 and run GIMP? A: Apple decided not to include X11 in Mountain Lion: Apple Support Article But there is now a native version of GIMP for mountain lion which requires no X11: Gimp Downloads However, if you need to run the old version of GIMP you can download xquartz as mentioned in the apple support document linked above. When you try to run GIMP again, you can find Xquartz in /Applications/Utilities/XQuartz.app Enjoy GIMP!
Q: How do I run Gimp on Mountain Lion? I recently upgraded to Mountain Lion and tried to open GIMP. To my dismay my computer asked me where X11 was. How do I find X11 and run GIMP? A: Apple decided not to include X11 in Mountain Lion: Apple Support Article But there is now a native version of GIMP for mountain lion which requires no X11: Gimp Downloads However, if you need to run the old version of GIMP you can download xquartz as mentioned in the apple support document linked above. When you try to run GIMP again, you can find Xquartz in /Applications/Utilities/XQuartz.app Enjoy GIMP! A: The X11 Gimp is actually quite misbehaved on OS X, to the point of being almost totally unusable. But despair not; there is a native Gimp version that doesn't require X11. You can find it on the Gimp download page. A: Here http://gimp.lisanet.de/Website/Download.html you can download a native GIMP 2.8.2 and also the docs. No X11 is required.
apple
{ "language": "en", "length": 167, "provenance": "stackexchange_00000.jsonl.gz:22479", "question_score": "5", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/79348" }
735c56e87b0815e2a56174add0dc53b816dca7af
Apple Stackexchange Q: Audio balance changes randomly in MacBook Pro Retina 15-inch' mid-2012 I'm having some strange issues on my MBP Retina running OS X 10.8.2. The audio balance changes, and the right speaker is almost muted. Anyone know what could be wrong here? A: There is an open source MacOS app that attempts to work around this acknowledged bug. The app watches for balance changes and centres immediately. Disclaimer: I made the application.
Q: Audio balance changes randomly in MacBook Pro Retina 15-inch' mid-2012 I'm having some strange issues on my MBP Retina running OS X 10.8.2. The audio balance changes, and the right speaker is almost muted. Anyone know what could be wrong here? A: There is an open source MacOS app that attempts to work around this acknowledged bug. The app watches for balance changes and centres immediately. Disclaimer: I made the application. A: I've had this problem on multiple MacBooks (from my old Powerbook 15 from 2003 to prior to finding this question on my late 2011 MBP 13"). Apple has acknowledged it as a bug when pressing the volume buttons during heavy CPU usage way back in OS 10.2! The solution was to go back to preferences and set it back where you wanted. A: I have this exact same issue. mid-'12 rMBP 15'' 256/2.6/16GB. OS X 10.8.2 First noticed the sound issue with my ear monitors (Shure headphones) plugged into the computer: the sound in my R earbud was like 80% diminished. But the earbuds worked fine on my iPhone 5, perfect output in each side. Last night, while watching a Netflix movie (occasionally plugging in my earphones into the rMBP), the laptop's R speaker suddenly lost all output. I freaked out, obviously, but quickly discovered that the balance bar had been shifted 90% to the L. Funny how that just changed itself mid-movie watching. Also, after I fixed the slider bar and the laptop's speakers started functioning as normal, when I plugged my earbuds back in, I had to go BACK into Audio preferences again to change the balance bar. Strangely enough, it was shifted L again, but more like 50%, not as extreme as it was for the laptop's speakers themselves. Absolutely a software bug. A: This (or something else that has the same effect) is still happening on 10.15.7 (19H2), nearly 8 years later. I've installed Balance Lock to circumvent the issue.
apple
{ "language": "en", "length": 327, "provenance": "stackexchange_00000.jsonl.gz:22488", "question_score": "50", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/79384" }
e0896a0954dfc2c3ab6645e0b3005c9d74c60dc8
Apple Stackexchange Q: Locate empty folders within a folder I want to find all folders within a given folder that contain no files (but folders are ok). This needs to be recursive - it looks in all child folders. I can find folders that are completely empty using the Number if Items search criteria set to less than 1. However, this does not return folders that have other folders inside them. I am basically trying to delete folders that had files in that I have deleted the contents from using a previous search. A: Here is a terminal command find . -type d -empty And if you want to delete these files : find . -type d -empty -delete
Q: Locate empty folders within a folder I want to find all folders within a given folder that contain no files (but folders are ok). This needs to be recursive - it looks in all child folders. I can find folders that are completely empty using the Number if Items search criteria set to less than 1. However, this does not return folders that have other folders inside them. I am basically trying to delete folders that had files in that I have deleted the contents from using a previous search. A: Here is a terminal command find . -type d -empty And if you want to delete these files : find . -type d -empty -delete
apple
{ "language": "en", "length": 117, "provenance": "stackexchange_00000.jsonl.gz:22491", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/79391" }
7316e8f4d77b35c7af68dab5ec8395b6c1ffc175
Apple Stackexchange Q: What is Format Painter shortcut in Excel 2011 for Mac? I've been looking on the Internet for the shortcut to the Format Painter tool. No luck so far, it seems there's no shortcut for this tool. Maybe someone here knows better. A: There is (now) a predefined shortcut for this * *To copy the format: CMD+SHFT+C *To paste the copied format: CMD+SHFT+V
Q: What is Format Painter shortcut in Excel 2011 for Mac? I've been looking on the Internet for the shortcut to the Format Painter tool. No luck so far, it seems there's no shortcut for this tool. Maybe someone here knows better. A: There is (now) a predefined shortcut for this * *To copy the format: CMD+SHFT+C *To paste the copied format: CMD+SHFT+V A: There is no official keyboard shortcut for that. But you can customize a shortcut. Here's how: http://thelostgeeks.blogspot.com/2012/10/keyboard-shortcut-to-copypaste.html Go to Tools-> Customize Keyboard. Select "Edit" from categories. On the right hand side select "Formatting". Go to "Press new shortcut key" and type in a new shortcut. I used Command + Shift + v. And , click on "Add" . Close the window. All set. Now i can just use the normal copy ( Command + c) the cells from which i want to copy the formatting. Then go the cell where i want to paste the format and hit the keyboard shortcut (Command + Shift + v). BAM ! the format is copied. A: This article here gave a detail guide on how to solve this quickly. http://thelostgeeks.blogspot.com/2012/10/keyboard-shortcut-to-copypaste.html A: Within Microsoft Office, one can use: * *Cmd + Opt + c to copy format *Cmd + Opt + v to paste format
apple
{ "language": "en", "length": 215, "provenance": "stackexchange_00000.jsonl.gz:22497", "question_score": "9", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/79415" }
1dc0f3759b72bd3d3bd5ff876c24fb12f58611c9
Apple Stackexchange Q: How can I put heavy load on my CPU for a long period of time? How can I put my CPU under very high pressure for a long period of time? Are there programs for that that I can keep running ? A: At the command line, run this command: cat < /dev/urandom > /dev/null (Open up a terminal window and type that into the window.) This should keep your CPU loaded nicely for as long as you allow the command to run.
Q: How can I put heavy load on my CPU for a long period of time? How can I put my CPU under very high pressure for a long period of time? Are there programs for that that I can keep running ? A: At the command line, run this command: cat < /dev/urandom > /dev/null (Open up a terminal window and type that into the window.) This should keep your CPU loaded nicely for as long as you allow the command to run. A: Look at some distributed computing like Boinc. This runs compute intensive programs where tasks are taken and run across many machines thus allowing projects access to free computing power. In your case as the programs take up much compute power they will use the CPU heavily. Boinc runs multiple processes on your computer so will se all cores of your CPU. A: Do the following once for each CPU core in your Mac, open Terminal.app and enter the command: yes The yes command will print the letter y to standard output in an infinite loop. A: Just create a small program that loops infinitely, something like: #include <stdio.h> int main() { int i=0; for(;;) { i++; i--; } } A: Several database systems are multicore optimized. You could install something like mysql and setup a basic data set, then run some of the benchmarking tools against it. If tuned correctly, many DB systems are most efficient at high CPU load (because if it was not, you would be wasting resources). Or, you could just wash a flash video in Safari.
apple
{ "language": "en", "length": 265, "provenance": "stackexchange_00000.jsonl.gz:22498", "question_score": "5", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/79418" }
49e6c7b6828d95a6e72c66ee0499870f366b6c3c
Apple Stackexchange Q: Can I use Thunderbolt to mini display port? I have a 2011 27" IMac running OS X 10.6.8 with a mini display port and would like to purchase a 13.3" MacBook pro with Thunderbolt and use the IMac as an external display. Can I do this with a mini display port cable and will the two screens mirror or will I be able to view separate windows on each monitor like mail on the MACBook and a browser on the IMAC? Also, I will run Windows 7 in Parallels or with boot camp on the MacBook and wonder if that will still allow me to use the IMac as an external monitor? A: Actually yes, you can use your 27" iMac as a external display for you MacBook. It will only work if you are going from thunderbolt to Mini-Displayport though. Refer to this article for questions. http://reviews.cnet.com/8301-13727_7-20043524-263.html
Q: Can I use Thunderbolt to mini display port? I have a 2011 27" IMac running OS X 10.6.8 with a mini display port and would like to purchase a 13.3" MacBook pro with Thunderbolt and use the IMac as an external display. Can I do this with a mini display port cable and will the two screens mirror or will I be able to view separate windows on each monitor like mail on the MACBook and a browser on the IMAC? Also, I will run Windows 7 in Parallels or with boot camp on the MacBook and wonder if that will still allow me to use the IMac as an external monitor? A: Actually yes, you can use your 27" iMac as a external display for you MacBook. It will only work if you are going from thunderbolt to Mini-Displayport though. Refer to this article for questions. http://reviews.cnet.com/8301-13727_7-20043524-263.html
apple
{ "language": "en", "length": 149, "provenance": "stackexchange_00000.jsonl.gz:22499", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/79425" }
bacd2953325f4ac858ddaec8df53ff8740e8d7c9
Apple Stackexchange Q: Calendar set timezone automatically I travel a lot and change timezones quite often. Is there a way to let Calendar detect and change timezone automatically so I can work with Calendar in the same timezone I'm currently in? A: I don't think Calendar will automatically change the time zone. In fact, it probably shouldn't, otherwise it could be confusing if the user didn't notice it has changed. However there are two things you can easily do: * *Enable Set time zone automatically using current location in System Preferences > Date & Time > Time Zone. This will ensure that the machine time zone is always correct. *Then, in the Calendar, select the time zone in the top right corner. In this dropdown, there should normally be all the time zones associated with the calendar events, as well as the current time zone. Select the current one, and that should do it. Since this setting is saved, you only need to do it once every time you change the time zone.
Q: Calendar set timezone automatically I travel a lot and change timezones quite often. Is there a way to let Calendar detect and change timezone automatically so I can work with Calendar in the same timezone I'm currently in? A: I don't think Calendar will automatically change the time zone. In fact, it probably shouldn't, otherwise it could be confusing if the user didn't notice it has changed. However there are two things you can easily do: * *Enable Set time zone automatically using current location in System Preferences > Date & Time > Time Zone. This will ensure that the machine time zone is always correct. *Then, in the Calendar, select the time zone in the top right corner. In this dropdown, there should normally be all the time zones associated with the calendar events, as well as the current time zone. Select the current one, and that should do it. Since this setting is saved, you only need to do it once every time you change the time zone. A: Automatically - don't think so. The least you can do, however, is enable Time-zone support in Calendar. To do so go to Calendar > Preferences and check Turn on time zone support. Next, you can switch between time zones from the top-right corner of the Calendar application.
apple
{ "language": "en", "length": 219, "provenance": "stackexchange_00000.jsonl.gz:22506", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/79451" }
f298bea2e5ff48b8e26c323fa78afa875d5450a7
Apple Stackexchange Q: How to increase graphics memory in Mac OS running as a client in VMware? I have installed Mac OS in VMware today and its default settings are as follow: How can i configure the virtual workstation to increase the graphics memory to 512MB from the present value of 128MB? A: VMware's knowledge base article, Setting Custom Video Memory Size in Fusion, shows the setting to change: Setting Custom Video Memory Size in Fusion There is no way to choose a different video memory size through the user interface. It must be done by editing the virtual machine settings (.vmx) file. For more information, see Editing the .vmx file for your Fusion virtual machine (1014782). Add this line to the .vmx file: svga.vramSize = value_in_bytes where value_in_bytes is the desired memory size in bytes The .vmx mentioned in the article is hidden within your virtual machine's bundle. To find the file to edit, right-click (or Control-click) on your virtual machine in the Finder and select Show Package Contents.
Q: How to increase graphics memory in Mac OS running as a client in VMware? I have installed Mac OS in VMware today and its default settings are as follow: How can i configure the virtual workstation to increase the graphics memory to 512MB from the present value of 128MB? A: VMware's knowledge base article, Setting Custom Video Memory Size in Fusion, shows the setting to change: Setting Custom Video Memory Size in Fusion There is no way to choose a different video memory size through the user interface. It must be done by editing the virtual machine settings (.vmx) file. For more information, see Editing the .vmx file for your Fusion virtual machine (1014782). Add this line to the .vmx file: svga.vramSize = value_in_bytes where value_in_bytes is the desired memory size in bytes The .vmx mentioned in the article is hidden within your virtual machine's bundle. To find the file to edit, right-click (or Control-click) on your virtual machine in the Finder and select Show Package Contents. A: If you have installed OS X on VMWare workstation for Windows, you need VMsvga2. Install that .pkg file inside OS X and you'll see a noticeable change in the animations. You'll also find updated versions of VMsvga2 for Mavericks inside Files section. You are required to install all required patches & updates for everything to work. A: Be sure to take a snapshot before you install SVGA2. On my MacVM the SVGA2 driver kills a couple programs like iPhoto and Safari. Now I can't find a way to remove it. Dummy me for not taking a snapshot because I was in a hurry.
apple
{ "language": "en", "length": 272, "provenance": "stackexchange_00000.jsonl.gz:22507", "question_score": "8", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/79452" }
c0a396fa6f6c7beddd7fef071f9de4d7cd88e5d7
Apple Stackexchange Q: Can I enable Remote Disc on a computer that shipped with an optical drive? I replaced the optical drive in my 2009 MacBook Pro with an SSD drive. I have enabled CD & DVD Sharing on another computer (running OS X 10.7.5) on my local network and inserted a data CD, but Remote Disc doesn't show up in the Finder sidebar on the MacBook Pro (running OS X 10.8.2). I'm assuming this is because the machine originally shipped with an optical drive. Can I enable Remote Disc on the MBP? A: I've had to do this on an iMac with a failed optical drive before. From http://www.mactricksandtips.com/2009/09/enable-remote-disc-drive-sharing-on-any-mac.html: defaults write com.apple.NetworkBrowser EnableODiskBrowsing -bool true defaults write com.apple.NetworkBrowser ODSSupported -bool true ... then reboot, and hopefully the option will then show up in Finder > Preferences > Sidebar.
Q: Can I enable Remote Disc on a computer that shipped with an optical drive? I replaced the optical drive in my 2009 MacBook Pro with an SSD drive. I have enabled CD & DVD Sharing on another computer (running OS X 10.7.5) on my local network and inserted a data CD, but Remote Disc doesn't show up in the Finder sidebar on the MacBook Pro (running OS X 10.8.2). I'm assuming this is because the machine originally shipped with an optical drive. Can I enable Remote Disc on the MBP? A: I've had to do this on an iMac with a failed optical drive before. From http://www.mactricksandtips.com/2009/09/enable-remote-disc-drive-sharing-on-any-mac.html: defaults write com.apple.NetworkBrowser EnableODiskBrowsing -bool true defaults write com.apple.NetworkBrowser ODSSupported -bool true ... then reboot, and hopefully the option will then show up in Finder > Preferences > Sidebar.
apple
{ "language": "en", "length": 137, "provenance": "stackexchange_00000.jsonl.gz:22519", "question_score": "8", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/79481" }
f5d2f9df1236c4973f894e2fab3d5df3eda34655
Apple Stackexchange Q: Is it possible to remove Emergency call feature on the lock screen? Is it possible to remove this feature? It's really annoying when you miss-click on it. Since my iPhone lags a lot this happens too often. * *iOS version: 4.2.1 *iPhone: 3G A: Unfortunately there is no way to do this in native iOS (without a jailbreak). The emergency call option is available with both the simple and complex passcode. I assume the goal is that it would allow anyone to make an emergency call even if they don't know or forgot the passcode, and as a result could be an important safety feature. The only way to disable it is to turn off the passcode - something with obvious undesirable effects.
Q: Is it possible to remove Emergency call feature on the lock screen? Is it possible to remove this feature? It's really annoying when you miss-click on it. Since my iPhone lags a lot this happens too often. * *iOS version: 4.2.1 *iPhone: 3G A: Unfortunately there is no way to do this in native iOS (without a jailbreak). The emergency call option is available with both the simple and complex passcode. I assume the goal is that it would allow anyone to make an emergency call even if they don't know or forgot the passcode, and as a result could be an important safety feature. The only way to disable it is to turn off the passcode - something with obvious undesirable effects.
apple
{ "language": "en", "length": 124, "provenance": "stackexchange_00000.jsonl.gz:22543", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/79554" }
b35cd449f6f220b375fb4eb243ab6314cf1ad250
Apple Stackexchange Q: Move file from HDD to SSD I've recently added an SSD drive to my Macbook, and I'm using my HDD to store my files. Sometimes I want to move a file from my HDD to my SSD though. Whenever I try to drag it, Finder only allows me to copy rather than move. I've set the permission of both the sending and the receiving folders to Read and Write for my user, but that did not help. When I try to mv using the Terminal it does work without superuser powers. A: If the source and the destination of the file is on two different volumes, OS X's default is to copy the file rather than move it. In reality, what you want to do to the file is to copy it to the new location and then delete it from the old, whereas if you move a file to the same volume it's originally on, it will just change the recorded location of the file. You can achieve "move" (copy-and-delete) functionality in Finder by holding Command when you drag the file.
Q: Move file from HDD to SSD I've recently added an SSD drive to my Macbook, and I'm using my HDD to store my files. Sometimes I want to move a file from my HDD to my SSD though. Whenever I try to drag it, Finder only allows me to copy rather than move. I've set the permission of both the sending and the receiving folders to Read and Write for my user, but that did not help. When I try to mv using the Terminal it does work without superuser powers. A: If the source and the destination of the file is on two different volumes, OS X's default is to copy the file rather than move it. In reality, what you want to do to the file is to copy it to the new location and then delete it from the old, whereas if you move a file to the same volume it's originally on, it will just change the recorded location of the file. You can achieve "move" (copy-and-delete) functionality in Finder by holding Command when you drag the file.
apple
{ "language": "en", "length": 183, "provenance": "stackexchange_00000.jsonl.gz:22548", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/79578" }
6dfc5cc0505aa105c746f092b5ebc82e582b8b2e
Apple Stackexchange Q: Possible to use iTunes, Airport Express, and Apple Remote together? I have: * *A large music collection in Itunes on my Mac *A nice set of speakers in another room *An iPhone I know that it's possible to control iTunes on my Mac with the Apple Remote app on my iPhone (I demonstrated that to myself tonight). And I know it's possible to send audio from the Music app on my iPhone directly to an Airport Express (which I am considering purchasing). But is it possible to control the iTunes on my Mac with the Apple Remote and send the audio to the Airport Express? If it's possible, is it easy to switch between sending the audio to the Airport Express to the Mac with only the iPhone as a control (my Mac is connected to my TV and it's a pain to use the Magic Trackpad while in bed)? A: Yes, everything you have described is possible. If you have an Airport Express or other airplay destination on your network, the remote app will allow you to select and control the output location. As seen on http://www.apple.com/apps/remote/ Enjoy!
Q: Possible to use iTunes, Airport Express, and Apple Remote together? I have: * *A large music collection in Itunes on my Mac *A nice set of speakers in another room *An iPhone I know that it's possible to control iTunes on my Mac with the Apple Remote app on my iPhone (I demonstrated that to myself tonight). And I know it's possible to send audio from the Music app on my iPhone directly to an Airport Express (which I am considering purchasing). But is it possible to control the iTunes on my Mac with the Apple Remote and send the audio to the Airport Express? If it's possible, is it easy to switch between sending the audio to the Airport Express to the Mac with only the iPhone as a control (my Mac is connected to my TV and it's a pain to use the Magic Trackpad while in bed)? A: Yes, everything you have described is possible. If you have an Airport Express or other airplay destination on your network, the remote app will allow you to select and control the output location. As seen on http://www.apple.com/apps/remote/ Enjoy!
apple
{ "language": "en", "length": 190, "provenance": "stackexchange_00000.jsonl.gz:22557", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/79606" }
a874c6962399ef6e619e398a94069c81a2f3805e
Apple Stackexchange Q: Set Keystroke for Service from Terminal I created some services to be used in Finder. Now I wanted to create some keystrokes to call these services. That would be easy in the System Settings, however, I would like to add them from the command line in order to automate this setup. I tried the following which did allow me not trigger the services by a keystroke: defaults write com.apple.Finder NSUserKeyEquivalents '{ "label-red" = "$@1"; "label-green" = "$@2"; "label-none" = "$@0"; }' Any ideas to make this work? Instead of com.apple.Finder I might have to use another identifier, but which? A: You can use PlistBuddy and defaults: /usr/libexec/PlistBuddy -c 'Delete NSServicesStatus:"(null) - test2 - runWorkflowAsService"' ~/Library/Preferences/pbs.plist 2>/dev/null;defaults write pbs NSServicesStatus -dict-add '"(null) - test2 - runWorkflowAsService"' '{key_equivalent = "^~@2";}' The PlistBuddy command is not needed if there is not an existing entry for the service. Replace test2 with the name of the service. Quit and reopen applications to apply the changes. ^~@2 is control-option-command-2. See https://web.archive.org/web/20161220060333/http://osxnotes.net/keybindings.html.
Q: Set Keystroke for Service from Terminal I created some services to be used in Finder. Now I wanted to create some keystrokes to call these services. That would be easy in the System Settings, however, I would like to add them from the command line in order to automate this setup. I tried the following which did allow me not trigger the services by a keystroke: defaults write com.apple.Finder NSUserKeyEquivalents '{ "label-red" = "$@1"; "label-green" = "$@2"; "label-none" = "$@0"; }' Any ideas to make this work? Instead of com.apple.Finder I might have to use another identifier, but which? A: You can use PlistBuddy and defaults: /usr/libexec/PlistBuddy -c 'Delete NSServicesStatus:"(null) - test2 - runWorkflowAsService"' ~/Library/Preferences/pbs.plist 2>/dev/null;defaults write pbs NSServicesStatus -dict-add '"(null) - test2 - runWorkflowAsService"' '{key_equivalent = "^~@2";}' The PlistBuddy command is not needed if there is not an existing entry for the service. Replace test2 with the name of the service. Quit and reopen applications to apply the changes. ^~@2 is control-option-command-2. See https://web.archive.org/web/20161220060333/http://osxnotes.net/keybindings.html.
apple
{ "language": "en", "length": 166, "provenance": "stackexchange_00000.jsonl.gz:22562", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/79626" }
1521a922fa78b74da4476f0d56840dbcc4fb779a
Apple Stackexchange Q: On iTunes for Mac, download all music from iTunes Match Is there any way to download all of my iTunes Match music in one go on iTunes OS X? I've tried selecting all then clicking the little iCloud Button. I've also tried generating an Automator 'Watch me do' script, but that fails because the iCloud buttons have not been given a namespace selector, meaning the script errors out. Does anyone know how this could be achieved? I have over 2,000 songs and don't want to click the button individually for each one. A: To download all your music from iCloud: * *Select all or select the tracks you want to download *Right click on the selected items *Click Download NOTE: iTunes 12.2 does not have a "Download" option. When you right-click on the selected items you will need to select "Make Available Offline" to download the items from iCloud
Q: On iTunes for Mac, download all music from iTunes Match Is there any way to download all of my iTunes Match music in one go on iTunes OS X? I've tried selecting all then clicking the little iCloud Button. I've also tried generating an Automator 'Watch me do' script, but that fails because the iCloud buttons have not been given a namespace selector, meaning the script errors out. Does anyone know how this could be achieved? I have over 2,000 songs and don't want to click the button individually for each one. A: To download all your music from iCloud: * *Select all or select the tracks you want to download *Right click on the selected items *Click Download NOTE: iTunes 12.2 does not have a "Download" option. When you right-click on the selected items you will need to select "Make Available Offline" to download the items from iCloud A: Most of the answers talk about selecting music in iTunes and then clicking "Download" on the menu. It appears that, in the newest version of iTunes (Aug. 2015), this action has been renamed "Make Available Offline". A: could not getting other suggestion to work. What did work for me was to right click on the playlist and select download. It then downloads all the tracks on the playlist. Had to do this on each playlist but i have only have around 10 playlist so didn't take much time. A: * *Go to the song menu in itunes. *goto Edit, select all. *Right click on any song whilst they are all highlighted. *Select Download A: Option 1) Hold shift to select multiple songs at once and (while holding shift) use the arrow to scroll down highlighting your library of songs; then right click and on the very top selection it will say download; click download and every highlighted song will get downloaded. Option 2) For purchased songs, go to iTunes store, then on the third box down on the right under your account, redeem etc it will say "purchased". Log into your account first, then it will show all purchased songs. In the bottom right corner it will say "download all". Click it will download history of purchased (minus CDs or internet downloads not via Apple) A: I just selected all of the songs I had yet to download and added them to a playlist on my computer, which prompted it to confirm that I wanted to download/make all of the songs available offline, which I did. :)
apple
{ "language": "en", "length": 418, "provenance": "stackexchange_00000.jsonl.gz:22574", "question_score": "6", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/79660" }
84ef5a24ba5fa29d1b26d63ecf47aea3bfc6ea67
Apple Stackexchange Q: Keep the current audio output device, when attaching a new one I have my TV connected to my iMac via HDMI and speakers hooked up to the iMac via the headphone port. Whenever I turn the TV on, the Mac starts playing audio through the TV instead of the speakers and I have to manually switch back. Is there any way to make my Mac keep playing through the headphonejack? A: I use a free app from Rogue Amoeba called SoundSource that lets you quickly pick the source for input, output and system sounds from the task bar. One of the side effects of running SoundSource is your source doesn't change when you connect something new to your Mac. You have to select the new source explicitly via SoundSource to have audio routed to or from it. The source will switch automatically if you remove a source and that source happened to be the currently selected source for any of the channels.
Q: Keep the current audio output device, when attaching a new one I have my TV connected to my iMac via HDMI and speakers hooked up to the iMac via the headphone port. Whenever I turn the TV on, the Mac starts playing audio through the TV instead of the speakers and I have to manually switch back. Is there any way to make my Mac keep playing through the headphonejack? A: I use a free app from Rogue Amoeba called SoundSource that lets you quickly pick the source for input, output and system sounds from the task bar. One of the side effects of running SoundSource is your source doesn't change when you connect something new to your Mac. You have to select the new source explicitly via SoundSource to have audio routed to or from it. The source will switch automatically if you remove a source and that source happened to be the currently selected source for any of the channels.
apple
{ "language": "en", "length": 163, "provenance": "stackexchange_00000.jsonl.gz:22579", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/79670" }
48257886a6fb25757459d932b164bc01213cb5f7
Apple Stackexchange Q: How to fix iTunes wrong song time? My mp3 in iTunes shows a time of about 20 minutes, when it really have about 5 minutes. The VLC Player and the Windows Media Player shows the correct time for the same file, what's wrong with my iTunes? A: How can I fix incorrect mp3 duration @ askubuntu had a couple of command line solutions. For me, the ffmepg solution worked (ffmepg can be installed to OS X with Homebrew, for example): ffmpeg -i file_orig.mp3 -acodec copy file_fixed.mp3
Q: How to fix iTunes wrong song time? My mp3 in iTunes shows a time of about 20 minutes, when it really have about 5 minutes. The VLC Player and the Windows Media Player shows the correct time for the same file, what's wrong with my iTunes? A: How can I fix incorrect mp3 duration @ askubuntu had a couple of command line solutions. For me, the ffmepg solution worked (ffmepg can be installed to OS X with Homebrew, for example): ffmpeg -i file_orig.mp3 -acodec copy file_fixed.mp3 A: The incorrect time is most likely due to an error introduced by the encoding software. You can repair the problem by using the Convert to AAC feature in iTunes. In iTunes 11 this feature can be found under the Create New Version → option of the File menu. A: Mr. Van Cool's fix did not work. Jaberg's suggestion worked, but I found an easier way to get to the "Convert ..." option. From the songs menu, right click on the songs with the bad time & "Convert to AAC" is in the popup menu. Fixed 4 songs in under a minute, added the M4A files to my playist, and burning to CD worked as expected. A: The wrong time duration, is not solved with iTunes 11 and it's not depending from the encoding software (with the new releases of iTunes). Even re-loading the file, deleting it form the device, often doesn't sovle the problem. the only one effective solution I found (I got several times this issue) is: * *Remove the file with iTunes form your device *Check if the song was really removed from the device, into the device itself with iTunes on the iPhone or iPad. If not, touch the title, shift your finger to left, and a red rectangle "DELETE" will appear and touch it. *Rename the file of the song and re-upload it. The reason of the 3rd point above is that: I noticed that often, even applying the first 2 points, for some reason (unknown to me), the device still put the old duration and/or old parameters. Changing the original file name, solves the issue. A: I had the same problem. My track was more than an hour, but it only showed 1h04mins. Converting to AAC or apple lossless didn't work for me. Fixed it by using this app called Tag Stripper, https://itunes.apple.com/us/app/tag-stripper/id432262744?mt=12 * *strip the track of its ID3 tags *import it fresh into iTunes. Track duration should be fixed now *cmd+i to edit the id3 tags. Done. There might be a simpler way, but this worked for me. A: What I did is pull up my editing software and cut out the length that was having the problem, and created a new file. Nothing else worked for me.
apple
{ "language": "en", "length": 463, "provenance": "stackexchange_00000.jsonl.gz:22580", "question_score": "8", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/79675" }
5e9f9612e24064cdd2e62c7575329d5baa0e266b
Apple Stackexchange Q: Hide files/icons on the desktop but not in finder Not sure if something like this exists in OSX. I would like to display a cheatsheet on my desktop as a wallpaper and to make it visible at all times I would like to hide all the icons/files/folders scattered on my desktop as I'm accessing them only from within the Finder anyway. So my question is if it is possible to hide everything on the desktop and show the wallpaper only but use the Desktop folder as normal and see all the files and folders when in Finder view? Using OSX Mountain Lion. A: There's another little free program that does exactly this, and nothing more: http://blog.websecurify.com/2013/01/hide-desktop-icons-on-mac-os-x.html It sits in the menu bar and lets you toggle icons on or off.
Q: Hide files/icons on the desktop but not in finder Not sure if something like this exists in OSX. I would like to display a cheatsheet on my desktop as a wallpaper and to make it visible at all times I would like to hide all the icons/files/folders scattered on my desktop as I'm accessing them only from within the Finder anyway. So my question is if it is possible to hide everything on the desktop and show the wallpaper only but use the Desktop folder as normal and see all the files and folders when in Finder view? Using OSX Mountain Lion. A: There's another little free program that does exactly this, and nothing more: http://blog.websecurify.com/2013/01/hide-desktop-icons-on-mac-os-x.html It sits in the menu bar and lets you toggle icons on or off. A: In the terminal, do this: defaults write com.apple.finder CreateDesktop -bool false && killall Finder After this, there'll be nothing on your Desktop (but still in ~/Desktop, i.e. your Desktop Folder). It'll look like this: Beautiful, isn't it? If you want to change it back: defaults write com.apple.finder CreateDesktop -bool true && killall Finder A: I don't believe you can hide files from the desktop while leaving them viewable from within the Finder, since the desktop is just a folder (~/Desktop). However, here's an alternative that could work: * *Open your cheatsheet image in Safari (drag and drop the image onto the Safari icon in the dock) *In Safari, go to File > Open in Dashboard... *Your image should be selected/highlighted, or if not, then click it to select it. Click Add in the purple toolbar. This will create a Dashboard widget that displays your image. Now to view the image, simply toggle Dashboard (F4 on a newer Mac or F12 on an older one). Another alternative: if you're not accessing your files from the desktop, why keep them in the ~/Desktop folder at all? Just move them to another folder. A: You could try using a program called camouflage. It hides all the icons on your desktop. There are older versions available online that may or may not work with Mountain Lion, but it is also available on the Mac App Store, which will work with Mountain Lion Version 1.25 (free - softonic.com) Free, but it may or may not work on Mountain Lion Version 2.2.1 ($5.99 - Mac App Store) Will definitely work on Mountain Lion Edit: if you wanted this quick switch functionality, you could write 2 little bash scripts from the top answer and put them in an Automator action and set it to sit in the top bar A: Another great piece and free piece of software for doing this is XtraFinder. http://www.trankynam.com/xtrafinder/ It can also add to Finder very interesting options like: * *CMD-X for Cut & Paste *Create new file (with your favorite templates) *Arrange folders on top *Quickly show/hide hidden files with a shortcut *Tabs All can be individually enabled. In the various shortcuts you'll find Hide Desktop that is what you need. I currently use XtraFinder on ML without issues. It's really light for the OS. A: You can run the following Terminal command: defaults write com.apple.finder CreateDesktop -bool false && killall -HUP Finder To undo, replace false with true. Source: OS X Daily: Hide All Desktop Icons — No idea if it is Mavericks only. A: I'm not sure if this exactly meets your criteria, but Desktop Curtain from Many Tricks is a neat app that hides your messy desktop. $5 in the Mac App Store. A: Here's another FREE app that almost does what is requested. Instead of toggling the internal Finder default value and then killing and restarting Finder, it moves everything on the desktop into another folder and moves it all back again. Unfortunately that does not meet the original requirement of preserving access to the contents of the system Desktop folder while the icons are hidden. http://www.shirt-ediss.me/clarity/ If that access is not a hard requirement, Clarity has much to recommend it. First, it does not require killing and restarting Finder, which can take a disturbingly large number of seconds. Second, it can be used to save multiple alternative desktop icon sets. It allows you to save the current desktop arrangement of files, folders, shortcuts, etc by number and name, clear it, and then restore it, or swap to any of the saved arrangements. The saved desktops can be saved to Dropbox to make them available on other machines.
apple
{ "language": "en", "length": 743, "provenance": "stackexchange_00000.jsonl.gz:22581", "question_score": "32", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/79677" }
bad4fc1ccf79abaa638f63b20405202a6fa01519
Apple Stackexchange Q: A true large image viewer for OS X? Are there any image viewers out there that can navigate a truly massive (i.e. 500 megapixel/250MB) JPEG image? Everything but Preview has crashed for me. Preview does OK, but doesn't have many features. A: I'm not sure what your requirements are, Preview always does ok for me. However I heard that Xee is more powerful and some people prefers it.
Q: A true large image viewer for OS X? Are there any image viewers out there that can navigate a truly massive (i.e. 500 megapixel/250MB) JPEG image? Everything but Preview has crashed for me. Preview does OK, but doesn't have many features. A: I'm not sure what your requirements are, Preview always does ok for me. However I heard that Xee is more powerful and some people prefers it.
apple
{ "language": "en", "length": 69, "provenance": "stackexchange_00000.jsonl.gz:22582", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/79679" }
31f44e7cfe1828ab0f94035fadb6fce31849dd15
Apple Stackexchange Q: How to enable CTRL+4/5/6? On Mountain Lion 10.8.2, when I use the Keyboard Viewer, I can see that Ctrl+1, Ctrl+2, Ctrl+3 register correctly when I type them. Ctrl+4 or Ctrl+5 however, only show the Ctrl key being hit and the numbers ignored. How can I enable all the Ctrl+# keys? I don't really need them for spaces - rather, I need all the keys available for SC2 (FWIW, Ctrl+1, Ctrl+2, Ctrl+3 work fine in SC2, but the higher numbers don't). A: I had a similar issue of unresponsive Ctrl+3 and Ctrl+4 keystrokes using OS X 10.8.4 and found a solution that worked for me using information from this answer. * *Open ~/Library/Preferences/com.apple.symbolichotkeys.plist (I used XCode). *Update keys for the shortcuts which are giving you trouble by switching enabled to NO. I switched 120 and 121, which represent Ctrl+3 and Ctrl+4. I am not sure about Ctrl+5 or Ctrl+6. *Restart your computer. Hope this helps!
Q: How to enable CTRL+4/5/6? On Mountain Lion 10.8.2, when I use the Keyboard Viewer, I can see that Ctrl+1, Ctrl+2, Ctrl+3 register correctly when I type them. Ctrl+4 or Ctrl+5 however, only show the Ctrl key being hit and the numbers ignored. How can I enable all the Ctrl+# keys? I don't really need them for spaces - rather, I need all the keys available for SC2 (FWIW, Ctrl+1, Ctrl+2, Ctrl+3 work fine in SC2, but the higher numbers don't). A: I had a similar issue of unresponsive Ctrl+3 and Ctrl+4 keystrokes using OS X 10.8.4 and found a solution that worked for me using information from this answer. * *Open ~/Library/Preferences/com.apple.symbolichotkeys.plist (I used XCode). *Update keys for the shortcuts which are giving you trouble by switching enabled to NO. I switched 120 and 121, which represent Ctrl+3 and Ctrl+4. I am not sure about Ctrl+5 or Ctrl+6. *Restart your computer. Hope this helps!
apple
{ "language": "en", "length": 155, "provenance": "stackexchange_00000.jsonl.gz:22595", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/79736" }
a0f03ebfcc09c7e118a8728b121ccba31e080aa6
Apple Stackexchange Q: Access applications and their folders from terminal I have a folder that I want to init with git, but to do that I have to 'navigate' to that folder using cd. The problem is when I write cd Applications, that folder is empty and I cannot go into following folders. The path I want to access is /Application/MAMP/htdocs. I am using OS X 10.8.2. A: If the current directory is ~/, cd Applications goes to ~/Applications/ (which doesn't exist by default, but I guess you have an empty folder there). Try adding a slash to the start: cd /Applications/.
Q: Access applications and their folders from terminal I have a folder that I want to init with git, but to do that I have to 'navigate' to that folder using cd. The problem is when I write cd Applications, that folder is empty and I cannot go into following folders. The path I want to access is /Application/MAMP/htdocs. I am using OS X 10.8.2. A: If the current directory is ~/, cd Applications goes to ~/Applications/ (which doesn't exist by default, but I guess you have an empty folder there). Try adding a slash to the start: cd /Applications/. A: * *Right click on the application, click on "Show Package Contents". *once the folder is displayed, navigate it to your required folder. *select that file and move it on Terminal and drop it there. Example: cd /Applications/IntelliJ\ IDEA.2016.2.5.app/Contents/plugins/maven/lib/maven3/bin/mvn A: The Application folder that you want is at the Root directory. To go to this root directory, do "cd /" after that , you can do "cd Applications" to go into the applications folder. The Applications folder you are going into is in your Home directory. To see the full location of the current directory use "pwd". This directory will be having an empty "Applications" folder - which you are going into when you typed "cd Applications"
apple
{ "language": "en", "length": 217, "provenance": "stackexchange_00000.jsonl.gz:22604", "question_score": "6", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/79766" }
a3a12b59a440476243b58284f8aff8a610d3c8db
Apple Stackexchange Q: How can I tell what kind of iPod Touch I have if the case can't be removed? I'm buying a gift that requires an iPod 3 or newer and I'm trying to get my brother to tell me what kind of iPod he has, but he is unable to open the case it's in. How can he, using software, tell me what kind of iPod Touch he has? A: Plug the device into any computer with either iTunes or the iPhone configuration utility and it will tell you the model, serial number and much more about the device. Both software packages run on Mac and Windows and are a free download from Apple. An alternate method of determining whether the Phillips Hue app will run is to have them download that app since the App store includes built in checks to ensure the device meets the app's minimum requirements. I could see how this might not be ideal if part of the gift is to be a surprise that downloading the app might spoil.
Q: How can I tell what kind of iPod Touch I have if the case can't be removed? I'm buying a gift that requires an iPod 3 or newer and I'm trying to get my brother to tell me what kind of iPod he has, but he is unable to open the case it's in. How can he, using software, tell me what kind of iPod Touch he has? A: Plug the device into any computer with either iTunes or the iPhone configuration utility and it will tell you the model, serial number and much more about the device. Both software packages run on Mac and Windows and are a free download from Apple. An alternate method of determining whether the Phillips Hue app will run is to have them download that app since the App store includes built in checks to ensure the device meets the app's minimum requirements. I could see how this might not be ideal if part of the gift is to be a surprise that downloading the app might spoil. A: You can easily check the model of the device using information found in Settings > General > About and a simple Google search.. Open the Settings app and select General. From the General pane select About. Scroll down in the About pane until you find the Model. Type the model number into a Google search box. That should be sufficient, but you can add additional search terms like Apple or iPod Touch if need be. A: If you get the serial number from Settings->General->About, you can enter the last four digits on this website to learn about the model number. A: If the device runs, or can run iOS 5, or 6, then you can use it with that product. Only 1st and 2nd generation iPod Touch cannot run iOS 5+. 3rd, 4th, and 5th generation can run iOS 5, and 6, respectively. Determine what iOS version it is currently on by opening Settings.app > General. If the second table cell says "Software Update" the device is running iOS 5+. The concrete way to find exactly which version would be to go Settings.app > General > About > Version. Note: If it is isn't running iOS 5+, plug it into iTunes to see if it is eligible for an upgrade. If iTunes says something like iOS 4.3.1 under Summary and doesn't give an option to upgrade, the it is a 1st or 2nd gen - incompatible. A: If you can look at other physical features of the device it is possible to tell.Start by looking to see if it has a camera (front or back). If it does you are fine because only the 4th and 5th generation (the larger 16:9 one) iPod Touches have cameras. If it is a 64GB model ("Settings" -> "General" -> "About" -> "Capacity", will be not quite 64 but close) then it is at least a 3rd generation. If all else fails go to "Settings" -> "General" -> "About" -> "Model", the 3rd generation's numbers end in 086LL , 008LL, or 011LL.
apple
{ "language": "en", "length": 514, "provenance": "stackexchange_00000.jsonl.gz:22614", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/79797" }
da60c82137b1db6307b5493976d0bc6e1c6bad79
Apple Stackexchange Q: How can I have Calendar use an audible alarm for alerts? Today I missed an event alert because I stepped away from my desk for a few minutes. What settings would affect whether Calendar Alerts have an audible alarm? Is there a way to force an audible alarm sound for specific items? A: If you go to Settings -> Notifications, then under In Notification Center, select Calendar and scroll down to Calendar Alerts and choose it. This will give you the screen to select an alert tone for your calendar alerts. You could select a ringtone for it even. To my knowledge there is no option to select a different tone for specific calendar items.
Q: How can I have Calendar use an audible alarm for alerts? Today I missed an event alert because I stepped away from my desk for a few minutes. What settings would affect whether Calendar Alerts have an audible alarm? Is there a way to force an audible alarm sound for specific items? A: If you go to Settings -> Notifications, then under In Notification Center, select Calendar and scroll down to Calendar Alerts and choose it. This will give you the screen to select an alert tone for your calendar alerts. You could select a ringtone for it even. To my knowledge there is no option to select a different tone for specific calendar items.
apple
{ "language": "en", "length": 116, "provenance": "stackexchange_00000.jsonl.gz:22619", "question_score": "13", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/79816" }
3b465e7f0c76cc101b24b8a3ce8dc160a88e24c8
Apple Stackexchange Q: how can I turn off speech in the parental controls lockout dialog? Every night before 1am, when my daughter has gone to bed but stayed logged in to our iMac (Lion 10.7.5), the parental controls dialog pops up. Unfortunately it ALSO announces itself via text-to-speech at whatever volume the computer happens to be set. And then proceeds to do a 10-9-8-... countdown at exactly 1am. You can probably imagine how unwelcome this is. I can not find ANY setting that controls this. VoiceOver is off. Speech > "Speakable items" is off. I've disabled every version of universal access or text-to-speech that I can find. In fact I'm pretty sure the voice that speaks isn't even one of the default assistive voices (Bob, Alex, etc) Are there any easily overlooked options that I might have missed, or any methods to force ALL speech off, or any other ways I could get it to shut up - other than reminding my daughter to always remember to log out? Thanks! A: When logged into the account with Parental Controls, go to System Preferences > Speech > Text to speech tab > Uncheck the options alerts and application attention. Source: https://discussions.apple.com/thread/2763273
Q: how can I turn off speech in the parental controls lockout dialog? Every night before 1am, when my daughter has gone to bed but stayed logged in to our iMac (Lion 10.7.5), the parental controls dialog pops up. Unfortunately it ALSO announces itself via text-to-speech at whatever volume the computer happens to be set. And then proceeds to do a 10-9-8-... countdown at exactly 1am. You can probably imagine how unwelcome this is. I can not find ANY setting that controls this. VoiceOver is off. Speech > "Speakable items" is off. I've disabled every version of universal access or text-to-speech that I can find. In fact I'm pretty sure the voice that speaks isn't even one of the default assistive voices (Bob, Alex, etc) Are there any easily overlooked options that I might have missed, or any methods to force ALL speech off, or any other ways I could get it to shut up - other than reminding my daughter to always remember to log out? Thanks! A: When logged into the account with Parental Controls, go to System Preferences > Speech > Text to speech tab > Uncheck the options alerts and application attention. Source: https://discussions.apple.com/thread/2763273
apple
{ "language": "en", "length": 198, "provenance": "stackexchange_00000.jsonl.gz:22621", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/79827" }
c318d146010ab6e5863a4bc5460faa2df6ef82a4
Apple Stackexchange Q: Why Does My iMac Wake Itself Up? I have an early 2009 24" iMac. Lately, when in sleep mode it will occasionally wake up for around ten seconds with the screen off, then go back to sleep. Wake on LAN is turned off so I can't figure out why this is happening! A: A common reason for random wake-ups is network accesses. If you go to System Preferences>Energy Saver, there you will see an option saying "Wake for network access". If this option is enabled, then your sleeping Mac will be able to wake-up for network accesses. For example, when you initiate a screen sharing from another Mac on your local network. Anyway, this is all okay BUT when this option is enabled it's also documented on Apple's site that it will cause random wake-ups by just running the hard-drives but not starting up the screen; and it will go immediately back to sleep. Also @macaco have putten it beautifully that you'll probably get a code for this reason.
Q: Why Does My iMac Wake Itself Up? I have an early 2009 24" iMac. Lately, when in sleep mode it will occasionally wake up for around ten seconds with the screen off, then go back to sleep. Wake on LAN is turned off so I can't figure out why this is happening! A: A common reason for random wake-ups is network accesses. If you go to System Preferences>Energy Saver, there you will see an option saying "Wake for network access". If this option is enabled, then your sleeping Mac will be able to wake-up for network accesses. For example, when you initiate a screen sharing from another Mac on your local network. Anyway, this is all okay BUT when this option is enabled it's also documented on Apple's site that it will cause random wake-ups by just running the hard-drives but not starting up the screen; and it will go immediately back to sleep. Also @macaco have putten it beautifully that you'll probably get a code for this reason. A: There are a number of possible reasons, and the system actually logs the cause of each 'wake from sleep'. Open a terminal and enter: syslog | grep -i "wake reason" (or, on Sierra or newer log show | grep -i "wake reason") This may take some time to return a result, but when it does, you should get a series of lines that look something like the following: Jan 24 08:52:19 hostname kernel[0] : Wake reason: OHC1 Here are the possible 'Wake Reason' codes (lifted from OSXDaily) * *OHC: stands for Open Host Controller, is usually USB or Firewire. If you see OHC1 or OHC2 it is almost certainly an external USB keyboard or mouse that has woken up the machine. *EHC: standing for Enhanced Host Controller, is another USB interface, but can also be wireless devices and bluetooth since they are also on the USB bus of a Mac. *USB: a USB device woke the machine up *LID0: this is literally the lid of your MacBook or MacBook Pro, when you open the lid the machine wakes up from sleep. *PWRB: PWRB stands for Power Button, which is the physical power button on your Mac *RTC: Real Time Clock Alarm, is generally from wake-on-demand services like when you schedule sleep and wake on a Mac via the Energy Saver control panel. It can also be from launchd setting, user applications, backups, and other scheduled events. Happy hunting!
apple
{ "language": "en", "length": 409, "provenance": "stackexchange_00000.jsonl.gz:22622", "question_score": "13", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/79830" }
feb90882638d79c84658fc94e60f8d9273d55788
Apple Stackexchange Q: Finder doesn't starts on Mountain Lion (10.8.2) It happens almost every time after startup. When I click on the Finder it tries to start it, the menubar starts, then the desktop icons disappear for a few seconds then they come back, but the finder window never starts. Sometimes it says when I try to launch it: The last time you opened Finder, it unexpectedly quit while reopening windows. Do you want to try to reopen its windows again? If you choose not to reopen windows, you may have to open and position the windows yourself. but otherwise I don't get any errors. The same happens with Chrome too. I usually fix this by restarting the computer like 7-8 times and sometimes it just works. I already repaired the disk permissions. the verify disk says everything is ok. What could cause this, and how can I fix it? A: You can try to reset this apps preferences. * *Got to ~/Library/Preferences *Search this folder for files that contain finder in its' names. *Delete them *logout and login back
Q: Finder doesn't starts on Mountain Lion (10.8.2) It happens almost every time after startup. When I click on the Finder it tries to start it, the menubar starts, then the desktop icons disappear for a few seconds then they come back, but the finder window never starts. Sometimes it says when I try to launch it: The last time you opened Finder, it unexpectedly quit while reopening windows. Do you want to try to reopen its windows again? If you choose not to reopen windows, you may have to open and position the windows yourself. but otherwise I don't get any errors. The same happens with Chrome too. I usually fix this by restarting the computer like 7-8 times and sometimes it just works. I already repaired the disk permissions. the verify disk says everything is ok. What could cause this, and how can I fix it? A: You can try to reset this apps preferences. * *Got to ~/Library/Preferences *Search this folder for files that contain finder in its' names. *Delete them *logout and login back A: This solution worked for me https://support.filetransporter.com/article/AA-00398 * *Cick the Finder icon in the Dock. *From the Go menu, choose Utilities. *Open the Terminal app. *Type: sudo update_dyld_shared_cache -force *Press Return. *When prompted, enter your OS X user password, and press Return.
apple
{ "language": "en", "length": 220, "provenance": "stackexchange_00000.jsonl.gz:22626", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/79843" }
8f36aa89b44da8cb10ad168e00673c43e3d19194
Apple Stackexchange Q: How do I restore lost Garageband instruments? I opened Garageband after a long time and noticed that all my instruments are lost. The .exs and sampler files are still where they are supposed to be: /Library/Application Support/Garageband/Instrument Library but Garageband isn't detecting them. I can't afford to download 6 GB's worth of instruments. How do I make Garageband detect them? I also have Logic Pro installed.
Q: How do I restore lost Garageband instruments? I opened Garageband after a long time and noticed that all my instruments are lost. The .exs and sampler files are still where they are supposed to be: /Library/Application Support/Garageband/Instrument Library but Garageband isn't detecting them. I can't afford to download 6 GB's worth of instruments. How do I make Garageband detect them? I also have Logic Pro installed.
apple
{ "language": "en", "length": 67, "provenance": "stackexchange_00000.jsonl.gz:22633", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/79874" }
932dc71c8131ac4c7e5c2d57bc8bcc8dbf0e2f9a
Apple Stackexchange Q: How can I get the PostScript name of a TTF font installed in OS X? I have a True Type font installed on my Mac that I have added to an X-Code development project. For the life of me, I cannot get it to work with my application, but I think it's because I'm using the wrong font name. Using Font Book, or any other tool, how can I get the Postscript font name from the font metadata? I have a hunch that the Postscript name might be different from the Font name, but I need to verify. A: Open the Font Book application. (It should be in your Applications folder.) Select the font you need the Postscript Name for. Select Show Font Info from the Preview Menu. ( Or use ⌘+i). If you are seeing only a preview ensure you click on the i
Q: How can I get the PostScript name of a TTF font installed in OS X? I have a True Type font installed on my Mac that I have added to an X-Code development project. For the life of me, I cannot get it to work with my application, but I think it's because I'm using the wrong font name. Using Font Book, or any other tool, how can I get the Postscript font name from the font metadata? I have a hunch that the Postscript name might be different from the Font name, but I need to verify. A: Open the Font Book application. (It should be in your Applications folder.) Select the font you need the Postscript Name for. Select Show Font Info from the Preview Menu. ( Or use ⌘+i). If you are seeing only a preview ensure you click on the i A: Came across a slightly different use case that I thought I should share for others: A font file that I bought and downloaded is restricted to app use only. I usually use FontBook, like the accepted answer, to grab the PostScript name. However, because of the app use restriction I was unable to import the font into FontBook. What worked for me was to right click the font file and select "Get Info". The value in the "Full name" field under the General tab is what worked for me and appears to be the PostScript name. Verified this with a few other font files I knew for sure the PostScript name of. Easy and doesn't involve opening another app. A: Your assumption is correct. iOS requires that you identify a font based on its Postscript name (or Fullname), which is not always the same as the font's actual Filename. You can get the PostScript name using FontBook (as shown on the accepted answer here), but there are other ways. From directly inside XCode, you can extract the PostScript Name from the project's installed fonts via UIFont. Simply run this to print the PostScript names of your installed project fonts : In Objective-C (source): for (NSString *fontFamilyName in [UIFont familyNames]) { for (NSString *fontName in [UIFont fontNamesForFamilyName:fontFamilyName]) { NSLog(@"Family: %@ Font: %@", fontFamilyName, fontName); } } Or Swift 3.0 (source) for familyName in UIFont.familyNames { for fontName in UIFont.fontNames(forFamilyName: familyName ) { print("\(familyName) : \(fontName)") } } Or from the terminal, from inside the directory where you have your font files, you can run this script to print all the PostScript names of the fonts inside the current directory (uses the fc-scan utility from fontconfig which is probaly already installed) (source): for file in "$arg"*.{ttf,otf}; do fc-scan --format "%{postscriptname}\n" $file; done Here is a screenshot of the above command running on my ~/Library/Fonts directory: The script above will run through all the .ttf and .otf files in the current directory, then print out the PostScript Name for each font which you can use to reference the font file in XCode or elsewhere. If you want to get fancy with some additional information (PostScriptName, Filename) and some color coding, you can run this alternative script: for file in "$arg"*.{ttf,otf}; do postscriptname=$(fc-scan --format "%{postscriptname}\n" $file); printf "\033[36m PostScript Name:\033[0m %s \e[90m(%s)\033[0m\n" "$postscriptname" "$file"; done This is a bit faster than copy-pasting code inside of your AppDelegate.m file to print out the names every time you want to add a new font file, which is the popular method, and it's also faster than opening the Font in FontBook to inspect the PostScript Name. USEFUL TIP: If you alias the above script in your terminal so that all you need to do is type a single command to get all the PostScript font names for all the files in the current directory, then you will save time in your development workflow and have this handy script ready to use when you need it. Hope this helps! A: You can use FontDrop A wonderful online tool that lets you extract informations from your fonts files Drop your font file on the droppable area : Scroll a little bit then select the "Data" tab: You will find the postscript name of your font under the property name "postScriptName"
apple
{ "language": "en", "length": 698, "provenance": "stackexchange_00000.jsonl.gz:22634", "question_score": "19", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/79875" }
d23b80216b874ad3a5b9f60d4929d8a2594d2450
Apple Stackexchange Q: Need British Siri & date formats, but US Google. Possible? I'm a Brit living in the USA. I use the UK English Siri so that he understands my accent. I also like dd/mm/yy dates. I'd like to have my iPhone default to USA Google though, since that's where I am. UK-specific results aren't much use to me over here. As far as I can tell, it's all keyed off the Region Format setting. By setting Region Format to United States I get USA Google searches - correct. I can then override Voice Control back to UK English and I get my butler, Mr. Siri - also good. Problem is I'm stuck with mm/dd/yy date format - confusing. Is there a way to force USA search results in Safari without changing other region settings?
Q: Need British Siri & date formats, but US Google. Possible? I'm a Brit living in the USA. I use the UK English Siri so that he understands my accent. I also like dd/mm/yy dates. I'd like to have my iPhone default to USA Google though, since that's where I am. UK-specific results aren't much use to me over here. As far as I can tell, it's all keyed off the Region Format setting. By setting Region Format to United States I get USA Google searches - correct. I can then override Voice Control back to UK English and I get my butler, Mr. Siri - also good. Problem is I'm stuck with mm/dd/yy date format - confusing. Is there a way to force USA search results in Safari without changing other region settings?
apple
{ "language": "en", "length": 134, "provenance": "stackexchange_00000.jsonl.gz:22638", "question_score": "5", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/79892" }
4cbad0b79406812864654f74d1efef2900105782
Apple Stackexchange Q: Versions.app: How to select Kaleidoscope.app as diff tool? Setup * *OS X 10.8.2 *Versions 1.1.11 *Kaleidoscope 2.0.0 Problem I am a registered user (DirectSales, not AppStore) of both Versions and Kaleidoscope (both from BlackPixel). The latest versions of both apps are installed on on my system. I would like to configure Versions.app to use Kaleidoscope.app as its diff tool. However, when I go to Versions.app > Preferences > File Comparison I see Kaleidoscope grayed out with a generic icon (see screencap below). Since both apps are from the same developer, I think I must be missing something obvious, or there may be a problem with my system. So: How to select Kaleidoscope.app as the diff tool in Versions.app? A: * *From the Kaleidoscope app go to Kaleidoscope menu > Integration... Install the ksdiff tool * *Quit and relaunch Versions and Kaleidoscope should be selectable. If that doesn't work, check with Black Pixel's amazing support team after being sure you have build 104 of Kaleidoscope 2.0
Q: Versions.app: How to select Kaleidoscope.app as diff tool? Setup * *OS X 10.8.2 *Versions 1.1.11 *Kaleidoscope 2.0.0 Problem I am a registered user (DirectSales, not AppStore) of both Versions and Kaleidoscope (both from BlackPixel). The latest versions of both apps are installed on on my system. I would like to configure Versions.app to use Kaleidoscope.app as its diff tool. However, when I go to Versions.app > Preferences > File Comparison I see Kaleidoscope grayed out with a generic icon (see screencap below). Since both apps are from the same developer, I think I must be missing something obvious, or there may be a problem with my system. So: How to select Kaleidoscope.app as the diff tool in Versions.app? A: * *From the Kaleidoscope app go to Kaleidoscope menu > Integration... Install the ksdiff tool * *Quit and relaunch Versions and Kaleidoscope should be selectable. If that doesn't work, check with Black Pixel's amazing support team after being sure you have build 104 of Kaleidoscope 2.0
apple
{ "language": "en", "length": 166, "provenance": "stackexchange_00000.jsonl.gz:22641", "question_score": "6", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/79909" }
07ad2ed756eb6dd58c9bf0003ba84d57544bce80
Apple Stackexchange Q: Show all services on right click Whenever you have more than 4 services, they are put in a dropdown option "Services" on right click instead of just being added to the right click menu itself. Is this an option somewhere that can be changed? Thanks. A: Services Manager seems to just modify .GlobalPreferences.plist: defaults write -g NSServicesMinimumItemCountForContextSubmenu -int 999 You have to reopen applications to apply the changes.
Q: Show all services on right click Whenever you have more than 4 services, they are put in a dropdown option "Services" on right click instead of just being added to the right click menu itself. Is this an option somewhere that can be changed? Thanks. A: Services Manager seems to just modify .GlobalPreferences.plist: defaults write -g NSServicesMinimumItemCountForContextSubmenu -int 999 You have to reopen applications to apply the changes. A: The little known Apple Services Manager, released via Mac OS X Automation, offers such a setting (bottom right of the main window), besides other service amenities like fine grained control over which service actually turns up in the menu.
apple
{ "language": "en", "length": 109, "provenance": "stackexchange_00000.jsonl.gz:22652", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/79955" }
5d718d801a2c2b7d96a0427c29901e7838a27719
Apple Stackexchange Q: How to get gmail contacts on my iphone? Under the 'settings' -> 'mail contacts calendars' -> gmail there is no option to sync the contacts what's the workaround? A: * *Open settings *Tap Mail, Contacts, Calendars. *Tap Add Account, *Tap Other, *Tap Add CardDAV account. *Enter google.com for the server, and your login info. *Tap Done. This will bring your Google contacts in, and it is smart enough to show you a unified view of your Google contacts with your Apple ones. I.E., if you have someone in both sets, they show up as one contact, and you can see which pieces of data came from each. It works very well for me.
Q: How to get gmail contacts on my iphone? Under the 'settings' -> 'mail contacts calendars' -> gmail there is no option to sync the contacts what's the workaround? A: * *Open settings *Tap Mail, Contacts, Calendars. *Tap Add Account, *Tap Other, *Tap Add CardDAV account. *Enter google.com for the server, and your login info. *Tap Done. This will bring your Google contacts in, and it is smart enough to show you a unified view of your Google contacts with your Apple ones. I.E., if you have someone in both sets, they show up as one contact, and you can see which pieces of data came from each. It works very well for me. A: If You are using Mac OS X, you can synchronize you Contacts on Mac with google (set it i Contacts settings). Then just synchronize with your iPhone via iTunes.
apple
{ "language": "en", "length": 144, "provenance": "stackexchange_00000.jsonl.gz:22654", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/79962" }
ed0368731f02dbca7316f3300d3a167a8a20c47f
Apple Stackexchange Q: When will I use the FileVault 2 recovery key? I enabled FileVault 2 on my Mac, and I remember that it gave me a recovery key. When will I use this recovery key? A: You will need the recovery key to decrypt the volume if you lose your password or, in the unlikely event that the encryption key associated with the password becomes corrupt. If you elected not to allow Apple to store the recovery key, keep a copy (or several) in a safe place other than your computer. Recovery Keys can also be used by System Administrators to mount volumes for maintenance or recovery. (The Admin doesn't need access to an account password). It is possible to encrypt a FileVault volume using a master key. Apple's Best Practices for Deploying FileVault 2 white paper provides more information about the inner-workings.
Q: When will I use the FileVault 2 recovery key? I enabled FileVault 2 on my Mac, and I remember that it gave me a recovery key. When will I use this recovery key? A: You will need the recovery key to decrypt the volume if you lose your password or, in the unlikely event that the encryption key associated with the password becomes corrupt. If you elected not to allow Apple to store the recovery key, keep a copy (or several) in a safe place other than your computer. Recovery Keys can also be used by System Administrators to mount volumes for maintenance or recovery. (The Admin doesn't need access to an account password). It is possible to encrypt a FileVault volume using a master key. Apple's Best Practices for Deploying FileVault 2 white paper provides more information about the inner-workings.
apple
{ "language": "en", "length": 142, "provenance": "stackexchange_00000.jsonl.gz:22655", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/79977" }
b34c0b61beb1e56d6ea03f2f9d64f8c916074aed
Apple Stackexchange Q: What does the arrow with 2 lines through it mean? In Xcode, a lot of the shortcuts use an arrow with 2 lines though it: What is the keystroke corresponding to this? A: That is the page or scroll up key. On a MacBook the keystroke is Fn-Up Arrow. “What Do the ⌘, ⇧, ⌥, ⌃, ⎋, ↩, ⇥, ↖ and ↘ Menu Symbols Mean?” Each symbol corresponds to a key on your keyboard: ⌘ — Command/Apple key ⇧ — Shift key ⌥ — Option/Alt key ⌃ — Control key ↩ — Return key ⇥ — Tab key ⎋ — Escape key ↖ — Home key (Function-Left Arrow on laptops) ↘ — End key (Function-Right Arrow on laptops) There is a very handy reference at harvard.edu.
Q: What does the arrow with 2 lines through it mean? In Xcode, a lot of the shortcuts use an arrow with 2 lines though it: What is the keystroke corresponding to this? A: That is the page or scroll up key. On a MacBook the keystroke is Fn-Up Arrow. “What Do the ⌘, ⇧, ⌥, ⌃, ⎋, ↩, ⇥, ↖ and ↘ Menu Symbols Mean?” Each symbol corresponds to a key on your keyboard: ⌘ — Command/Apple key ⇧ — Shift key ⌥ — Option/Alt key ⌃ — Control key ↩ — Return key ⇥ — Tab key ⎋ — Escape key ↖ — Home key (Function-Left Arrow on laptops) ↘ — End key (Function-Right Arrow on laptops) There is a very handy reference at harvard.edu.
apple
{ "language": "en", "length": 127, "provenance": "stackexchange_00000.jsonl.gz:22661", "question_score": "10", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/79998" }
da7789ecb9851a219e7cd0979e17fe2a90456e97
Apple Stackexchange Q: Keyboard shortcuts - make OS X like Windows? I run Windows 7 at work and OS X at home. 2 sets of muscle memories is a hassle - is there a way to map all 'Apple +' commands into 'Ctrl +'? E.g. turn ⌘ + C into Ctrl + C? A: KeyRemap4MacBook can change key combinations like control+c to command+c everywhere: You can add your own settings in private.xml. See the source for the keycode constants and predefined settings. You can change text editing shortcuts by creating a DefaultKeyBinding.dict. See TextMate Blog » Key bindings for switchers and Windows%20Bindings.dict. Related questions: * *Is there any way in mountain lion to change copy paste shortcut keys? *Efficient key bindings using both Mac and Linux
Q: Keyboard shortcuts - make OS X like Windows? I run Windows 7 at work and OS X at home. 2 sets of muscle memories is a hassle - is there a way to map all 'Apple +' commands into 'Ctrl +'? E.g. turn ⌘ + C into Ctrl + C? A: KeyRemap4MacBook can change key combinations like control+c to command+c everywhere: You can add your own settings in private.xml. See the source for the keycode constants and predefined settings. You can change text editing shortcuts by creating a DefaultKeyBinding.dict. See TextMate Blog » Key bindings for switchers and Windows%20Bindings.dict. Related questions: * *Is there any way in mountain lion to change copy paste shortcut keys? *Efficient key bindings using both Mac and Linux
apple
{ "language": "en", "length": 124, "provenance": "stackexchange_00000.jsonl.gz:22664", "question_score": "16", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/80003" }
c85db365532d1b7f9ac7c0139464f37a9d5aed37
Apple Stackexchange Q: Lock Screen Command One-Liner I'm trying to find out whether there is any kind of equivalent command line one-liner which replicates the exact identical functionality of the 'Lock Screen' menu option available via the Keychain app in OS X 10.6 I'm aware of the all the 'usual' solutions (sleep/screensaver preferences to require a password on reactivation) but these are not suitable to me. I'm also aware of this option: /System/Library/CoreServices/Menu\ Extras/user.menu/Contents/Resources/CGSession -suspend which is also not suitable for me. The perfect functionality is the 'Lock Screen' option however I have not yet found an elegant way to call it. At the moment, I am calling via Automator, which isn't elegant! I have read much about this issue and my understanding is that no-one has yet found the 'holy grail' but I was wondering whether that might have changed. A: Set the preferences to lock the screen when the screen saver is active. Then you can use this terminal command to start the screen saver. /System/Library/Frameworks/ScreenSaver.framework/Resources/ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngine As far as I can tell this is exactly what the Keychain menu item does.
Q: Lock Screen Command One-Liner I'm trying to find out whether there is any kind of equivalent command line one-liner which replicates the exact identical functionality of the 'Lock Screen' menu option available via the Keychain app in OS X 10.6 I'm aware of the all the 'usual' solutions (sleep/screensaver preferences to require a password on reactivation) but these are not suitable to me. I'm also aware of this option: /System/Library/CoreServices/Menu\ Extras/user.menu/Contents/Resources/CGSession -suspend which is also not suitable for me. The perfect functionality is the 'Lock Screen' option however I have not yet found an elegant way to call it. At the moment, I am calling via Automator, which isn't elegant! I have read much about this issue and my understanding is that no-one has yet found the 'holy grail' but I was wondering whether that might have changed. A: Set the preferences to lock the screen when the screen saver is active. Then you can use this terminal command to start the screen saver. /System/Library/Frameworks/ScreenSaver.framework/Resources/ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngine As far as I can tell this is exactly what the Keychain menu item does. A: In OS X 10.9 and later: pmset displaysleepnow By itself, this command only causes the display to sleep, resulting in a black screen. By configuring your computer to require a password immediately after sleep, this one-liner works as a "lock computer" command. The preference is available at System Preferences > Security & Privacy > General. Source: How to lock screen on MacBook Air? A: Note: This solution is unique in that it uses the Keychain Access menu bar status functionality, but it does not require you to enable the Show keychain status in menu bar option as the AppleScript methods do. I was also looking for a solution for this. Today I just had some time to play around and found a way to programmatically actually call the functionality from the keychain menu plugin. This solution works perfectly as long as Apple doesn't change the relevant parts in the keychain menu plugin. You can create a small binary for locking your screen by pasting this into your terminal... # Do our work in the temporary directory that gets cleaned on boot cd /tmp # Create the source file cat > main.m <<END_OF_FILE #import <objc/runtime.h> #import <Foundation/Foundation.h> int main () { NSBundle *bundle = [NSBundle bundleWithPath:@"/Applications/Utilities/Keychain Access.app/Contents/Resources/Keychain.menu"]; Class principalClass = [bundle principalClass]; id instance = [[principalClass alloc] init]; [instance performSelector:@selector(_lockScreenMenuHit:) withObject:nil]; return 0; } END_OF_FILE # Compile the source file clang -framework Foundation main.m -o lockscreen Execute the program by typing: ./lockscreen A: I think the answer to your question is "No, there isn't a command line way to do this." Because this is a menu bar item, it's not something that you can access easily using Keyboard Maestro or another similar tool. However, if you are not averse to a solution using a 3rd party app, QuickLock will let you do this. It's a free (donations accepted) app which will let you assign a keyboard shortcut to lock the screen. There's also a menu bar item which you can click to lock the screen. The app will let you set a password (separate from your account password). It does not require the use of password with screensaver, it's all completely separate. You can see a video of it in action at http://www.youtube.com/watch?v=SBHwykPB19o p.s. when the screen is locked, type your password to unlock it. I was confused because I expected to see a password field. There is none. You just type the password. p.p.s. I've only used this for a few minutes, so there may be some other issues with it I'm not aware of, but it seems to fit the bill. A: The Mac is not designed to provide you with such an option. However, this article explains a workaround using QuickSilver. While I can't understand why you don't like the solution Apple provides natively, I do wish you luck on finding a solution. A: A quick way to sleep your machine via command line with the help of AppleScript is osascript -e 'tell application "Finder" to sleep' That doesn't lock your screen unless you have it set to require a password immediately which I don't like to do. I'm just noting it for posterity. A: I used the code posted above by jnk. Then I used appify to turn it into an OS X app, mathiasbynens.be/notes/shell-script-mac-apps. Then I used Quicksilver to assign my own keyboard shortcut (I chose cmd+L). Terminal is not opening/staying open (as some were concerned) with how I have it set up because I am launching an OS X app instead. * *Follow the answer above by jnk, Lock Screen Command One-Liner *Use appify to turn it into an OS X app by following the link above in my summary. *Install Quicksilver. *Use Quicksilver to assign a keyboard shortcut to launch the new application. It is under 'Triggers.' I enjoy Quicksilver because I love having keyboard shortcuts/hotkeys to launch applications and websites on OS X. A: I also ran into this problem. /System/Library/CoreServices/Menu\ Extras/user.menu/Contents/Resources/CGSession -suspend causes the system to suspend all tasks, rather than lock the screen. JordanBtucker was on the right track, here is the full function I use: lockscr() { if [ "$(defaults read com.apple.screensaver askForPasswordDelay 2>/dev/null)" ]; then local Olddelay="$(defaults read com.apple.screensaver askForPasswordDelay)" defaults write com.apple.screensaver askForPasswordDelay -int 0 && \ pmset displaysleepnow defaults write com.apple.screensaver askForPasswordDelay -int "${Olddelay}" else defaults write com.apple.screensaver askForPasswordDelay -int 0 && \ pmset displaysleepnow defaults delete com.apple.screensaver askForPasswordDelay fi; } This preserves the user his own settings but securely locks the screen :) A: On 10.14.6 Mojave, I start the screensaver engine using this command instead: /System/Library/CoreServices/ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngine Edit: Make sure you set the preferences to lock the screen when the screen saver is active in system preferences and to require the password immediately. A: I use Alfred → The universal hotkey allows me to activate it using a keyboard. A: UPDATE: 2019. The Lock Screen for keychain no longer is available in current version of the MacOS Mojave & High Sierra. Apple have now add a Lock Screen Menu item in the Apple menu. This has the default keyboard short cut of crtl + cmd + Q ------------- Old answer for previous OS below -------------- @Bart Arondson answer goes into using some key codes to navigate the Keychain Lock Screen menu. All the key codes can be bypassed using GUI Scripting to Actually hit the menu items directly. Using key codes to navigate menus can be hit and miss. And as much as I do not like GUI scripting because it can also be hit and miss imho it is less hit and miss in this case. This applescript code: (updated 05/18/2016, sourced from Using AppleScript to lock screen, confirmed working in El Capitan) tell application "System Events" to tell process "SystemUIServer" tell (menu bar item 1 of menu bar 1 where description is "Keychain menu extra") click click menu item "Lock Screen" of menu 1 end tell end tell Can be used in a Automator 'Run Applescript' Action in a Automator Service Workflow. You then give the service a Keyboard shortcut. In the usual way in The Keyboard Shortcuts. The Service: A: Easy alias. Add this to your bashrc alias afk="osascript -e 'tell application \"System Events\" to keystroke \"q\" using {command down,control down}'" type afk in your terminal to execute. A: I use BetterTouchTool for that purpose and assigned a keyboard shortcut to "Switch to login screen" (which is lock screen): doesn't fulfill the command line requirement but may be helpful to you anyway. A: I'm not quite sure I understand your issue here. If you require a password on screensaver, it will not stop processes from running or block you from remotely accessing your Mac. I have this option set (using ControlPlane to activate it at work and deactivate it at home) and I have never once had the system refuse to respond to a Remote Desktop, VNC, or SSH connection. In all cases where GUI access is required I just need to input the password; SSH uses key pair so no password is requested. If you don't want apps to sleep, then make sure the system power settings are such that it will not enter system sleep before you return. Just set the sleep timeout to a long delay. If you just don't want to be bothered to enter a password when you are sitting in front of the computer and working, then increase the screensaver delay to a longer time before it activates, or add a 1 min delay between screensaver and password prompt so that you have a chance to catch it before it locks you out. I use ctrl-shift-eject to lock the screen. It's fast, simple, and it works. This is the built-in way to lock the screen. No one is likely to come up with an alternative simply because replicating the functions already baked in to the OS is a little too redundant for anyone to put a lot of time into pursuing. As far as I can tell there is no "lock screen" option in Keychain in 10.8 anyway, so your preferred solution is not going to exist if you ever upgrade. Edit: Didn't notice this in Keychain preferences; yes, it is still there in 10.8. If you are using Automator for this can't you just package the script as an app and assign a hotkey combo or leave it in the Dock for quick access? A: Just like the question asker I was looking for a way to use the Keychains Lock Screen in a fast way. Combining the knowledge from an old Mac OS X hint and some Applescripting I came up with the following: First follow the steps from the linked Mac OS X hint to add a keyboard shortcut for Keychains Lock Screen functionality. For me (on 10.8.4) this didn't solve the problem as I had to press ctrl+F8 to shift focus to the status bar, press down to open the Keychain menu bar, and then press ctrl+F9 to lock the screen. I've automated this process with the following Applescript: # Press ^F8 tell application "System Events" key code 100 using control down end tell # Press "down" tell application "System Events" key code 125 end tell # Press ^F9 tell application "System Events" key code 101 using control down end tell Open Automator, create a new Service, add a Run Applescript module, copy-paste the above code and save the Automator Service with a name you desire. Now go to Keyboard Shortcuts in the System Preferences and add a keyboard shortcut for the freshly created Automator Service. I set mine to ctrl+cmd+L. Now press the keyboard shortcut in any app and your screen will be locked instantly. For those wondering why not just go with other methods, here's my opinion on them: * *Fast user switching/lock screen With this method I get logged out of my corporate WPA2 network. This is not good as re-connecting sometimes takes ages. *Screensaver + password Replicates the functionality but this means that if my laptop is inactive for some time while I'm reading a paper next to it, the screen will be locked when I want to use it again. This is undesirable. Coupling this method with a hot-corner has the side effect that unexperienced Mac users might trigger the hot-corner by accident leading to screen lock. I also sometimes hit a hot-corner by accident which would stall my workflow considerably. *3rd party apps These are all fine, but why run a 3rd part app if it's natively available in the OS? A: As of 2021, I find the following solution to be the "closest to correct": As pointed out in markhunte's answer, the Apple menu has an entry to initiate "Lock Screen" with the keyboard shortcut: controlcommandQ So I simulate pressing this keyboard shortcut: osascript -e 'tell application "System Events" to keystroke "q" using {control down, command down}' Pros: * *Will work in the future, as long as this keyboard shortcut is supported *Also works if "Require password after sleep or screen saver begins" security option is disabled (in contrast to the solutions which utilize sleep or display turn-off) *Display stays on (at least initially; it seems that the lock screen itself triggers a display turn-off shortly after being initiated) Edit: I just saw that Aritro Paul's answer already contains that command (in form of an alias). I hope my elaboration is helpful though. A: Ctrl-Shift-⏏ Eject (on older Macs), Ctrl-Shift-⌽ Power (on newer macs) A: I use the Screensaver password setting with a keystroke (Ctrl+Shift+Eject) on 10.6.8, and from what I can see, it does the same as the Lock Screen item from the Keychain Access task bar icon. I know that this is similar to some of the other answers, but instead of the "hot corner", it uses a keystroke, which is more convenient for me. This solution is described in more detail here, that's where I got it from: http://osxdaily.com/2011/01/17/lock-screen-mac/ Have been using this for several years now without problems. A: Well, just combine two of the above answers. Run this command: open -a /System/Library/Frameworks/ScreenSaver.framework//Versions/A/Resources/ScreenSaverEngine.app After having set the Security & Privacy preferences to ask for a password immediately. Make an alias for your shell if you want to make the command easier to execute. A: FWIW, I understand your situation and have been looking for a good solution to this myself. I ran across this thread because I've been searching for a somewhat faster method than what I eventually came up with. I came up with something that, although not exactly what I'd hoped, works and is an acceptable compromise. I'm using the same kind of GUI scripting commands as @markhunte shows (slightly different structure, but same idea) but instead of just placing it all in an Automator service workflow, I separated it into an .app bundle built with Platypus. I did this because in my travels and testing I've found that Automator services run very slowly under certain conditions. If your Mac is under any kind of stress, i.e. a disk scan running, A/V software doing something, Mail pulling down email, etc., the OS seems to push services to the back of the line. This has the affect of it taking several seconds before the workflow runs (sometimes) and on occasion even several seconds before the GUI commands in the service get run. Quite annoying if you;re trying to "quickly" lock your screen and it takes 10 seconds to do it! Having a standalone "app" also has the advantage that you can use literally dozens of different 3rd party apps to run it, or just use Spotlight or an Automator service to launch the app. Any of them work. The fastest I've found is an old utility called Spark, that miraculously still works even in 10.8.4. Don't ask me how since it was last developed foe 10.4! Spark can be found here - Spark In addition to all this, I combatted the issue of GUI commands sometimes running slow by bundling in cocoaDialog and calling it first when the app runs to show a small floating bubble in the middle of the screen indicating a Lock Screen is happening. Usually the lock happens right after, but if there is a delay, this at least gives some visual "feedback" that you pressed the right keys. I also made it self healing - if "Enable Access to Assistive Devices" is not on, it alerts you with a dialog and lets you enable it right away. It will also make sure the Keychain Access Menu is showing in the menu bar since this is a requirement or the GUI scripting flat out fails.
apple
{ "language": "en", "length": 2620, "provenance": "stackexchange_00000.jsonl.gz:22677", "question_score": "71", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/80058" }
8b06e48dd6d4015d999257b3689adb7414dbd183
Apple Stackexchange Q: Reload menu bar from terminal (not SystemUIServer) I am looking for a way to reload/refresh the "apple symbol" menu in the upper left corner from the terminal. Searching for ways to refresh the menu has only led me to find the command killall -KILL SystemUIServer this only reload the "widgets" on the right side of the menu and not the content on the left. I am looking for a way to do this since I have emptied the "recent files" menu programatically (by removing the info from the com.apple.recentitems.plist file with defaults delete com.apple.recentitems RecentDocuments) but it doesn't show up. (I know that it is possible to turn off the recent files menu completly but that is not what I want). A: So I finally found a solution to this. I compiled the following Objective-c code and call it through the terminal. #import <Foundation/Foundation.h> int main(int argc, const char * argv[]) { @autoreleasepool { LSSharedFileListRef recentDocsList = LSSharedFileListCreate(NULL, kLSSharedFileListRecentDocumentItems, NULL); LSSharedFileListRemoveAllItems(recentDocsList); NSLog(@"Cleared files!"); } return 0; }
Q: Reload menu bar from terminal (not SystemUIServer) I am looking for a way to reload/refresh the "apple symbol" menu in the upper left corner from the terminal. Searching for ways to refresh the menu has only led me to find the command killall -KILL SystemUIServer this only reload the "widgets" on the right side of the menu and not the content on the left. I am looking for a way to do this since I have emptied the "recent files" menu programatically (by removing the info from the com.apple.recentitems.plist file with defaults delete com.apple.recentitems RecentDocuments) but it doesn't show up. (I know that it is possible to turn off the recent files menu completly but that is not what I want). A: So I finally found a solution to this. I compiled the following Objective-c code and call it through the terminal. #import <Foundation/Foundation.h> int main(int argc, const char * argv[]) { @autoreleasepool { LSSharedFileListRef recentDocsList = LSSharedFileListCreate(NULL, kLSSharedFileListRecentDocumentItems, NULL); LSSharedFileListRemoveAllItems(recentDocsList); NSLog(@"Cleared files!"); } return 0; }
apple
{ "language": "en", "length": 168, "provenance": "stackexchange_00000.jsonl.gz:22683", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/80093" }
360aede4be26a3d91eaf085dd56f816fe92f9871
Apple Stackexchange Q: MacBook Air: What taking up all my hard drive space I have a 128gb MacBook Air running Lion. I am constantly having issues with disc space, but have no idea what is consuming it all. When I look at the disc utility break down, it says about 80% of the used space is taken up by 'Other' while the remaining 20% is photos, music and applications. I've searched everywhere but have no idea what is using all this space. The biggest program I have on is Photoshop and perhaps XCode. I dont have any video files and I dont even tend to save .PSDs. Would anyone know what could be taking up this space? Thanks! A: Grand Perspective is a bit of open source software that visualises the space taken up in a folder. Run it and look for the biggest squares. Hover your mouse over a square and the bottom left of the window shows you the full path to the file you are hovering over. I prefer it to letting the finder calculate folder sizes, because this is much faster and the results are very easy to understand.
Q: MacBook Air: What taking up all my hard drive space I have a 128gb MacBook Air running Lion. I am constantly having issues with disc space, but have no idea what is consuming it all. When I look at the disc utility break down, it says about 80% of the used space is taken up by 'Other' while the remaining 20% is photos, music and applications. I've searched everywhere but have no idea what is using all this space. The biggest program I have on is Photoshop and perhaps XCode. I dont have any video files and I dont even tend to save .PSDs. Would anyone know what could be taking up this space? Thanks! A: Grand Perspective is a bit of open source software that visualises the space taken up in a folder. Run it and look for the biggest squares. Hover your mouse over a square and the bottom left of the window shows you the full path to the file you are hovering over. I prefer it to letting the finder calculate folder sizes, because this is much faster and the results are very easy to understand. A: If you don't want to get a tool like What Size (also on the App Store) or Daisy Disk, you can simply tell finder to calculate all sizes by ticking the second lowest check mark in the view options (Command-J) and browse your computer in list view: Click on Size to sort by size and drill down into folders clicking the triangle next to the largest folders until you have your culprits. A: One more suggestion: OmniDiskSweeper, free and fast: http://www.omnigroup.com/products/omnidisksweeper/ edited to add: Plus Omnidisksweeper has the advantage of being able to delete the files or directories in the application if you come across huge files you're sure you don't want. (it deletes them not put in the trash) A: I would just say hunt around in Finder, right click folders you think may be huge, and choose "Get Info". It will show a dialog box that tells you the exact size of the folder. Start in "Macintosh HD", and right click each folder in there and Get Info. Go into the biggest ones there and root out the biggest folders that way.
apple
{ "language": "en", "length": 376, "provenance": "stackexchange_00000.jsonl.gz:22686", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/80098" }
40b49044b440de922f98f9ca48a7efb1e5451fb5
Apple Stackexchange Q: How can I create a dictionary for Mac OS X? Dictionary seems to be several versions ahead of the Apple documentation (2007). I found a good blog post about it, but everything seems different now. I installed Xcode (including the command line tools) but nothing is where it's supposed to be (e.g. /Developer does not get created and there is no Dictionary\ Development\ Kit). I would like to make a pretty complicated dictionary, so I'd like to make this work instead of convert file types several times. A: Here is a step by step procedure for converting dictionaries in open formats to AppleDict source, and compiling for the OSX Dictionary.app: https://apple.stackexchange.com/a/119166/66812
Q: How can I create a dictionary for Mac OS X? Dictionary seems to be several versions ahead of the Apple documentation (2007). I found a good blog post about it, but everything seems different now. I installed Xcode (including the command line tools) but nothing is where it's supposed to be (e.g. /Developer does not get created and there is no Dictionary\ Development\ Kit). I would like to make a pretty complicated dictionary, so I'd like to make this work instead of convert file types several times. A: Here is a step by step procedure for converting dictionaries in open formats to AppleDict source, and compiling for the OSX Dictionary.app: https://apple.stackexchange.com/a/119166/66812 A: Xcode no longer comes with Dictionary Development Kit, but you don't even need Xcode to use it. * *Register a free developer account and download the auxiliary tools package from developer.apple.com/downloads *It is now called: Additional Tool for Xcode (look for the latest version) *Move the Dictionary Development Kit folder to /Applications/Utilities/DictionaryDevelopmentKit/ (without the spaces), and copy the project_templates folder to ~/Desktop/ *Open ~/Desktop/project_templates/Makefile and change DICT_BUILD_TOOL_DIR from /DevTools/Utilities/Dictionary Development Kit to /Applications/Utilities/DictionaryDevelopmentKit *cd ~/Desktop/project_templates/; make && make install The dictionary should show up in Dictionary.app after you quit and reopen it. After that, try editing MyDictionary.xml or MyDictionary.css. The dictionary name is the same as CFBundleName in the Info.plist, and the bundle name is DICT_NAME in the Makefile. If the lookup popovers show results from an older version of the dictionary, try logging out and back in. Terminating com.apple.lookupd or removing ~/Library/Caches/com.apple.Dictionary* didn't seem to work. A: Everything that used to be in /Developer is now in Xcode.app/Contents/Developer with Xcode normally in /Applications, but you could put it anywhere in reality. Other than that, you should be able to pop the dictionary file of your choosing either in the System Dictionary like the blog article you linked or only within Xcode for use to expand its dictionary. A: I wrote a little java application toDictionaryXML to add entries to a custom dictionary. It is not well coded, the functionality is pretty poor and it is not easy to install. But still it saves me a lot of time.
apple
{ "language": "en", "length": 362, "provenance": "stackexchange_00000.jsonl.gz:22687", "question_score": "14", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/80099" }
06e21c37db5eac197ad0e8aece3cb71dfea09ab9
Apple Stackexchange Q: Alternatives To Apple Dock - Taskbar This box helps explain the association that I always have had. We bought a Mac. I like many parts about it. It syncs with my iphone etc... I can't learn the dock. I am afraid we might need to move back to Windows. I can't stand it. I've tried explaining to myself how to minimize it into the corner and tried minimizing applications to icon, but no luck. Is there an application to display a list? I'm not looking for alternative techniques for understanding. I really needs a list, not a dock. Preferably it would work look similar to Windows Dock. Having used applications like Quicksilver before, and knowing the ingenuity and geniuses in the Mac community it feels like someone could create something like this. A: uBar is a Windows-style taskbar for OS X that I developed. Be sure to set Window Grouping to Never in the preferences, and it will exactly replicate the behaviour you are looking for.
Q: Alternatives To Apple Dock - Taskbar This box helps explain the association that I always have had. We bought a Mac. I like many parts about it. It syncs with my iphone etc... I can't learn the dock. I am afraid we might need to move back to Windows. I can't stand it. I've tried explaining to myself how to minimize it into the corner and tried minimizing applications to icon, but no luck. Is there an application to display a list? I'm not looking for alternative techniques for understanding. I really needs a list, not a dock. Preferably it would work look similar to Windows Dock. Having used applications like Quicksilver before, and knowing the ingenuity and geniuses in the Mac community it feels like someone could create something like this. A: uBar is a Windows-style taskbar for OS X that I developed. Be sure to set Window Grouping to Never in the preferences, and it will exactly replicate the behaviour you are looking for. A: This answer only works for older OS versions (<=10) DragThing is a commercial application that can display a list of running applications. It can be configured to create a Windows-like taskbar. * *Click the  in the topleft corner, click Dock, then click Left or Right to move the dock to left or right. (so it won't get in the way of the Windows-like taskbar you are going to create, while you can still use it as a handy app launcher.) *Download DragThing (thanks to this page for telling me about it) . It costs US $29 but you can try it for free. However, if you like it you should buy it. *Open the downloaded DMG file, drag the DragThing icon to the applications folder, delete the DMG file, open the applications folder (or Launchpad if you have Mountain Lion) and open DragThing. *Make sure DragThing is the active application (It says "DragThing" next to the  in the topleft corner then), press ⌘+0 and close all the DragThing windows except the one that appeared when you pressed that. *Right click on the window that appeared when you pressed ⌘+0 and click Rotate. *Drag it to the center of the bottom of the screen. *Right click again on it and click "Dock settings...". *Set the following (got most of it from this page): Set "Float Dock Window" to Always Turn "Show Window Title Bar" off Set "Icon Size" to 16×16 Set "Spacing" to 0 Set "Width" to about 70 Set "Show Item Names" to Right Turn "Use Single-Click To Open Items" on (can be found at Advanced tab) Turn "Lock position" on (can be found at Advanced tab) 9. Close the window 10. Enjoy your shiny new taskbar! Eventually right click it and select a new color. A: Maybe Hyperdock helps. It shows thumbnails of all open program windows when resting the mouse pointer on a dock icon. One can click on a thumbnail in order to bring the respective window to the front. I cannot live without. Available from the app store. A: A 32 bit app for Mojave and lower was DragThing It will not work for current OS and is not open sourced or available for sale now. Here is some more information about DragThing, in addition to com. BOY's answer. I have owned and used this program for more than ten years. There is a free trial; the app costs US $29. Among other features, DragThing can be configured to display a floating "Process Dock", a panel of the icons of applications that are currently open and running -- and only the ones currently running. Unlike the Dock, it does not show icons of applications that are not running right now. (You can create other panels or docks to display tabbed groups of icons of frequently-used applications that you want to launch.) You can position DragThings' Process Dock on the bottom of the screen if you want; I have it in the upper-right corner of my screen. Visually, you can choose from many different color schemes and designs. I chose the "heads-up-display" translucent black design. In the "Process Dock", clicking on one of these open application icons will immediately bring that application to the forefront. This is analogous to the bar at the bottom of the Windows desktop. There are four kinds of panels or docks that DragThing can create: * *Dock to show tabbed multiple panels of your favorite apps organized and grouped any way you like *Disk Dock to show connected hard disks, CDs and DVDs, and servers *Process Dock, as I have discussed above *Window Dock to show open application windows (your elderly relative might be able to use this too.) DragThing is not designed to be "Windows-like". If anything, it resembles features of Mac OS 9, the "classic" MacOS. But I think it will do the trick. DragThing has myriad configuration settings that you can customize; far too many. It's daunting. But once you figure out the features and configure it the way you want, it will just work. I have used DragThing for more than ten years. I can't live without it. Having configured everything I want in two DragThing panels: a Process Dock in the upper right-hand corner of my screen; and a tabbed icon panel on the bottom of my screen, I subsequently banished Apple's Dock off the screen and I virtually never use or look at Apple's Dock anymore. Here is a review of DragThing from MacWorld Magazine from two months ago. If you can't figure out how to configure DragThing to function like you want, you can email the developer, James Tomson, for tech support. A: DockShelf is a general Dock replacement and can be used to add process docks to any side of the screen (shown at different sizes, styles and as a tab in the screen shot). I use Windows on and off for short periods of time and managing windows is a problem for me also so I'd recommend not minimizing windows at all but instead hiding an application (command-H) when you're not using it. When you select another application using any of the dock methods mentioned, all the windows will appear on screen at once. In the interest of full disclosure I am the developer of DockShelf.
apple
{ "language": "en", "length": 1053, "provenance": "stackexchange_00000.jsonl.gz:22688", "question_score": "11", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/80106" }
cc2882449c24fe790ccbedfaabf6599a9d221221
Apple Stackexchange Q: Is there a way to sort photos by file size in iPhoto? I have a bunch of photos and videos in iPhoto and I'd like to find the largest videos particularly to see if I can delete them to make some space. It seems strange that I can't find an option to do this in iPhoto - am I missing something? A: No, there is no way to sort on size in iPhoto. From your context I guess you mean filesize. In iPhoto, size means the dimensions on the Photo (length by breadth, measured in pixels) - see the Export dialogue, for instance. iPhoto is all about the images and not the files that contain them, so I'm not surprised. It's a $15 app, you get a lot, but not everything.
Q: Is there a way to sort photos by file size in iPhoto? I have a bunch of photos and videos in iPhoto and I'd like to find the largest videos particularly to see if I can delete them to make some space. It seems strange that I can't find an option to do this in iPhoto - am I missing something? A: No, there is no way to sort on size in iPhoto. From your context I guess you mean filesize. In iPhoto, size means the dimensions on the Photo (length by breadth, measured in pixels) - see the Export dialogue, for instance. iPhoto is all about the images and not the files that contain them, so I'm not surprised. It's a $15 app, you get a lot, but not everything. A: In a round-about way it can be done - although not from right within the iPhoto GUI - if you know the approximate dates or album names on the files you would like to delete. It's likely not as fast as you were hoping for as you have to go date by date (which I guess isn't helpful if every video was taken/imported on a different day), but it might be faster than examining the metadata for each and every photo/video within iPhoto within these albums (depending on your situation). Be very careful not to delete or move anything while in this folder other than the photos/videos you wish to get rid of otherwise you could break the library file. I would also STRONGLY suggest backing up your iPhoto library before trying this method. * *Quit iPhoto *Locate your iPhoto library (default file path is usually ~/Pictures/iPhoto library) *Right Click > Show Package Contents *Locate the "Masters" folder in the list and open it *Folders are broken down by date and subfolders are usually by album *Once you've located an album arrange files by size using Finder's view menu *Move any files you no longer wish to keep to a new folder on your Desktop *Relaunch iPhoto and ensure that everything is working correctly (and notice that the files you moved are gone!) *If you're comfortable with how everything looks you can now move that folder on your Desktop to the Trash and empty the Trash to regain the hard drive space *If you now have a problem with iPhoto I would just restore the iPhoto library from the backup you made before starting this process! (You'll be back to square 1, yes, but at least iPhoto will look proper again.) As you can see you still have to go through each album, but at least you can see the file size of every file within that album all at once without having to inspect each photo and video individually. Hope this speeds things up a bit for anyone with this same task in mind!
apple
{ "language": "en", "length": 478, "provenance": "stackexchange_00000.jsonl.gz:22690", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/80112" }
d4a5af1d1a85bcd67deda7dac60897fa2cfac819
Apple Stackexchange Q: Time Machine Backup at night only works when Laptop lid is opened Important: I back up to a time capsule, via wifi. * *I set my computer up to automatically wake up at 2:58 AM. *At 2:59 AM I run a script that launches "caffeinate -s", in order to prevent my MacBook to go back to sleep. *At 3:00 AM I run a scheduled Time Machine backup - Time Machine itself is turned off in the settings, though. *I run another script that kills caffeinate when the backupd process is gone, so my Mac can go back to sleep. My goal: Only run backups at night, when I usually do not use my MacBook. What happens: - When I make the Mac sleep, but have the lid open, it works as I'd like it. - When I make the Mac sleep by closing the lid, it doesn't work. Time Machine can't find the backup device. This is the caffeinate script. backupd is launched with TimeMachineScheduler. #!/bin/sh /usr/bin/caffeinate -s & while [ ! "$(pidof backupd)" ]; do sleep 10 done while [ "$(pidof backupd)" ]; do done /usr/bin/pkill caffeinate
Q: Time Machine Backup at night only works when Laptop lid is opened Important: I back up to a time capsule, via wifi. * *I set my computer up to automatically wake up at 2:58 AM. *At 2:59 AM I run a script that launches "caffeinate -s", in order to prevent my MacBook to go back to sleep. *At 3:00 AM I run a scheduled Time Machine backup - Time Machine itself is turned off in the settings, though. *I run another script that kills caffeinate when the backupd process is gone, so my Mac can go back to sleep. My goal: Only run backups at night, when I usually do not use my MacBook. What happens: - When I make the Mac sleep, but have the lid open, it works as I'd like it. - When I make the Mac sleep by closing the lid, it doesn't work. Time Machine can't find the backup device. This is the caffeinate script. backupd is launched with TimeMachineScheduler. #!/bin/sh /usr/bin/caffeinate -s & while [ ! "$(pidof backupd)" ]; do sleep 10 done while [ "$(pidof backupd)" ]; do done /usr/bin/pkill caffeinate
apple
{ "language": "en", "length": 189, "provenance": "stackexchange_00000.jsonl.gz:22695", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/80127" }
2e6a3b595ec1fb67348a85cb4c51136c7eeacacf
Apple Stackexchange Q: Is there a Mac OS X equivalent of the Linux iwconfig command? I'm looking for a command line tool in Mac OS X that performs the equivalent of the iwconfig command in Linux. Example: kirkland@x220:~/src/byobu/byobu$ iwconfig wlan0 wlan0 IEEE 802.11abgn ESSID:"serenity" Mode:Managed Frequency:2.462 GHz Access Point: 00:11:22:33:44:55 Bit Rate=1 Mb/s Tx-Power=15 dBm Retry long limit:7 RTS thr:off Fragment thr:off Power Management:off Link Quality=70/70 Signal level=-17 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:70 Missed beacon:0 A: ifconfig gives information about all interfaces, including WLAN. The WLAN interface is usually en1. $ ifconfig en1 en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 ether 20:c9:d0:97:22:e9 inet6 fe80::22c9:d0ff:fe97:22e9%en1 prefixlen 64 scopeid 0x5 inet 192.168.1.137 netmask 0xffffff00 broadcast 192.168.1.255 media: autoselect status: active airport -I gives information about WLAN interfaces (check out the man page for additional options) $ /System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Resources/airport -I en1 agrCtlRSSI: -68 agrExtRSSI: 0 agrCtlNoise: -85 agrExtNoise: 0 state: running op mode: station lastTxRate: 54 maxRate: 54 lastAssocStatus: 0 802.11 auth: open link auth: wpa2-psk BSSID: 11:22:33:44:55:66 SSID: serenity MCS: -1 channel: 6
Q: Is there a Mac OS X equivalent of the Linux iwconfig command? I'm looking for a command line tool in Mac OS X that performs the equivalent of the iwconfig command in Linux. Example: kirkland@x220:~/src/byobu/byobu$ iwconfig wlan0 wlan0 IEEE 802.11abgn ESSID:"serenity" Mode:Managed Frequency:2.462 GHz Access Point: 00:11:22:33:44:55 Bit Rate=1 Mb/s Tx-Power=15 dBm Retry long limit:7 RTS thr:off Fragment thr:off Power Management:off Link Quality=70/70 Signal level=-17 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:70 Missed beacon:0 A: ifconfig gives information about all interfaces, including WLAN. The WLAN interface is usually en1. $ ifconfig en1 en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 ether 20:c9:d0:97:22:e9 inet6 fe80::22c9:d0ff:fe97:22e9%en1 prefixlen 64 scopeid 0x5 inet 192.168.1.137 netmask 0xffffff00 broadcast 192.168.1.255 media: autoselect status: active airport -I gives information about WLAN interfaces (check out the man page for additional options) $ /System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Resources/airport -I en1 agrCtlRSSI: -68 agrExtRSSI: 0 agrCtlNoise: -85 agrExtNoise: 0 state: running op mode: station lastTxRate: 54 maxRate: 54 lastAssocStatus: 0 802.11 auth: open link auth: wpa2-psk BSSID: 11:22:33:44:55:66 SSID: serenity MCS: -1 channel: 6
apple
{ "language": "en", "length": 175, "provenance": "stackexchange_00000.jsonl.gz:22709", "question_score": "36", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/80187" }
34fe129d1cf9d6974d7ccdab1ce8f75e9faa36fd
Apple Stackexchange Q: What is accountsd and why does it want to use the "login" keychain? Periodically, I'm seeing this keychain dialog pop up: I click 'Cancel', then it pops up again, then I click 'Cancel' again, and it goes away for a while. (Maybe an hour or two, I haven't timed it.) I haven't noticed anything not working right. What's going on here? If it matters, this is OS X 10.8.2. A: Open Keychain Access, which can be found in /Applications/Utilities. Then select Keychain First Aid under Keychain Access. Enter your password and click to Verify (this is important to find out how is making the problem just in case it comes up again). If it shows Errors use the Repair function. In my case it looked like this before the repair. It found one error and it was fixed after the repair.
Q: What is accountsd and why does it want to use the "login" keychain? Periodically, I'm seeing this keychain dialog pop up: I click 'Cancel', then it pops up again, then I click 'Cancel' again, and it goes away for a while. (Maybe an hour or two, I haven't timed it.) I haven't noticed anything not working right. What's going on here? If it matters, this is OS X 10.8.2. A: Open Keychain Access, which can be found in /Applications/Utilities. Then select Keychain First Aid under Keychain Access. Enter your password and click to Verify (this is important to find out how is making the problem just in case it comes up again). If it shows Errors use the Repair function. In my case it looked like this before the repair. It found one error and it was fixed after the repair.
apple
{ "language": "en", "length": 142, "provenance": "stackexchange_00000.jsonl.gz:22711", "question_score": "55", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/80200" }
de733bd4c76ae719d15de86c16c80ed89ffe2344
Apple Stackexchange Q: How do I copy music to my iPhone using iTunes 11? I've always managed my iPhone/iPad/iPod Manually, I recently updated to iTunes 11 and now I can see no way to get my music onto my device. I used to be able to just drag songs from my library to my device, now there is seemingly no way to do this. I can view the music on my device by clicking on it on the top right corner of iTunes, but I can't seem to get to a state where I can drag music from my computer onto my device. I'm using iTunes 11.0.1.12 for Windows if that makes a difference. A: If you start draging arround tracks or albums there should open at the right a bar within your iPhone/iPad/iPod. Drag the track/album on it.
Q: How do I copy music to my iPhone using iTunes 11? I've always managed my iPhone/iPad/iPod Manually, I recently updated to iTunes 11 and now I can see no way to get my music onto my device. I used to be able to just drag songs from my library to my device, now there is seemingly no way to do this. I can view the music on my device by clicking on it on the top right corner of iTunes, but I can't seem to get to a state where I can drag music from my computer onto my device. I'm using iTunes 11.0.1.12 for Windows if that makes a difference. A: If you start draging arround tracks or albums there should open at the right a bar within your iPhone/iPad/iPod. Drag the track/album on it. A: * *find the very top left control button *click on the downward point triangle next to the control button *click Show Menu Bar on the drop down menu *on the Menu Bar click on View *click on Show Sidebar on the drop down menu *now you should be able to see your device on the left side bar *drag your music to your device as you please. A: I got it by clicking on the iDevice towards the upper-right, under the Info tab scroll down and check the box to Manually manage music. It will warn you that it needs to erase the library on your iDevice, proceed knowing that it will clear your music off your iDevice but you can then copy the music from your computer's iTunes library back on to your iDevice. Worked with my iPhone 4 6.0.1 iTunes 11 Windows XP A: Check the box Manually manage music and videos
apple
{ "language": "en", "length": 292, "provenance": "stackexchange_00000.jsonl.gz:22714", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/80209" }
22cec15dc1b11f77d6f2883cbdb474e504ab32d3
Apple Stackexchange Q: Can I download Mountain Lion and install it later? Can I download Mountain Lion from the App Store and install it on my machine later? I have a very slow Internet connection at home, but I am traveling with my MacBook now and have temporary access to a faster connection. I'd like to take advantage of the fast connection to download Mountain Lion, but I don't want to install it until I return home and make a backup of the machine first. A: Yes, the App store downloads an installer for Mountain Lion and stores it in the usual spot - /Applications. You should only need a network connection after installing to get updates, etc.. and not to run the installer outright. Be aware that the installation process deletes the installer once you are done installing the OS, so you might make a backup copy of the Install OS X Mountain Lion program before you run it.
Q: Can I download Mountain Lion and install it later? Can I download Mountain Lion from the App Store and install it on my machine later? I have a very slow Internet connection at home, but I am traveling with my MacBook now and have temporary access to a faster connection. I'd like to take advantage of the fast connection to download Mountain Lion, but I don't want to install it until I return home and make a backup of the machine first. A: Yes, the App store downloads an installer for Mountain Lion and stores it in the usual spot - /Applications. You should only need a network connection after installing to get updates, etc.. and not to run the installer outright. Be aware that the installation process deletes the installer once you are done installing the OS, so you might make a backup copy of the Install OS X Mountain Lion program before you run it. A: There are a few complications to be aware of, and I think Apple is tweaking the download behavior. The answer above only works if you're an Administrator user, you haven't downloaded ML before, and you don't have an old copy of your install file in reach of Spotlight. Also the download from App Store launches installer, so you have to quit to save it. The best description of how to do this that I've found is here: http://lifehacker.com/5929045/install-mountain-lion-on-as-many-macs-as-you-want-without-purchasing-additional-copies Briefly (I'll do a blog post on this): * *You need to do this from an admin account. I think if you use a non-admin account and quit the installer OS X deletes the download. *If you do this from an admin account Lifehacker suggests creating a fresh admin account for the download. I don't know if that's necessary, but I do know that if you quit the installer the installer does a Spotlight search looking for a previous Mountain Lion OS X Installer and then updates the previous installer. So you won't find it in Applications though the Installer icon will show up in Launchpad.
apple
{ "language": "en", "length": 343, "provenance": "stackexchange_00000.jsonl.gz:22720", "question_score": "6", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/80236" }
920a1245f9960e7aa1df46eec126e60172e56eda
Apple Stackexchange Q: Are there add-ons for Mail? Does Mail on Mac OS have any add-ons applicable ? Such as the ones possible in website-based Gmail application ? I would like a feature that allows me to UNDO a sent message. Gmail has an addon which accomplishes this. Is it possible in the Mail app ? A: There are plug-ins available for Apple Mail. Some are plug-ins, some are AppleScripts. You could easily accomplish this via AppleScript. For example, here's a set of AppleScripts for Apple Mail that includes a delay send one, although the author of those scripts notes that they haven't been updated recently and might not work with more current versions of OS X. You'll have to try it and see. Since it's an AppleScript, if you're willing to get your hands dirty, you can edit it to better meet your needs. Another option is Mail Scheduler, which includes delayed send as well as several other related items.
Q: Are there add-ons for Mail? Does Mail on Mac OS have any add-ons applicable ? Such as the ones possible in website-based Gmail application ? I would like a feature that allows me to UNDO a sent message. Gmail has an addon which accomplishes this. Is it possible in the Mail app ? A: There are plug-ins available for Apple Mail. Some are plug-ins, some are AppleScripts. You could easily accomplish this via AppleScript. For example, here's a set of AppleScripts for Apple Mail that includes a delay send one, although the author of those scripts notes that they haven't been updated recently and might not work with more current versions of OS X. You'll have to try it and see. Since it's an AppleScript, if you're willing to get your hands dirty, you can edit it to better meet your needs. Another option is Mail Scheduler, which includes delayed send as well as several other related items. A: There are actually quite a lot of addons for mail.app (See here and here—unfortunately these are both cobweb sites). Technically it's not possible to "unsend" an e-mail message. It would be possible to queue up a message that would be sent automatically a few minutes later, and that would give you time to catch those mistakes you normally catch the second you hit "send". (This is actually how Eudora worked.) But I'm not aware of anything that does this for mail.app.
apple
{ "language": "en", "length": 241, "provenance": "stackexchange_00000.jsonl.gz:22721", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/80238" }
94430f4b488f59a5e276dc023d206bac2593811a
Apple Stackexchange Q: NAT port forwarding from host to client in VMWare Fusion 5? How do I forward ports from my host machine to the virtualized machine when I'm using NAT to share my network connection? I found some instructions for earlier versions of VMWare, but I don't see the files they mention in the same location in my installation. A: Based on the VMWare knowledge base. The following commands can be used to update the changes without restarting Fusion 4.x and later. These can be used if you not want to relaunch Fusion, if you have other Virtual Machines running. sudo /Applications/VMware\ Fusion.app/Contents/Library/vmnet-cli --stop sudo /Applications/VMware\ Fusion.app/Contents/Library/vmnet-cli --start Make sure you skip the --configure step as it will reset the nat.conf file to defaults. Source: http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1026510
Q: NAT port forwarding from host to client in VMWare Fusion 5? How do I forward ports from my host machine to the virtualized machine when I'm using NAT to share my network connection? I found some instructions for earlier versions of VMWare, but I don't see the files they mention in the same location in my installation. A: Based on the VMWare knowledge base. The following commands can be used to update the changes without restarting Fusion 4.x and later. These can be used if you not want to relaunch Fusion, if you have other Virtual Machines running. sudo /Applications/VMware\ Fusion.app/Contents/Library/vmnet-cli --stop sudo /Applications/VMware\ Fusion.app/Contents/Library/vmnet-cli --start Make sure you skip the --configure step as it will reset the nat.conf file to defaults. Source: http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1026510 A: Okay, I found out where it's located - /Library/Preferences/VMware Fusion/vmnet8/nat.conf So, open it up (VMWare shouldn't be running while you do this): sudo nano /Library/Preferences/VMware\ Fusion/vmnet8/nat.conf Go down in the file, there should be a section like: [incomingtcp] # Use these with care - anyone can enter into your VM through these... # The format and example are as follows: #<external port number> = <VM's IP address>:<VM's port number> #35 = 172.16.126.128:22 Uncomment that last line, and edit as appropriate. Couple of notes: * *These instructions are for TCP port forwarding, there's a corresponding [incomingudp] section for UDP *If for some reason this section doesn't already exist, just add it
apple
{ "language": "en", "length": 236, "provenance": "stackexchange_00000.jsonl.gz:22730", "question_score": "12", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/80266" }
4c25413009fd5f1560a06d6276e664b0a7181377
Apple Stackexchange Q: Child process exited with status 254 error when extracting a tar.xz file I'm trying to extract a tar.xz file with tar in Mac OS X Lion. I'm using bsdtar 2.8.3 - libarchive 2.8.3. I'm able to use tar to extract anything else I've tried (.zip, .tar, .tar.gz, etc.), but when I try to extract the file (this file to be precise) using tar -Jxf cclive-0.7.11.tar.xz, I get this error: tar: Error opening archive: Child process exited with status 254Child process exited with status 254 A: Same error here (tried GNU tar and the one included in OS X). You are missing the xz compression program which tar tries to use. Either install a precompiled xz from Sourceforge or, if you are like me, download the source from http://tukaani.org/xz/ and compile it yourself: $ ./configure $ make $ sudo make install (Unless told otherwise, ./configure installs xz in /usr/local/bin. You possibly want to add it to $PATH.) Then: $ xz --decompress cclive-0.7.11.tar.xz $ l cclive-0.7.11.tar -rw-r--r-- 1 jaume 1832960 2012-12-12 15:18 cclive-0.7.11.tar Now untar as usual: $ tar xf cclive-0.7.11.tar
Q: Child process exited with status 254 error when extracting a tar.xz file I'm trying to extract a tar.xz file with tar in Mac OS X Lion. I'm using bsdtar 2.8.3 - libarchive 2.8.3. I'm able to use tar to extract anything else I've tried (.zip, .tar, .tar.gz, etc.), but when I try to extract the file (this file to be precise) using tar -Jxf cclive-0.7.11.tar.xz, I get this error: tar: Error opening archive: Child process exited with status 254Child process exited with status 254 A: Same error here (tried GNU tar and the one included in OS X). You are missing the xz compression program which tar tries to use. Either install a precompiled xz from Sourceforge or, if you are like me, download the source from http://tukaani.org/xz/ and compile it yourself: $ ./configure $ make $ sudo make install (Unless told otherwise, ./configure installs xz in /usr/local/bin. You possibly want to add it to $PATH.) Then: $ xz --decompress cclive-0.7.11.tar.xz $ l cclive-0.7.11.tar -rw-r--r-- 1 jaume 1832960 2012-12-12 15:18 cclive-0.7.11.tar Now untar as usual: $ tar xf cclive-0.7.11.tar A: brew install xz .. then repeat the original command
apple
{ "language": "en", "length": 190, "provenance": "stackexchange_00000.jsonl.gz:22731", "question_score": "6", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/80269" }
8b83dda3c95e669a5cadaea11e5b6a1348aaff97
Apple Stackexchange Q: Which Exchange Email apps for iPhone 5 allow advanced font and layout controls? What I need in my Microsoft Exchange 2010 mail client: * *send e-mails in the text font I want *send e-mails with my HTML signature *reply to e-mails without unformatting the e-mail being replied to *having the sent e-mail look just as it was sent by Microsoft Outlook itself *no artifacts like having the replied e-mail sent as an HTML attachment Coming from an Android, I had this with Touchdown. What do you recommend for iPhone 5? What's the best, well integrated with the device, Exchange 2010 mail client? A: Try Mail+ for Outlook. It is similar to the native iOS experience. Though it currently doesn't offer all of the features you mentioned, I know there is a new update coming by the end of February which will have rich text editing and better reply experiences. Apple severely limits the ability to use push notifications, so don't expect too many iOS mail clients to provide.
Q: Which Exchange Email apps for iPhone 5 allow advanced font and layout controls? What I need in my Microsoft Exchange 2010 mail client: * *send e-mails in the text font I want *send e-mails with my HTML signature *reply to e-mails without unformatting the e-mail being replied to *having the sent e-mail look just as it was sent by Microsoft Outlook itself *no artifacts like having the replied e-mail sent as an HTML attachment Coming from an Android, I had this with Touchdown. What do you recommend for iPhone 5? What's the best, well integrated with the device, Exchange 2010 mail client? A: Try Mail+ for Outlook. It is similar to the native iOS experience. Though it currently doesn't offer all of the features you mentioned, I know there is a new update coming by the end of February which will have rich text editing and better reply experiences. Apple severely limits the ability to use push notifications, so don't expect too many iOS mail clients to provide. A: Altamail might be another solution to look at.
apple
{ "language": "en", "length": 178, "provenance": "stackexchange_00000.jsonl.gz:22740", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/80307" }
7a1653dd414be1343997dfbbbb4d4404e09ac7f0
Apple Stackexchange Q: NetCut Alternative For Mac OS X Any NetCut like app available for Mac OS X? I wonder if there are available alternative out there to scan and cut all devices that in our LAN connection. Thank you. A: JamWiFi is an open source project that allows you limit user sessions on your WiFi network. JamWiFi allows you to select one or more nearby wireless networks, thereupon presenting a list of clients which are currently active on the network(s). Furthermore, JamWiFi allows you to disconnect clients of your choosing for as long as you wish.
Q: NetCut Alternative For Mac OS X Any NetCut like app available for Mac OS X? I wonder if there are available alternative out there to scan and cut all devices that in our LAN connection. Thank you. A: JamWiFi is an open source project that allows you limit user sessions on your WiFi network. JamWiFi allows you to select one or more nearby wireless networks, thereupon presenting a list of clients which are currently active on the network(s). Furthermore, JamWiFi allows you to disconnect clients of your choosing for as long as you wish.
apple
{ "language": "en", "length": 95, "provenance": "stackexchange_00000.jsonl.gz:22741", "question_score": "5", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/80308" }
d4302c9802499591637a47efdc5b0f10930caba0
Apple Stackexchange Q: Facebook notification sound in OSX: cannot switch off In OSX Mountain Lion I'm getting beeps every time a facebook notification comes in. In System Preferences > Notifications > Facebook i have set my alert style to None. In the list on the left, the text below "Facebook" shows "Badges, Sounds". It gives me no method of turning off Badges or Sounds. Mail, Skype and others have two additional checkboxes visible: "Badge App Icon" and "Play sound when receiving notifications". Neither of these are visible on the Facebook item. So it appears impossible to turn off the sounds? A: I found it. Account Settings>Notifications>How You Get Notifications>On Facebook>Play a sound when each new notification is received (UNCHECK the box). So far, it seems to be working. Whew. Thanks, Steve.
Q: Facebook notification sound in OSX: cannot switch off In OSX Mountain Lion I'm getting beeps every time a facebook notification comes in. In System Preferences > Notifications > Facebook i have set my alert style to None. In the list on the left, the text below "Facebook" shows "Badges, Sounds". It gives me no method of turning off Badges or Sounds. Mail, Skype and others have two additional checkboxes visible: "Badge App Icon" and "Play sound when receiving notifications". Neither of these are visible on the Facebook item. So it appears impossible to turn off the sounds? A: I found it. Account Settings>Notifications>How You Get Notifications>On Facebook>Play a sound when each new notification is received (UNCHECK the box). So far, it seems to be working. Whew. Thanks, Steve.
apple
{ "language": "en", "length": 129, "provenance": "stackexchange_00000.jsonl.gz:22745", "question_score": "5", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/80326" }
35bd015f729b011c4fb7fa2314db5435fdbdca06
Apple Stackexchange Q: How to know which directory contains the file that I'm editing in TextEdit? Very basic question - I am editing a file using the basic system TextEdit app. As I actually have the file in question in several locations, how can I tell what directory the one that I am editing is actually residing in. In Linux and Windows I can find this out easily but this does not seem obvious on my Mac. This is using the basic TextEdit on my Mac and my Mac is OSX Lion 10.7.5 A: Hold down the Command or Ctrl key and click on the icon or file name in the center of the title bar of text edit's document window. Be sure to click on the title itself. The containing directory structure will be shown in reverse-hierarchical order.
Q: How to know which directory contains the file that I'm editing in TextEdit? Very basic question - I am editing a file using the basic system TextEdit app. As I actually have the file in question in several locations, how can I tell what directory the one that I am editing is actually residing in. In Linux and Windows I can find this out easily but this does not seem obvious on my Mac. This is using the basic TextEdit on my Mac and my Mac is OSX Lion 10.7.5 A: Hold down the Command or Ctrl key and click on the icon or file name in the center of the title bar of text edit's document window. Be sure to click on the title itself. The containing directory structure will be shown in reverse-hierarchical order. A: They're called Folder Proxies, and do amazing little things. Hold down the Option key on a Proxy, it turns dark and become dragable, to movie, copy, make an alias. Related: In Safari, holding down Command on the title reveals the path up the site. I'm sure there's more ... A: Thanks, Zo219! I had no idea! Your "do amazing things" led me to experiment. * *Ctrl+Click on the filename in the title bar, or secondary click. That opens the list of "Folder Proxies" (a new term for me). *Option+Click on the folder name, right under the filename. That opens up a Finder window with the current file selected. If Finder > View > Show Pathbar has been selected, the bottom of the Finder window will show the path to the file. Rightclick on the filename at the far right end and select Copy '<filename>' as path to put the full path to the current file into the clipboard. For my purposes, being able to copy the path is often far more useful than just being able to look at it. Thanks!
apple
{ "language": "en", "length": 319, "provenance": "stackexchange_00000.jsonl.gz:22752", "question_score": "6", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/80347" }
3de782fce45d0f610c030a78ecd25058e6e3206f
Apple Stackexchange Q: Paste and Match Style - Default? I find that "Paste and Match Style" is more often useful than just "Paste" when I am copying text. Is there a way to make this the default behavior? The (long) keyboard shortcuts are also inconsistent between applications and difficult to remember. For example: TextEdit - ⌥+⇧+⌘+V Chrome - ⇧+⌘+V A: This will do the trick: * *Go to System Preferences / Keyboard / Keyboard Shortcuts / Applications. *Click the + button. *Choose All Applications, from the drop-down list. *On the menu title field add the exact name of the menu bar item. *Pick your keyboard shortcut and click Add. In case you overwrite the default Command+V shortcut, if the application lacks the Paste and Match Style option, paste will work as usual.
Q: Paste and Match Style - Default? I find that "Paste and Match Style" is more often useful than just "Paste" when I am copying text. Is there a way to make this the default behavior? The (long) keyboard shortcuts are also inconsistent between applications and difficult to remember. For example: TextEdit - ⌥+⇧+⌘+V Chrome - ⇧+⌘+V A: This will do the trick: * *Go to System Preferences / Keyboard / Keyboard Shortcuts / Applications. *Click the + button. *Choose All Applications, from the drop-down list. *On the menu title field add the exact name of the menu bar item. *Pick your keyboard shortcut and click Add. In case you overwrite the default Command+V shortcut, if the application lacks the Paste and Match Style option, paste will work as usual.
apple
{ "language": "en", "length": 130, "provenance": "stackexchange_00000.jsonl.gz:22755", "question_score": "6", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/80358" }
0d07ae68101cd9bd7ae2d0d6158fe2949215b7a3
Apple Stackexchange Q: How to find devices on my local network through their IP address I have a local network powered by a Time Capsule, and connected to 4 or 5 macs. There are other devices on the network too. (Printers, IP Cameras, etc). Is there a way to list the devices on the local network - and their IP addresses? I've seen this Q/A How do I know the IP addresses of other computers in my network? but the responses do not show what is what - just a list of IP addresses. A: If you have Android or iOS devices running on the same network, you can install a FREE app called Fing and list all devices connected and their MAC addresses and IPs.
Q: How to find devices on my local network through their IP address I have a local network powered by a Time Capsule, and connected to 4 or 5 macs. There are other devices on the network too. (Printers, IP Cameras, etc). Is there a way to list the devices on the local network - and their IP addresses? I've seen this Q/A How do I know the IP addresses of other computers in my network? but the responses do not show what is what - just a list of IP addresses. A: If you have Android or iOS devices running on the same network, you can install a FREE app called Fing and list all devices connected and their MAC addresses and IPs. A: You can view this in Finder: in the Sidebar, there is a collapsable group called SHARED (if you don't see it, Finder > Preferences > Sidebar > SHARED , and ensure that Bonjour Computers is checked, but it's probably helpful to check all of them). To view all detactable network devices, select All…. To get a device's IP address, select it and Get Info (ctrl+click > Get Info or cmd+i). Alternatively to find a specific device's IP via Terminal, run nslookup $hostname, replacing $hostname with the device's name listed in Finder: ex nslookup foo.yournetwork.com. Beyond that, you'd have to log into the router to see what devices are connected (its admin GUI will/should display the device's name next to the IP address it assigned to it). A: There are different way to locate devices on your network : Netbios traffic / ARP traffic / bonjour traffic / ICMP probes... Now the most reliable would be to use a good tool such as nmap which is able to perform multiple probes to discover nodes on your network. You can download nmap for Mac OS here (This isn't the latest version, but it is easier to install this way) : http://nmap.org/dist/nmap-6.46.dmg You can then run this script, or paste line after line in the terminal. Add -sV in the sudo nmap command if you want it to be more reliable (but also slower) #!/bin/bash $i=en1 cidr=$(while read y; do echo ${y%.*}".0/$(m=0; while read -n 1 x && [ $x = f ]; do m=$[m+4]; done < <(ifconfig $i | awk '/mask/ {$4=substr($4,3); print $4}'); echo $m )"; done < <(ifconfig $i | awk '/inet[ ]/{print $2}')) myip=`ifconfig $i | grep "inet " | awk 'NR==1 {print $2}'` echo "sudo nmap -n -T4 -PN --exclude $myip $cidr" sudo nmap -n -T4 -PN --exclude "$myip" "$cidr" A: I bought this software. It works ok. http://www.macupdate.com/app/mac/36478/inet
apple
{ "language": "en", "length": 436, "provenance": "stackexchange_00000.jsonl.gz:22759", "question_score": "7", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/80370" }
c287a2e4a4857ae3a9be84028ad195b48b68498e
Apple Stackexchange Q: Using Kaleidoscope with PhpStorm I'm currently trying to get PhpStorm to use Kaleidoscope as a diff tool, but struggling a little. So far in Storm, I've... * *gone to Preferences *gone to the External Diff Tools tab *set Kaleidoscope to be used as the tool to compare files (/Applications/Kaleidoscope.app/Contents/MacOS/Kaleidoscope) *also tried setting the parameters (%1 %2 %3) to no avail When I open a file with Storm, then browse to another file in the Project tool in Storm and go Right Click -> Compare File With Editor, I get 2 separate Kaleidoscope windows each with a left-hand-side, instead of 1 window with a left and a right - any ideas? A: Eventually sussed it - if anyone comes here in future, you want to install KSDiff (also available from the Kaleidoscope site), then go to the External Diff Tools tab in Storm, and set it up as: * *External Compare Tool: /usr/local/bin/ksdiff *Parameters: %1 %2 Then open Kaleidoscope and leave it running - if you don't, nothing will happen.
Q: Using Kaleidoscope with PhpStorm I'm currently trying to get PhpStorm to use Kaleidoscope as a diff tool, but struggling a little. So far in Storm, I've... * *gone to Preferences *gone to the External Diff Tools tab *set Kaleidoscope to be used as the tool to compare files (/Applications/Kaleidoscope.app/Contents/MacOS/Kaleidoscope) *also tried setting the parameters (%1 %2 %3) to no avail When I open a file with Storm, then browse to another file in the Project tool in Storm and go Right Click -> Compare File With Editor, I get 2 separate Kaleidoscope windows each with a left-hand-side, instead of 1 window with a left and a right - any ideas? A: Eventually sussed it - if anyone comes here in future, you want to install KSDiff (also available from the Kaleidoscope site), then go to the External Diff Tools tab in Storm, and set it up as: * *External Compare Tool: /usr/local/bin/ksdiff *Parameters: %1 %2 Then open Kaleidoscope and leave it running - if you don't, nothing will happen.
apple
{ "language": "en", "length": 170, "provenance": "stackexchange_00000.jsonl.gz:22763", "question_score": "7", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/80378" }
930c43ad891200630eb456342f3706ebbfa72a05
Apple Stackexchange Q: Finder opens new window each time I just created a DMG and threw some folders in it. If I double-click a folder it opens in a new Finder window each time. Folders outside of the DMG are still opening normally. Holding option when I double-click causes the former window to close, but it's pretty inconvenient. Does anyone know how to get a DMG to show up in a normal Finder shell? This is what I'm seeing, for what it's worth: A: There are many things that could be going wrong here. First of all, make sure that when you navigate to Finder > Preferences > General, the option "Always open folders in a new window" is unchecked. If not, there are many solutions to your problem listed below: * *Naviate to View > Show Toolbar *Navigate to View > as List, as Columns, or as Cover Flow *Get TotalFinder (http://totalfinder.binaryage.com/), which adds many more settings to Finder Good luck!
Q: Finder opens new window each time I just created a DMG and threw some folders in it. If I double-click a folder it opens in a new Finder window each time. Folders outside of the DMG are still opening normally. Holding option when I double-click causes the former window to close, but it's pretty inconvenient. Does anyone know how to get a DMG to show up in a normal Finder shell? This is what I'm seeing, for what it's worth: A: There are many things that could be going wrong here. First of all, make sure that when you navigate to Finder > Preferences > General, the option "Always open folders in a new window" is unchecked. If not, there are many solutions to your problem listed below: * *Naviate to View > Show Toolbar *Navigate to View > as List, as Columns, or as Cover Flow *Get TotalFinder (http://totalfinder.binaryage.com/), which adds many more settings to Finder Good luck!
apple
{ "language": "en", "length": 160, "provenance": "stackexchange_00000.jsonl.gz:22768", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/80402" }
002d53ee1b04dd01b613f345a999d6a2916772bd
Apple Stackexchange Q: How to take a full page screenshot in Mac OS Safari? I'm looking for a Safari Extension that can take full page screenshots. I am aware there are various extensions, but haven't found any that would take full page images. A: No plugins or anything needed - latest Safari (7, not sure from which version this works) can save to PDF. File -> Export as PDF... and you get entire page, images and all. And it's a lovely hi-res PDF.
Q: How to take a full page screenshot in Mac OS Safari? I'm looking for a Safari Extension that can take full page screenshots. I am aware there are various extensions, but haven't found any that would take full page images. A: No plugins or anything needed - latest Safari (7, not sure from which version this works) can save to PDF. File -> Export as PDF... and you get entire page, images and all. And it's a lovely hi-res PDF. A: Safari can do this out of the box: the key is that you need to adjust the page size when printing to PDF. * *Load the website *File -> Print... *Under the "Paper Size" pop-up, select "Manage Custom Sizes" *Create a new paper size that fits the entire webpage (eg, 8.5in x 30in). *Use the PDF pop-up to "Save as PDF..." The downside to this approach is that if the site has different screen and print styles, you can only get a PDF of the print style. A: Paparazzi! is great for full page screenshots. It is not a Safari Extension, yet it has a very nice feature that enables you to launch it from Safari. Type paparazzi: in the address bar before the URL, it will launch the application with specified URL. Here is the list of URL format that Paparazzi! uses: http://derailer.org/paparazzi/urlformat A: I am not aware of any Safari Extensions which can do this, but Skitch can also do this. A: Maybe Don't give http://awesomescreenshot.com/ a try, see disclaimer below. There are better options available, see other answers to this question. Awesome Screenshot is a browser plugin that can capture * *the full site *the visible part or *a selection of the site. It also allows for basic annotation of the screenshot as well as downloading it or saving it on the web for access by URL. Available as extension to Safari, Firefox and Chrome. DISCLAIMER: there are strong indications that Awesome Screenshot sends information about your browser history to third party servers. I would not recommend this after all. It also has a history of integrating adware in it's extension and then apologizing for it afterwards. A: Evernote Web Clipper, a Safari extension, clips Full Screen or Selection. To a web notebook, yes, but that syncs to Evernote on your computer just about instantly, manually, or set a timed sync. A: CHROME> try extension called full screen capture. I found it to be quick and captures very long htmls pages as pngs. Hope this helps someone. A: In Safari, click Save As... on the File menu; then, click Save to create a PDF of the web page on the Desktop. Open the PDF in Preview. Click Export As... on the File menu. Choose an image format, and then click Save. For a complete listing of all screenshot-capture command available in the Finder: support.apple.com/en-us/HT201361 By the way, on Mac OS X 10.11.x, you can set a system preference to hide the menu bar, just like the dock. A: To get a png of an open window—including Safari webpage: Shift+Cmd+4 ...which makes a crosshair appear...then... press Space ...turning the crosshair into a camera icon. Use this to click on the window/webpage you want to screenshot. It includes the drop shadow with transparency. A: * *Open that website *Go to File → Save as from the menu bar *Save it on your desktop You will then have your webpage screenshot on your desktop A: Try Jing. It is not a Safari extension, but it is always available if you choose for it to be. It will amaze -- and it's free.
apple
{ "language": "en", "length": 604, "provenance": "stackexchange_00000.jsonl.gz:22774", "question_score": "49", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/80434" }
de3a4c55bab50eefcd8c7f6eba69bb54cf32c350
Apple Stackexchange Q: Multithreaded Video Converter on Mac? Is there an app for Mac that can distribute a single video encoding job to several thread to utilize the full potential of the system? I used an application called iFlicks to do video encoding, and as far as I know, it's single-threaded, so even though it can use all my CPU time, it cannot squeeze the best performance out of my system. I am using a 15" MacBook Pro with Retina Display. Also, I knew that there were multithreaded ffmpeg implementation, but I can't figure out how to use that. If anyone could help, it's much appreciated. A: Compressor by Apple not only one of the most fully featured encoders around and fully supports multiple threads, it even supports distributed encoding so that more than one Mac can work on a single job.
Q: Multithreaded Video Converter on Mac? Is there an app for Mac that can distribute a single video encoding job to several thread to utilize the full potential of the system? I used an application called iFlicks to do video encoding, and as far as I know, it's single-threaded, so even though it can use all my CPU time, it cannot squeeze the best performance out of my system. I am using a 15" MacBook Pro with Retina Display. Also, I knew that there were multithreaded ffmpeg implementation, but I can't figure out how to use that. If anyone could help, it's much appreciated. A: Compressor by Apple not only one of the most fully featured encoders around and fully supports multiple threads, it even supports distributed encoding so that more than one Mac can work on a single job. A: Handbreak converts videos to H.264(x264), MPEG-4 and MPEG-2 (libav) and uses multiple cores. A: You can benefit from using AppGeeker MOV MP4 Converter for Mac, it is a nice little multithreaded media conversion tool that can convert almost every video format on Mac.
apple
{ "language": "en", "length": 184, "provenance": "stackexchange_00000.jsonl.gz:22780", "question_score": "5", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/80462" }
08ee1c7aa88eedd1eb9a8ceef9f55d553e99c0ba
Apple Stackexchange Q: How to batch convert word documents to pdf? Is there a scriptable way that I can convert several MS Word documents to PDF? I thought this might be possible using python, but I am unable to find any advice online on how best to do this. A: NOTE : the below instructions are for Macs running 10.4 or earlier, no longer works on 10.5 (Leopard), 10.6 (Snow Leopard), 10.7 (Lion), 10.8 (Mountain Lion). Open Automator. Create a new custom workflow. From the Actions panel library, select Files & Folders then double-click Get Specified Finder Items. Add the items you wish to convert. Next, from the library, select Documents, then double click Convert Format of Word Documents. From the dropdown menu, select the format you wish to convert the files to. In our case we select Portable Document Format (PDF) Now we are ready to run the action. Click the run button in the top right of the automator window. Open up your destination folder and verify your files have been successfully converted. Source: http://aseriesoftubes.com/articles/how-to-batch-convert-doc-files-to-pdf-format-using-mac-osx-automator/
Q: How to batch convert word documents to pdf? Is there a scriptable way that I can convert several MS Word documents to PDF? I thought this might be possible using python, but I am unable to find any advice online on how best to do this. A: NOTE : the below instructions are for Macs running 10.4 or earlier, no longer works on 10.5 (Leopard), 10.6 (Snow Leopard), 10.7 (Lion), 10.8 (Mountain Lion). Open Automator. Create a new custom workflow. From the Actions panel library, select Files & Folders then double-click Get Specified Finder Items. Add the items you wish to convert. Next, from the library, select Documents, then double click Convert Format of Word Documents. From the dropdown menu, select the format you wish to convert the files to. In our case we select Portable Document Format (PDF) Now we are ready to run the action. Click the run button in the top right of the automator window. Open up your destination folder and verify your files have been successfully converted. Source: http://aseriesoftubes.com/articles/how-to-batch-convert-doc-files-to-pdf-format-using-mac-osx-automator/
apple
{ "language": "en", "length": 175, "provenance": "stackexchange_00000.jsonl.gz:22788", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/80486" }
459e041484b1bef8e0c0a2d9c6a46defd0623cf0
Apple Stackexchange Q: Does Find My Mac stop working after the system has been wiped? Possible Duplicate: If Macbook has been wiped, will “find my iPhone” still work? I lost my Macbook Pro recently. I had activated iCloud on the computer, so Find My Mac is operable. If the thief wipes the hard drive, and installs a fresh operating system, OSX Lion or Leopard, for example, then will I still be able to locate my device? In particular if the thief installs Leopard (which obviously doesn't support Find my Mac) will Find My Mac still work? A: If the thief just wipes the harddrive, there is a slight chance that your device will still show up in Find My Mac as the association is saved in the NVRAM which persists even after a drive format. However, if the thief or new owner clears the NVRAM in any way, or reconfigures iCloud with another account and enables Find My Mac for it, the association will be deleted or overwritten, and you will no longer be able to track your device. See this question for more on the subject.
Q: Does Find My Mac stop working after the system has been wiped? Possible Duplicate: If Macbook has been wiped, will “find my iPhone” still work? I lost my Macbook Pro recently. I had activated iCloud on the computer, so Find My Mac is operable. If the thief wipes the hard drive, and installs a fresh operating system, OSX Lion or Leopard, for example, then will I still be able to locate my device? In particular if the thief installs Leopard (which obviously doesn't support Find my Mac) will Find My Mac still work? A: If the thief just wipes the harddrive, there is a slight chance that your device will still show up in Find My Mac as the association is saved in the NVRAM which persists even after a drive format. However, if the thief or new owner clears the NVRAM in any way, or reconfigures iCloud with another account and enables Find My Mac for it, the association will be deleted or overwritten, and you will no longer be able to track your device. See this question for more on the subject. A: Just made a fresh test (with MacOS 10.14.4) where Find my Mac was activated. During the entire installation process I was able to send signals to the machine from iCloud.com. But at first startup/log in all connections were lost... I don't know if this is how it's supposed to work, but this is the reality. :( A: The answer is no. iCLoud will be deleted along with everything else. Keep iCloud open on your current computer to make sure you get each location the device is located at.
apple
{ "language": "en", "length": 274, "provenance": "stackexchange_00000.jsonl.gz:22790", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/80490" }
b56aeef9321b852d5abe4390de130ddbe0d36639
Apple Stackexchange Q: Change main keyboard layout in OS X I have two active keyboard layouts - US english and russian. I have russian as my primary system language and the option "allow different input language for different documents" is active. But when I open any app keyboard automatically switches to russian, while I want it to be english by default. Is there any way to change the default keyboard layout without changing system language? A: When I tried enabling the setting (Input source options: Allow a different one for each document), new windows seemed to just use the current input source. Anyway, you could try running sudo /System/Library/CoreServices/Setup\ Assistant.app/Contents/MacOS/Setup\ Assistant and selecting US as the default input method. (You have to go through the steps of creating a new account, but you can delete it later.) It modifies at least /var/root/Library/Preferences/ByHost/com.apple.HIToolbox.*.plist. If that doesn't work, try running sudo languagesetup and selecting English, or sudo defaults write /Library/Preferences/.GlobalPreferences.plist AppleLocale en_US and restarting.
Q: Change main keyboard layout in OS X I have two active keyboard layouts - US english and russian. I have russian as my primary system language and the option "allow different input language for different documents" is active. But when I open any app keyboard automatically switches to russian, while I want it to be english by default. Is there any way to change the default keyboard layout without changing system language? A: When I tried enabling the setting (Input source options: Allow a different one for each document), new windows seemed to just use the current input source. Anyway, you could try running sudo /System/Library/CoreServices/Setup\ Assistant.app/Contents/MacOS/Setup\ Assistant and selecting US as the default input method. (You have to go through the steps of creating a new account, but you can delete it later.) It modifies at least /var/root/Library/Preferences/ByHost/com.apple.HIToolbox.*.plist. If that doesn't work, try running sudo languagesetup and selecting English, or sudo defaults write /Library/Preferences/.GlobalPreferences.plist AppleLocale en_US and restarting. A: Try the option Use the same one in all documents and with a keyboard shortcut you can easily switch between different input methods, for example, Cmd + Space.
apple
{ "language": "en", "length": 189, "provenance": "stackexchange_00000.jsonl.gz:22807", "question_score": "11", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/80562" }
0f32ea3adb1483475a32e934a2cb089a23ea6173
Apple Stackexchange Q: How can I circumvent XProtect and re-enable Java Applets? So, Apple has again updated their XProtect malware definitions to block Java Applets. Unfortunately, my wife's employer's VPN requires an Applet to be run in order to fully establish connectivity. She woke up this morning to discover she couldn't connect to work. I have little hope that her employer's IT organization will do anything to resolve this anytime soon, so I'm trying to figure out a way to override XProtect and re-enable Applets. Yes, I understand the dangers associated with such. I haven't yet tried updating the XProtect.meta.plist file to change the version information, but I suspect that wouldn't be a durable fix even if it did work temporarily, as the XProtect daemon would presumably re-download updated definitions. Anybody knowledgeable on the inner workings of XProtect? The computer is still on Snow Leopard, running Java 6. A: You can disable the XProtect updates in System Preferences => Security => General, and there uncheck the box "Automatically update safe downloads list." Now you can change the version info in /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/XProtect.meta.plist
Q: How can I circumvent XProtect and re-enable Java Applets? So, Apple has again updated their XProtect malware definitions to block Java Applets. Unfortunately, my wife's employer's VPN requires an Applet to be run in order to fully establish connectivity. She woke up this morning to discover she couldn't connect to work. I have little hope that her employer's IT organization will do anything to resolve this anytime soon, so I'm trying to figure out a way to override XProtect and re-enable Applets. Yes, I understand the dangers associated with such. I haven't yet tried updating the XProtect.meta.plist file to change the version information, but I suspect that wouldn't be a durable fix even if it did work temporarily, as the XProtect daemon would presumably re-download updated definitions. Anybody knowledgeable on the inner workings of XProtect? The computer is still on Snow Leopard, running Java 6. A: You can disable the XProtect updates in System Preferences => Security => General, and there uncheck the box "Automatically update safe downloads list." Now you can change the version info in /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/XProtect.meta.plist A: Just got bitten by this & there is another way to re-enable Java that is outlined here. So the deal is Apple will not load Java less than version 1.6.0_37-b06-435 or 1.7.11.22. So the hacky—but usable—solution is to edit the XProtect.meta.plist. Using my 10.6.8 install using Java 1.6.0_37-b06-434 as an example. sudo nano /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/XProtect.meta.plist Find this line: <string>1.6.0_37-b06-435</string> And change it to this: <string>1.6.0_37-b06-434</string> Was able to do this & have loaded a Java page with a plug-in without issue. Why does Apple set the expiration to January 31, 2013 but doesn’t release an update prior to that date is beyond me.
apple
{ "language": "en", "length": 282, "provenance": "stackexchange_00000.jsonl.gz:22813", "question_score": "9", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/80590" }
1f7732b6b903146080fc7a7f23148fbc41d69da2
Apple Stackexchange Q: Can't create a Fluid App due to "Invalid Certificate" I am trying to create a Fluid App for a work intranet. It says the certificate is invalid, is there a way to get around that? A: Developer of Fluid here. Yes, you can fix this now by: * *Visit the page in Safari *Expand the "Invalid Certificate" Dialog *Select "Always Trust" option Now you can it works in Fluid too
Q: Can't create a Fluid App due to "Invalid Certificate" I am trying to create a Fluid App for a work intranet. It says the certificate is invalid, is there a way to get around that? A: Developer of Fluid here. Yes, you can fix this now by: * *Visit the page in Safari *Expand the "Invalid Certificate" Dialog *Select "Always Trust" option Now you can it works in Fluid too
apple
{ "language": "en", "length": 71, "provenance": "stackexchange_00000.jsonl.gz:22819", "question_score": "8", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/80607" }
ca164a2b8920df2fb35950915f806f834427aa84
Apple Stackexchange Q: Merging Multiple CSV Files without merging the header I need to merge multiple .CSV files (using the cat command) but without copying the header for each file. What's the best way to accomplish this task? A: You could also use a group command ({ ; }) instead of process substitution (<()): { head -n1 file1.csv; for f in file*.csv; do tail -n+2 "$f"; done; } > new.csv It also works with CRLF line endings as long as the files end with an empty line (\r\n). The number-only versions of head and tail were made obsolete by POSIX 1003.1-2001, and they result in warnings in some environments.
Q: Merging Multiple CSV Files without merging the header I need to merge multiple .CSV files (using the cat command) but without copying the header for each file. What's the best way to accomplish this task? A: You could also use a group command ({ ; }) instead of process substitution (<()): { head -n1 file1.csv; for f in file*.csv; do tail -n+2 "$f"; done; } > new.csv It also works with CRLF line endings as long as the files end with an empty line (\r\n). The number-only versions of head and tail were made obsolete by POSIX 1003.1-2001, and they result in warnings in some environments. A: You'll need more than the cat command, as described here: Say you have 3 CSV-files: file1.csv, file2.csv, and file3.csv and want to join them to bigfile.csv and your header is always (only) the first line, then use either (keep header from first file "file1.csv"): cat file1.csv <(tail +2 file2.csv) <(tail +2 file3.csv) > bigfile.csv or (remove header from all files who's names begin with "file"): awk 'FNR > 1' file*.csv > bigfile.csv A: I agree with the top answer but I suggest to extend it with the following scenario (as I can not comment): If you want the output file to contain header (once) the correct script is: awk '(NR == 1) || (FNR > 1)' file*.csv > bigfile.csv FNR represents the number of the processed record in a single file. And NR represents it globally, so first line is accepted and the rest are ignored as before. A: Needed to concatenate two large CSVs with identical columns into larger CSV for chunking script (data does not have unique id's). First took header out of second csv awk 'FNR > 1' file2.csv > file2_noheading.csv Next, concatenated via the following cat file1.csv file2_noheading.csv > newfile.csv A: Using the command sequence above resulted in a file looking like this: header,of,csv1 contents,of,csv1 ==> csv2.csv contents,of,csv2 To make it a proper CSV, with one header line and all the relevant values, I employed the following sed incantation... sed -ie "/^$/d;/^==>/d" bigfile.csv A: Easier Solution if you have a ton of files : awk 'FNR > 1' *.csv > merged.csv Just go back to edit the big file and add the header back in.
apple
{ "language": "en", "length": 377, "provenance": "stackexchange_00000.jsonl.gz:22820", "question_score": "35", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/80611" }
916f1d44283f837a2cf647bbcdf8b4be3a49e5f8
Apple Stackexchange Q: Import certificates into the System Keychain via the command line Is it possible to copy a certificate to a machine running OS X Snow Leopard, add it to the System Keychain, then set it to "Always Trust via SSH?" And if so... how? A: To import a trusted certificate use the terminal command sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain <certificate> This will add a trusted certificate to the System.keychain. You should modify the options and paths to suit your situation. See the man page for security for more information. ↬ Rich Trouton, Adding new trusted root certificates to System.keychain
Q: Import certificates into the System Keychain via the command line Is it possible to copy a certificate to a machine running OS X Snow Leopard, add it to the System Keychain, then set it to "Always Trust via SSH?" And if so... how? A: To import a trusted certificate use the terminal command sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain <certificate> This will add a trusted certificate to the System.keychain. You should modify the options and paths to suit your situation. See the man page for security for more information. ↬ Rich Trouton, Adding new trusted root certificates to System.keychain A: The selected answer does not really work on newer versions of MacOS. The correct command now is: sudo security add-trusted-cert -d -r trustAsRoot -k /Library/Keychains/System.keychain <certificate> Note: tested with MacOS 12(Monterey) and MacOS 13(Ventura)
apple
{ "language": "en", "length": 137, "provenance": "stackexchange_00000.jsonl.gz:22824", "question_score": "68", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/80623" }
dd353542fe2f3075500fba64bb23cf217b3f1bc8
Apple Stackexchange Q: How to delete a file using the delete key I want to use only the delete key in order to delete files in Finder — no key combinations. So far, I have been unable to find a configuration entry or even a 3rd party app that allow me to change the default behavior of OSX. I'm using several systems, and OS X is only one of them. Having some consistency is great. I really want that behavior as it seems straightforward to me that the delete key actually delete. Does someone have a solution? A: Looks like there are new key combinations that have been included in recent versions of the OS. https://support.apple.com/en-us/HT201236 * *Command-Delete: Move the selected item to the Trash. *Shift-Command-Delete: Empty the Trash. *Option-Shift-Command-Delete: Empty the Trash without confirmation dialog.
Q: How to delete a file using the delete key I want to use only the delete key in order to delete files in Finder — no key combinations. So far, I have been unable to find a configuration entry or even a 3rd party app that allow me to change the default behavior of OSX. I'm using several systems, and OS X is only one of them. Having some consistency is great. I really want that behavior as it seems straightforward to me that the delete key actually delete. Does someone have a solution? A: Looks like there are new key combinations that have been included in recent versions of the OS. https://support.apple.com/en-us/HT201236 * *Command-Delete: Move the selected item to the Trash. *Shift-Command-Delete: Empty the Trash. *Option-Shift-Command-Delete: Empty the Trash without confirmation dialog. A: This would make forward delete (fn+delete) move files to trash: defaults write com.apple.finder NSUserKeyEquivalents -dict-add 'Move to Trash' '\U007F' It also makes ⌦ move files to trash when renaming files though. The same method doesn't work for delete (⌫). You could also use KeyRemap4MacBook to change ⌫ to ⌘⌫ in Finder, but it would make renaming files and editing text even more difficult. Even if you could change it in Finder, there would still be other places where just delete wouldn't work. A: You can use Karabiner-Elements with a modification rule imported from here: The following custom rule that maps Delete to Cmd+Backspace: ~/.config/karabiner/assets/complex_modifications/_finder_custom.json { "title": "Finder Custom", "rules": [ { "description": "Use Delete as Move to Trash", "manipulators": [ { "type": "basic", "from": { "key_code": "delete_forward", "modifiers": { "optional": ["any"] } }, "to": [ { "key_code": "delete_or_backspace", "modifiers": ["left_command"] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "^com.apple.finder" ] } ] } ] } ] } Then open KE and on the Complex Modifications tab, push +Add Rule and then select your rule from the list. The downside is that if you rename a file using finder and press the delete (forward-delete) it deletes the text from the cursor to the beginning. Another downside is that if you click a file on your desktop and try to rename and use the delete key to delete some of the filename text, it deletes the file. While I still have this modification in place I do find I am having to remap my brain to use the backspace key when renaming a file and deleting a portion of the text. https://github.com/tekezo/Karabiner-Elements/issues/1081 A: Try presbutan http://briankendall.net/presButan/ it should get you what you want.
apple
{ "language": "en", "length": 417, "provenance": "stackexchange_00000.jsonl.gz:22832", "question_score": "20", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/80648" }
2d69a652eec1fd6893c04dc9b8cf8a2a31715296
Apple Stackexchange Q: How to run a bash script from the desktop? I have a .sh file with a #!/bin/bash header. I'm able to run it from the terminal, using chmod and ./ but is there a way to perform these two operations from the desktop (i.e. by clicking on it) ? Btw, I'm familiar with linux, but not with OS X. A: You can add a .command extension to your text script. Then use chmod 744 to make it executable. When opened or double-clicked in the Finder it will then run from the Terminal.
Q: How to run a bash script from the desktop? I have a .sh file with a #!/bin/bash header. I'm able to run it from the terminal, using chmod and ./ but is there a way to perform these two operations from the desktop (i.e. by clicking on it) ? Btw, I'm familiar with linux, but not with OS X. A: You can add a .command extension to your text script. Then use chmod 744 to make it executable. When opened or double-clicked in the Finder it will then run from the Terminal. A: Well you can wrap it inside a AppleScript, make a call to shell command (your bash script). example: do shell script do shell script "/bin/tcsh my-command-file-path" save it as an application to your Desktop to run it. A: You can put any commands into an AppleScript, and save the script as an applet, or a droplet, or use Automator to create applets and/or droplets. Just use the do shell script command in the AppleScript.
apple
{ "language": "en", "length": 168, "provenance": "stackexchange_00000.jsonl.gz:22846", "question_score": "6", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/80704" }
e5b370be784b74a3a8c458a3c7deee2d15c3e3fd
Apple Stackexchange Q: Run iPhone Apps on MacOs Laptop for free I have a .ipa file in my laptop and also have a Apple Laptop with MacOS. I do not have any iPhone. I want to run the app in my Laptop. Doing a quick Google Search brought me this., which looks like costing $99 for each year. I just want to run the app for free, what should I do? A: You cannot run iOS applications on anything other than iOS. And you need a device capable of running iOS (iPhone or iPad). The reason being is that iOS applications are compiled to run on the ARM-based processor. OS X (and most desktop or notebook operating systems) run on the i386 or x64 architecture. To run a different arch-type, you'd need an emulator. And all Xcode has is a simulator.
Q: Run iPhone Apps on MacOs Laptop for free I have a .ipa file in my laptop and also have a Apple Laptop with MacOS. I do not have any iPhone. I want to run the app in my Laptop. Doing a quick Google Search brought me this., which looks like costing $99 for each year. I just want to run the app for free, what should I do? A: You cannot run iOS applications on anything other than iOS. And you need a device capable of running iOS (iPhone or iPad). The reason being is that iOS applications are compiled to run on the ARM-based processor. OS X (and most desktop or notebook operating systems) run on the i386 or x64 architecture. To run a different arch-type, you'd need an emulator. And all Xcode has is a simulator.
apple
{ "language": "en", "length": 139, "provenance": "stackexchange_00000.jsonl.gz:22848", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/80716" }
e5fcbd739d326d28469065abed599a517d74eda0
Apple Stackexchange Q: How to install Java 7 next to Java 6? I am using a MackBook Pro with Mac OS X 10.8.2. I currently have Java 6 installed: wdb-laptop:~ wdb$ java -version java version "1.6.0_37" Java(TM) SE Runtime Environment (build 1.6.0_37-b06-434-11M3909) Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01-434, mixed mode) I would like to install Java 7 to play with JavaFX, however, all of my apps for work are still on Java 6. So I would like to install Java 7 "on the side". Is his possible? If so, how? I want to make sure I will not loose my Java 6 installation if I run the .dmg from Oracle. A: The oracle Java 7 does not remove the Apple supplied Java 6. It does however change /usr/bin/java to start the Oracle Java. To start a jar with Java 6 instead of just using java on the command line put in the full path to the java i.e. /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java
Q: How to install Java 7 next to Java 6? I am using a MackBook Pro with Mac OS X 10.8.2. I currently have Java 6 installed: wdb-laptop:~ wdb$ java -version java version "1.6.0_37" Java(TM) SE Runtime Environment (build 1.6.0_37-b06-434-11M3909) Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01-434, mixed mode) I would like to install Java 7 to play with JavaFX, however, all of my apps for work are still on Java 6. So I would like to install Java 7 "on the side". Is his possible? If so, how? I want to make sure I will not loose my Java 6 installation if I run the .dmg from Oracle. A: The oracle Java 7 does not remove the Apple supplied Java 6. It does however change /usr/bin/java to start the Oracle Java. To start a jar with Java 6 instead of just using java on the command line put in the full path to the java i.e. /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java A: I had a similar situation at work, so I did a bit of research and, with a couple minutes of setup, it can be almost painless to switch back and forth between Java 6 and 7 (or 7 and 8, for that matter - this method is version agnostic). For anyone with java installed, /usr/libexec/java_home will show the JAVA_HOME directory, but it's especially powerful when you have multiple versions of java installed side-by-side on OS X. Using the -V flag, you can see all of the installed JVMs: $ /usr/libexec/java_home -V Matching Java Virtual Machines (3): 1.7.0_67, x86_64: "Java SE 7" /Library/Java/JavaVirtualMachines/jdk1.7.0_67.jdk/Contents/Home 1.6.0_65-b14-466.1, x86_64: "Java SE 6" /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home 1.6.0_65-b14-466.1, i386: "Java SE 6" /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home You can also get the JAVA_HOME value for a specific JVM like this: $ /usr/libexec/java_home -v 1.6 /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home $ /usr/libexec/java_home -v 1.7 /Library/Java/JavaVirtualMachines/jdk1.7.0_67.jdk/Contents/Home Putting this all together, this is what I added to my ~/.profile: ## java home alias j6="export JAVA_HOME=\$(/usr/libexec/java_home -v 1.6);echo 'using Java 6'" alias j7="export JAVA_HOME=\$(/usr/libexec/java_home -v 1.7);echo 'using Java 7'" ## manual switch for 1.6 or 1.7 j6 ## enable java 6 (or just run j6 in terminal) ## j7 ## enable java 7 (or just run j7 in terminal) So you can see that right now, my terminal defaults to Java6, but I can switch this by just typing j7 on the command line (or editing the ~/.profile): $ java -version java version "1.6.0_65" Java(TM) SE Runtime Environment (build 1.6.0_65-b14-466.1-11M4716) Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-466.1, mixed mode) $ j7 using Java 7 $ java -version java version "1.7.0_67" Java(TM) SE Runtime Environment (build 1.7.0_67-b01) Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)
apple
{ "language": "en", "length": 433, "provenance": "stackexchange_00000.jsonl.gz:22850", "question_score": "7", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/80723" }
1986934e23b678a52f8d374d03b0cdfc925c0873
Apple Stackexchange Q: How to chat with multiple Apple ID's? I have two Apple ID's to have Messages chat sessions for work and private separated. Is it possible to use these both at the same time, on my Mac, at home? Now, I can only login with one Apple ID at a time. Anybody else found a workaround? ps: I know of the alias email addresses, but on work, I don't want to login with my private Apple ID. For obvious reasons.
Q: How to chat with multiple Apple ID's? I have two Apple ID's to have Messages chat sessions for work and private separated. Is it possible to use these both at the same time, on my Mac, at home? Now, I can only login with one Apple ID at a time. Anybody else found a workaround? ps: I know of the alias email addresses, but on work, I don't want to login with my private Apple ID. For obvious reasons.
apple
{ "language": "en", "length": 80, "provenance": "stackexchange_00000.jsonl.gz:22851", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/80727" }
50b254e11fb388cee71c645beb0de12ece7a0a11
Apple Stackexchange Q: Improved Terminal autocomplete funcionality (similar to Matlab's) If any of you ever used Matlab, you might have noticed the command window functionality in that program. I wonder if it is possible to enable the same functionality in Mac Terminal. It works like this: suppose you have used two commands previously in this Terminal session. First you used a cd ~ and then a ls -la. In every *nix terminal, including Mac's, if you hit the Up Arrow, it'll first show the ls -la command and, if you hit it twice, the cd ~ command. This is great. But, in Matlab, if you first type the letter c and then hit Up Arrow, it won't show you ls, but instead go directly to cd ~. This saves a lot of time when you have big commands and a long list of previously used commands. Is it possible? A: Save this as ~/.inputrc: # make the up and down arrows cycle through commands that match the start of a line "\e[A": history-search-backward "\e[B": history-search-forward Option-up would be \e\e[A and control-p \C-p. You can see the escape sequences of other key combinations by pressing control-v.
Q: Improved Terminal autocomplete funcionality (similar to Matlab's) If any of you ever used Matlab, you might have noticed the command window functionality in that program. I wonder if it is possible to enable the same functionality in Mac Terminal. It works like this: suppose you have used two commands previously in this Terminal session. First you used a cd ~ and then a ls -la. In every *nix terminal, including Mac's, if you hit the Up Arrow, it'll first show the ls -la command and, if you hit it twice, the cd ~ command. This is great. But, in Matlab, if you first type the letter c and then hit Up Arrow, it won't show you ls, but instead go directly to cd ~. This saves a lot of time when you have big commands and a long list of previously used commands. Is it possible? A: Save this as ~/.inputrc: # make the up and down arrows cycle through commands that match the start of a line "\e[A": history-search-backward "\e[B": history-search-forward Option-up would be \e\e[A and control-p \C-p. You can see the escape sequences of other key combinations by pressing control-v. A: In a Bash shell, you can hit Control+R to do a reverse intelligent search in the history. Start typing the command and the shell will autocomplete with previously entered commands. Then you can either press Enter to execute the command again, use the arrow left or right key to edit the command, or keep pressing Control+R to cycle through other possible completions. A: Another thing you can do is type ! and then the first letter, and it will find the most recent. IE: cd ~ can be accessed with !c A: This is a feature of the shell. Control-R will do what you describe, but changing to a more modern shell will get you so much more. Take a look at Z-shell (zsh), there is a bit of a learning curve, but it is very powerful. A: zsh will complete commands exactly like in your example. You don't even have to do anything other than use it for your shell. A: Add these to your .cshrc (if you are using tcsh) -- bindkey -k up history-search-backward bindkey -k down history-search-forward Then do source ~/.cshrc to get exactly the functionality you describe. I don't know if there is a .profile equivalent.
apple
{ "language": "en", "length": 395, "provenance": "stackexchange_00000.jsonl.gz:22857", "question_score": "21", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/80746" }
4a6b3bd14f58eac7c8774c19dc79103f16062e87
Apple Stackexchange Q: BetterTouchTool: Is it possible to use a context-menu item with a gesture? Example: I want to attach the "TipTap Left" gesture with "Save Image As..." from the context-menu in Chrome. Possible? A: The current version of BetterTouchTool has a Trigger Context Menu Item action in the list of Predefined Actions.
Q: BetterTouchTool: Is it possible to use a context-menu item with a gesture? Example: I want to attach the "TipTap Left" gesture with "Save Image As..." from the context-menu in Chrome. Possible? A: The current version of BetterTouchTool has a Trigger Context Menu Item action in the list of Predefined Actions. A: You won't be able to do this in BetterTouchTool alone. The following steps use Keyboard Maestro specifically, but you should be able to duplicate them in some way with most any macro application. * *Set the gesture in BTT to an unusual keyboard shortcut that won't be used by anything else. *In Keyboard Maestro, create a new macro that is triggered by this shortcut. *Set the contents of the macro as follows: * *Move and Click at (0,0) from the Current Mouse Location *Insert Text ‘Save Image As’ by Typing *Type the Return Keystroke Here's what it should look like.
apple
{ "language": "en", "length": 152, "provenance": "stackexchange_00000.jsonl.gz:22863", "question_score": "5", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/80784" }
8e627f6a5f411abd08b5642b96f43445c7616765
Apple Stackexchange Q: Command line tool to convert DOC and DOCX files to PDF Is there any command line tool to convert DOC and DOCX files to PDF? If no, can it be automated by some Automator script (open-print to PDF-close)? A: In Office 2016 the Automator approach will run into issues due to security sandboxing. (The symptom: Word stays open, and you get an "Error while printing" dialog.) A workaround is to install LibreOffice, which can be used to convert files from the command line. On MacOS, the command is: /Applications/LibreOffice.app/Contents/MacOS/soffice \ --headless \ --convert-to pdf \ myfile.docx The PDF will only be as good as LibreOffice's conversion from MS Office, of course, but it's adequate for many purposes. Another approach, if you really don't care about formatting, is to use pandoc and LaTeX: pandoc -t latex myfile.docx -o myfile.pdf You'll need to install pandoc and LaTeX as described in this answer, though, and your PDF will come out looking like a LaTex document -- basic formatting, headers, lists, etc. will generally be preserved, but things like fonts and margins won't.
Q: Command line tool to convert DOC and DOCX files to PDF Is there any command line tool to convert DOC and DOCX files to PDF? If no, can it be automated by some Automator script (open-print to PDF-close)? A: In Office 2016 the Automator approach will run into issues due to security sandboxing. (The symptom: Word stays open, and you get an "Error while printing" dialog.) A workaround is to install LibreOffice, which can be used to convert files from the command line. On MacOS, the command is: /Applications/LibreOffice.app/Contents/MacOS/soffice \ --headless \ --convert-to pdf \ myfile.docx The PDF will only be as good as LibreOffice's conversion from MS Office, of course, but it's adequate for many purposes. Another approach, if you really don't care about formatting, is to use pandoc and LaTeX: pandoc -t latex myfile.docx -o myfile.pdf You'll need to install pandoc and LaTeX as described in this answer, though, and your PDF will come out looking like a LaTex document -- basic formatting, headers, lists, etc. will generally be preserved, but things like fonts and margins won't. A: You can use the docx2pdf command line tool to bulk convert docx to pdf. It uses Microsoft Word to directly convert to pdf so you will need to have it installed. One macOS, it uses JXA (AppleScript for JavaScript) to talk to Word and on windows it uses win32com. pip install docx2pdf # single file docx2pdf myfile.docx # entire folder docx2pdf myfolder/ Disclaimer: I wrote docx2pdf after getting frustrated at the lack of cross-platform tools to convert docx to pdf directly using Microsoft Word as I needed a perfect replica with zero formatting issues. https://github.com/AlJohri/docx2pdf A: If you have Office:Mac 2008 Business Edition or Office:Mac 2011 Home/Business Edition, Automator actions are included with those editions. One of the Automator actions included with those versions of Office:Mac is "Convert Format of Word Documents", and one of the options in that Automator action is PDF. This page has great information about Automator and Office:Mac. If you have Home/Student Edition instead of Business Edition, or don't have Office at all, you can accomplish it via AppleScript. Mac OS X Hints has an article about bulk converting text files to PDF via AppleScript, and the comments to that article give some options to convert DOC/DOCX to PDF via RTF. That might result in a loss of formatting or linking if you've got very complex DOC/DOCX files, but might be sufficient for files that aren't terribly complex. A: For my application the LibreOffice solution posted by @David Moles is a great solution. I need to use this from within an application since my version of Word does not run on MacOS 12.3.1 (well, it is 32-bit so it stopped after 10.14.6. I had been using AppleScript to tell Word to convert to pdf). I learned that each space-delimited part of the arguments needs to be an object in the array of arguments passed to NSTask. eg NSTASK *task = [[NSTask alloc] init]; task.executableURL = [NSURL fileURLWithPath:@"/Applications/LibreOffice.app/Contents/MacOS/soffice"]; NSString *filename = ...; task.currentDirectoryURL = [NSURL fileURLWithPath: ...]; task.arguments = @[@"--headless" , @"--convert-to", @"pdf", filename];
apple
{ "language": "en", "length": 518, "provenance": "stackexchange_00000.jsonl.gz:22867", "question_score": "14", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/80791" }
7d49ae37f5785e276029f96e353df578d7405186
Apple Stackexchange Q: How to put songs to my iphone from itunes without deleting songs in my iphone I have a problem. My friend placed music in my iphone using his laptop recently. Unfortunately i want to put more song in my iphone using my computer. However, I cant sync my iphone to my comuputer since it says that syncing will delete all the music in my iphone. How can i put music in my iphone without deLeting the songs in my iphone? :| :| A: You will need to manually manage your music now. You can do this by plugging your iPhone into your computer (or wifi connecting to iTunes), and then, after selecting your iPhone, under the "Summary" tab, select "Manually Manage Music and Videos". If you are running iTunes 11 go to the the "On my iPhone" tab, and you can now manually manage the music that you have on your iPhone. Unfortunately, unless you erase the music he shared with you, you won't be able to automatically manage your music.
Q: How to put songs to my iphone from itunes without deleting songs in my iphone I have a problem. My friend placed music in my iphone using his laptop recently. Unfortunately i want to put more song in my iphone using my computer. However, I cant sync my iphone to my comuputer since it says that syncing will delete all the music in my iphone. How can i put music in my iphone without deLeting the songs in my iphone? :| :| A: You will need to manually manage your music now. You can do this by plugging your iPhone into your computer (or wifi connecting to iTunes), and then, after selecting your iPhone, under the "Summary" tab, select "Manually Manage Music and Videos". If you are running iTunes 11 go to the the "On my iPhone" tab, and you can now manually manage the music that you have on your iPhone. Unfortunately, unless you erase the music he shared with you, you won't be able to automatically manage your music.
apple
{ "language": "en", "length": 172, "provenance": "stackexchange_00000.jsonl.gz:22869", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/80797" }
5dbe45eeb5c87d8059c426448f8809a64751a792
Apple Stackexchange Q: Can I use an iPad (Wi-Fi+Cellular) as a cellphone? I just wanted to know whether is possible to use an iPad mini as a cell phone. I am planning to put my SIM card into the iPad mini, which is the Wi-Fi+cellular model. A: No, you can't use it as a carrier cellphone. But if you have enough data in your plan, you can use it as a cellphone through services such as Google Voice or Skype which can give you a phone number that you can call with and be called with over the internet. They both provide apps that will "ring" your iPad when someone calls the number. Google Voice is free to have a phone number. Calls From the US or Canada to the US or Canada are free, and calls to or from other places are pretty cheap. Skype charges for a phone number, but that includes some sort of fee that gives you a predetermined number of minutes.
Q: Can I use an iPad (Wi-Fi+Cellular) as a cellphone? I just wanted to know whether is possible to use an iPad mini as a cell phone. I am planning to put my SIM card into the iPad mini, which is the Wi-Fi+cellular model. A: No, you can't use it as a carrier cellphone. But if you have enough data in your plan, you can use it as a cellphone through services such as Google Voice or Skype which can give you a phone number that you can call with and be called with over the internet. They both provide apps that will "ring" your iPad when someone calls the number. Google Voice is free to have a phone number. Calls From the US or Canada to the US or Canada are free, and calls to or from other places are pretty cheap. Skype charges for a phone number, but that includes some sort of fee that gives you a predetermined number of minutes. A: If you mean whether you can make phone calls using your SIM card, no, you can't: (from http://www.apple.com/ipad-mini/specs/) Still, you can use Skype or a VoIP-based phone app (just search the App Store for VoIP), either over WiFi or, if your SIM card has a data plan, over cellular. A: Yes you can with Tu GO http://www.o2.co.uk/tugo/want-it Enjoy.
apple
{ "language": "en", "length": 223, "provenance": "stackexchange_00000.jsonl.gz:22870", "question_score": "29", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/80804" }
865afe75e68bd4c3b0b86920e3400644111b677b
Apple Stackexchange Q: Mac is flashing screen when pressing keys If I press keys that don't do anything on the focused app then the whole screen flashes white, as if the option to flash the screen on alerts (in accessibility preferences) was on, but it is not. For example typing this question the screen does not flash, because pressing the keys is doing something, but If I'm on an app where there is no text field that can be focused pressing keys will make the screen flash white. A: I think there's an option in System Preferences. Go toSystem Preferences > Accessibility > Audio and uncheck the box that says Flash the screen when an alert occurs. Hope this helped!
Q: Mac is flashing screen when pressing keys If I press keys that don't do anything on the focused app then the whole screen flashes white, as if the option to flash the screen on alerts (in accessibility preferences) was on, but it is not. For example typing this question the screen does not flash, because pressing the keys is doing something, but If I'm on an app where there is no text field that can be focused pressing keys will make the screen flash white. A: I think there's an option in System Preferences. Go toSystem Preferences > Accessibility > Audio and uncheck the box that says Flash the screen when an alert occurs. Hope this helped! A: I had this problem in High Sierra (10.13.6) and a system restart solved it.
apple
{ "language": "en", "length": 133, "provenance": "stackexchange_00000.jsonl.gz:22876", "question_score": "6", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/80833" }
3f32b9fd5da46146bc14c5fc1e873c89276ca8cc
Apple Stackexchange Q: Inconsistent results when getting folder size in AppleScript I'm using this line to get the size of a folder: set thesize to physical size of folder x The problem is that sometimes it works, other times it doesn't, and it's very annoying because there doesn't seem to be any kind of logic to it. The same folder path can return "missing value" at first, then return the number of bytes later, without any code change. It seems to start working more often after I "Get Info" on the folder in the Finder, but even that doesn't always work. How do you make this reliable? I can't send my application to other people with this kind of unpredictability on my own computer. A: Try Automator. I did it and it worked for me on each folder. I tried it as a Service. I might have automator actions that you don't have. You can get them here if that's the case: http://www.automatedworkflows.com There you will find awesome automator action packs. Very useful. Phil
Q: Inconsistent results when getting folder size in AppleScript I'm using this line to get the size of a folder: set thesize to physical size of folder x The problem is that sometimes it works, other times it doesn't, and it's very annoying because there doesn't seem to be any kind of logic to it. The same folder path can return "missing value" at first, then return the number of bytes later, without any code change. It seems to start working more often after I "Get Info" on the folder in the Finder, but even that doesn't always work. How do you make this reliable? I can't send my application to other people with this kind of unpredictability on my own computer. A: Try Automator. I did it and it worked for me on each folder. I tried it as a Service. I might have automator actions that you don't have. You can get them here if that's the case: http://www.automatedworkflows.com There you will find awesome automator action packs. Very useful. Phil A: As you precisely describe, this is happening because it takes time to gather that information. If the operation times out before the system calculates the size, you'll get the error. When you use "Get Info" beforehand it caches the result. A: I had exactly the same problem and solved it by getting size of all the files inside the folder: set theSize to 0 set fileList to every item of folder x repeat with theFile in fileList set theSize to theSize + (get size of theFile) end repeat Sometimes it results slightly different to what is shown in the folder properties but in general it's much better than size of folder x.
apple
{ "language": "en", "length": 285, "provenance": "stackexchange_00000.jsonl.gz:22880", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/80850" }
e24547e708a7e3951a634619eaef088c31842939
Apple Stackexchange Q: Extract iTunes Config from iPod I recently had a hard drive failure on my laptop and I am in the middle of re-installing everything. I have hit a snag that I am at a loss how to fix. Basically, I have been backing up my music to a NAS box on my network so I have not lost that I was pretty sure that I had been backing up the iTunes config as well but it appears not. I have an iPod classic that I regularly sync with iTunes and so I have a representation of playlists, star ratings, etc.. So my question is, can I reinstate my iTunes library from the information on my iPod? Any help much appreciated. A: There are a Bunch of iPod music recovery softwares you can search on Google, Some even give an option to export to iTunes library, hence maintaining the user ratings etc. I generally use iPod Access for recovery of music or video if I accidentally delete something.
Q: Extract iTunes Config from iPod I recently had a hard drive failure on my laptop and I am in the middle of re-installing everything. I have hit a snag that I am at a loss how to fix. Basically, I have been backing up my music to a NAS box on my network so I have not lost that I was pretty sure that I had been backing up the iTunes config as well but it appears not. I have an iPod classic that I regularly sync with iTunes and so I have a representation of playlists, star ratings, etc.. So my question is, can I reinstate my iTunes library from the information on my iPod? Any help much appreciated. A: There are a Bunch of iPod music recovery softwares you can search on Google, Some even give an option to export to iTunes library, hence maintaining the user ratings etc. I generally use iPod Access for recovery of music or video if I accidentally delete something.
apple
{ "language": "en", "length": 168, "provenance": "stackexchange_00000.jsonl.gz:22886", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/80879" }
951f2009f7b05f1e37aefa43f9d45470e33f59ce
Apple Stackexchange Q: Why does a find field value in one application show up in a the find field of another application? On my MacBook Pro I have found that several applications seem to share the value for a find. For example, I searched 'applestackexchange' in Safari's unified address bar, then I switch to Xcode and click into a Find field. The first word of my search in Safari then appears there. iTerm2 and Sublime Text 2 also seem to participate in this sharing. Running latest Mountain Lion on a 2012 MBP. A: I've found it. It's called FindScrap. At the command line, enter: defaults write <program> FindDialog_UsesFindScrap -bool NO Where <program> is something like com.barebones.bbedit. (source: https://www.barebones.com/support/bbedit/ExpertPreferences.html#texts, accessed 20180203) If the application you use doesn’t support this, you may have to open a request that it be implemented there as well. Developers can choose how to I ple,ent clipboard manage,ent and automation by using Apple SDK and API or inventing their own code to manage this so it may not be “cookie cutter” how to enable this globally.
Q: Why does a find field value in one application show up in a the find field of another application? On my MacBook Pro I have found that several applications seem to share the value for a find. For example, I searched 'applestackexchange' in Safari's unified address bar, then I switch to Xcode and click into a Find field. The first word of my search in Safari then appears there. iTerm2 and Sublime Text 2 also seem to participate in this sharing. Running latest Mountain Lion on a 2012 MBP. A: I've found it. It's called FindScrap. At the command line, enter: defaults write <program> FindDialog_UsesFindScrap -bool NO Where <program> is something like com.barebones.bbedit. (source: https://www.barebones.com/support/bbedit/ExpertPreferences.html#texts, accessed 20180203) If the application you use doesn’t support this, you may have to open a request that it be implemented there as well. Developers can choose how to I ple,ent clipboard manage,ent and automation by using Apple SDK and API or inventing their own code to manage this so it may not be “cookie cutter” how to enable this globally. A: macOS utilizes 4 different clipboards: General, Ruler, Font, and Find General is the main clipboard obviously. From the command line we can copy things to and from the different clipboards. In Terminal.app, you can read all about the pbcopy and pbpaste commands with man pbcopy and man pbpaste In short, when invoking the Find command in most applications, the text you insert in the Find field automatically gets placed into the Find clipboard. That is why when invoking the Find command in a different application, the Find field is automatically inserted from what is currently in your Find clipboard. Paste this following AppleScript code into a new Script Editor.app document. Running the code will display a dialogue giving you the option to choose which of the four clipboards' text or rtf contents you would like to view property theClipboards : {"general", "find", "font", "ruler"} activate set chosenClipboard to item 1 of (choose from list theClipboards ¬ with title "Choose A Clipboard" with prompt ¬ "Choose a clipboard to view its contents." OK button name ¬ "View Chosen Clipboard" cancel button name "Cancel") set theResult to displayClipboard(chosenClipboard) activate display dialog theResult buttons {"OK"} default button 1 ¬ with title ("Contents of Pasteboard " & chosenClipboard) --giving up after 5 to displayClipboard(chosenClipboard) set theResult to (do shell script "pbpaste -pboard " & chosenClipboard) end displayClipboard Running this following command in Terminal will clear out the contents of the Find clipboard. echo "" |pbcopy -pboard find Possible work-around/solution: You can create a new Automator Quick Action and add a Run Shell Script command to the workflow and add this following code to the Run Shell Script command. echo "" |pbcopy -pboard find ;osascript -e 'tell application "System Events" to keystroke "f" using {command down}' Save your new Automator Quick Action then in System Preferences, assign a keyboard shortcut to the new Automator Quick Action. (I assigned ⌃F to the new keyboard shortcut.) Now instead of invoking Find with ⌘F, the new ⌃F shortcut will clear the contents of the Find clipboard then opens the Find search field with nothing already in there from any previous searches. It's not a perfect solution but it may help.
apple
{ "language": "en", "length": 540, "provenance": "stackexchange_00000.jsonl.gz:22892", "question_score": "9", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/80894" }
73877ed066ceff0db91468e5623ca9f83ec09253
Apple Stackexchange Q: Suppressing "reopen windows" dialog when restarting a crashed program in Mountain Lion Is there any way of suppressing the alert dialog that pops up when restarting a crashed program in Mountain Lion (10.8.2)? The alert's text reads: "The last time you opened , it unexpectedly quit while reopening windows. Do you want to try to reopen its windows again?" I want the OS to just open the program without asking me this, since the computer is being used in a kiosk-type application. Thanks, c. A: defaults write com.apple.CrashReporter DialogType none (or the option in Secrets) disables crash report dialogs but not the dialogs shown when reopening crashed applications. Disabling Resume would remove them though. You can either check "Close windows when quitting an application" in the General preference pane or disable it in individual applications with defaults write -app "Application Name" NSQuitAlwaysKeepsWindows -bool false.
Q: Suppressing "reopen windows" dialog when restarting a crashed program in Mountain Lion Is there any way of suppressing the alert dialog that pops up when restarting a crashed program in Mountain Lion (10.8.2)? The alert's text reads: "The last time you opened , it unexpectedly quit while reopening windows. Do you want to try to reopen its windows again?" I want the OS to just open the program without asking me this, since the computer is being used in a kiosk-type application. Thanks, c. A: defaults write com.apple.CrashReporter DialogType none (or the option in Secrets) disables crash report dialogs but not the dialogs shown when reopening crashed applications. Disabling Resume would remove them though. You can either check "Close windows when quitting an application" in the General preference pane or disable it in individual applications with defaults write -app "Application Name" NSQuitAlwaysKeepsWindows -bool false. A: There is a Preference Pane called Secrets that has an option under "System" called "Crash Dialog". Mine is set to "none" and I never see that dialog. Maybe that will work for you. http://code.google.com/p/blacktree-secrets/ A: I had similar issue with tastyworks running defaults write -app /Applications/tastyworks.app NSQuitAlwaysKeepsWindows -bool false from terminal helped. and don't forget to restart system
apple
{ "language": "en", "length": 204, "provenance": "stackexchange_00000.jsonl.gz:22893", "question_score": "5", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/80900" }
f979c912b332b281a1d55347c2896970ef05c063
Apple Stackexchange Q: Fusion Drive with SSD and HHD Hybrid Drive (e.g. Seagate Momentum XT 750 GB with 8 GB SSD): Good idea or plain nonsense? I’ve seen numerous instructions on how to setup a Fusion Drive from your own SSD and HD, e.g. Can I make a DIY Fusion Drive? Very silly question: How would a Fusion Drive built from an SSD and a Hybriddrive (take the Seagate Momentus XT 750 GB with built-in 8 GB SSD) compare to an SSD with a standard HDD when it comes to performance/power consumption/idle behavior? Has anyone done this? Does this make any sense at all or is the "cascaded caching" (if one can call it that way) counterproductive?
Q: Fusion Drive with SSD and HHD Hybrid Drive (e.g. Seagate Momentum XT 750 GB with 8 GB SSD): Good idea or plain nonsense? I’ve seen numerous instructions on how to setup a Fusion Drive from your own SSD and HD, e.g. Can I make a DIY Fusion Drive? Very silly question: How would a Fusion Drive built from an SSD and a Hybriddrive (take the Seagate Momentus XT 750 GB with built-in 8 GB SSD) compare to an SSD with a standard HDD when it comes to performance/power consumption/idle behavior? Has anyone done this? Does this make any sense at all or is the "cascaded caching" (if one can call it that way) counterproductive?
apple
{ "language": "en", "length": 115, "provenance": "stackexchange_00000.jsonl.gz:22901", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/80932" }
d86b8bbe24f48ed50c9e8ffd8c6f80abc821c5a9
Apple Stackexchange Q: Mac OS X app for measuring time spent in apps Possible Duplicate: Is there an app that allows me to monitor time spent using an application? Is there app which will tell me that for example, today I spent 30 minutes in Safari, 1 hour in XCode, etc... Thanks A: Take a look at Timesink by ManyTricks. I've used it for years and it's perfect for tracking where you spend your time on your mac.
Q: Mac OS X app for measuring time spent in apps Possible Duplicate: Is there an app that allows me to monitor time spent using an application? Is there app which will tell me that for example, today I spent 30 minutes in Safari, 1 hour in XCode, etc... Thanks A: Take a look at Timesink by ManyTricks. I've used it for years and it's perfect for tracking where you spend your time on your mac.
apple
{ "language": "en", "length": 76, "provenance": "stackexchange_00000.jsonl.gz:22903", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/80936" }
fd192e922d3a15cda2071de0a856d0164bb9f362
Apple Stackexchange Q: Possible to move the cursor word-by-word with Cmd+left/right instead of Alt+left/right? I would like to use Cmd+←/→ instead of Alt+←/→ to move the cursor word by word in Mac OSX (A Cocoa thing I guess). Is it possible to change that? And by the same token, I would like to move the cursor to the beginning and end of the line by using Alt+←/→ instead of Cmd+←/→. Can it be done? A: Yes. Using Keyboard Maestro, I just created two new macros. The first has a "hot key trigger" of < command >< left arrow > and does a "type a keystroke" of < option >< left arrow > The second is the reverse, a "hot key trigger" of < option >< left arrow > and does a "type a keystroke" of < command >< left arrow >. And it does work. You could then add 2 more macros for the right direction. The way I wrote them as a quick test they are system wide but they can be limited to specific sets of applications. While Keyboard Maestro is not free, it does have time limited demo.
Q: Possible to move the cursor word-by-word with Cmd+left/right instead of Alt+left/right? I would like to use Cmd+←/→ instead of Alt+←/→ to move the cursor word by word in Mac OSX (A Cocoa thing I guess). Is it possible to change that? And by the same token, I would like to move the cursor to the beginning and end of the line by using Alt+←/→ instead of Cmd+←/→. Can it be done? A: Yes. Using Keyboard Maestro, I just created two new macros. The first has a "hot key trigger" of < command >< left arrow > and does a "type a keystroke" of < option >< left arrow > The second is the reverse, a "hot key trigger" of < option >< left arrow > and does a "type a keystroke" of < command >< left arrow >. And it does work. You could then add 2 more macros for the right direction. The way I wrote them as a quick test they are system wide but they can be limited to specific sets of applications. While Keyboard Maestro is not free, it does have time limited demo. A: One option would be to create ~/Library/KeyBindings/ and save this as DefaultKeyBinding.dict: { "@\UF702" = moveWordBackward:; "@\UF703" = moveWordForward:; "~\UF702" = moveToBeginningOfLine:; "~\UF703" = moveToEndOfLine:; "~$\UF702" = moveToBeginningOfLineAndModifySelection:; "~$\UF703" = moveToEndOfLineAndModifySelection:; } You can't change ⇧⌘← or ⇧⌘→ though. And it doesn't work in some text views or Xcode or Firefox. Using KeyRemap4MacBook, you could add this to private.xml: <autogen>--KeyToKey-- KeyCode::CURSOR_LEFT, VK_OPTION | ModifierFlag::NONE, KeyCode::CURSOR_LEFT, VK_COMMAND</autogen> <autogen>--KeyToKey-- KeyCode::CURSOR_RIGHT, VK_OPTION | ModifierFlag::NONE, KeyCode::CURSOR_RIGHT, VK_COMMAND</autogen> <autogen>--KeyToKey-- KeyCode::CURSOR_LEFT, VK_SHIFT | VK_OPTION | ModifierFlag::NONE, KeyCode::CURSOR_LEFT, VK_SHIFT | VK_COMMAND</autogen> <autogen>--KeyToKey-- KeyCode::CURSOR_RIGHT, VK_SHIFT | VK_OPTION | ModifierFlag::NONE, KeyCode::CURSOR_RIGHT, VK_SHIFT | VK_COMMAND</autogen> <autogen>--KeyToKey-- KeyCode::CURSOR_LEFT, VK_COMMAND | ModifierFlag::NONE, KeyCode::CURSOR_LEFT, VK_OPTION</autogen> <autogen>--KeyToKey-- KeyCode::CURSOR_RIGHT, VK_COMMAND | ModifierFlag::NONE, KeyCode::CURSOR_RIGHT, VK_OPTION</autogen> <autogen>--KeyToKey-- KeyCode::CURSOR_LEFT, VK_COMMAND | VK_SHIFT | ModifierFlag::NONE, KeyCode::CURSOR_LEFT, VK_OPTION | VK_SHIFT</autogen> <autogen>--KeyToKey-- KeyCode::CURSOR_RIGHT, VK_COMMAND | VK_SHIFT | ModifierFlag::NONE, KeyCode::CURSOR_RIGHT, VK_OPTION | VK_SHIFT</autogen> It would make going back with ⌘← and changing tabs with ⇧⌘← stop working though. See the source for the key code constants and predefined settings. A: I've used KeyBindingsEditor (free) to edit the DefaultKeyBindings.dict and it works great (even in Firefox and XCode). Leaving the thumb button on the ⌘ key while cruising the text cursor works so much better -- it should be the default! A: I would recommend karabiner to you. It's a powerful system plugin to remap keys and key combinations. You can map whatever key combos you want to whatever in your mind. Please check it out and you will fall in love with it A: word-by-word: option+←/→ go to start/end: command+←/→
apple
{ "language": "en", "length": 438, "provenance": "stackexchange_00000.jsonl.gz:22913", "question_score": "18", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/80960" }
64620b9cc5b13a928ffb0253a638d4954627c94a
Apple Stackexchange Q: Mac os x ipfw forward from ip:port to ip:port I want when on my local machine redirect from 192.168.64.88 port 80 to localhost port 9790. How can I do it with ipfw rule? A: I found the solution: sudo ifconfig lo0 192.168.64.88 alias sudo ipfw add fwd 127.0.0.1,9790 tcp from me to 192.168.64.88 dst-port 80 After a restart you have to run this commands again.
Q: Mac os x ipfw forward from ip:port to ip:port I want when on my local machine redirect from 192.168.64.88 port 80 to localhost port 9790. How can I do it with ipfw rule? A: I found the solution: sudo ifconfig lo0 192.168.64.88 alias sudo ipfw add fwd 127.0.0.1,9790 tcp from me to 192.168.64.88 dst-port 80 After a restart you have to run this commands again.
apple
{ "language": "en", "length": 66, "provenance": "stackexchange_00000.jsonl.gz:22916", "question_score": "8", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/80978" }
a4761335bf34ea3fcf9b312b9eeb8d302efecb80
Apple Stackexchange Q: Boot Camp Assistant crashes when partitioning drive (exception: EXC_BAD_ACCESS) I run Mountain Lion, a fresh install, brand new Macbook Pro. HD: Samsung 840 Pro 512 GB SSD. When trying to go through Boot Camp Assistant / Setup it works fine until it wants to repartition my drive. It then quits unexpectedly and returns these errors: Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x000000000000003c Everything else on this new machine works like a charm. I checked permissions, verified the disk - no issues whatsoever. I tried running the Assistant as root - it also crashes when partitioning but then in the Terminal i get a Segmentation fault: 11 Can anyone help me out with this? A: Run Repair Disk on your boot partition. To accomplish this, reboot your Mac into the recovery partition, holding down ⌘R when you see the Apple logo. Select Disk Utility from the menu, then in the First Aid tab click Repair Disk. This may take some time. Partitioning trouble is usually a file system or disk hardware problem; this will solve the former, and a trip to the Apple store is usually needed to address the latter.
Q: Boot Camp Assistant crashes when partitioning drive (exception: EXC_BAD_ACCESS) I run Mountain Lion, a fresh install, brand new Macbook Pro. HD: Samsung 840 Pro 512 GB SSD. When trying to go through Boot Camp Assistant / Setup it works fine until it wants to repartition my drive. It then quits unexpectedly and returns these errors: Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x000000000000003c Everything else on this new machine works like a charm. I checked permissions, verified the disk - no issues whatsoever. I tried running the Assistant as root - it also crashes when partitioning but then in the Terminal i get a Segmentation fault: 11 Can anyone help me out with this? A: Run Repair Disk on your boot partition. To accomplish this, reboot your Mac into the recovery partition, holding down ⌘R when you see the Apple logo. Select Disk Utility from the menu, then in the First Aid tab click Repair Disk. This may take some time. Partitioning trouble is usually a file system or disk hardware problem; this will solve the former, and a trip to the Apple store is usually needed to address the latter. A: For me it crashed when accessing the USB drive. I reformatted my USB as Mac OS extended via Disk Utility and was able to continue after that. A: I just found a solution that might work for you... Unplug all the external devices that you might have (external disks, flash drives) and then start the bootcamp again.. I just did it and it worked fine for me!!! :) A: I remember having this issue as well when I tried using bootcamp. I seem to remember that it was due to a fragmented drive that didn't have enough contiguous space to create the partition of the size I was requesting. From memory, it was a bit of a pain and I think I ended up partitioning the drive first, then reinstalling OS X on one partition and using Winclone to copy a windows machine directly to the other partition. There may well be an easier method? A: put windows 7 or later version dvd and then you will be able to make partition with BC :)
apple
{ "language": "en", "length": 369, "provenance": "stackexchange_00000.jsonl.gz:22927", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/81017" }
693edbbb281d7daac13ce85eb8d10d926f1e8a7e
Apple Stackexchange Q: Why does File:/// crash my app? Whenever I type File:/// into the URL bar in Chrome, into Text Edit, and more, it crashes the app. I found out about this after reading this blog post. How can I avoid this crash and make it impossible for apps that get this string whether it's typed, pasted or arrives in a file, message or download? A: It's a bug in 10.8.1 and 10.8.2 only. The workaround for this pesky bug is to disable two items in Language & Text Preference Pane in System Preferences on affected versions of Mountain Lion: * *Select (click) on Text in the middle towards the top of the window *deselect (uncheck) "Correct spelling automatically" *deselect (uncheck) "Use symbol and text substitution" Credit for this workaround goes to user shess on the open radar web site.
Q: Why does File:/// crash my app? Whenever I type File:/// into the URL bar in Chrome, into Text Edit, and more, it crashes the app. I found out about this after reading this blog post. How can I avoid this crash and make it impossible for apps that get this string whether it's typed, pasted or arrives in a file, message or download? A: It's a bug in 10.8.1 and 10.8.2 only. The workaround for this pesky bug is to disable two items in Language & Text Preference Pane in System Preferences on affected versions of Mountain Lion: * *Select (click) on Text in the middle towards the top of the window *deselect (uncheck) "Correct spelling automatically" *deselect (uncheck) "Use symbol and text substitution" Credit for this workaround goes to user shess on the open radar web site. A: bmike has the workaround, I'll provide the "why": According to this article from TheNextWeb, a feature called Data Detectors, which scans text for meaningful formats (dates, locations...) also looks for file URLs. It does this by looking for "file://", case-insensitive. However, later in the procedure, it asserts that the string should start with "file://" lowercase -- and when this is not the case, such as when there is a capital F, it throws an exception, which apparently (and extremely sloppily) brings down the whole application.
apple
{ "language": "en", "length": 225, "provenance": "stackexchange_00000.jsonl.gz:22929", "question_score": "10", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/81019" }
b1c39826fa4ab6c7b80ebad4caead5c066719c2a
Apple Stackexchange Q: Any reason to turn off wifi when connected by cable to network on A/C power for MBPr Any reason to turn off wifi when connected by thunderbolt adapter to cat-5 1 gig ethernet cable to network on A/C power for MBPr? Does turning wifi off help with anything? Does keeping wifi on help anything? A: Turning Wi-Fi off ensures traffic isn't accidentally sent over Wi-Fi instead of Ethernet. You can set the network priority in System Preferences, but I've had OS X send traffic over Wi-Fi even though it should have been sent over Ethernet. That being said, if you don't particularly care which network your traffic goes over, there's no harm in leaving Wi-Fi on.
Q: Any reason to turn off wifi when connected by cable to network on A/C power for MBPr Any reason to turn off wifi when connected by thunderbolt adapter to cat-5 1 gig ethernet cable to network on A/C power for MBPr? Does turning wifi off help with anything? Does keeping wifi on help anything? A: Turning Wi-Fi off ensures traffic isn't accidentally sent over Wi-Fi instead of Ethernet. You can set the network priority in System Preferences, but I've had OS X send traffic over Wi-Fi even though it should have been sent over Ethernet. That being said, if you don't particularly care which network your traffic goes over, there's no harm in leaving Wi-Fi on.
apple
{ "language": "en", "length": 117, "provenance": "stackexchange_00000.jsonl.gz:22935", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/81050" }
e834be9591cb1d0a1f4f9f73aaaf14da0b2eecf4
Apple Stackexchange Q: What do the different colors of the tab title in iTerm2 mean? While using iTerm2, I have noticed that sometimes the color of the title of a tab changes to pink with a loading indicator or changes to red. What do these things mean? A: The iTerm color change of Tab labels indicates activity. It can be turned of in: Preferences > Appearance > Color tab labels on activity The help file explains this "Color tab labels on activity" appearance preference as follows: If selected, tab labels become purple when a non-selected tab has new output, and red when a non-selected tab has output you haven't seen but that is not very recent.
Q: What do the different colors of the tab title in iTerm2 mean? While using iTerm2, I have noticed that sometimes the color of the title of a tab changes to pink with a loading indicator or changes to red. What do these things mean? A: The iTerm color change of Tab labels indicates activity. It can be turned of in: Preferences > Appearance > Color tab labels on activity The help file explains this "Color tab labels on activity" appearance preference as follows: If selected, tab labels become purple when a non-selected tab has new output, and red when a non-selected tab has output you haven't seen but that is not very recent.
apple
{ "language": "en", "length": 114, "provenance": "stackexchange_00000.jsonl.gz:22938", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/81061" }
2aefb375dfdc6ac6fcd30cda1447dc0439bad481
Apple Stackexchange Q: How do I change the virtualbox "Host Key"? I'm not using an apple keyboard and don't have a Left ⌘. Can I change the "Host Key" to be the Right ⌘? How? A: The GUI setting is under Preferences -> Input -> Virtual Machine:
Q: How do I change the virtualbox "Host Key"? I'm not using an apple keyboard and don't have a Left ⌘. Can I change the "Host Key" to be the Right ⌘? How? A: The GUI setting is under Preferences -> Input -> Virtual Machine: A: This sets the host key to the right command key (VirtualBox 4.3.10): VBoxManage setextradata global GUI/Input/HostKeyCombination 54 The command will accept any value, but VirtualBox will not start if you supply an invalid value. 55 is the standard left command key, 61 is the right alt key. I found the values via educated guesses (aka "playing around"). A: There is a bug that appeared in VirtualBox 4.3.8 (maybe earlier?) that prevents the Virtualbox “Host Key” from being changed. It got fixed in VirtualBox 4.3.14. If you are using a VirtualBox version that is affected by the bug, here is a workaround: After changing the host key, select some other configurable shortcut (no need to change it), and then click OK. A: You could try adding this to private.xml in KeyRemap4MacBook: <autogen>--KeyToKey-- KeyCode::COMMAND_R, KeyCode::COMMAND_L</autogen> It might not work if you don't have a physical keyboard with a left command though.
apple
{ "language": "en", "length": 195, "provenance": "stackexchange_00000.jsonl.gz:22940", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/81068" }
4c3cb0d4dd895945cedd4c429ba89284565bb569
Apple Stackexchange Q: Proxy settings for iPhone, 3G connection I've seen that it is possible to configure a proxy with the WLAN settings in the iPhone. But I'm wondering whether it is also possible to configure a proxy for the mobile data connection. A: Yes, you can set a Global HTTP Proxy on iOS devices, which routes all network traffic, regardless of connection, through your proxy server. The simplest way is to use Apple Configurator, available free on a Mac using the Mac App Store. You will need to enroll your device via USB cable into "Supervised" mode. This will wipe your device. After this you can install a profile with a Global HTTP Proxy setting included. If you are doing this across an enterprise, many tools exist, such as AirWatch or Casper Suite. If you don't have a Mac and don't want to pay any money, you can also custom write your own XML-based profile, although I think it's safe to say you're beyond my comfort-level in directing you here.
Q: Proxy settings for iPhone, 3G connection I've seen that it is possible to configure a proxy with the WLAN settings in the iPhone. But I'm wondering whether it is also possible to configure a proxy for the mobile data connection. A: Yes, you can set a Global HTTP Proxy on iOS devices, which routes all network traffic, regardless of connection, through your proxy server. The simplest way is to use Apple Configurator, available free on a Mac using the Mac App Store. You will need to enroll your device via USB cable into "Supervised" mode. This will wipe your device. After this you can install a profile with a Global HTTP Proxy setting included. If you are doing this across an enterprise, many tools exist, such as AirWatch or Casper Suite. If you don't have a Mac and don't want to pay any money, you can also custom write your own XML-based profile, although I think it's safe to say you're beyond my comfort-level in directing you here. A: Generate a mobileconfig using a tool such as hhttps://github.com/andris9/mobileconfig. Load the mobileconfig by opening it in the iOS mail client. Remove it from Device Configuration when you're finished testing. This method neither requires a Mac OS X computer, nor a jailbroken iPhone. A: Not 100% sure about proxy but as a last resort, you can set up VPN for your iPhone which would also affect your 3G connection by going to Settings > General VPN > Add VPN Configuraion.
apple
{ "language": "en", "length": 249, "provenance": "stackexchange_00000.jsonl.gz:22950", "question_score": "8", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/81102" }
2521b48b034a1ab0d0a54544c6677827e326e055
Apple Stackexchange Q: How do I re-associate HTTP links with my browser in OS X? I installed iTerm2 the other day, and was playing around with it. In the process I seemed to have messed up the handling of HTTP hyperlinks on my system. Sometimes (annoyingly, not every time, which is very confusing - I can't spot a pattern) when I click an HTTP link in the Twitter app, MS Word, and so on, it opens a new iTerm2 terminal window or tab, and the webpage doesn't open. How can I get back to the original behavior and have the link open in the default web browser? I've already checked the iTerm2 preferences - under "URL schemes", no scheme is selected: A: Check the file associations for both HTTP & HTTPS, make sure both are set to Safari. A simple way to do this would be using RCDefaultApp Answered as Community Wiki just so we don't have a dangling question when there's a perfectly good answer in the comments.
Q: How do I re-associate HTTP links with my browser in OS X? I installed iTerm2 the other day, and was playing around with it. In the process I seemed to have messed up the handling of HTTP hyperlinks on my system. Sometimes (annoyingly, not every time, which is very confusing - I can't spot a pattern) when I click an HTTP link in the Twitter app, MS Word, and so on, it opens a new iTerm2 terminal window or tab, and the webpage doesn't open. How can I get back to the original behavior and have the link open in the default web browser? I've already checked the iTerm2 preferences - under "URL schemes", no scheme is selected: A: Check the file associations for both HTTP & HTTPS, make sure both are set to Safari. A simple way to do this would be using RCDefaultApp Answered as Community Wiki just so we don't have a dangling question when there's a perfectly good answer in the comments. A: Set Safari to be your default web browser.
apple
{ "language": "en", "length": 176, "provenance": "stackexchange_00000.jsonl.gz:22956", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/81122" }
bf4243e805e11b93c93c37299f1aaac77a362a44
Apple Stackexchange Q: Blocking iOS Wi-Fi automatic update downloads? I've got several iPads connected to Verizon mifi devices(MiFi460LE) iOS has a "feature" that automatically downloads OS updates in the background without user input. (You still need to manually install the updates, but the downloads happen automatically). The 6.1 update may break the functionality of some in-house applications, and I'd rather not hand users an iPad with a flashing self-destruct button that tells users to "download now!" Is there a specific port that could be blocked to prevent iOS OTA software updates? If that's not sufficient, would blocking hosts from DNS or another way of preventing these downloads be feasible? A: Without jailbreaking, or using an MDM (mobile device management) solution, you could just block the Apple site at your router. The site URL is appldnld.apple.com. All of Apple's IPSW files come from that location.
Q: Blocking iOS Wi-Fi automatic update downloads? I've got several iPads connected to Verizon mifi devices(MiFi460LE) iOS has a "feature" that automatically downloads OS updates in the background without user input. (You still need to manually install the updates, but the downloads happen automatically). The 6.1 update may break the functionality of some in-house applications, and I'd rather not hand users an iPad with a flashing self-destruct button that tells users to "download now!" Is there a specific port that could be blocked to prevent iOS OTA software updates? If that's not sufficient, would blocking hosts from DNS or another way of preventing these downloads be feasible? A: Without jailbreaking, or using an MDM (mobile device management) solution, you could just block the Apple site at your router. The site URL is appldnld.apple.com. All of Apple's IPSW files come from that location. A: The latest update to the evasi0n jailbreak, evasi0n 1.2, allows you to disable OTA updates. This is a fairly good tailored version of evasi0n considering the fact that it's the second update it received since it was released if you are hesitating about the down sides of jailbreaking on device performance. Turning off iCloud might be a disadvantage. If you really want to disable OTA updates; I strongly suggest you to jailbreak. Here is a tutorial for jailbreaking with evaisi0n. P.S. If you will download evais0n, ONLY download it from evasi0n.com. Do NOT trust other sources. A: Blocking iOS Wi-Fi automatic update downloads? iOS/iPadOS 13.6 has introduced the ability for users to turn off automatic download of updates. To configure automatic download or installation of iOS/iPadOS updates on your iPhone or iPad, go to Settings app → General → Software Update → Customize Automatic Updates and toggle the switches as desired. The linked Apple Support document discusses the same: * *https://support.apple.com/kb/HT204204 Customize Automatic Updates With iOS 13.6, or iPadOS, you can choose not to download software updates automatically. Go to Settings > General > Software Update > Customize Automatic Updates, then turn off Download iOS updates. A: Apple's documentation says that the automatic downloads only happen when you are both: * *Plugged in to power *Connected to Wi-Fi It's not a long term strategy, but I have had people ensure they put their devices in Airplane mode before plugging in their devices to avoid a spike in downloads on release day for sites with fragile connections to the internet where we don't have more advanced options like blocking / throttling certain traffic as would be ideal for this situation. A: Just block the apple software sever...
apple
{ "language": "en", "length": 429, "provenance": "stackexchange_00000.jsonl.gz:22957", "question_score": "7", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/81123" }
a0fa3ed0908552d9aecc417e90d3c63f121258d9
Apple Stackexchange Q: Mail: how to download newest first? Can I tell Mail to download the newest messages first? My Mac is my second computer. When I check e-mail, it has often been 2 weeks since I last opened Mail. Currently, I have to wait for hundreds of messages from 2 weeks ago to finish downloading before I can open that one message my client just now sent to me. A: If you're using Mail to access your work email on an Exchange server, it's quite possible you'll be able to see the mail on Outlook Web Access (OWA). To find out the address for OWA, check your Accounts preferences, and look for the "External Server" entry, simply point your browser to https://external.server.com (make sure it's HTTPS and not just HTTP) and you'll be able to login and view all the messages just like with webmail.
Q: Mail: how to download newest first? Can I tell Mail to download the newest messages first? My Mac is my second computer. When I check e-mail, it has often been 2 weeks since I last opened Mail. Currently, I have to wait for hundreds of messages from 2 weeks ago to finish downloading before I can open that one message my client just now sent to me. A: If you're using Mail to access your work email on an Exchange server, it's quite possible you'll be able to see the mail on Outlook Web Access (OWA). To find out the address for OWA, check your Accounts preferences, and look for the "External Server" entry, simply point your browser to https://external.server.com (make sure it's HTTPS and not just HTTP) and you'll be able to login and view all the messages just like with webmail.
apple
{ "language": "en", "length": 144, "provenance": "stackexchange_00000.jsonl.gz:22974", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/81178" }
e53d21b9501d62aa8070284142d9e32c1e091468
Apple Stackexchange Q: How do I get Wi-Fi info from within Terminal? Is there a way to get BSSID and the list of available Wi-Fi networks from within Terminal? I.e. I'm looking for something similar to ifconfig run0 scan on OpenBSD, which lists all access points, BSSID, signal strength etc. A: There's an airport utility buried that you'll want to use. Create a symbolic link in /usr/local/bin to the utility for quick access with this command: sudo ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/local/bin/airport Now, you should be able to run airport -s and get a list of available networks with BSSIDs. If you hold the option key while opening the WiFi networks in the Menu Bar, you can also see the BSSIDs one at a time, although it seems like you wanted the CLI-like version from OpenBSD. UPDATE: "rootless" AKA System Integrity Protection (SIP) has been added to OSX since I wrote this answer originally, which makes /usr/bin and /usr/sbin read-only. It is proper to use /usr/local/bin, so I have updated the answer so that the symbolic link is created there.
Q: How do I get Wi-Fi info from within Terminal? Is there a way to get BSSID and the list of available Wi-Fi networks from within Terminal? I.e. I'm looking for something similar to ifconfig run0 scan on OpenBSD, which lists all access points, BSSID, signal strength etc. A: There's an airport utility buried that you'll want to use. Create a symbolic link in /usr/local/bin to the utility for quick access with this command: sudo ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/local/bin/airport Now, you should be able to run airport -s and get a list of available networks with BSSIDs. If you hold the option key while opening the WiFi networks in the Menu Bar, you can also see the BSSIDs one at a time, although it seems like you wanted the CLI-like version from OpenBSD. UPDATE: "rootless" AKA System Integrity Protection (SIP) has been added to OSX since I wrote this answer originally, which makes /usr/bin and /usr/sbin read-only. It is proper to use /usr/local/bin, so I have updated the answer so that the symbolic link is created there.
apple
{ "language": "en", "length": 177, "provenance": "stackexchange_00000.jsonl.gz:22984", "question_score": "14", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/81221" }
a087b5044393fed74ee3cae2e4d4f641f9e6ff53
Apple Stackexchange Q: How to build last version of Ruby for jailbroken iOS? I jailbrake my iPad and want to run Ruby in the console. I installed OpenSSH & Ruby from Saurik. But it is too old (1.9.2) & buggy. I would like to compile and install the latest version of Ruby on my iPad. Help me, how to do this? A: If you have OpenSSH, you may want to connect via SSH to a Unix based computer and run a full version of Ruby. For Mac there is MacRuby, for Linux just install Ruby via your package manager.
Q: How to build last version of Ruby for jailbroken iOS? I jailbrake my iPad and want to run Ruby in the console. I installed OpenSSH & Ruby from Saurik. But it is too old (1.9.2) & buggy. I would like to compile and install the latest version of Ruby on my iPad. Help me, how to do this? A: If you have OpenSSH, you may want to connect via SSH to a Unix based computer and run a full version of Ruby. For Mac there is MacRuby, for Linux just install Ruby via your package manager.
apple
{ "language": "en", "length": 97, "provenance": "stackexchange_00000.jsonl.gz:22986", "question_score": "6", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/81228" }
7bf8ecb15fa2826afb3a99600376da5a83c9e124
Apple Stackexchange Q: How can I force an app to redownload from Mac App Store? I have purchased an app which didn't download successfully. I deleted the installer and tried to install it again from the Mac AppStore but the download button says "Installed". I also still have the app icon in my Launch Pad with the download progress indicator on it. I'm aware of the option + click on the "Installed" button and on the Purchases button, but neither works. How can I reset this download process to enable me to download the app again? A: Answering my own question. I enabled the debug menu and then selected Reset Application, restarted the App Store and now the Download button shows up again. To enable the debug menu, open Terminal and run defaults write com.apple.appstore ShowDebugMenu -bool true
Q: How can I force an app to redownload from Mac App Store? I have purchased an app which didn't download successfully. I deleted the installer and tried to install it again from the Mac AppStore but the download button says "Installed". I also still have the app icon in my Launch Pad with the download progress indicator on it. I'm aware of the option + click on the "Installed" button and on the Purchases button, but neither works. How can I reset this download process to enable me to download the app again? A: Answering my own question. I enabled the debug menu and then selected Reset Application, restarted the App Store and now the Download button shows up again. To enable the debug menu, open Terminal and run defaults write com.apple.appstore ShowDebugMenu -bool true A: First, make sure that you do not have a copy of that app on another hard drive that is mounted. Next delete the icon from Launch Pad. It works like iOS where you click and hold on the icon until they start jiggling and then click the X button to delete it. Quit and restart the Mac App Store. Now you should see that it is available to download in the Mac App Store. A: I had this because a previous version of the app was still on the drive. I was trying to re-load Windows Phone Connector 8, had to delete both WPC8 and an old WPC7 i had on the drive.
apple
{ "language": "en", "length": 250, "provenance": "stackexchange_00000.jsonl.gz:22990", "question_score": "16", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/81243" }
9477e3d42671a434768bec9292d9ecb26e8e6f66
Apple Stackexchange Q: Where can I remove a desktop in Mission Control? In Mission Control, I can add a desktop by pushing the button on the top right. How do I remove a desktop? Or where in my system preferences do I look to do this? A: Enter Mission Control and press Option. A close button will appear in the top left corner of the miniature views of the desktops: Simply press the close button to delete the desktop. Notice that you can't delete Desktop 1.
Q: Where can I remove a desktop in Mission Control? In Mission Control, I can add a desktop by pushing the button on the top right. How do I remove a desktop? Or where in my system preferences do I look to do this? A: Enter Mission Control and press Option. A close button will appear in the top left corner of the miniature views of the desktops: Simply press the close button to delete the desktop. Notice that you can't delete Desktop 1. A: If you STILL can't close the "desktops", it may be because you actually just have multiple windows open rather than multiple desktops. Close the entire program that's multiplying on your mission control and you should see a resolution.
apple
{ "language": "en", "length": 123, "provenance": "stackexchange_00000.jsonl.gz:22996", "question_score": "6", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/81269" }
f4223907f0d87a2bb834c5cf5e78993f943a1720
Apple Stackexchange Q: Can I change 10.8.2 Mountain Lion window corners from rounded to squared? Cosmetically I'd like all four corners of all OSX windows to be squared. This proposed half-solution failed on Mountain Lion 10.8.2. I may have seen a mod that was possible at MacThemes forum; alas I fail to recover any such thread. How can I get corners on windows in Mountain Lion OSX 10.8.2 to be square instead of rounded? A: I found a thread that describes how to accomplish the question asked. To fix this I installed this artfile hack: This is just a simple artfile hack that removes rounded corners on windows, the fullscreen button, and replaces the standard traffic lights with the stiijo ones (that fade almost completely on background windows) I made it because I found it incredibly annoying to look at rounded corners when using my tiled window manager xnomad. Download: http://d.asgeirsson.is/obtv (Remember to back up your old (S)ArtFile !! This has only been tested on 10.8.2)
Q: Can I change 10.8.2 Mountain Lion window corners from rounded to squared? Cosmetically I'd like all four corners of all OSX windows to be squared. This proposed half-solution failed on Mountain Lion 10.8.2. I may have seen a mod that was possible at MacThemes forum; alas I fail to recover any such thread. How can I get corners on windows in Mountain Lion OSX 10.8.2 to be square instead of rounded? A: I found a thread that describes how to accomplish the question asked. To fix this I installed this artfile hack: This is just a simple artfile hack that removes rounded corners on windows, the fullscreen button, and replaces the standard traffic lights with the stiijo ones (that fade almost completely on background windows) I made it because I found it incredibly annoying to look at rounded corners when using my tiled window manager xnomad. Download: http://d.asgeirsson.is/obtv (Remember to back up your old (S)ArtFile !! This has only been tested on 10.8.2)
apple
{ "language": "en", "length": 164, "provenance": "stackexchange_00000.jsonl.gz:23007", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/81313" }
b1222331e06e2ff6600757fe0487c70531c7c9bb
Apple Stackexchange Q: Hands free auto repeat. Hidden feature or stuck key? I have a new MacBook Pro. Twice so far I have pressed a key and removed my hands from the keyboard, yet the key continued to repeat. Once it was the delete key (fn-Delete, the backspace function), and another time it was the g key. Just want to know if this was a simple matter of the key getting stuck, or if I accidentally pressed some other key combination that causes this to happen. A: Rather than an exorcist, I'd take it to an Apple Store, because the keys should not repeat unless you let them pressed. There are various factors than can cause this behavior, but if the machine is relatively new, there shouldn't be any reason for this to happen. Most of the ideas come from a Software malfunction, some utility misbehaving or such. I suggest you create a new user and work a few hours/days from there to see if it happens again. If it never happens, migrate your data to this new account and problem fixed. If it keeps happening, rush it to an appstore and see what happens. It's not common. Good luck!
Q: Hands free auto repeat. Hidden feature or stuck key? I have a new MacBook Pro. Twice so far I have pressed a key and removed my hands from the keyboard, yet the key continued to repeat. Once it was the delete key (fn-Delete, the backspace function), and another time it was the g key. Just want to know if this was a simple matter of the key getting stuck, or if I accidentally pressed some other key combination that causes this to happen. A: Rather than an exorcist, I'd take it to an Apple Store, because the keys should not repeat unless you let them pressed. There are various factors than can cause this behavior, but if the machine is relatively new, there shouldn't be any reason for this to happen. Most of the ideas come from a Software malfunction, some utility misbehaving or such. I suggest you create a new user and work a few hours/days from there to see if it happens again. If it never happens, migrate your data to this new account and problem fixed. If it keeps happening, rush it to an appstore and see what happens. It's not common. Good luck! A: known bug on many apple models and recent osx versions (since snow leopard) - fix permissions and if that doesn't help backup your personal stuff and reinstall whole system from fresh. either of those is reported to resolve this issue.
apple
{ "language": "en", "length": 239, "provenance": "stackexchange_00000.jsonl.gz:23013", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/81343" }
f5a53f3211637732c8bd3581847e9d994019dfb7
Apple Stackexchange Q: How to export a date range in Calendar I would like to export some of the events in one of my calendars. The export function will create a .ics file with the entire calendar, but I only want to export events within a specified date range. How can I do that? A: A workaround would be: * *Create a temporary calendar from File>New Calendar. *Mark the calendars you want to export: *Depending on the time range you want to export select week or month view: *Go to the week or month you want to export, press ⌘A to select all events and ⌘C to copy them. *Select the temporary calendar: and press ⌘V to paste all previously copied events. *Export the temporary calendar as an ics file: *Delete the temporary calendar with Edit>Delete.
Q: How to export a date range in Calendar I would like to export some of the events in one of my calendars. The export function will create a .ics file with the entire calendar, but I only want to export events within a specified date range. How can I do that? A: A workaround would be: * *Create a temporary calendar from File>New Calendar. *Mark the calendars you want to export: *Depending on the time range you want to export select week or month view: *Go to the week or month you want to export, press ⌘A to select all events and ⌘C to copy them. *Select the temporary calendar: and press ⌘V to paste all previously copied events. *Export the temporary calendar as an ics file: *Delete the temporary calendar with Edit>Delete. A: Although jaume came up with an very easy workaround somebody might be looking for an even easier solution. Take a look at the Calex App which offers a little bit more features. For example Calex lets you export multiple calendars into one single file. A: You can at least Drag and Drop single events out of the Calendar window.
apple
{ "language": "en", "length": 194, "provenance": "stackexchange_00000.jsonl.gz:23017", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29T00:00:00", "url": "https://apple.stackexchange.com/questions/81362" }