text
stringlengths 12
210k
| meta
dict |
---|---|
Q: How to get iTunes to keep downloading podcasts even if I don't listen to them right away? As the owner of a Mac and an iPhone, I've naturally been using iTunes as my podcasting program. It works pretty well, except for one huge problem: if it determines that I haven't been listening to podcasts for a while it stops downloading them. Is there any way to force iTunes to continue downloading podcasts regardless of how often I listen to them? For most it isn't a big deal, but there are some (like "This American Life") that only publish one episode at a time so it's impossible to download the ones that you've missed.
This would also be useful to set up an iTunes server that shares the podcasts over the local network - since the podcasts would be listened to remotely, their "new" status would not be changed.
I poked around com.apple.iTunes.plist to no avail - if there is a setting to disable it, it's not labelled in there.
One idea I had would be possibly trying to fool iTunes into thinking that the podcast was listened to recently, as one of the criteria for automatically unsubscribing is that it hasn't been listened to in 5 days. Would it be possible to periodically set this value to the current time? Or might it even accept a future time so it doesn't have to be periodically set?
A: Apple covers this feature in their Making a Podcast page.
Automatic Unsubscribe.
iTunes automatically unsubscribes from
a podcast if the following conditions
are both met:
*
*The user has not played any episode downloaded in the past 5 updates
(there may be more than one episode
downloaded per update.
*More than 5 days have elapsed since an episode was played.
In addition to minimizing unnecessary
bandwidth costs for both the user and
the podcaster, the unsubscribe logic
built into the iTunes client makes it
more likely that episode downloads, as
reported by a podcaster to a sponsor,
are roughly in line with actual plays
of the episode
And as far as I am aware, you cannot disable this feature.
A: There is an Applescript called "Update Expired Podcasts" at dougscripts.com.
http://dougscripts.com/itunes/scripts/ss.php?sp=updateexpiredpodcasts
You can run this automatically via your crontab or launchd using osacript:
osascript ~/Library/iTunes/Scripts/Update\ Expired\ Podcasts.scptd
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5339",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "22"
} |
Q: How can I play music from my iPhone through my computer? Now that I've had my iPhone for a few months, I'm trying an experiment to see if I can't replace the laptop I carry around with my iPhone + internet connected computer. To this end, I've been trying to find a program that will let me play the music on my iPhone through the hardware and software on the host computer.
If I recall correctly this was possible a few years ago with the iPod - Linux software like Rhythmbox and Banshee was able to read the music off an iPod and play it through the speakers. I even thought I recalled iTunes itself being capable of this at one time.
Now, however, iTunes greys out/disables the music on my iPhone and I can't find any documented support for the iPhone in any other music program. Is this really no longer possible? Am I limited to using the headphone jack to get music to play?
(note: I am using an iPhone 3G with the 3.0 software. I am attempting to play music on computers other than the one I sync with)
A: The only way to play the music from your iPod or iPhone is to set iTunes to 'Manually manage music and videos' on your device.
To do this just select your iPhone under 'Devices' on the left, and make sure "Manually manage music and videos" is selected.
Click 'Apply', and now your music should not be greyed out and you are free to play it. You should then be able to use Apple's Remote iPhone application to control iTunes from your device.
If you have all your music (and everything else) backed up already, just try it. iTunes can manage iPods funny sometimes and can do strange things (such as warnings like you describe that don't amount to anything). I have done this before to watch a video on another and no content was removed from my iPod touch at all.
A: I came across this question via a Google search and registered just to post what I've discovered relating to this problem. I have a similar situation: I have a home computer that I'm using to sync music with my iPhone 3G S, and a work computer that I'd like to play the music on (without copying the music to the computer). The work computer can see all of the music but it is all greyed out, and when I do the "Erase and Sync" dance I get the same results that you do.
Until I got my iPhone last week I used to play its music through my work computer without issue with my 80GB iPod 5.5 gen.
Despite what the other answers here say, everything I've read indicates that this is not possible with an iPhone. I suspect that the other people who have said it works do it with their iPods and just assume it works with the iPhone as well.
Disappointed that I was losing a feature important to me by replacing my iPod with an iPhone, I set out to find a workaround. The best one I've found so far is this:
http://www.andrewgrant.org/2008/03/30/how-to-sync-an-iphone-with-two-or-more-computers.html
The author refers to this technique as a method to allow you to sync with two computers, but I've found it also enables playback of my iPhone's music flawlessly on my work computer. You are essentially tricking the iPhone into thinking it's connected to the exact same instance of iTunes in either location.
Hope this helps you!
A: Run this program on your computer:
http://rogueamoeba.com/airfoil/speakers.php
If it's a Mac, what you want is Airfoil Speakers for Mac. When the program is running, start playing music on your iOS device. Look in the little menu to right of the start/pause buttons in the iOS device screen. You'll see your computer listed there! Choose it. The sound from your iOS device is now coming out of your computer. If the computer is connected to speakers and using them as its output, the sound is coming out of those speakers.
A: I know I'm replying on an old question, but I came in here googling.
My iPhone 4 had the same behavior, I just updated to iTunes 10 and I my music is no longer greyed out.
In essence: upgrade to iTunes 10 and you should be able to do this.
A: You can do this with iTunes itself. Enable "manual sync mode" and you can then read right off the disk for playback.
Here is an article with further details.
A: You're talking about DAAP, which is what is used to present and stream music in iTunes (although iTunes also has encryption & friends, but we'll leave that out of the conversation for the moment).
I think that this article on an app that allows you to turn your iPhone into a DAAP server might be of considerable interest to you. As in, it allows you to stream your music from your iPhone to another DAAP-capable client, like iTunes...or Banshee...or Rhythmbox...
Anyways, if that doesn't work, you at least know what you're looking for...and that's half the battle. Find a DAAP server for iPhone and you're pretty much set.
A: Here is a simple solution for those wanting to play music on iphone through the computer that I am doing. Use your pc speakers simpy as headphones for the iphone. Just plug in a 3.5mm jack into the pc audio in (microphone) receptacle and run it to the iphone headphones jack. Problem solved, you do not have to transfer the songs on your phone to the computer, all controlled by the iphone.
A: Try using manual sync? I have only an iPod Classic, but I can still play the music on other computer's using iTunes when I use manual sync...
I believe I remember reading somewhere that with Auto Sync, you can only use your own library no matter what.
A: update your firmware to the latest iOS firmware, then download a program called shairport4w. Open it up and select the "change" option, then rename the Name and create a password. Now start playing music on your iphone and press the icon next to the next track button (it looks like a Arrow pointing into a rectangle) And choose the option that will be whatever you named your computer in shirport4w. you will now be able to play your music through your PC's Speakers - you can change the volume through your iphone/ipod touch.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5342",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: How can I figure out what's slowly eating my drive space? Every few days I get notices on my MacBook that it's running or run out of hard drive space. Curiously, restarting the computer will enable me to recover gigabytes of space (this past time, it was able to recover about 2.2GB). However, I can't identify anything in my personal activity that consumed that space.
It's possible that it's a rogue iTunes podcast or a huge software update that my Mac is automatically downloading - would either of these reclaim the space upon a restart?
One possibility that I can think of is that FileVault has some sort of disk leak, allocating but not freeing files. Does this make sense? Is there a tool that I can run to determine where this space is going? Assuming it is FileVault, should I try to disable it? What's the best way to turn of FileVault on a nearly full computer?
Warning about answers and new macOS
For users of Ventura and newer macOS. Apple have increased control of what can be seen by Apps so the apps listed as answers will not work fully without some extra configuration. They will need to be granted Full Disk Access and to see files that cannot be read by the current user will need root privileges - so version from App Store will not provide complete results. See System data storage is huge (This is not part of the question but I can't think of anywhere else to place this as applies to all answers.)
A: It looks like FileVault can cause some issues some issues with free space. Unless you really need the integration that FileVault provides, I would suggest disabling it and using TrueCrypt instead. It is open source and will not crazily eat up free space.
You can also check out this guide on how to free up hard drive space on OS X or run a disk usage disk utility (such as one Doug Harris suggested).
Edit: Since originally answering, FileVault has been significantly overhualled in OS X Lion and is much more reliable.
A: WhatSize
is a disk space visualizer that costs US $13.00. While similar to other programs described above, it also has a mode wherein you can see, measure and even delete files that belong to the System or other users.
A: DaisyDisk (Free Trial, $9.99)
DaisyDisk is sort of like WinDirStat for Windows, in that you can see your files as a visual hierarchy and find out which ones are taking up the most space.
Where Daisy Disk excels is two places:
*
*It's programmed to efficiently and using parallel processes rapidly search out all the special cases where Apple has filesystem allocations that are more unique to Core Storage and APFS and local snapshots / containers.
*It also explains all of these special cases and errors very well. When you have allocations with large amounts of missing space, it saves you from learning all the details of purging local snapshots in the command line, knowing when it's time to boot to recovery to run Disk Utility to check the disk itself when the graphs don't add up correctly, etc...
Yes is costs money, but hopefully you save sanity and time in the long run since it’s been a solid tool for many years.
Credit to Sathya for his answer in Super User.
A: There is a good article from Apple on How to free up storage space on your Mac which mentions built-in disk space consumers discovery tools, available starting with macOS Sierra (10.12).
The most useful tool is the File Browser which allows you to see which file and folder take how much space. To access it:
*
* > About This Mac, then click Storage (More Info on macOS Ventura 13.0 and newer)
*Click Manage... (Storage Settings in macOS Ventura)
*On next page click Documents (or info button next to it on macOS Ventura)
*Then click File Browser tab and feel free to use it to figure the biggest space consumers.
This tool has a single limitation: it only allows you to browse files within your home folder.
A: Disk Inventory X is another excellent disk space visualizer.
FileVault or any other third party software is not necessary at fault here.
Mac OS X is simply a complex and modern operating system that uses disk space is dynamic and often unpredictable ways. Not only does the swapfile grows and shrinks but OS X also has a sub system that creates a Dynamic Loader Shared Cache that can grow to enormous sizes without your knowledge. The cache is located at /var/db/dyld/
Do not ever mess with OS X's caches and swapfiles. The cache gets flushed when booting into SafeMode and gets recreated during normal boots. In short, that's simply disk space overhead to run OS X. You can't really recover or control the cache.
Someone at macfixitforums.com has kindly compiled a list of usual suspects that snatches disk space in Mac OS under the posting Where Did My Disk Space Go?
A: Describe me as a minimalist, yet I dropped most of GUI solutions and by experience, I prefer to use the following strategy:
*
*fire up you command-line interface client (terminal, iterm, ...)
*identify the path of the drive that is full: /, /Volumes/data and change to this directory (that is; cd /)
*ask for the size in the hierarchy and sort it: du -k |sort -n
It is a quite universal law that "small files are many, large files are a few, but these are very large" - such that you may quickly find the culprit.
A: Download and run GrandPerspective for a nice graphical view of what's occupying disk space -- something like this:
Run this before and after the reboot and you should be able to see what the big differences are.
A: I used Disk Inventory as did many others here and found I found multiple files of iphone and ipad backups. As I drilled down into it, I discovered that I had 4 Gb of backups that were two years old for older devices I now longer used. This was a nice find on my 128 Gb Hard drive.
If you've had multiple devices on your mac, check ~library/application support/mobilesync/backup. Each backup is in its own folder and the out-dated ones will easily stand out.
A: You don't need any tools if you care to use Apple's included tools.
Start with System Information and the About this Mac Menu bar item in the Apple Menu.
*
*select the Apple Menu
*About this Mac
*More Info
*Storage (top left of the window between Displays and Memory)
This tool uses the spotlight data, so if it seems off you can reset spotlight and leave the mac running for several hours to regenerate all the data that feeds the storage usage graph. In fact, on recent OS (10.10 and 10.11) many of the times when free space gradually declines and clears at boot is due to spotlight getting stuck and generating database files on an ongoing basis. You can check for that with a command:
sudo du -sm /.Spotlight-V100; sleep 600; sudo du -sm /.Spotlight-V100
That way you get a snapshot of the size of this directory and another 10 minutes later (or more if you aren't watching to re-enter your password)
If you need more granular data, use Finder and open a window in list view of the computer:
*
*Shift + Command + C
*Command + 2
*Command + J
Tick the Calculate all sizes check and then use the triangles to expose folders and keep track of what folders are growing as you use the Mac over a 20 minute period.
You can also inspect the filesystem raw access with fs_usage in the terminal app, but it's a bit like trying to take a sip from a fire hose. If you can narrow down a process or a folder to search for with grep the filesystem activity becomes more helpful and useful to know what's happening at the lowest levels of filesystem access.
A: It sounds like the space recovered is from your swap (vm) and sleepimage files. Restarting will clear the files in /var/swap/ which can grow considerably if you're running out of RAM or are using a laptop. If you are using a laptop you'll find a file called sleepimage that is the size of the amount of RAM you have installed and it can be safely deleted - that said deleting anything from here is temporary.
If you need more space than I suggest using applications (as suggested) like Grand Perspective or Disk Inventory X to find large files. You can also remove additional language translations by hand or using an application like Monolingual - for example as an extreme iWeb drops from nearly 1GB to ~150MB after running Monolingual.
If you want to turn off FileVault you can follow Apple's instructions: by simply unchecking FileVault in the Security Preference Pane in System Preferences.
A: Find the Culprit File. Solution
Among all the above Answers..
you could simply hit this command on the Terminal to find out the culprit file...
This command finds all the individual files whose size is greater than approximately 100MB and then prints them on the terminal.
sudo find / -type f -size +100000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'
In my case there was a tomcat log file which went to whooping 13GB.
A: One more free and useful Mac disk space utility from The Omni Group, OmniDiskSweeper.
A: Real time visualisation of file system activity
fseventer
http://fernlightning.com/doku.php?id=software:fseventer:start
If you use Lion
Mobile Time Machine
Local disk space will be used, intelligently — never so much to cause an alert from the system. If you're curious, you can run two commands in Terminal:
man mtmd
q
tail -f /private/var/log/system.log | grep -E 'backup|mtm'
— set that Terminal window aside, leave it in background, work normally for an hour or so. What's logged should reassure you. When satisfied/finished, bring the Terminal window to foreground then interrupt the running command:
controlc
Misconceptions of the Mobile Time Machine file system
In Mac OS X 10.7 Lion: the Ars Technica review (page 18) (2011-07-20) there's perception of an overlap, a description of something as suboptimal, and talk of copies.
The notion of local disk space being used for copies may be understandably alarming — "copying something takes time, places load on the CPU" and other such thoughts.
I suspect that Lion's use of NFS for Mobile Time Machine local snapshots will prove to be not comparable to copying, in that sense. Suspect a very intelligent use of space that involves neither copying nor movement of files — the magic done at catalog B-tree and related levels on the HFS+ volume, and at some level in mtmfs.
[macbookpro08:~] gjp22% date
Tue 2 Aug 2011 15:13:04 BST
[macbookpro08:~] gjp22% uname -a
Darwin macbookpro08.centrim.freeman-centre.ac.uk 11.0.0 Darwin Kernel Version 11.0.0: Sat Jun 18 12:56:35 PDT 2011; root:xnu-1699.22.73~1/RELEASE_X86_64 x86_64
[macbookpro08:~] gjp22% sudo fileXray --volume_header /Volumes/MobileBackups
Could not determine an appropriate HFS+ volume from "/Volumes/MobileBackups". The file system type of /Volumes/MobileBackups is 'mtmfs'.
To sum up: after initial concerns are set aside, most people should find local snapshots to be a good thing, with an impact on performance that is either imperceptible or negligible.
FileVault 1 in Snow Leopard or Lion
In more modern versions of the operating system, use of bands for FileVault 1 should be not problematic. AFAIR space is freed dynamically, without the need to log out.
Whether free space was as well managed with FileVault 1 two years ago, when the question was posted, I can't recall.
A: I've had a very similar issue, and so I decided to compile several methods for solving it. So, following, there are those options and some of them I got from the answers already provided here. I understand this is a little bit offtopic from the question, but it's in tune with the answers. This has many parts and those are all softwares I could try myself somehow.
It's generally a good idea to pay close attention for using the sudo options below so the software can have access to every file, which will likely include some big hidden ones.
Here's a brief list of apps for checking the disk usage:
*
*GrandPerspective is only graphical, using the Treemap, it can measure files by logical or physical methods before scanning, show/hide package contents and change color scheme on the fly. It also is able to save the scanned data for archiving or comparing multiple windows.
*Disk Inventory X also uses the Treemap graphical scheme but along side a list view of folders and files. The grahpics isn't as good as GrandPerspective neither the list as good as OmniDiskSweeper, but it does a good job mixing both. It has a Finder plugin and the most options between the 3 on preferences. It's the most complex, but not all complete.
*OmniDiskSweeper is non-graphical and very similar to Finder's column view. You choose the folder or disk to analyse, it will order them by disk usage after taking its time to calculate. You can then just delete (move to trash) anything listed.
So each one has its advantages and highlights, I'm still not sure if there's one that comes on top. They're all free.
There is also a different approach, of apps for scanning specific expected places and files for space usage in non-optimal ways. They basically gather some known things about the system that can be bloating your disk all in one nice interface so you can see and decide what to delete.
*
*CleanMyMac lists caches, logs, language files, universal binaries, development "junk", extensions and applications. It scans through the files and also uses some knowledge base it has. Great interface, simple to use. CleanMyMac has a free trial which will only clean up to 500 MB.
*XSlimmer is very specific. It remove "unnecessary" code from "fat" binaries and Strip out unneeded languages, as it says on the website. Universal Binaries, that is, use a lot of space for storing files to run in several different architectures and languages. So, this strips all of them to shrink to only your computer needs. XSlimmer is currently discontinued.
Another approach is looking for duplicate files. There are many commercial options, some may be better than the listed below, I haven't tried them all. Anyway, I'm listing my choice of apps considering which ones I was able to try.
*
*TidyUp is a very well known app in this subject. You can specify where to scan for what kind of duplicates. It offers basic and advanced modes, several different strategies and criterias.
*MrClean is a free tool that just scans for folders for duplicates and trash them. Very simplistic but efficient if you're sure on what you're doing.
*Chipmunk scans duplicates and let you choose which ones you want to trash. It offers a node-view of folders and you can select to "delete all files in a folder that have duplicates elsewhere, or vice versa" as well as hand-picking. It may take very long to scan all files, but it does a very decent job after that.
*DupeCheck "drop a file on it and it will use your Spotlight index to see if you have a potential duplicate somewhere." That's about this nice open source app. Not a great tool for space cleaning at once, but over time it helps you keep your space clean.
*DuplicateFileSearcher from the website: "is a free powerful software utility that will help you to find and delete duplicate files on your computer. It can also be used to calculate MD5 and SHA hashes. The software runs in Windows, Linux, Solaris and MacOS.". Enough said.
Next I'll briefly discuss on a similar approach by quoting relevant parts about two other things that can be done to look for missing disk space, without installing anything new, just using the command line (the Terminal).
This (long but good) one is from MacFixIt forums (go there for more options and details):
In most cases, there really are files occupying part of the volume, but the files are invisible in normal use of the Finder.
Using the Finder’s Go to Folder feature (in the Go menu), look at the sizes of the contents of these folders, by pasting in these pathnames:
/private/var/vm
/private/var/log
/Volumes
The /private/var/vm directory contains the swapfiles used by virtual memory. New ones are made as more data is swapped from RAM to the hard drive. The entire process of creating them begins at each reboot or restart; do not attempt to remove them yourself. Check the total size of all the swapfiles, right after you boot, and as the disk fills up. In Panther, the first two swapfiles are 64 MB, then each new one is twice the size of the preceeding one (128 MB, 256 MB, 512 MB, 1 GB) up to a maximum size of 1 GB. In Tiger, the first two swapfiles are 64 MB, the next one is 128 MB, and any additional swapfiles are 256 MB.
If you do not run the daily, weekly, and monthly maintenance scripts (either by using a utility, or by running the commands sudo periodic daily, sudo periodic weekly, and sudo periodic monthly in Terminal), the logs on the startup volume can become too large. If an error is occurring frequently and is being logged, you can have a very large file at /private/var/log/system.log.
The files in /Volumes should be aliases to your mounted volumes. Do not remove these aliases, because anything you do to them happens to the contents of the corresponding volumes. If you are not confident that you can explore this folder without mishap, before you begin, properly unmount any volume other than the startup volume, if the missing disk space problem affects only that volume. External FireWire drives can be disconnected after proper unmounting.
Sometimes, backup programs that cannot find an intended destination (or target) volume for a backup create a folder with the same name as the destination, and put the folder into the /Volumes directory. There are cases in which the entire startup volume has been backed up on itself, in a folder inside /Volumes. If the amount of missing space is about the size of your user folder, such a backup is likely to be the explanation. If you use Carbon Copy Cloner or another backup or cloning utility and have its preferences configured to create a backup on a schedule, and the intended destination volume is not mounted or is sleeping at the scheduled time, the backup is created in the /Volumes directory.
To check the size of the normally invisible /Volumes directory on the active startup volume, open a new Finder window. Select the startup volume in the list at the left, then choose column view (the one at the right of the three views). From the Finder’s Go menu, choose Go to Folder, and paste in:
/Volumes
The /Volumes directory becomes visible in the Finder; find its size by selecting it and typing Command I. My /Volumes directory is reported to be 12K.
This other one is from Mac OS X Hints forums (not much more to see there):
You may want to run a du in terminal to see what is all going on. This could take a few minutes to run.
An example would be to open up terminal.app then run these commands:
sudo du -h -d 1 -c /
Input your password when it prompts for it then let it go, it will take a few minutes to run so be paitent.
du stands for Disk Usage. There's also df. I like including the -x to the above command, and sort;
sudo du -cxhd 1 / | sort -h
Adding to the command line option, you could use an automator service for opening any app. With this you will get different (and more complete) results on GUI.
Or, if you're on a Power PC, using Rosetta or anything before Snow Leopard, you can mix any of the before mentioned apps with Pseudo. It's a little app to open things as admin. Picture it like a GUI for sudo.
Finally, there's a complete newbie guide on "The X Lab" that I just won't quote here for it's too long.
A: Try the app disk cartography it's completely free and it shows hidden systems.You can also make it show files greater than 1 Gb etc.
A: In my case it was runaway MySQL / MariaDB instance that for some reason had replication turned on , on my laptop. Found using: GPL tool - Disk Inventory X http://www.derlien.com/downloads/index.html
In my case MariaDB - was creating a bunch of bin-log files for replication in /usr/local/var/mysql 50 files at 1GB each ....
A: "Restarting the computer will enable me to recover gigabytes of space" is not curious at all; afaik, it is software flushing its caches. For me as a heavy firefox user (100+ open tabs), rebooting my MacBook frees something in the neighborhood of 1 to 2 GB of disk space (which, subsequently, gets filled with new Firefox cache data).
AFAIK there's other software with bloated caches; I remember from an earlier version of Mac OS X (Snow Leopard?) that QuickTime updates are somewhere stored in the Library and can be deleted.
A: Using OmniDiskSweeper (as suggested in other answers), the culprit for me was GarageBand. The download of Essential
Sounds said "2.1 GB", yet the size on disk was 24 GB and likely going to 50 GB (because I paused the download at 1.2 GB for lack of disk space). That explains why my disk space kept growing
even as I purged more of it.
$ cd /private/var/folders/q8/n9hvxyg92c98xmp5bqsxyrr80000gn/C/com.apple.garageband10/com.apple.MusicApps/audiocontentdownload.apple.com
$ du -sh lp10_ms3_content_2016/
24G lp10_ms3_content_2016/
I also found out that Homebrew keeps the download of installed versions:
Note downloads for any installed formulae will still not be deleted. If you
want to delete those too:
rm -rf $(brew --cache)
Thanks for the answer. What's the use of keeping already installed formulae
downloads files around?
In case something goes wrong and you have to reinstall.
I had the Glasgow Haskell compiler ghc installed for unknown reasons. Removing it freed another 3 GB, 1.5 GB for the cached download and 1.5GB for the binary files (in ~/Library/Caches/Homebrew/downloads and /usr/local/Cellar/ respectively).
A: I use this little app that sits in the status bar and reports the amount of free disk:
https://apps.apple.com/us/app/free-disk-space-monitor/id1134777725
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5353",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "130"
} |
Q: How can I resize a Mac OS X app window after disconnecting from an external monitor? I'm a MacBook user, and when I'm home I plug into a large external monitor to get additional screen space. When I'm on the go I disconnect and use my laptop's built-in display. For the most part this arrangement works very well; however, I occasionally run into an issue where I'll resize an app on the external, causing it to be too large to fit on the built-in screen when I disconnect.
Most apps don't have a problem decreasing their height automatically or resizing to fit when I click the green orb, but some (like iTunes) don't want to cooperate. How can I resize apps like iTunes without reconnecting to my external?
Here's a screenshot:
A: For 99% of applications: The green button in the top left of any OS X window is called the "Zoom" button and will resize the window to it's contents so long as it fits in the current resolution. This is the same as choosing Zoom from the Window menu.
For programs such as iTunes that show a completely different mode when you choose Zoom, you can hold the option key when clicking the zoom button to force it to perform the normal zoom action instead of changing modes.
A: Hold down the option key while clicking on the green button. This should prevent iTunes from changing to the mini-player, and will resize the window as expected.
A: There's an alternative. Use some app such as BetterTouchTool that enables you to resize windows in different ways. On BTT I choose Fn + Option to resize window on top of the mouse.
A: You should try a third party window management add on, it'll really suit your power user style.
Try Cinch, which is a shareware program that adds AeroSnap-like functionality to a mac (like that in windows 7, which allows you to drag a window to the top of the screen to make it maximize, or drag it to either side and make it consume exactly half the screen).
Also Stay is a great app for setting specified locations for windows to exist, and have them be restored to that spot every time the display configuration changes or the app is open. (for example you could set your contact list to always be in the rightmost side consuming a small portion of the screen. Everytime ur IM app is opened or a screen is plugged in or unplugged, it'll move back to it's spot)
you can see some others i found online on this aricle
A: Starting with macOS Sierra, you can easily resize a window to fit the display. Move the mouse cursor to any edge of the window until it turns into a bi-directional arrow aligned diagonally (as-shown):
Now, press and hold the Option key and double click/tap to change the size of window to fit the screen.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5361",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: Why can't I sync more photos to my ipod touch? I am trying to sync all of my photos to my ipod touch. it syncs some of them but now when I add more folders it simply fails upfront saying:
No photos were copied to the Ipod because there is not enough free space on the ipod to hold your photos and photo albums.
I have 12 GB free so I understand if all can't be synced but why doesn't it sync as many as it can until the ipod is filled up ??
Is there any way I can figure out how many photos it will let me sync to avoid wasting time trying and failing ??
A: As you have figured out, you need to select fewer folders/photos in order to keep it from failing. Simply compare the size of the folder(s) you want to sync with the space available on your iPod.
On a Mac, you can select a folder and press command+i (or control+click and select Get Info) to display the size of a folder.
On Windows, you can right click and select Properties to display the size of the folder.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5379",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Freeware for extracting 7zip files? I've used The Unarchiver for this purpose, but it doesn't support extracting encrypted 7zip files. Can anyone suggest any other freeware for this?
BTW I'm using Mac OS X Leopard 10.5.8
A: Softonic has a nice list of 7Zip for Mac utilities. Some are freeware.
A: Some unofficial p7zip packages for Mac OS X exist, you can try them.
A: I've been using 7zX for unzipping 7zip archives. It works with passworded and encrypted (with -mhe=on) archives. http://sixtyfive.xmghosting.com/products/7zx/
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5380",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: In itunes 10, where is the " Store Full Resolution Photos" option? I can't seem to find this option any more. has it moved ??
A: Apparently it has been removed according to a discussion on Apple's forums
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5383",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to access windows shared directory for music files? I would like to access music files on windows from my iPad.
Is it possible? I really don't think it is a good idea to transfer music files to my ipad since I use ipad at home anyway.
A: If you're using iTunes on Windows, I think you can just use playlist sharing?
If you're looking to access a directory that's shared from Windows, you'll need to find a utility for your iPad that supports Samba (SMB), as that's the protocol in use for file sharing on Windows.
A: Two apps designed for iPhone, but can run on iPad:
*
*SMB Lite - free, but file size limited
*SMB Music - paid
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5384",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Unlocking iPhone 3G I hope this doesn't go against the rules of the site. I have an iPhone 3G for which I did a restore without knowing it was unlocked as it originally came from the US (I'm in Mexico) I'd like to fix it since it isn't mine but I've tried redsn0w and blackra1n without luck =( could anyone please help me out? I feel really awful for rendering useless the iPhone of my friend...and I can't seem to fix it..it was firmware 3.1.3 it said it was upgrading but then it restored so I'm guessing the firmware didn't changed.
A: I agree - PwnageTool tends to be the best, most complete and safest form of jailbreaking because it modifies the iPhone's firmware on your computer and then transfers it to the phone during a restore through iTunes, as opposed to accepting a new iOS upgrade from Apple and then re-jailbreaking it on the device. Another benefit of PwnageTool is that it doesn't upgrade your iPhone's baseband, which means that once you're unlocked, as long as you only upgrade using PwnageTool, you'll stay unlockable.
iClarified has excellent tutorials for unlocking and jailbreaking iPhones and a wizard to help you decide which tutorial to use.
A: What you have to watch out for with iPhones is the baseband firmware -- there need to be both a jailbreak (allows unsigned applications like Cydia to run) and an unlock for your baseband firmware. At 3.1.3 you should be ok.
*
*Jailbreak. Use whatever method works for you. I'd reccomend using the latest PwnageTool from the official Dev Team links
*Search in Cydia for an unlock and install the appropriate one.
*???
*PROFIT!
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5385",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is there an iPhone App for reading PDF files? After having used Eucalyptus and Stanza apps on my iPhone, I really can't read printed books while traveling any more.
What similar app can I use to transfer, store and read my own pdf files on my iPhone?
PS: I know that Stanza has a Windows application that converts PDFs for iPhone, but I am not a Windows user.
A: As of 21st June, the Apple iBooks app can read and bookmark PDFs.
A: My wife uses Evernote to read her existing PDFs of her knitting patterns on the iPhone - plus she has the benefit of them being available on the web, and her laptop. It also has a great free version.
A: I use Air Sharing which creates a virtual drive on your wireless network. I can copy files (including MS Office and PDF files) to my iPhone and view them. There are other file transfer apps that do similar things.
If you're starting with documents that are not PDFs (e.g. Word files), you might find reading PDFs inconvenient since PDFs are inherently page oriented. Stanza's FAQ page has an answer about creating ePub content from other documents.
A: Readdle has an iphone app that allows you to download files in many formats from the web to your iphone. They give you some free storage space at their site, but you can sync the files to your phone for reading on a plane, etc.
A: GoodReader is very handy. You can wirelessly transfer files and you can even add any web content to the GoodReader library simply by placing a "g" in front of the URL in mobile Safari.
A: Adobe Reader by Adobe for iOS can view PDFs
A: I use PDFViewer:
Transfer your PDF files to your iPhone and view them with this application.
A: Another possibility is to use Calibre, it can convert PDF and other ebooks into epub and it is compatible with Stanza on the iPhone for downloading docs into the phone. Internface is definitely not up to Mac standards but it works.
A: I copy the PDFs I want to read while being mobile into a folder in my DropBox. And I just view them using the DropBox app.
So far, it's ok for simple PDFs, although moving from page to page may stutter a bit.
A: I generally recommend Evernote for reading PDFs. There are other iphone apps that can get the job done, but evernote is front of the pack.
A: I use Stanza. I've noticed some minor flaws in rendering slides, but it's more than adequate for my purposes.
A: iBooks can read PDFs, although I think evernote is the best.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5386",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Gmail in iPhone: How to delete on swipe? On iphone 3GS I have iOS version 4.1 running. The thing is when I swipe a mail in my Gmail account on iPhone, it always displays the Archive button. So, to delete some mail in my inbox I always have to open the mail, use the Move to button to move it to Trash.
In Yahoo email account and other accounts however, it displays a Delete button on swiping on a mail.
How can I set Gmail to show Delete button on swiping?
Regards
A: *
*Go to the iPhone Home screen.
*Open Settings.
*Select Mail, Contacts, Calendars.
*Open the desired Gmail account under Accounts.
*Make sure Archive Messages is OFF.
To make swiping archive mail (and remove it from the current folder, but keep it under "All Mail"), make sure Archive Messages is ON.
Just an addition for iOS6: there is an alternative for swiping:
When Archive Messages is OFF, the Archive button turns into a trash can.
When Archive Messages is ON you can press and hold the archive button in the right-hand corner to delete the message.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5398",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Can I extend the iPhone's maximum ringtone duration? I'm wondering if there is a way to extend the maximum duration of a custom ringtone i make for my iPhone past 30 seconds.
A: Method that semtex41 mentioned still works on iOS 8.
On Mac (OS X) you can do this:
*
*Create two folders, one for short and one for long
*Create two .m4r (.m4a, renamed) ringtones, one to each folder
*
*Short one must be LESS than 40 seconds
*Give both files same name
*Open iTunes and drag the short tone to tone library
*Close iTunes
*Open /Music/iTunes/iTunes Media/Tones
*Rename the ringtone from eg. tone.m4r to tone.m4r_short
*Copypaste long version to Tones folder mentioned in 6, and make sure it has same name as short one had
*Open iTunes, the Ringtones (or Tones) sections shows, that your tone's length is same as the short one's but content is from the long one.
*Connect your iDevice, select Tones, select tones to sync, and click sync
*Done!
A: A custom ringtone can be up to 40 seconds - my custom ones are 38 seconds, and are made with iTunes - like this: http://artoftheiphone.com/2009/01/19/how-to-create-an-iphone-ringtone-using-itunes/
A: iOS 7 update: the below procedure requires that you first install the ToneEnabler tweak, as Apple changed the way ringtones are loaded.
If your device is jailbroken:
*
*Create your ringtone file (neroAacEnc -if ringtone.wav -of ringtone.m4r).
*Establish an SSH tunnel to your device (iphone_tunnel --iport 22 --lport 22).
*Connect to your device using WinSCP or similar tool.
*Browse to /Library/Ringtones/ (there should be a bunch of .m4r files in there).
*Drag and drop your ringtone file in with the others.
*Re-open "Sounds" in your device's settings.
Your ringtone (of arbitrary length) should now be available to you.
Note: Tested on iOS 5.1.1
A: This is a way to trick the iPhone (iOS 6.0) into making ringtones longer than the ~40 second maximum:
Note: This may now be a moot point since you can select songs for the default alarm, but the one advantage is it allows the phone to vibrate when it is a ringtone and the vibrate alert is enabled.
Summary: Add a short 15sec .m4r song to iTunes. Replace the source file with the full length .m4r version, then drag it from the Library to your iPhone. iTunes will be expecting the short version but will copy the whole thing without error.
Prerequisites: Create two .mp3 versions of the song. One the full length, the other a short version <30sec.
Detailed instructions:
1) Create two folders. One with the full length version of the song. The other with a 15s version.
2) Add the short version to the iTunes Library via File>Add File to Library
3) Convert the short version to AAC, then search for it in Music. Once you find it, right click to Show in Windows Explorer. Rename the file extension of the short song to .m4r. Keep the Window Open.
4) Move the .m4r version to the short folder in Step 1.
5) Remove the AAC listings in the Music Library.
6) Repeat the AAC conversion for the full version, following Steps 3-5 while working from the full length folder. This is to prevent confusion. Use file size to help separate if needed.
6) From the short folder in Step 1, drag the .m4r into the Library section in iTunes.
7) Rename the short .m4r file extension to .m4r_short
8) Copy the full length .m4r into the short directory.
9) From within the iTunes Library, open Tones and then drag the song to your iPhone. The entire full length song will copy without any errors.
A:
I'm wondering if there is a way to extend the maximum duration of ringtones for my iPhone past 30 seconds.
iPhone ringtones cannot be longer than 40 seconds.
A: It's not a carrier setting it's a phone setting. Max I've seen is 30 seconds but there may be a way to get around that. I think that the file format .m4r has to be cut down to 30 seconds to work with the iphone. Even when I made custom ones they had to be edited down to 30 seconds.
A: Yes, you can extend your custom-ringtone duration on any iPhone with any iTunes version. No jailbreak required.
Here's how:
*
*Put your ringtone in your device by using the normal iTunes procedure (sync it, drag and drop in Ringtones, etc.). It must be less than 40 seconds. Say 10 seconds.
*Make sure it's been transferred in your device by going to Settings → Sounds.
*You can already select it as your ringtone if you wish.
*Download iBackupBot and install it on your computer (available for free for both macOS and Windows, google for it, first result).
*Open iBackupBot. Make sure it detects your device. If it doesn't, just click on the Refresh button (blue circular arrow).
*Click on your device name.
*Click on "Raw file system".
*On the right panel, click on iTunes_Control → Ringtones.
*You will see a random-named file ending with .m4r extension.
*That file is the ringtone. If you have multiple ringtones, you will see multiple m4r files.
*On your computer, convert any full-length song/ringtone of your choice to m4r format. You can use any online service for that.
*Once you got your full-length m4r, just rename it to the one currently in the Ringtones folder of your device (as seen in step 8-9). If you have multiple m4r, just choose one.
*In iBackupBot, click the Import button located exactly on the top of the folder structure.
*Find and select your full-length m4r file.
*Confirm to overwrite.
*Done.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5400",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "19"
} |
Q: Can you install two versions of an app on the same iOS device? Is it possible to install two versions of an app on the same iPhone and, if so, how?
The scenario would be that you have purchased an app, and a recent update has changed some of the features--not necessarily for the better or worse, but enough of a change that you'd like to still be able and use the older version at times. You could downgrade from a backup, but it'd be nice to have the new version at times as well. Is it possible to have two versions of an app be 'seen' as different apps so that they can both be transferred to the iPhone at the same time?
A: It's not so much the name -- at least not the visible one, as an upgrade can change the visible name -- but it's the bundle identifier inside the app that identifies it and allows the OS to know it's supposed to perform an upgrade. The developer has to keep the bundle identifier the same in order to actually provide an upgrade and not a new app, so no, you're out of luck.*
*Note that there may well be some way to do such a thing if you jailbreak your device, but I have no firsthand knowledge of such.
A: It is possible to install 2 versions of the same app on your device. However, you're the one who gotta edit the .ipa, and it will lose its online features, like syncing with Facebook or something else.
Matthew Frederick said on his answer to your post:
"but it's the bundle identifier inside the app that identifies it and allows the OS to know it's supposed to perform an upgrade. The developer has to keep the bundle identifier the same in order to actually provide an upgrade and not a new app"
You can edit the bundle identifier, and here's a guide on how to do it:
Let's suppose you have the version 2.0 of the app installed on your device, and you want the version 1.0 also.
*
*You'll need those following programs on your computer: "WinRAR", "plist Editor Pro" and "iFunbox" (the last one is to install the older version of the app on your device)
*Download the version 1.0 of the app (.ipa file) from the internet.
*Search for an app that you would NEVER want to download, it doesn't matter what it is, and download its .ipa .
*Open this last .ipa with WinRAR.
*There will be a folder called "Playload", open it.
*There will be a folder with the name of the app, open it.
*Double click (to open) the file "Info.plist".
*Search for <key>CFBundleIdentifier</key>.
*Under it, there will be the identifier, for example: <string>com.company.appname</string>.
*Copy this "com.company.appname".
*Close the file.
*Now open your app's older version's .ipa with WinRAR.
*There will be a folder called "Playload", open it.
*There will be a folder with the name of the app, open it.
*Double click (to open) the file "Info.plist".
*Search for <key>CFBundleIdentifier</key>.
*Under it, there will be the identifier, for example: <string>com.2company2.2appname2</string>.
*Replace this "com.2company2.2appname2" with the one you've copied earlier.
*That will make your device think it's another app, and not simply replace the one you had with the one you'll install.
*Save and close the file.
*If WinRAR asks if you want to make the modifications, press YES.
*Now open iFunbox, and plug your device into the computer (close iTunes if it pops up).
*On the top left hand corner, press "iFunbox Classic".
*On the left, open "Connected Devices", then open your device's name (for example, "Johnny | New iPad on USB"), then open "User Applications".
*On the top, click "Install App", and select the .ipa you've just modified.
*Wait for it to install. Make sure the device has its lights off (locked).
*Enjoy the 2 versions of the app on your device :)
But again, don't forget this disables the online features of the app, because of the bundle identifier change. Also be careful not to install the app from Step 3 as this will cause an upgrade.
That's the only way I could figure out to do this. There may be other ways.
A: No, it’s not possible to install two versions of an app that has the same name. You’d have to ask the developer to rename it, which I doubt he’ll be willing to do. Although the iOS doesn’t really check “the name” (like a file manager would do), the develop would have to create another “build” if I am not mistaken.
So you’re out of luck. Either embrace the new features or find an alternative. :)
A: Mine just gave me to versions of the same app without jailbreaking or using the computer i just go iOS 7.1 and i git two copies :)
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5402",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: iPod touch bad battery performance after updating to iOS 4 Hey, I own an iPod touch 2g which worked great until I updated to iOS4. After I did the update, it takes just a few hours for the battery to run out. Even if I´m not doing anything with it. I noticed that if I turn off wifi the battery life is great. So I´m hoping you guys can help me with either a solution to this issue and get it to work normally even with wifi on, or some way to get the wifi turned off when blocking it.
Some things I already try: - fully discharge the vattery and then charge it to 100% - restore the iPod - Updated iOS again to 4.1 now
Thanks in advance!
A: Try to completely disable Push Notifications in the Settings application. This might lead to the iPod not trying to maintain a WiFi connection all the time and thus increase battery life.
A: This would be a combination of the fact that the age of your device means the battery is losing capacity anyway, and the fact that iOS4 is much more resource-intensive. To preserve and keep the battery in good running order, every month or so calibrate it, and make sure the software is always running the newest version, as bug and software fixes can improve battery life. Hope this helps.
A: For others who come across this question:
I had really bad battery life when my ipod was having a hard time connecting to the network at home. It was continually attempting to connect and that was draining the battery. Something to check out.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5403",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What do I use to jailbreak an iPhone 3G? I just bought a used iPhone 3G and I want to jailbreak it.
What tool do I use?
A: You may try Spirit
http://www.spiritjb.com/
I support "any iPad, iPhone, or iPod touch on firmware 3.1.2, 3.1.3, or 3.2 (not 3.2.1)".
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5404",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there way to save google maps for offline iphone without jailbreak I've iPhone 3Gs and want to download Google maps to use them offline with GPS.
So is there a good app do that for me ?
Note: i don't want to jailbreak my iPhone.
A: No, nor will you find one (in the official App Store). Storing the image tiles breaches Google's data licence. There are a bunch of apps that use OpenStreetMap, which has a more liberal licence.
A: NO.
You can't download stuff like that for offline without a jailbreak.
A: I know it's not very helpful but some Android phones do have this capability.
http://www.htc.com/www/product/desirehd/overview.html for example.
A: I would recommend
Offline+Maps
https://itunes.apple.com/app/offline+maps/id502648393
or
City maps 2 Go
https://itunes.apple.com/app/city-maps-2go/id327783342
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5406",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is it possible to crossfade songs on an iPhone? Is it possible to crossfade songs on an iPhone that are played through the iPod app?
If there is no native way to do this, are there any apps that can do this?
A: I'm sorry, I don't think it is possible (yet). If you had an old iPod Nano/Classic then I might have suggested 'Rockbox' (give it a google). Send Apple a feature request about it, they never know, if enough people bombard them with requests then maybe it will become a native feature.
Sorry I can't be of more help.
A: I added a new app myself, because I wasn't happy with the other ones out there. MediaMix didn't allow scrubbing, and MyDJ applied a flat "n seconds" crossfade to all songs. I wanted something more customizable, so I wrote Muxic.
http://itunes.apple.com/us/app/muxic-intelligent-crossfading/id547091143?mt=8
A: It isn't the native iPod player, but Media Mix (link to free version) allows crossfading.
A: I use My DJ from the App Store, it works fine for me.
A: Stop&Go Music Player is perfectly suited for people looking for a very simple way of crossfading songs on the iPhone.
Full disclaimer : I made it !
It also has a specific "stop and go" playback mode I needed, and it's mainly designed to be very easy to use (and pretty to look at, I hope !).
A: I haven't been able to test it yet, but:
Making a playlist in iTunes
Highlighting all songs.
Right click and choose Show info (In danish: Vis Info)
Last menu "Choice" (danish: Valg)
Here the bottom entry point is "Albun without pause" No/Yes
I have choosen Yes and am now waiting to get home where I have my cable so I can sync with my iPhone 3GS too se if it works.
Michal
A: One app which does allow crossfading (although you have to do it manually) is called Tap DJ.
A: The new Jam Session app I just distributed allows to do exactly that and much more:
http://www.jamsession.in
It allows to select a number of tunes from the user's library and then play them without gaps of silence between them. The next version shall also allow to handle several playlist and some one in the future also tuen the BPMs of the selected tunes - one I know how to do it...
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5414",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Install and boot Windows from USB hard drive? I would like to install Windows 7 on an external USB 2.0 500 gb hard drive. Is it possible to both install to and boot from this USB drive from my MacBook Pro 2010?
A: As far as I know Microsoft lock their Operating Systems so that you cannot run them directly from an external storage device. Microsoft say something about it not being a 'primary means of storage.' More like them making an attempt at stopping people running multiple computers of on copy of the OS, as allowing them to install it on any storage would allow people to make loads of copies. Hence, Linux does not have this problem. I personally do not do much gaming, and have never needed Windows on my MacBook Pro, so have not dabbled in the whole 'Windows on my Mac' thing. If you really do have a problem with sticking Windows on the MBP's Hard drive and booting either natively or through virtualisation, then the following links may help, although the guides are designed for XP and I have no idea if they will work on 7.
Prepping the install CD (scroll down)
Installing
As I said, I cannot guarantee this will work for 7. I hope, however that I have helped in some way.
A: Disclosure: I have never attempted to install program files to an external drive, so I have no idea on how programs will perform. I supply this answer as a possible solution with no guarantees on performance.
If you were contemplating running an entire Windows install off an external drive, you could try boot camping Windows with 20-30 gigs of your SSD. That should suffice for getting Windows operating. You then would have to install games to the external and run them off that.
I really have no idea if you would be able to get enough bandwidth for loading textures etc from USB 2.0, but then again you didn't clarify what type of games (casual, graphics intensive, etc), so it just might be sufficient.
To answer the actual question: everything I have ever read on the subject of actual running full Windows from a USB drive indicates it can't be done. I believe a couple projects have managed to get Windows XP running well enough on a USB drive, but I myself have not used them.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5415",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Migrating to new iMac, what does Migration Assistant actually migrate? I've got a new iMac (Santa must have thought I was a good boy this year) and I want to move data from my 3 year old MacBook (Intel, running Snow Leopard). I realise I have a few options for this, but migration assistant is currently looking better than either starting from fresh or Carbon Copy Cloner etc.
What I would like to know is if migration assistant will bring across everything from a 3 year old system, including all the remnants of applications I have installed and deleted etc. If it does has anyone got any hints to stop it doing this?
A: I've migrated between many macs over the years, and I've always found that the best way to do it, is manually. Normally I use a firewire cable (but you can also use WiFi, USB, external hard drive, dvd/cd, etc) to hook up the two computers, then just drag over files from one computer to the other.
Mostly everything the average user has on their mac will be found in their user folder (home folder). You can just drag/copy this entire folder over, or you can be more selective about which folders in your home folder you move (for instance, you may not want the Library folder). Then, anything outside of your home folder (Applications, for one) you can drag/copy over if you want.
A: You should not use CCC between Macs. Every Mac has a set of drivers configured for the current hardware during installation. When you use CCC to clone to another Mac, you are getting the setup, which is not optimized for that Mac.
Use Migration Assistant. I had to migrate several Macs in the past, restoring from the Time Machine or copying from older Macs. Migration Assistant never failed. I have lots of apps and some of them are copy-protected and have own drivers (I am a developer). Migration Assistant took care of almost all of them. I only had to confirm Adobe CS3 serial once.
Go for Migration Assistant: a couple of clicks, wait and you are done.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5418",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Migrations Assistant - Best way to transfer data? I'm thinking of using Migration Assistant to transfer data to my new Mac, but what is the best way to do this?
I have a Time Machine Back up on a Time Capsule, but this would be over wifi, so slow?
I guess target disk mode is out, as my MacBook only has FW400 and the iMac only has FW800, I understand these are different connectors, so out of the question?
However I do have a FW drive with both FW400 & FW800 connectors, so could Time Machine onto that, would it be slow?
Or could I make a temporary wired network between the two machines? If so would I need a crossover cable, or are Macs clever enough for this to work with a standard ethernet cable?
A: I have a FW800-FW800 cable that comes with an adaptor, and will convert FW800 to FW400. So I can put on the adaptor and use TDM between a FW800 and FW400 machines. Macs have ethernet interfaces that do auto MDI-X, so a crossover cable is not necessary. Plug and play.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5419",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: iPad for lightweight vacation computing? Vacation computing for me these days seems to have fairly few requirements that my phone alone can't easily support:
*
*Offloading raw SLR photos from SD card to clear space and post online (often to facebook)
*Offloading, editing down, and posting videos (facebook)
Is the iPad a suitable, flexible, enjoyable device for this sort of thing? If so, are there any apps or workflows that help?
A: There are a lot of pro photographers who've started using the iPad for their first pass of editing. Vincent Laforet, who is highly respected wrote about his use of them at "Using the iPad on set". Also "12 Best iPad Photo Apps" has some suggestions.
A: You can import photos using the iPad camera kit:
http://store.apple.com/us/product/MC531ZM/A
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5423",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: What is the best free hard drive diagnostics app for Mac OS X? My MacBook Pro (described below) fell 5 feet while it was powered on. Would the sudden motion sensor be able to turn off the hard drives in time? Also, can anyone recommend the best (free) hard drive diagnostic tools Mac OS X?
Thanks, Chirag
Model Name: MacBook Pro
Model Identifier: MacBookPro5,5
Processor Name: Intel Core 2 Duo
Processor Speed: 2.53 GHz
Number Of Processors: 1
Total Number Of Cores: 2
L2 Cache: 3 MB
Memory: 4 GB
Bus Speed: 1.07 GHz
Boot ROM Version: MBP55.00AC.B03
SMC Version (system): 1.47f2
Serial Number (system): W89241NW66E
Hardware UUID: D62F2A33-E5BA-5208-B300-28730564D27F
Sudden Motion Sensor:
State: Enabled
System Software Overview:
System Version: Mac OS X 10.5.8 (9L30)
Kernel Version: Darwin 9.8.0
Boot Volume: Macintosh HD
Boot Mode: Normal
Time since boot: 5:20
A: About the only "free" tool that's worth anything is smartmontools, IMHO.
smartmontools is a free SMART monitoring application that comes from the Unix, BSD, and Linux world (OS X is based on BSD). This tool can provide extensive SMART monitoring but it's command line which a lot of people don't like. Everything else costs money - I suppose some people have actual costs, like food, water, heat, mortgage, etc. etc.
ZVH, over on MacRumors, has written a list of drive testing tools but beware most of these cost money:
Mac hard drive test software - creating the definitive list
*
*Disk Utility, diskutil (FREE, comes with OS)
*Smartmon Tools (FREE, Open Source)
*SMARTReporter ($4.95 for commercial version, but an older version is FREE)
*Scannerz Lite ($21.95)
*Scannerz with Phoenix and FSE-Lite ($39.95)
*Disk Tools Pro ($79.99)
*Disk Warrior ($99.00)
*Drive Genius ($99.00)
*TechTool Pro ($99.99)
That's actually a really good report. Interesting that nearly no one commented on it. In any case, I think you get what you pay for. Tools like Disk Warrior and Scannerz are known to do very limited things but do an extraordinarily good job of doing it, while other "Swiss Army Knife" tools apparently do a decent job, but not really all that thorough. The author only identifies a few applications as "free."
Although I find SMART status useful, I wouldn't base my life around SMART reports and would recommend that people do web searches about the reliability of SMART testing before using it as a defacto standard.
A: I assume you are aware of the Shareware tools (Like the five mentioned in this article).
In any case, since you want the free option, you will have to rely in your common sense and the tools you have (this is also true for the Shareware options, which really don’t seem to add much at this stage). Most of the benefit of TechTool Pro and DiskWarrior is to have am emergency plan in place in case of hard drive failure. But that is to be done before the problem :)
Back to your case, I suggest you give Onyx a try to check the status of your HDD’s Smart status. Assuming you don’t hear strange noises in the drive, performing a full Clone to an external drive using Carbon Copy Cloner would provide you with an important piece of information: the computer can read your entire drive, block by block.
Both Onyx and OS X can verify your volume so I suggest you also perform a verify (using Disk Utility for example) and verify your permissions.
Finally, use AppleJack to execute some of the above tests to make sure that the OS is in Single User.
If after performing all of the above, you see nothing “out of the ordinary”, you don’t hear “strange click noises” or you don’t detect any strange slowness in your drive, you can assume that the drive has not suffered any damage.
But, all things said, I’d keep my backups up2date just in case. (You do have backups, don’t you?)
I’ve had drives fall from a desktop to the floor and survive for years without any problems, and some drives tipped 0.5 inches and instantly died. Hard drives are like unicorns. :)
A: If you haven't already, you should pop open Disk Utility, select your drive, and click the Info button. Ensure that the SMART status is "Verified".
Of course if you hear any audible clicking or anything of the sort, then you'll likely want to order a new HDD now (then again, I figure you haven't heard any clicking, and are wanting to check the health of the drive to ensure it is okay).
A: Sounds like your best recourse would be to pull the hard drive and test it in a Windows Machine, or dual-boot Windows on your Mac. Software that's actually useful, like Seatools, which does far more than Smart Monitoring, and is far better than the sub-standard disk utility built into Mac.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5424",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Playlist on ipod nano 5th gen I have been trying to sync my playlists from itunes with my new ipod nano 5th gen, but the podcasts don't sync (they did sync on my old 2nd gen). Any suggestions for how to fix this?
The music playlists sync as do the podcasts, but the playlists with only podcasts don't sync. I sync automatically when plugging into my Macbook Pro with iTunes version 10.
I don't have any playlists that have both podcasts and non-podcasts.
A: You might need to provide more details (are you getting any error messages? Are you manually managing you iPod's music or automatically?) but here's the best place to look:
Connect your iPod to your computer, fire up iTunes and click your nano's icon on the left of the iTunes window. Look for the podcasts tab and make sure the sync Podcasts and 'automatically sync podcast' tick boxes are selected.
There's a really clear step-by-step here.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5425",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why did syncing with iTunes delete one of my photos folders? I have an iPod Touch, and I tried to sync with apparently more room than my iPod Touch had on it. So instead of not syncing some new podcasts, it decided to delete one of my photos folders off of my iPod Touch (over 5000 pictures).
Why did the iPod Touch determine that this should be deleted? Why didn't it give me a warning or a prompt so I could have chosen what action to take?
A: Suggestion 1 :
I think you would be a new user to the iPod/iPhone/OS X/iTunes family.
If your afraid or don't understand what is happening during synchronization using iTunes, I suggest you to use a utility called iPhoneExplorer.
Just Explorer the iPhone/iPod/iPad like a file system. You would get your images under Root/User/Media/DCIM/ directory. images are grouped in directories like 100APPLE, 101APPLE and so on. Just explore and copy it.
Suggestion 2:
Synchronization - means A single machine and an iPod synchronization. Not multiple machines and an iPod. If you synchronizes from other machine it will erase all of your old data. According to me, you had the problem just because you might have synchronized from other machines iTunes.
A: In my experience iTunes treats photos as the least important content on an iOS device, whenever there is too much music selected to sync a pop up tells me that there was not enough space to sync all of my photos to the iOS device. I don't think this can be changed.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5429",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Got any tips or tricks for Terminal in Mac OS X? One tip or trick per answer.
My favorite is
open .
Opens the folder you're currently browsing in Finder. You can also pass URLs, images, documents or else to open.
If you specify a program name with -a you can pass the URL, image, document or folder to that program instead, e.g. open -a Preview image.png, overriding the default program set for the filetype.
Please don't post duplicates. Search in the question like this: inquestion:this ls -l
Mac OS X specific answers only.
A: Stop using the arrow keys and navigate the command line more quickly with
ctrl+A: moves to the start of the line
ctrl+E: moves to the end of the line
ctrl+B: move back one character
ctrl+F: move forward one character
esc+B: move back one word
esc+F: move forward one word
ctrl+U: delete from the cursor to the beginning of the line
ctrl+K: delete from the cursor to the end of the line
ctrl+W: delete from the cursor to the beginning of the current word
A: mdfind to use spotlight from the command line - really really really handy! Finds things in every directory as well, so it's more useful when looking for files that are part of the system.
mdfind -live updates in real time, which again is incredibly handy.
A: cd -
Will restore the previous directory you were in. Very handy if you accidentally type cd alone without any arguments and end up in your home directory.
A: Open a man page in Preview:
pman () {
man -t "${1}" | open -f -a /Applications/Preview.app
}
Open a man page in TextMate:
tman () {
MANWIDTH=160 MANPAGER='col -bx' man $@ | mate
}
Open a man page in SublimeText:
sman() {
man "${1}" | col -b | open -f -a /Applications/Sublime\ Text\ 2.app/Contents/MacOS/Sublime\ Text\ 2
}
Quit an app cleanly from the command line
# Quit an OS X application from the command line
quit () {
for app in $*; do
osascript -e 'quit app "'$app'"'
done
}
Relaunch an app from the command line:
relaunch () {
for app in $*; do
osascript -e 'quit app "'$app'"';
sleep 2;
open -a $app
done
}
Uninstall an app with AppZapper from the command line:
zap () {
open -a AppZapper /Applications/"${1}".app
}
A: Here's a shell function to get the path of the front Finder window. Can be handy. (I started doing this instead of dragging a folder into the Terminal window.)
function fp { osascript -e 'tell application "Finder"'\
-e "if (${1-1} <= (count Finder windows)) then"\
-e "get POSIX path of (target of window ${1-1} as alias)"\
-e 'else' -e 'get POSIX path of (desktop as alias)'\
-e 'end if' -e 'end tell'; };\
## alias to copy it to the clipboard
alias cfp='fp | pbcopy'
(This has been in my zshrc a while, but I don't know where I got it / parts of it, otherwise I'd cite credit.)
A: Easily burn an ISO from commmand line (with verify burn at the end):
hdiutil burn /path/to/iso
Without verifying the burn:
hdiutil burn -noverifyburn /path/to/iso
A: the most interesting pschotherapist you will ever talk to:
*
*Run emacs
*Press ⇧+esc+X
*type doctor and press enter
*have fun :D
A: Get a list of airport SSID
/System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Resources/airport -s
the airport utility has a lot more options to manage the airport configuration. Run without the -s to get a list.
A: You can drag a folder from the finder to the terminal and it will paste the full path to that file.
cd <drag folder to terminal>
This is basically the opposite of open in the terminal
A: alias to open preview from command line
alias preview='groff -Tps > /tmp/tmp.ps && open -a Preview /tmp/tmp.ps'
So you can do :
echo "toto" | preview
cat /tmp/test.log | preview
cheat git | preview
A: Putting a couple of these together, we can get manual pages in a browser with proper markup:
bman () {
gunzip < `man -w $@` | groff -Thtml -man | bcat
}
A: None of these are exactly OSX specific, but here's some stuff from my .bash_profile that I find useful:
Colored Prompt:
PS1="\[\e[0;31m\][\[\e[1;31m\]\u\[\e[0;34m\]@\h \[\e[32m\]\w\[\e[0;31m]\]\$\[\e[0m\] ";
example http://grab.by/grabs/c2c7cdff8e49dd764d326620df762665.png
SSH tab completion of hosts that exist in ~/.ssh/config: (found on MacOSXHints)
complete -o default -o nospace -W "$(/usr/bin/env ruby -ne 'puts $_.split(/[,\s]+/)[1..-1].reject{|host| host.match(/\*|\?/)} if $_.match(/^\s*Host\s+/);' < $HOME/.ssh/config)" scp sftp ssh
Highlighted grep:
alias grep="grep --color=auto"
highlighted grep http://grab.by/grabs/dd26dd993c74f8dd076e2f911a8e4ec6.png
Automagically dump your public ssh key to a host for future passwordless auth: (can probably easily tweaked to add said host to ~/.ssh/config)
ssh-setup() { cat ~/.ssh/id_rsa.pub | ssh $1 'cat - >> ~/.ssh/authorized_keys'; }
More OSX specific stuff that I've setup forces the machine to take a picture with the built-in iSight every time the machine's lid is open and dumps that image in a directory.
Requirements:
*
*SleepWatcher
*iSightCapture
Create a directory somewhere to hold all your images.
Dump this into ~/.wakeup:
date=$(date +%y%m%d_%H_%M_%S).jpg;
/PATH/TO/isightcapture -w 640 -h 480 -n 3 -d -t jpg /PATH/TO/PICTURE/DUMP/$date > /dev/null
unset date
I've been capping a frame every time my MacBook wakes up for the past 3 1/2 years now, it's interesting to see everything compiled into a long video at a high framerate.
A: Not installed by default, but MacPorts is great for adding more command line programs. After downloading and installing you can use the port command to find and install more programs, plus much more.
port search convert video
port install ffmpeg
A: My favorite alias:
alias redo='sudo \!-1'
When you forget to use 'sudo', just do 'redo' to rerun the last command using sudo.
A: Use !$ to repeat the last parameter in the last command you entered, for example:
~$ mkdir test-dir
~$ cd !$
cd test-dir
test-dir$
!$ is actually short for !!$ which means "from the most recent command, pull the last parameter"
See the "HISTORY EXPANSION" section of the bash man page for more.
A: afplay ~/path/to/file.mp3
Let's you play songs from the commandline. You can also append [space]& and let it run in the background. :)
A: Here's something nice and pointless:
/System/Library/Frameworks/ScreenSaver.framework/Resources/ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngine -background &
Runs your screensaver as your desktop wallpaper. Useless but cool.
This does not affect normal operation of the screensaver, but will end after normal screensaver has been activated, either by timeout or by moving the mouse to a predefined hot corner.
Alternatively, you can use:
killall ScreenSaverEngine
A: xattr -h
allows you to view file attributes. The most handy use for this command is to remove the internet download warning from the finder:
cd /the/directory/where/you/downloaded/all/your/files
xattr -rd com.apple.quarantine .
A: The OSX installer app has a command line interface too.
sudo installer -pkg /Volumes/Growl-1.2.1/Growl.pkg -target LocalSystem
Is a one line install command for Growl, GrowlNotify is an extra on the same install disk image.
You can find the domains supported by a package file via
installer -pkg /Volumes/Growl-1.2.1/Growl.pkg -dominfo
A: Create a new directory and enter it:
md() { mkdir -p "$@" && cd "$@"; }
For more, see my dotfiles repository on GitHub, and/or view my .osx file for OS X-specific preferences and settings.
A: Not a huge feature, but I noticed it wasn't here.
⌥ + mouse drag on Terminal text let's you make a rectangular selection.
A: history|awk '{print $2}'|awk 'BEGIN {FS="|"} {print $1}'|sort|uniq -c|sort -r
Gives you a list of some of your most recent commands, numbered by how often you use them.
A: Repeat the previous command with a substring replacement:
Syntax:
^before^after^
Example:
You entered:
git clonr https://unbelievablylongurl.org/projectdirectory/evenmoreprojects/project.git
Use this:
^clonr^clone^
And your command will be re-run with the replaced substring:
git clone http://unbelievablylongurl.org/projectdirectory/evenmoreprojects/project.git
A: ctrl+A and ctrl+E: Go to the beginning of the line and to the end of the line.
This also works in every Cocoa text input!
A: (Assuming we're looking for Mac OS X specific tricks.)
I've got an alias to launch quicklook on a file from the command line:
$ type -a ql
ql is aliased to `qlmanage -p 2>/dev/null'
$ ql photo.jpg
Testing Quick Look preview with files:
photo.jpg
ctrl+C: Kill it and return to the prompt.
A: net rpc shutdown --server=<servername> --username=<username>
This will shut down windows boxes.
A: You can transfer a working directory from one Terminal window to another with these two commands added to your .bash_profile file:
alias cwd='pwd | pbcopy'
alias gowd='cd "`pbpaste`"'
cwd copies your working directory from one window, and gowd opens that directory in another window.
A: In my bash profile I have these aliases:
# Alias for "." shows current directory
alias -- .='pwd'
# Alias for ".." goes to parent directory
alias -- ..="cd .."
alias -- ...="cd .. ; cd .."
alias -- ....="cd .. ; cd .. ; cd .."
A: Use Apple’s ASCIIMoviePlayer to play QuickTime movies in the Terminal:
(There are also two great adaptations out there that allow using ANSI colour output).
On a more serious note: CoreImageTool (3rd party; just google for it) is a great way of using CoreImage filters from the command line.
A: sips -i *
This automagically creates icon previews for all images.
This is better than using the Finder’s “Show icon preview” if you have large files particularly over a server.
A: drutil does lots of stuff
drutil cdtext
shows you the cdtext info (if any) on the CD currently in the drive
drutil info
shows you the capability of your optical drive(s)
drutil eject
guess what that does
Plus lots more. 'man drutil' to see everything
A: I have the following aliases and functions in ~/.bash_profile:
alias ..="cd .."
alias ...="cd .. ; cd .."
alias ls="ls -G" # list
alias la="ls -Ga" # list all, includes dot files
alias ll="ls -Gl" # long list, excludes dot files
alias lla="ls -Gla" # long list all, includes dot files
alias stfu="osascript -e 'set volume output muted true'"
alias pumpitup="sudo osascript -e 'set volume 10'"
alias ips="ifconfig -a | perl -nle'/(\d+\.\d+\.\d+\.\d+)/ && print $1'"
alias myip="dig +short myip.opendns.com @resolver1.opendns.com"
alias flush="dscacheutil -flushcache"
alias gzip="gzip -9n"
alias ping="ping -c 5"
alias ql="qlmanage -p 2>/dev/null" # preview a file using QuickLook
# Create a new directory and enter it
md() { mkdir -p "$@" && cd "$@"; }
# Define a term using Google
define() { local y="$@"; curl -sA "Opera" "http://www.google.com/search?q=define:${y// /+}" | grep -Po '(?<=<li>)[^<]+'|nl|perl -MHTML::Entities -pe 'decode_entities($_)' 2>/dev/null; }
# gzip a file with strongest compression settings
ubergzip() { gzip -9n < "$@" > "$@".gz; }
# Open a man page in Preview.app
pman() { man -t "${1}" | open -f -a /Applications/Preview.app; }
# Open a man page in TextMate.app
tman() { MANWIDTH=160 MANPAGER='col -bx' man $@ | mate; }
# Quit an app cleanly
quit() {
for app in $*; do
osascript -e 'quit app "'$app'"'
done
}
# Relaunch an app
relaunch() {
for app in $*; do
osascript -e 'quit app "'$app'"';
sleep 2;
open -a $app
done
}
# Uninstall an app with AppZapper
zap() { open -a AppZapper /Applications/"${1}".app; }
For more, see my dotfiles repository on GitHub, and/or view my .osx file for OS X-specific preferences and settings.
A: I often use ⌘+K to have my Terminal screen cleared instead of UNIX Command clear.
The difference is clear hides the previous commands from our sight, but we can still scroll back meanwhile ⌘+K clears it completely—we can't scroll back.
I like using it because I can always press ctrl+R or type:
history | grep command-that-I-want-to-do-again
if I want to re-type a command without a need to look at "messy character crowded" Terminal.
A: In Terminal's Help menu, you can search for man pages. (The first time you do this, it can take a few seconds to index the man page files, so wait a bit for results to appear, but subsequent searches are fast.) It will show man page results in the Help menu search results. Selecting one opens a window displaying the formatted page.
As of Mac OS X Lion 10.7, there are a number of enhancements to man page support:
*
*Man page searching lets you supply section numbers/names in various formats: "2 open", "open 2", "open(2)". It also supports asterisk "*" for wildcard searches.
*It now searches all the files in MANPATH (prior to Lion it only searched a fixed set of directories, so, for example, it didn't find any X11 man pages). It doesn't run in a shell, however, so if you want to customize MANPATH you may need to customize man.conf (x-man-page://1/man), or set it in your global environment.
*There are commands in the Help menu for opening man pages (Open man Page for Selection) and performing an apropos search (Search in man Pages for Selection). There are corresponding commands in the contextual menu, and there are Services you can enable to perform these lookups from other applications (System Preferences > Keyboard > Keyboard Shortcuts > Services > Open man Page in Terminal / Search man Pages in Terminal).
*If there is no selected text, Open man Page for Selection will automatically look at the text to the left of the cursor. This means you can enter a command name, then use this command to open the man page before entering command arguments. It'll skip over whitespace. It also understands man page references "open(2)" and URLs "x-man-page://2/open". (If you explicitly select text, it also understands "2 open" and "open 2".)
*Man page windows use the "Man Page" settings profile. You can customize this to alter the appearance of man pages displayed using these commands. It also remembers the position of man page windows separately from other windows, so you can have man pages appear in the same place on screen each time, independent of where you place other terminal windows.
*⌘+ double-click will open man page references "open(2)", enabling you to navigate references from one man page to another. (⌘+ double-click will also open any recognized URL, or even some patterns like email addresses—creates a new mail message—and domain names—opens in Safari.)
*When viewing a man page window (or any terminal whose commands have all completed/exited), Terminal supports some "less"-compatible pager commands: space = Page Down, ⇧+space = Page Up, F = Page Down ("forward"), B = Page Up ("back"), ⌫ = Scroll down one line, ↑/↓ = Scroll up/down one line.
A: $ emacs -batch -l dunnet
Dead end
You are at a dead end of a dirt road. The road goes to the east.
In the distance you can see that it will eventually fork off. The
trees here are very tall royal palms, and they are spaced equidistant
from each other.
There is a shovel here.
>
A: afconvert allows you to convert from and to all audio formats internally known to Core Audio.
e.g., converting an aiff file to 160kbps AAC:
afconvert track.aiff -o track.m4a -q 127 -b 160000 -f 'm4af' -d 'aac '
A: Quickly check what is eating all your memory:
top -o vsize
And for your CPU
top -o cpu
Q to quit
A: To make ctrl+← and ctrl+→ useful again, that is going a word forward or backward like they usually do on Linux, you must make Terminal.app send the right string to the shell. In the preferences, go to the Settings tab and select your default profile. Go to Keyboard and set control cursor left and control cursor right to send string \033b and \033f respectively.
While your're at it, you can also fix Home (\033[H), End (\033[F), Page Up (\033[5~) and Page Down (\033[6~) so that they send those keys to the shell instead of scrolling the buffer.
A: Resample image so height and width aren't greater than specified size, e.g. 100x100:
sips -Z 100x100 image.jpg
sips supports other operations such as: flip, rotate, crop, image properties query, colour profile query and modification. Check man sips for usage.
A: Command line shortcuts to toggle visibility of hidden files in finder:
alias show_hidden="defaults write com.apple.finder AppleShowAllFiles TRUE && killall Finder"
alias hide_hidden="defaults write com.apple.finder AppleShowAllFiles FALSE && killall Finder"
A: This is more a Terminal meta-hint - you can use
Cmd-Shift-{Left arrow, Right Arrow}
(Command Shift combined with left or right arrow) to quickly cycle between open Terminal.app windows.
A: Here is a script that gets the path(s) to the current selection(s) in Finder:
#!/bin/sh
osascript` << EOT
tell application "Finder"
set theFiles to selection
set theList to ""
repeat with aFile in theFiles
set theList to theList & POSIX path of (aFile as alias) & " "
end repeat
theList
end tell
EOT
How I use it:
$ cat `selected`
A: If you need to open a Finder window as the root user, you can execute the following from the terminal:
In 10.5 and below:
sudo /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
In 10.6:
sudo /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Then, open a new finder window.
You'll see that the new finder window opens with root permissions.
A: Flush the DNS cache if you are editing /etc/hosts a lot to test staging servers as looking like production.
dscacheutil -flushcache
A: Ok, definitely not mac specific, but TAB completion in zsh is so good I think it deserves a specific mention.
You get completion of options, e.g.
find . -d[TAB]
will give you -daystart -delete -depth as possible completions.
Also path completion is improved over Bash completion, for example, I have a Volume called Wubly, and inside that video/tv/comedy, so typing:
cd /v/w/v/t/co[TAB]
will expand to.
cd /Volumes/Wubly/Video/TV/Comedy
(note that it's also case insensitive.)
If there are multiple paths that match this pattern, they will be shown.
Completion is also interactive, so you can move around the available choices with the cursor controls.
A: As of Mac OS X Lion 10.7, Terminal will open a new window if you drag a folder (or a text pathname) onto the application icon. If you drag to the tab bar of an existing window, it will create a new tab in that window.
You can also do this from the command line or a shell script:
open -a Terminal /some/path/
This is the command-line equivalent of dragging a folder onto the Terminal application icon and will open a new terminal window at "/some/path".
Terminal also now supports Services for opening a terminal at a selected folder (e.g., in Finder) or a text pathname using the contextual menu. You can enable them in
System Preferences > Keyboard > Keyboard Shortcuts > Services
Look for New Terminal at Folder and New Terminal Tab at Folder. You can even assign command keys to them if you like.
Finally, if you drag a folder or pathname onto an existing tab (i.e., the tab in the tab bar) and the foreground process is the shell, it will execute a "cd" command in one step. As in previous versions, dragging a folder onto the terminal display will insert the pathname to the folder.
A: If you’re like me, you have multiple Terminal.app tabs open at the same time.
Now, if you open three tabs at the same point in time, then enter some commands in each of them, then close them all, the Bash shell that Terminal.app uses only remembers the command history for the last tab that you close. So, the command history from the other two tabs gets lost.
If you don’t want to lose your command history in any tab, add this to your ~/.bash_profile (or any other file that gets sourced when a new Terminal tab is opened):
# Append to the Bash history file, rather than overwriting it
shopt -s histappend
A: When cding, one of the most useful features is tab completion.
For example, instead of entering cd FooBarBazBax, you can enter cd FooB followed by Tab. Tab completion will work as long as the part of the path or filename you entered isn’t ambiguous.
However, if you were to type cd foob followed by Tab, the completion wouldn’t work, as the folder name starts with an uppercase F. Luckily, you can make tab completion even more useful by making it ignore the filename case.
Add this to your ~/.inputrc file (create the file if you don’t have it already):
# Make Tab autocomplete regardless of filename case
set completion-ignore-case on
This way, cd foob followed by Tab would complete it into cd FooBarBazBax, provided there’s a folder with that name in the current working directory.
A: Just type
purge
and it will make inactive memory as free again. Mac OS X keeps apps in memory for a while after you close them, so they will open fast if you open them again. Purge will remove them from memory and give your free memory back.
A: http://github.com/joelthelion/autojump - "cd" that learns.
A: With hdiutil you can easilly mount a disk image:
hdiutil mount ~/Desktop/lastest_webkit.dmg
Dismounting (hacker way):
hdiutil detach `df | grep WebKit | perl -pe 's@^/dev/([a-zA-Z0-9]+).*@$1@'`
Dismounting (easy way):
hdiutil detach /Volumes/<mountpoint>
or take the easier approach (that churnd suggested below):
hdiutil detach /Volumes/latest_webkit
A: Some useful aliases:
alias ..="cd .."
alias ...="cd .. ; cd .."
alias ls="ls -G" # list
alias la="ls -Ga" # list all, includes dot files
alias ll="ls -Gl" # long list, excludes dot files
alias lla="ls -Gla" # long list all, includes dot files
alias stfu="osascript -e 'set volume output muted true'"
alias pumpitup="sudo osascript -e 'set volume 10'"
# Get readable list of network IPs
alias ips="ifconfig -a | perl -nle'/(\d+\.\d+\.\d+\.\d+)/ && print $1'"
alias myip="dig +short myip.opendns.com @resolver1.opendns.com"
alias flush="dscacheutil -flushcache" # Flush DNS cache
alias gzip="gzip -9n" # set strongest compression level as ‘default’ for gzip
alias ping="ping -c 5" # ping 5 times ‘by default’
alias ql="qlmanage -p 2>/dev/null" # preview a file using QuickLook
# Upload image to Imgur and return its URL. Get API key at http://imgur.com/register/api_anon
imgur() { curl -F "image=@$1" -F "key=ANONYMOUS_IMGUR_API_KEY" https://api.imgur.com/2/upload | egrep -o "<original>.+?</original>" | egrep -o "http://imgur\.com/[^<]+" | sed "s/imgur.com/i.imgur.com/" | tee >(pbcopy); }
All of these are in my ~/.bash_profile so I can use them in every Terminal window.
P.S.
alias chpwn="chown"
For more, see my dotfiles repository on GitHub, and/or view my .osx file for OS X-specific preferences and settings.
A: textutil is a very handy tool that can cross convert text between HTML, RTF(D), Word (including XML), OpenOffice.org Writer, and the webarchive format.
I use it, notably, in a service that converts the selected text to HTML, uploads it to a server then imports it into Instapaper.
A: Make files invisible:
SetFile file -a V
SetFile can change a lot of other file attributes and metadata, as well.
SetFile is not a OS X native command it comes bundled with DevTools/Xcode.
If you don't have Xcode and don't want to download about 6 GB, you can use
sudo chflags hidden|nohidden <file/folder>
chflags is a BSD command and it also has a Man Page just enter this in Terminal
man chflags
for those who don't like to enter commands self and just would like to know what there stands in the man. Here you have:
CHFLAGS(1) BSD General Commands Manual CHFLAGS(1)
NAME
chflags -- change file flags
SYNOPSIS
chflags [-fhv] [-R [-H | -L | -P]] flags file ...
DESCRIPTION
The chflags utility modifies the file flags of the listed files as speci-
fied by the flags operand.
The options are as follows:
-f Do not display a diagnostic message if chflags could not modify
the flags for file, nor modify the exit status to reflect such
failures.
-H If the -R option is specified, symbolic links on the command line
are followed. (Symbolic links encountered in the tree traversal
are not followed.)
-h If the file is a symbolic link, change the file flags of the link
itself rather than the file to which it points.
-L If the -R option is specified, all symbolic links are followed.
-P If the -R option is specified, no symbolic links are followed.
This is the default.
-R Change the file flags for the file hierarchies rooted in the
files instead of just the files themselves.
-v Cause chflags to be verbose, showing filenames as the flags are
modified. If the -v option is specified more than once, the old
and new flags of the file will also be printed, in octal nota-
tion.
The flags are specified as an octal number or a comma separated list of
keywords. The following keywords are currently defined:
arch, archived
set the archived flag (super-user only)
opaque set the opaque flag (owner or super-user only). [Directory
is opaque when viewed through a union mount]
nodump set the nodump flag (owner or super-user only)
sappnd, sappend
set the system append-only flag (super-user only)
schg, schange, simmutable
set the system immutable flag (super-user only)
uappnd, uappend
set the user append-only flag (owner or super-user only)
uchg, uchange, uimmutable
set the user immutable flag (owner or super-user only)
hidden set the hidden flag [Hide item from GUI]
As discussed in chflags(2), the sappnd and schg flags may only be unset
when the system is in single-user mode.
Putting the letters ``no'' before or removing the letters ``no'' from a
keyword causes the flag to be cleared. For example:
nouchg clear the user immutable flag (owner or super-user only)
dump clear the nodump flag (owner or super-user only)
Unless the -H or -L options are given, chflags on a symbolic link always
succeeds and has no effect. The -H, -L and -P options are ignored unless
the -R option is specified. In addition, these options override each
other and the command's actions are determined by the last one specified.
You can use "ls -lO" to see the flags of existing files.
EXIT STATUS
The chflags utility exits 0 on success, and >0 if an error occurs.
SEE ALSO
ls(1), chflags(2), stat(2), fts(3), symlink(7)
HISTORY
The chflags command first appeared in 4.4BSD.
BUGS
Only a limited number of utilities are chflags aware. Some of these
tools include ls(1), cp(1), find(1), install(1), dump(8), and restore(8).
In particular a tool which is not currently chflags aware is the pax(1)
utility.
BSD March 3, 2006 BSD
A: You can set the system volume automatically too, and kill the screen process afterwards:
screen
(hit enter)
sleep 300; osascript -e "set Volume 10"; say "I am feeling fabulous"; open "http://www.youtube.com/watch?v=dQw4w9WgXcQ"; killall SCREEN
Ctrl-a-d
(detaches)
A: Simulate to type Command-F, to fullscreen a video from command line. Useful when launching a movie in mPlayer from ssh.
osascript <<END
tell application "System Events" to keystroke "f" using {command down}
END
Of course you can also use this trick to simulate any other "typing".
A: what about
cat somefile.txt | say
say the contents of a text file...
or...
cat someFile.txt | say -o someAudioFile
take your text file, convert it to .aiff
A: Text file to an Audio file
say -o “audiofile.aiff” -f “textfile.rtf”
more syntax here
A: Change directory to the directory shown in the top-most Finder window:
cdf () {
currFolderPath=$( /usr/bin/osascript <<-EOT
tell application "Finder"
try
set currFolder to (folder of the front window as alias)
on error
set currFolder to (path to desktop folder as alias)
end try
POSIX path of currFolder
end tell
EOT
)
echo "cd to \"$currFolderPath\""
cd "$currFolderPath"
}
Another version:
f() {
cd "$(osascript -e 'try
tell app "Finder" to (target of Finder window 1) as text
POSIX path of result
on error
(system attribute "HOME") & "/Desktop"
end')"
}
A: Define a term using Google:
define() { local y="$@"; curl -sA "Opera" "http://www.google.com/search?q=define:${y// /+}" | grep -Po '(?<=<li>)[^<]+'|nl|perl -MHTML::Entities -pe 'decode_entities($_)' 2>/dev/null; }
For more, see my dotfiles repository on GitHub, and/or view my .osx file for OS X-specific preferences and settings.
A: gzip a file with strongest compression settings:
ubergzip() { gzip -9n < "$@" > "$@".gz; }
For more, see my dotfiles repository on GitHub, and/or view my .osx file for OS X-specific preferences and settings.
A: I include all my favorites here:
http://rustyisageek.blogspot.com
Example:
Set Volume to 10 and Say something
sudo osascript -e "set Volume 10" | say "hello World"
Wait for network to be ready in a script
/usr/sbin/networksetup -detectnewhardware
A: This is not OSX specific (man says it's from 4.0BSD), but I love it anyways:
sudo shutdown -h +45
In the above example, shutdown shuts down your computer in 45 minutes from now (as one might suspect).
It's great for when you want to spend "just a little bit of time" on your computer before going to bed / doing the dishes / going jogging / whatever. But when you also know deep down that it's not going to be "just a little bit of time"...
Cheers!
A: If you use subversion, opens FileMerge for local checked out files that have been changed.
Requires installation of fmscripts:
cd ~/Downloads && svn co http://soft.vub.ac.be/svn-gen/bdefrain/fmscripts && cd fmscripts
sudo make
alias sfmdiff='svn diff --diff-cmd fmdiff'
Then in a checked out directory:
sfmdiff .
(or any specific dir or file)
A: ctrl-R will allow you to perform a reverse search within your bash shell. It's like an interactive form of history.
A: A relevant command for Terminal.app on Mac OS X is to launch Software Update from the CLI:
sudo softwareupdate -i -a
The bonus is you do not get any nagging from having to click on windows. I run this as part of a update script that is run every week approximately (so that I do not miss the feedback as it may happen when doing this automatically).
A: Quick Look is one of OS X's best features. You just have to press Spacebar in a selected file, and you'll see a preview of that file without having to open up an app. It's great, but you can't select any text when you're in the preview. You can add that feature with a Terminal command:
defaults write com.apple.finder QLEnableTextSelection -bool true
killall Finder
Use the feature of Quick Look, select the text you want, and now you could copy it.
A: dot_clean .
This one isn't an every day usage - but it was a big time saver once -
I had a SMB fileserver (Avid Unity) that was displaying lots of .filename files for mac users as well as PC users.
This cleaning command totally fixed the problem (after running twice)
A: You can hold option and click a position in the current line to move your cursor to that position.
A: pbcopy and pbpaste:
# Copy output of command to clipboard
grep 'search term' largeFile.txt | pbcopy
# Abuse clipboard contents
pbpaste | sed 's/ /%20/g'
# get rid of the text attributes when you copy formatted text
pbpaste|pbcopy
A: opensnoop is my new favorite utility. It uses DTrace to show you all of the files that are being accessed on your system, you need to execute it with superuser privileges
sudo opensnoop
You can also watch what a particular process opens by passing in the PID:
sudo opensnoop -p PID
Or watch a particular file to see who's opening it:
sudo opensnoop -f /etc/passwd
A: history shows a list of the recent commands you've run — something like 500 or 600 commands. I frequently use history | grep something to find a command i've used recently.
A: Although I can get around in vi, I use TextMate as my command line editor. You can also pipe things to it. For example ls|mate opens up TextMate with the current directly listing open in a text window.
A: mdls will show you all metadata of the file that Spotlight knows about. You can use the resulting attributes in "mdfind" as well.
mdutil allows you to switch indexing on or off on certain volumes, and allows you to reset the index etc.
systemsetup is BSD specific (not Mac only), but cool indeed, check its manpage.
GetFileInfo (I believe you have to get the developer tools in order to have this) allows you to see all associated times (modification, creation, last accessed) and all attributes of a file.
automator allows you to run automator workflows from the command line, while
osascript lets you run Apple script code.
A: It's not built in but this is the most effective way to get my wife to stop using my laptop to read celebrity news for hours after 4–5 requests to get my Macbook back:
echo 'The system is overheating and needs to go to sleep now.' | \
growlnotify -a 'Activity Monitor' 'OVERHEATED'; \
sleep 1; \
say 'Overheated system.'
Since it's almost always around 70c it's believable.
A: Hit and hold esc a few seconds to get a list of every possible terminal command on your system, including built-ins, programs on your path, and aliases.
Or, as Martijn pointed out:
Just use ⇥ instead, you don't need to hold it for a few seconds even. ⇥ will also complete partially typed commands for you, as well as filenames and command-specific arguments.
A prompt asking if you really want to display all command possibilities will appear. Just answer y to get the command list.
A: bcat is a convenient pipe between my always-open terminal (xterm under XQuartz) and my always-open browser.
it sets up a streaming HTTP server for just one process so things like
tar czvf - . | tee bcat
will just stream until the command exits. Man pages need a bit of cleanup:
man bash | col -b | bcat
or just
export MANPAGER='col -b | bcat'
man bash
A: Start a quick webserver from any directory:
python -m SimpleHTTPServer 8000
A: Auto-complete a command as an argument.
for example start to type:
which pyt
(now press ⌥+⇧+1)
it will complete to
which python
⌥+⇧+1 works like tab completion except that it auto-completes using command names instead of file names.
A: When you're editing a particularly long and gnarly command line: ctrl+X, ctrl+E will pop you into your editor and let you work on it there.
A: The more I use it the more addicted to it I am.
screen
Along with
screen -ls
screen -r [session]
Very useful for having several screens open on an SSH connection. It saves tons of time especially when you don't have to restart your tail everytime you want to check another log file.
A: This is my absolute favorite. Sharing screen captures via the internet is a hassle. I wrote this to make sharing screenshots across chat a one step process using DropBox. (I have subsequently come across apps and utilities that do this, but I think this is perfect, at least for me.)
It starts the interactive screenshot utility (same as ⌘+⇧+4), saves it your Dropbox's public folder, copies the URL to your clipboard and opens it in your browser.
I run it via LaunchBar, but you could run it from the shell or bind it to a keyboard shortcut to make it as easy as ⌘+⇧+5.
You could add something random to the filename if you are worried about privacy.
I used to have it scp the screenshot file to my webserver before I switched to Dropbox. You could send the file wherever it would be useful to you. You could even put it in your ~/Sites directory to use it on your local network.
If you want sign up for dropbox, you can use my referral link which will give us both bonus storage. =)
#!/bin/sh
# Integrates Mac OS X's screenshot utility with DropBox for easy sharing.
# - Starts the interactive take-screenshot function, saves it to your public
# Dropbox (if you didn't cancel it) where it will be uploaded automatically.
# Copies the public URL to your clipboard and opens your browser to it.
## Config
dropbox_id="112358132134" ## this is fibonacci's dropbox id
dropbox_public_folder="$HOME/dropbox/Public/screenshots"
upload_delay_in_second=1.5
## Derivative Variables
filename=$(date '+%F__%H-%M-%S.png')
save_to="$dropbox_public_folder/$filename"
url="http://dl.dropbox.com/u/$dropbox_id/screenshots/$filename"
## start interactive screen capture
screencapture -i "$save_to"
## if the screenshot actually saved to a file (user didn't cancel by pressing escape)
if [[ -e "$save_to" ]]; then
## echo some output in case you run this in a shell
echo "Saved screenshot to:" "$save_to"
## copy url to the clipboard
echo "$url" | pbcopy
## wait for Dropbox to upload your screenshot, then open in your browser
sleep $upload_delay_in_second
## The `-g` flag means it won't bring your browser to the foreground, which
## feels less like getting interrupted.
open -g "$url"
fi
A: Use ctrl+R to active reverse history search. Then start typing a command you've already typed and all matching commands will start presenting to you.
To navigate in the reverse history search simply:
*
*continue typing to narrow down search
*ctrl+R: move to the next result
*⌫: go back to the previous result
*ctrl+C: cancel your search
eg.
apouche:bin> echo 'type CTRL+R to start reverse search'
(reverse-i-search)`fin': find . -exec grep "MainMenu.nib" {} \;
See also the accepted answer to "How can I search the bash history and rerun a command?" on Super User.
A: diskutil is a very powerful command-line tool for working with disks and disk images. It's gotten me out of some binds. It's not too hard to use.
A: I’m not sure; this might work in any decent terminal application, not only in OS X’s. However:
Using Terminal.app it is possible to put status information to the actual title bar and not just to the prompt.
In order to do that, you need to change the PS1 variable in bash to the following model:
PS1='\[\033]0;TITLE\007\]PROMPT'
Where TITLE and PROMPT must be substituted to the actual commands which provide the status information. For example, \w lists the current full path; \W the directory name. You can even execute a command by putting it in backticks. (So you could even put the output of arbitrary commands to the title – or to the prompt.)
Git users (with git’s bash completion installed) might find the following useful. Add this to your .bashrc
export GIT_PS1_SHOWDIRTYSTATE=1
PS1='\[\033]0;`__git_ps1` \w\007\]\h:\W \u\$ '
and the title bar of Terminal.app will show the current git branch (and whether it’s clean or not) followed by the current full path. This gives useful information about where you are only when you need it and does not make the actual prompt overly long.
In case you don’t use git very much and only care about the path in the title bar:
PS1='\[\033]0;\w\007\]\h:\W \u\$ '
A: The say command invokes the system text-to-speech capabilities.
say "Hello there."
A: !!
Runs the last command again. Great for tracking changes.
A: Print almost any document as a PDF, as long as it has a correctly defined MIME type in OS/X
cupsfilter $filename > output
A: I'm going to have to say watching Star Wars from the command line is the best:
telnet towel.blinkenlights.nl
If you say that isn't a command, which it isn't really, just a trick, then I like this:
defaults write com.apple.dashboard devmode YES
A: Mount iDisk from command line:
osascript <<END
tell application "Finder"
mount volume "http://idisk.mac.com/john.doe/" as user name "john.doe" with password "StR0NGP455"
end tell
END
A: Function to make a directory and cd into with a single command:
function take {
mkdir $1
cd $1
}
A: You can browse and search the history by using the cursor keys after adding
bind '"\e[A": history-search-backward'
bind '"\e[B": history-search-forward'
to your .profile.
A: open all results of find in a single textmate window:
find . -name "pattern"|xargs mate
also works with mdfind (spotlight):
mdfind -name models.py |xargs mate
A: Download a URL to the current dir with curl.
curl -O http://growl.cachefly.net/Growl-1.2.1.dmg
Especially good for downloading source tarballs that Safari wants to decompress for you.
A: In your ~/.bash_profile
export PS1="\[\e]2;\h - \w\a\e[32;1m\]%\[\e[0m\] "
This puts your machine name and current directory in the terminal title bar, so you can keep track of where you are. This also shows the data in the Window directory.
A: Get terminal to open in the last visisted folder:
I have longed to get terminal to open in the last visited folder, and ended up making a small bash command that accomplishes that. It furthermore allows one to "cd" to a file, which is very helpful when you want to change your directory to that of a given finder file. Simply write cd, and drag the file to the terminal and your are there.
Add the following to your .bashrc or .alias file
alias cd=mycd
mycd(){
if [ -f "$*" ]
then
\cd "`dirname $*`"
else
\cd "$*";
fi
echo "\cd \""`pwd`\""" > ~/.todir ;
PS1='\[\033]0;`pwd | xargs basename`\007\]\e[31m\w:\e[0m
'
}
Finally, you need to change your terminal settings:
In terminal:settings:shell - make the shell complete the following command:
source ~/.todir; clear
Next time you start your terminal - you will automatically be redirected to your last opened directory - the terminal title will change title when you use the cd alias, and your prompt will show the full directory path.
A: As of Mac OS X Lion 10.7, Terminal supports a few "less"-compatible pager commands when there are no processes running in a terminal. This is useful for paging through and reading text after commands have completed/exited. Supported keys are:
space: Page Down
⇧+Space: Page Up
⏎: Scroll down one line
↑/↓: Scroll up/down one line
F: Page down ("forward")
B: Page up ("back")
<: Home (scroll to top)
>: End (scroll to end)
Terminal has commands that will lookup and display man pages, which these keys are indispensable for viewing. See the Help menu and contextual menus. It also supports Services for opening man pages from other applications (enable them in System Preferences > Keyboard > Keyboard Shortcuts > Services).
A: LAME encode .wav to .mp3
This is the original one-liner I used to eventually craft this handy command.
find ./ -name "*.wav" -execdir lame -V 3 -q 0 {} \;
*
*Converts 20Mb .wav (at the highest quality settings) to .mp3 in 3
seconds!
*Simply install the LAME binary and you're golden.
A: Easy handling of bzip/tar to compress entire directories:
# lsZ -- list contents of compressed tar archive
function lsZ() {
tar tvzf "$1"
}
# deZ -- silently extract contents of compressed tar archive
function deZ() {
# extract bzip2 compressed tars as well
if [[ $(file "$1") == *bzip2* ]]; then
bunzip2 -c "$1" | tar xf -
else
tar xzf "$1"
fi
}
# enZ -- build compressed tar archive
function enZ() {
tar cZf "${2:-$1.tar.Z}" "$1"
}
# enG -- build compressed tar archive (with gzip)
function enG() {
tar czf "${2:-$1.tar.gz}" "$1"
}
# enB -- build compressed tar archive (with bzip2)
function enB() {
tar cf - "$1" | bzip2 > "${2:-$1.tar.bz2}"
}
# lsB -- list contents of bzip2 compressed tar archive
function lsB() {
bunzip2 -c "$1" | tar tvf -
}
# deB -- silently extract contents of bzip2 compressed tar archive
function deB() {
bunzip2 -c "$1" | tar xf -
}
A: Silence Idiom - Silence a shell command
You can eliminate the standard output from a verbose command with this shell idiom.
The idiom is:
>&-
and you use it like this:
noisycmd >&-
The command runs but nothing is printed to the standard output stream.
A: Send Audio to a Apple Tv/Airplay device via the /usr/bin/say command
/usr/bin/say -r160 -a "AirPlay" "hello world"
-r160 is Speech rate to be used, in words per minute
-a followed by device name or number.
Then your text.
To list your available audio device
/usr/bin/say -a?
39 AirPlay
47 Built-in Output
209 Soundflower (2ch)
74 Soundflower (64ch)
Using the numbers will work just as well in place of the device name.
/usr/bin/say -r160 -a 39 "Hover over a Method";say -r160 -a "Built-in Output" "I am back"
You can also use the -f option to use a text file as your speech text.
/usr/bin/say -f ~/Music/foo.txt -r160 -a 39
As you will notice say can expand tilde file paths
With say you can do a lot more like save speech text directly to audio file.
/usr/bin/say -o ~/Music/hi.aac Hello, World.
-o oupt file path. i.e ~/Music/hi
.aac file format
This saves a .acc file named hi.aac to the Music Directory.
Directory paths MUST exist before the command is run. The file does not need to exist first in the directory and if it does it will most likely be overwritten.
There are other formats you can use.
The man page say will show you the full list of the options.
A: I wanted the reverse of the "open ." command, where I could cd to the front Finder window, so I cobbled this together for my .bash_profile:
alias fw='cd "$(osascript -e "tell application \"Finder\" to POSIX path of (folder of window 1 as string)")"'
Now the "fw" command sets my current directory to the Front Window (for the fw name).
Note that you can type "cd " and then drag the front window to the Terminal to get its path pasted in, then switch to Terminal and hit return. I think this is easier. ;)
A: Make All Links In Safari Open As New Tabs
New windows, baaad. New tabs, gooood.
In general, Safari’s tab controls are wonderful, but one failing drives us crazy: Certain links are allowed to override your preference for opening new webpages in tabs, essentially forcing the application to open a new window. To prevent this in the future, execute this command: defaults write com.apple.Safari TargetedClicksCreateTabs -bool TRUE.
Show Hidden Files in The Finder
The names of hidden files always begin with a period--keep that in mind before you delete or edit a file that doesn’t look familiar.
Believe it or not, the files you see listed on your Desktop in the Finder do not represent all of the files contained in your Desktop folder. In almost every folder, the OS hides system files that Apple considers too important for the likes of us to mess with (or too mundane for us to be bothered with). Now and again, though, it’s useful to view these files. To see the full contents of all folders in the Finder, execute : defaults write com.apple.finder AppleShowAllFiles TRUE.
Disable the Dashboard
When the Dashboard appears on our Desktop, it’s usually because we missed the delete key and hit F12 instead.
We’ve always liked the Dashboard in theory--on occasion, we’ve even downloaded widgets for it. Unfortunately, we never get around to using them, and our aging Mac laptop could use the extra RAM to run real apps. If you’re in the same boat, free up some system memory by terminating the Dashboard with two quick Terminal commands. First, set its default to Off by executing : defaults write com.apple.dashboard mcx-disabled -boolean YES. Second, kill and restart the Dashboard and Dock with this command: killall Dock.
A lot more on this website : Click HERE
A: pg with no arguments ping the IP 8.8.8.8 (usefull for basic internet connection test), otherwise ping the given IP. If the IP is incomplete, it is concat with the default prefix 192.168.1 allowing easy local ping (eg ping 3.12 => 192.168.3.12)
function pg() {
ip4regex='^[0-9]+[.][0-9]+[.][0-9]+[.][0-9]+$'
ip3regex='^[0-9]+[.][0-9]+[.][0-9]+$'
ip2regex='^[0-9]+[.][0-9]+$'
ip1regex='^[0-9]+$'
host=$@
if [[ $# == 0 ]]; then
host="8.8.8.8"
elif [[ $@ =~ $ip4regex ]]; then
host="$@"
elif [[ $@ =~ $ip3regex ]]; then
host="192.$@"
elif [[ $@ =~ $ip2regex ]]; then
host="192.168.$@"
elif [[ $@ =~ $ip1regex ]]; then
host="192.168.1.$@"
fi
ping $host
}
A: Add a file named "-i" to your home directory. Now if you accidentally type:
rm -rf *
it will expand to:
rm -rf -i your other files
and you will be prompt to confirm or deny the removal of the entire dir. It's pretty hacky, but it's saved my butt before.
A: I find it useful to copy text to the clipboard from Terminal.app without using the mouse to make a selection.
This seems to only works with the older Terminal.app from Tiger. I just renamed it to Tiger Terminal.app, and it still runs fine on Leopard. Haven't tried it on Snow Leopard.
So, with Tiger Terminal, you can do mouse-free copy by typing ⌘+⌥+⌫, then using the arrow keys to move to the start of the area you want to copy. Next, type ⌘+⌥+⌫ again to anchor the selection point. Use the arrow keys (some emacs-like commands also work for navigation like ctrl+E) to move to the end of the region you want to copy. Finally, type ⌘+⌥+⌫ again to copy selection to the clipboard.
A: BBEdit version for viewing man pages:
bbman () {
MANWIDTH=160 MANPAGER='col -bx' man $@ | bbedit --clean
}
A: List all directories alone in a directory - er - folders in a folder.
ls -la | grep '^d'
Find sizes of given directory - again - er - folder.
du -s dirname
A: user42053 mentions adding a file -i to every folder. Gets a bit hairy seeing -i in every folder everywhere else. Easier method would be
alias rm="rm -i"
A: Drag the proxy icon of a Finder window to get an escaped path; especially useful after typing cd
A: I made an alias called dirstat, named for a similar utility. It helps determine where all the hard drive space is being used. Add it to your /etc/bashrc or as a bash script.
du -s ./* | sort -n| cut -f 2-|xargs -i du -sh {}
A: Automatically update the Terminal.app window title to display your username, host and current directory.
If I do the following:
cd ~/Developer
I want the Terminal window title to be updated to:
jason@rocksteady:~/Developer
To achieve this, make sure that the PROMPT_COMMAND variable is set in your ~/.bash_profile:
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/~}"; echo -ne "\007"'
Of course, you can substitute whatever suits your fancy.
A: I've added the lines below to my ~/.bash_profile file.
With the ⇥ you will see the effect by starting a command/path and hitting ⇥ a few times.
Change function of ⇥ to scroll through autocomplete options:
bind '"\t":menu-complete'
SSH as root to...:
alias shroot="ssh -l root"
Force eject volumes:
alias forceeject="hdiutil detach -force"
Force quit an application:
alias forcequit="killall -HUP"
Open man pages as PDFs:
pdfman() { man $1 -t | open -f -a Preview; };
Alias pingburst:
alias ping2="ping -c2"
A: Set bash to exit a script immediately on any error.
set -o errexit
Always a good idea when developing bash scripts, especially destructive ones.
A: An easier way to open and close DMGs is:
open <My disk image>.dmg
Then to close it:
umount /Volumes/<My disk image>
A: To connect to a network volume, you could use mkdir;mount and umount;rmdir etc, etc... however that's long-winded and there's a better Mac specific alternative method...
You can open a share:
open afp://user:pass@server/sharepointname
and eject it with:
diskutil eject /Volumes/sharepointname
By the way, you can also open a dialog to select from a list of all the sharepoints on a server by doing..
open afp://user:pass@server/
Omit the user/password to prompt for credentials in the GUI.
A: drutil eject
drutil tray eject # analagous to above
Opens the CD tray or ejects a CD (for a laptop)
drutil tray close
Closes the CD tray
These are very useful when you are SSHing into another computer.
A: You can use esc key as replacement for alt. >ou have to tap it first and then enter the other instead of holding it. It's a standard feature, but more important as the ⌥ key on macs works different as on "windows/Linux" keyboards.
You can set the behavior of alt key in preferences to behave like on "windows" keyboards. Though you then will be unable to type important characters as @, \, {, ...
Very important if you use emacs in terminal. But suppose there are many commands that require it - eg you can also copy-paste in bash with emacs bindings.
A: One I actually use quite a lot is uptime. Simple but nice :) Currently mine returns up 32 days, 14:30.
A: Strictly from one Terminal window to itself or another Terminal window:
Select text in the normal way, then paste it by moving the mouse to the window you want to paste into, and clicking the middle mouse button.
Note that if you have made multiple selections with Command-Option drags, pasting will paste in a newline, which will invoke the current line. This is probably not something you want.
A: Local Web Server with Ruby
Here is the Ruby alternative to the Python one-liner for a local HTTP server (that is also posted in this thread):
ruby -run -e httpd . -p 8000
This will open a server in the working directory with a port number of 8000 so that you can access it in the browser at http://localhost:8000.
Change the 8000 to any port number that you would like to use.
A: Many answers have been given about how you can drag files and folders into the terminal window but Ciarán Walsh has made a utility called drag that allows you to drag files OUT of the terminal window. It’s even better with my patch that allows multiple files per drag operation.
A: I could not believe that the following is missing here. The best improvement of a OS X terminal is to make it feel UNIX/Linux like. My first intention was to show you a proper bash-completion completing several things like ssh or git correctly. I'm talking of standard behaviour I was used to from Linux.
But much more important is the missing package manger homebrew. With this you will get plenty of standard unix commands/apps/libraries.
First install homebrew via
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
and then get the sophisticated bash-completion via
brew install bash-completion
Dont ignore the message. You will have to edit .bash_profile. But its worth it. bash-completion completes brew too.
A: Ctrl+D is a shortcut for exit. Useful if you often work in nested ssh sessions.
A: It's been mentioned already that dragging a folder into a terminal app will get the path typed directly in it. You can additionally drop a folder onto the terminal app icon and a new terminal will be opened in that path directly
A: While a top already mentions option (alt)-click to move to a position in the line, in reality this works anywhere in the terminal. I use it most prominently in text editors.
Anywhere you can get by arrow-ing alt-click will get the cursor there as well.
This is the main reason I stopped using tabs in code in the early 90s, NCSA Telnet included this functionality back then for mac's System 7 and if tried to arrow its way through tabs, so it ended up going all over the place and beeping like crazy.
A: I use a lot this command
echo | pwd | pbcopy
It's simply copy current path to clipboard. I've also binded it with path alias
alias path='echo | pwd | pbcopy'
A: Add aliases for phrases that you commonly mistype
alias sdou='sudo'
alias suod='sudo'
alias sodu='sudo'
alias gerp='grep'
A: alias alias_open="mate ~/.oh-my-zsh/lib/aliases.zsh"
alias alias_reload="source ~/.oh-my-zsh/lib/aliases.zsh"
alias lsa='ls -lahG'
alias l='ls -la'
alias ll='ls -l'
alias sl=ls # often screw this up
alias ..='cd ..'
alias ...='cd ../..'
alias ....='cd ../../..'
alias .....='cd ../../../..'
alias ......='cd ../../../../..'
#######
# GIT #
#######
alias gd="git diff"
alias gl="git log"
alias gu="git up"
alias gs="git status"
alias gf="git fetch"
alias gr="git remote -v"
alias gp="git push"
alias gph="git push heroku master"
alias gps="git push staging staging:master"
alias gpg="git push github master"
alias gpo="git push origin master"
alias gplh="git pull heroku master"
alias gpls="git pull staging staging:master"
alias gplg="git pull github master"
alias gplo="git pull origin master"
alias gpl="git pull"
alias gc="git commit -am"
alias gco="git checkout"
alias ga="git add ."
##########
# SYSTEM #
##########
alias cwd='pwd | pbcopy' #copy the working directory into the clipboard
alias grep="grep --color=auto"
####################################################
# Create box of '#' characters around given string #
####################################################
function box() { t="$1xxxx";c=${2:-#}; echo ${t//?/$c}; echo "$c $1 $c";echo ${t//?/$c}; }
########################
# Rip audio from video #
########################
# ("$1" for output file & "$2" for input file)
function audioextract()
{
mplayer -ao pcm -vo null -vc dummy -dumpaudio -dumpfile "$1" "$2"
}
# extract audio from DVD VOB files
# USAGE: audioextractdvd input_file.vob output_file.ac3
function audioextract_dvd()
{
mplayer "$1" -aid 128 -dumpaudio -dumpfile "$2"
}
#######################
# Backup .bash* files #
#######################
function backup_bashfiles()
{
ARCHIVE="$HOME/bash_dotfiles_$(date +%Y%m%d_%H%M%S).tar.gz";
cd ~
tar -czvf $ARCHIVE .bash_profile .bashrc .bash_functions .bash_aliases .bash_prompt
echo "All backed up in $ARCHIVE";
}
A: Useless, but fun. Go and download the ASCII players from Google Docs. Install them in /usr/bin. Now you can have a movie player in Terminal. There is ASCIIbw and ASCIIcolor. I don't think I need to explain that one is color and one is black and white. To open a movie file type: ASCIIbw ~/Desktop/Test.mov
A: alias ka="killall"
Probably one of my most used commands. I put this in my .bash_profile for easy access.
A: When I'm in terminal I expect every action to be given in written form, because there is no GUI.
Many of the terminal based apps have some kind of quit command to bring you back to shell. This is what I'm used to when in terminal.
To leave a terminal window or tab I aliased following command:
alias q="osascript -e 'tell application \"System Events\" to tell process \"Terminal\" to keystroke \"w\" using command down'"
EDIT:
better even is to do as Jason commented:
configure Terminal.app to close the window if the shell exited cleanly
alias q="logout"
A: If you have XCode installed, running the command purge at the terminal is really helpful. It frees up all of your active and inactive RAM. It's useful for people like me who do a lot of audio production (or any kind of media editing for that matter) when you only have 4 GB RAM. You would be surprised how fast 4 GB gets used up.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5435",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "404"
} |
Q: What's the point of the 60W Apple MagSafe replacement charger? One of the cable tabs on my MagSafe charger for my MacBook came undone, so I took this as a sign to retire the charger to home use and to purchase another for travel. When I went to my local Best Buy, they had two chargers for sale, 60W and 85W, that looked the same size, sold for the same price, etc. The only difference was that the 85W supported the MacBook Pro, while the 60W only supported the MacBook.
Even though I am a MacBook owner, I figured I might, sometime in the future, purchase a MacBook Pro and I went with the 85W charger. When I opened it up I found it was slightly larger than the 60W charger it was replacing, but for all intents and purposes there's no real difference between the two. So why does Apple sell a 60W replacement (or even manufacture the 60W at all)? Are there enough people that want to save 25W?
A: http://discussions.apple.com/thread.jspa?messageID=6301678
Sounds like it does work just fine. You cannot use the smaller charger with MBP of course. This is also the case with the MBA which uses a 45watt version.
In addition to what rangerpretzel said, which is the main technical reason:
But also, size matters to some, MBA users want portability. the 45 watt version is much smaller and the 60 is smaller then the 85. Some people want the smallest one compatible with their computer. Also, the original 85 watt magsafe power supply used to be even larger then it is today and was a concern at the time of release. Apple eventualy re-engineered it to the size it is now.
Cost wise, it might make more sence to just make one power supply, but apple does offer its users a "few" options. haha.
A: You definitely don't need to worry about your laptop being fried by the higher-capacity power adapter, because the laptop will only draw what it needs.
My 6-year-old laptop came with a 65W power supply. When I bought it, I could have gotten it with a 90W power supply, but I opted for the smaller power supply. The docking station that I purchased later came with a 90W power supply which can also plug directly into the laptop. I've noticed that the 90W supply charges the laptop faster, but I prefer it mainly because it has a much longer power cord.
The efficiency figures Ranger has hypothesized are not necessarily accurate; it depends on the design of the specific power supply and the optimal load range. A given power supply may be more efficient under your own typical usage scenario, but the only way to find out for certain is to test each power supply's power draw yourself under different loads. For example:
*
*Plugged into the wall, but not into a laptop
*Laptop fully charged and turned on (idle)
*Laptop fully charged and maxing out power draw (e.g., transcoding video while burning a CD)
*Laptop charging but turned off
*Laptop charging and turned on (idle)
*Laptop charging and maxing out power draw (e.g., transcoding video while burning a CD)
You may find that the higher-wattage power supply is actually significantly more efficient under a high load than the lower-wattage power supply, because it is not near its maximum capacity. In fact, you may find that the higher-wattage power supply is more efficient across the board, and the lower-wattage power supply only beats the bigger supply under a narrow range of loads. Or perhaps the smaller supply is never more efficient, and its only advantage is its smaller physical size.
A: Most of the anecdotal evidence is that there are no problems, and this extends to a member of Apple Store staff who say they use MBP charger to charge all laptops and if you read the small print they are suitable for both MB and MBP.
I did find one person who said that their batteries "burnt out" while using the 85w charger with a MacBook but this seemed so far from the normal tale (that everything was fine, of which there are hundreds of accounts) that it may have been down to something else.
But it doesn't answer the question why do apple do it. It would be simpler (certainly) and cheaper (probably - just down to bulk buying) to standardise. The fact they haven't makes me think that there may be a reason, however it may be historic. For instance it may be that the new MacBooks may run fine on either charger while the old ones don't. To avoid having to specify model and year and risk selling someone a charger which will melt their old laptop, they may have just decided to stick with MacBook charger and a MacBook pro charger and avoid confusion.
The 60w adaptor incidentally is underpowered for the MBP - battery charging takes longer and it will get very very hot in extended use. It works but really not advised.
A: Most switching power supplies are most efficient when operating at 50% capacity. And they're definitely pretty inefficient at less than 20% capacity.
Since the MacBook draws less power than a MacBook Pro, I would suspect that an 85w power supply would work just fine, but the larger power supply for the MBP probably would draw more power from the wall socket than is necessary when connected to a MB because it is operating in a suboptimal capacity range.
Here's an example: Take for example the 45w power supply for the MacBook Air. Sure you could hook up the 85w power supply, but since the MBA might only draw 20 watts, the power supply is operating at less than 25% capacity. At this capacity, the power supply may only be 60% efficient (an educated guess), that means the power supply has to draw 33 watts of AC power just to supply the laptop with 20 watts of DC power.
Long story, short: It's a power conversion efficiency thing. I'd say buy the one that is designed for your laptop so that you save energy.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5533",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: Why can't i activate facetime on my ipod touch i have a new ipod touch and i am on a wifi connection but whenever i try to use facetime i get this error:
"Can't connect to facetime, please check your network"
A: i found the answer. you have to go into:
Settings
WIFI
and click on your wireless router and change the DNS to 8.8.8.8
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5541",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: what is the best way to get my gmail contacts on my ipod touch contacts list i have a new ipod touch and i want to get my gmail contacts available on the ipod touch contacts.
what is the best way to do this?
A: iTunes offers this option in the sync panel out of the box, at least with an iPhone:
A: I am using Google Sync for this, it sets my Google Account up as an Exchange server so emails, calendars (multiple) and contacts are synced over the air.
There is a walk through on how to set this up on the Google help pages for the sync feature.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5542",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: iTunes home sharing, between 2 iTunes accounts, but 2 way? The situation is that I have an iTunes library and account and my girlfriend also has an iTunes library and account in her name (on a separate machine).
While there is some overlap in our libraries we would like to be able to add music from the other's library to our own, can iTunes home sharing be used for this? Whilst maintaining separate iTunes accounts?
(I have only ever used home sharing to sync 2 libraries using the same iTunes account)
A: You can use separate iTunes accounts, but the HomeSharing account must be the same. You will need to authorize each other's computers/devices with both iTunes accounts in order to play back content purchased under the other account.
A: Yes this is the purpose of Home Sharing. I have the setup you describe above, which is:
*
*Two computers
*Two user accounts
*Two iTunes accounts
The result of setting up Home Sharing is that anything added to either account shows up on the other system.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5546",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: when syncing with my ipod touch, why does itunes say "optimizing photos" even if nothing has changed . every time i sync, i get a status saying "optimizing photos . .1 of xx". this is even if no photos have changed since my last sync.
what is going on here? why does itunes keep trying to optimize photos every time i sync ?
A: When you sync photos to an iPod or iOS device iTunes performs a set number of tasks, which include optimizing photos, if photos are selected to sync and to be optimized. iTunes doesn't cache the optimized photos, and if anything on the device has changed (like a contact, or some application data, basically anything) then it will sync all of the photos again, including optimizing them.
Basically, it will do this every single time you sync, and there really isn't much you can do to stop it. You could try to restore your device and NOT restore from backup, that might work, but is it really worth it?
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5548",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do I show a percentage battery indicator on the iPhone? How do I show a percentage battery indicator on the iPhone?
A: iOS 4 and later natively provide a setting to toggle display of remaining battery percentage in the status bar of iPhone/iPad/iPod touch.
*
*iOS 9 and later: go to Settings app → Battery → Battery Percentage.
*iOS 4 – iOS 8: The option is made available under Settings app → General → Usage → Battery Percentage
Apple Knowledge base article Show the battery percentage on your iPhone or iPad.
iPhone X cannot display the same in the status bar due to presence of the notch. To view remaining battery percentage on iPhone X, simply swipe-down from top-right corner of the device to open Control Centre to view the reading on-screen. A brief video with the action can be viewed in the CNET article iPhone X: How to view your battery percentage.
iPhone 3Gs
Instructions: "Settings > General > Usage – and toggle the Battery Percentage setting to On."
iPhone 3G
Jailbreak then install SBSettings. Select Extras & Options → Numeric Battery
A: If you have the 3GS model:
Settings -> General -> Usage -> Battery Percentage -> ON
If you have a jailbroken iPhone:
Install SBSettings in Cydia
or
Install asBattery, also in Cydia, using this repo:
http://apt.iphone-storage.de
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5552",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Can I use an Advanced Format drive in a Late 2010 13" MacBook Pro? I have the 13" Late 2010 MacBook Pro, and the 250 GB Hard Drive is way to small, so I'm looking to get a bigger one.
I wanted to upgrade to a 750 GB WD Scorpio Blue (WD7500BPVT), but I've read reviews that say the Mac will constantly park the head and that I need an HDAPM fix or downgrade to a lower EFI.
Is that because it's an Advanced Format (4k sectors) drive, or what causes this?
Is there a good way to know if a hard drive is fully compatible or not? Is there any 640 or 750 GB Drive that works in the MBP without having to install fixes or anything like that?
A: I read that the larger capacity (750Gb-1Tb) WD Scorpio Blue hard drives are physically a few mm's to thick to fit in MacBooks and MBP's. I cannot answer your question about the software compatibility but in regards to alternatives try this one, from OWC:
750 GB 7200rpm Seagate
Hope some part of this helps.
A: I have that exact disk (WD7500BPVT) in my late 2010 (bought it in September) 13" Macbook Pro, and it fits fine. No EFI problems when installing, just replaced the disk, formatted it and installed OS X.
Excessive head parking
I experienced the excessive head parking problem with this disk.
I resolved it by using the hdapm utility to set the disk's power saving settings to the least aggressive setting, which stopped the heads from parking, and it works just fine.
I had the same issue (with a different disk) in Linux on my previous laptop; I did an equivalent fix, and it has worked fine for well over 3 years -- so I'm not worried about the disk, but had I known this before buying it I might have chosen a different disk.
When I was googling around for a solution to this problem, I got the impressions that lots of disks behave this way, so I guess it's not just the WD Scorpio Blue. This is a very common issue with certain disks on Linux as well.
Advanced Format on OS X
WD says this about their Advanced Format disks on OS X:
Mac OSX version 10.4 onwards (Tiger, Leopard and Snow Leopard) can use the GUID Partitioning Table scheme (GPT) which will align an Advanced Format drive correctly. Mac OS versions using Apple Partition Manager (APM) will not align partitions correctly and will not provide optimum performance.
Basically; use GPT, and you're good.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5558",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: 2nd Gen iPod (iOS4.x) using iPod keyboard Does anyone tried cramming a second gen iPod touch with iOS4 into the iPad keyboard sold by apple? I've seen this but I'm not sure what the difference in architecture is between the iPhone that the Wired article is talking about and the iPod that I own.
A: The original article by Andy Ihnatko can be found here: The iPad Keyboard Dock works with the iPhone 3GS! According to one of the commenters there:
The iPad keyboard dock also works with my iPod touch 2G (8GB) running iOS4. Great!
But personally, I'm not sure how or why this would be a better solution than a Bluetooth keyboard.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5567",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can I tag Faces on iOS using the iPhoto app? Is there a way to tag photos in the iPhoto library with Faces on iOS?
Something like a sequence of screens that just asks for confirmation like "Is this John, yes/no"?
A: I'm afraid not. You can do places and whatnot from your i-device, but sadly no faces ability, although I have the feeling Apple will do it in the future. You can quite easily do it on iPhoto however. If you need any help in getting started at all in iPhoto, here's Apple's own support page: http://docs.info.apple.com/article.html?path=iPhoto/9.0/en/pht2297cf5f.html
Hope this helps.
A: You can do it now, as of Ios 10: ios face tags
A: This might do it - untested but found whilst Googling for another Ask Different question
PhotoTime - Automatic Face Sorting & Keywords Tagging for Your Moments
https://itunes.apple.com/us/app/phototime-automatic-face-sorting/id846435251?mt=8
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5568",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Where can I get this iPad stand? I am not sure if my question is okay to post or not.
I found a cheap, but simple and beautiful iPad stand on a korean website.
http://www.funshop.co.kr/vs/detail.aspx?categoryno=1359&itemno=10516
description says that it is from USA.
I googled with its name 'easy ipad stand', but I could not find anything.
anyone knows where to buy this product?
A: That's not an iPad stand—it's just a cheap three wire display stand. It's the kind of stand that can display anything at all, which could include an iPad, I guess (although I'd want something a little more secure, personally). You should be able to get one at your local office supply store for $2-5.
Here they are on Amazon at two for $5.65.
A: Sorry, but from what it looks like the product is only available from this website. My only suggestions would be trawl eBay, or try and translate the page using google translate? Sorry I can't help anymore, but someone else may have found something?
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5576",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: List DHCP leases held from client Does Mac OS X Snow Leopard store complete information on the client DHCP leases it holds on Snow Leopard Server? It is apparently not recorded in /var/log/system.log — although this information is logged here on Tiger.
I can get the DHCP leases granted from sudo serveradmin fullstatus dhcp; this is the other end to what I want.
The issue arose when I managed to cripple the machine so that, while it was quite capable of accessing the local network, it couldn't play its part in receiving a fresh DHCP lease, and so the router wouldn't talk to it on any channel other than 80, isolating from anything outside the local network. I fixed the issue by rolling back the state with Time Machine, but I'd like to know how to troubleshoot this issue in future.
Postscript
Which it did, and being able to verify that no leases had been generated in the past week (by looking at the date of the leases directory in the output of ls -l /var/db/dhcpclient) was useful in debugging the situation, so kudos to Harv. You can get more information on the individual leases by looking at ipconfig getpacket $INTERFACE, but not the date of when the last lease was issued/deleted.
What happens is that the ipfw firewall was blocking the ports used by DHCP. Switching off the firewall allows DHCP leases to be granted. Now, why these ports were blocked is still a mystery to me.
A: I don't think you can find lease information from the client end, I believe it's stored on the server end. I don't quite understand, though, your predicament. You managed to cripple your network connectivity somehow?
Try /private/var/db/dhcpclient/leases.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5579",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Can I create an iTunes account without a credit card? I am trying to create a iTunes account for my younger cousin, but he does not have a credit card (he's too young). Tried Google, seems outdated on this issue.
A: I seem to have found a method. First i open itunes, app store and click a free app, it will prompt me to sign in or create new acc. When i create new acc i can choose Nil as a payment option. Thanks for the other methods too.
A: You must first go to iTunes store in iTunes then choose App Store, then select 1 free app (this is the most important steps) and try to get that app. When you try to download this free app iTunes ask you to enter your account so you must press Create New Account and fill the forms but in the Provide a Payment Method steps because you try to download free apps you see below form instead of normal form:
You must choose None for your Credit Card.
A: Assuming you cannot use the tremendously easier method of a gift card, which Daniel Beck mentioned:
iTunes supports PayPal, so use a PayPal account.
Whether you use/create your own account, your cousin's account or a dud account is up to you. The billing method can be changed later.
A: As others have said, you can create an account by first trying to purchase a free app. This is also documented at Apple's own Knowledge Base:
Create an iTunes App Store account without a credit card
(I found the link above in this question: How to activate new iPad without disclosing credit card number? )
A: You can also create an account with an iTunes gift card. This has the added benefit of being able to purchase things after you set it up. If you ever want more money in your account balance, simply buy another "gift" card and redeem it to your account!
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5581",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Making music CDs with ITunes I have 4 CDs I made from music tracks using iTunes and I was wondering if those are MP3 or some other format. Is it possible to read them with a non-MP3 player, such as a car CD player?
A: If you create a playable CD with iTunes, then the software converts them to a format that can be played through any hi-fi or CD player and burns that to a disc. If it was a data CD you used, then that works in a similar way to a USB flash drive, just copying the files and burning them to a CD. These will not be playable in a CD player, but you can get the files off from a computer.
Hope this helps.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5584",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Can you tether via bluetooth? I would like my iPad to connect to the internet via a bluetooth modem (in this particular case, a Samsung Omnia with a more convenient pricing plan.)
The iPad has been bought full price and thus should be carrier unlocked. However, when I go Settings → Bluetooth and tap on the device name, the only available option is "Ignore this device."
Is there a way to make this happen?
To be crystal clear:
GPRS/EDGE/3G Bluetooth
(Internets) - - - (Mobile Carrier) - - - - - - (Samsung Omnia) - - - - - (iPad)
A: I read on forum that one user managed to successfully tether his Omnia to an iPad via the WMWifiRouter, a program that turns the Omnia into a Wireless access point that the iPad can then connect to. I am nearly positive that this will not be able to be done over bluetooth, as the iOS and bluetooth are pretty restricted. Sorry I can't help with the BT issue, and I hope I have provided a decent alternative that you can work with. Cheers.
A: For bluetooth tethering to work you need a device that support Bluetooth PAN profile. I did my own testing and crowdsourcing (it's in Russian) and it seems only Nokia S40 5th edition phones and above are relatively problem free (but not s60 ones).
SE is hit and miss and Samsung as far as my sample goes is no-no.
You probably have a better luck with some kind of Wi-Fi AP done by app from that phone if it's Android or WM one.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5588",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: On the iPad, is there a way to email a link to a mapped set of directions? Now that I have the directions from A to B, I want to mail them to a contact, ideally as a Google Map link. I see no way to do so within the iPad Maps application, but maybe I am overlooking something.
A: As far as I know there is no way to email a link to something you have got to inside a native iOS app, in your case, a set of instructions. I believe however that you can email a set of instructions as a link from the google maps website, which you can access in safari. Hope this helps in some form.
A: I want to e-mail a link to a set of Google map directions from my iPad. Go to Google maps via safari, and make sure you've got the 'classic' view as this has the print option on it. Find your route, then press the 'print' option and then, on the iPad you've got the 'mail this link' option which sends a link to that printed page of directions.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5590",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What's the best way to import DVD into iMovie 11? My got a new Mac for Christmas and I'm trying to help her import a bunch of DVDs with home movies transferred from VHS into iMovie 11.
Google turns up several results but most are trying to sell you an app to rip encrypted DVDs. Other results suggest using Disk Utility to copy the DVD into a .dmg file which iMovie would recognize as a camera it could import from, but that doesn't seem to work with the current version.
I was able to use Handbrake to rip it to an MP4 and import that into iMovie but I'm curious if there's a more efficient way that avoids two transcodes and would be easier to explain to my mom.
A: Not really, you've utilised the quickest, easiest and cheapest route available with doing it with Handbrake. Don't bother trying to find another piece of software that will do the job better, Handbrake is really the best when it comes to ripping and encoding Apple friendly formats. Thanks, hope this helps.
A: Handbrake is free but not the most user friendly. Here is a great tutorial on using Handbrake: http://www.methodshop.com/gadgets/tutorials/handbrake/index.shtml
My personal favorite (for ripping movies for playback on your Mac) is MacDVDRipper Pro ( http://www.macupdate.com/app/mac/31118/mac-dvdripper-pro) which actually rips the disk image to your Mac retaining the menus and extra features you might have on the DVD. Then you can mount the disk image on your Mac and use it like a "virtual DVD". This software is not free though.
A: iMovie can import QuickTime movies, DV video and MPEG 4 video. What's in the VIDEO_TS folder is MPEG 2 video, so that's not on the iMovie list. There are several applications available that will convert video from a VIDEO_TS folder to one of the formats usable in iMovie. MPEG Streamclip is popular. Cinematize is designed for this. Toast and Popcorn 2 can do it.
You do not need to rip DVDs unless they are encoded with copy protection. So if these are DVDs you recorded you can just drag the VIDEO_TS folder to the hard drive to copy them and don't need another commercial product. I mention this because the main reason people use iMovie is for their home videos, not for editing movies from commercial DVDs.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5597",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Icon for iWeb published site? How can I use a favicon for my website that is published using iWeb?
A: Unfortunately, there appears to be no way to create a favicon via the gui elements of iWeb. However, you are able to pretty simply add the html to the published version of your site.
I recommend following this guide from All About iWeb. It walks you through how to first create the favicon using one of a variety of free online tools and then informs you where it needs be stored in your site's structure as well as the necessary html you need to add to your pages.
A: Can you define what you mean by a "personal icon"?
Are you referring to the image shown next to the URL in the address bar? That's called a favicon.
Or do you mean an image on the web page itself that represents you/your site, such as the apple on the left-hand side of the menubar at the top of apple.com? That can be called any number of things (header graphic, home button, etc.), but it's just a normal graphic in png, jpg, or gif format.
A: This article should be just the thing.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5599",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Mobile Me Family Pack Accounts: Do Sub-Accounts have their own syncing features? Merry Christmas.
In a MobileMe Family Pack, do the subaccounts have their own, independent syncing features (dock, bookmarks, etc - as seen in the MobileMe system preference?).
I could really use the syncing features, but I don't need a full individual account. My brother has an individual account, and we were thinking of upgrading it to a family, so I could get the syncing features (I have a work mac, and a personal mac).
The Apple Website is a little vague on this:
A Family Pack subscription includes one Individual account with 20GB of combined email and file storage, plus four Family Member accounts, each with its own email address and 5GB of storage. Convert an Individual account to a Family Pack anytime you like — you just pay the difference.
I'm not sure whether to read it as 'a family pack is a glorified email account' or 'a family pack is a full mobile me account (with syncing features) but less space for each user'.
A: Yes a family pack allows you to create 4 additional usernames that have all the features of the main account, the only difference being that they are limited to 5gb of storage. I upgraded to a family pack and used one of the 4 additional accounts for my girlfriend so she could use Find My iPhone (before it was free with an AppleID) she can also sync her bookmarks, dock, prefs, etc just like my account.
The only thing I am not 100% sure is if she can also create alias email addresses like I can on my main account but I believe she can.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5602",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Errors while syncing iPhone I did a restore on my iPhone 3GS running the latest 4.2.1 (after a failed attempt at jailbreaking).
For whatever reason the applications won't sync. For each of the apps it gives me an error:
The app "iDivide" was not installed on the iPhone "iPhone" because an unknown error occured (0xE8000001).
I've shutdown and restarted the phone, all to no avail. Everything else seems to sync fine (photos, podcasts, etc...).
How do I sync my apps?
A: Many resources out on the web seem to suggest that 0xE8000001 occurs because of iTunes/associated daemons, not your device itself. Most folks report success after quitting iTunes, and using Activity Monitor to force quit the iTunes Helper, and any other process referencing iTunes, iPod/iPhone, etc.
A blanket search for 0xE8000001 reveals most of these sources.
A: This restore that you did, was it from a backup made pre-jailbreak or post-jailbreak? It may not matter but it always helps to isolate possible sources of errors.
I know these are a bit of a generic set of tests, but have you tried:
*
*Deleting and re-downloading a couple of apps to test if the app files have been corrupted?
*Reinstalling iTunes, to test if the iTunes installation has been corrupted?
*Set up the phone "as a new phone", to test if the backup is what is causing the sync error? If this doesn't work you can still go back to restoring from backup.
If none of those help, the more drastic options are:
*
*Delete and re-download the IPSW file and re-restore the phone with the fresh IPSW, to test if the IPSW file on your computer has been corrupted.
*Copy your iTunes Library to another computer, to test if iTunes + your computer is having problems (Reinstalling iTunes isn't quite as exact as a fresh install).
*Move your iTunes Library to a temporary location, start iTunes and let it create a blank Library, download a few apps to test, then see if it syncs.
A: VxJasonxV is correct about the error. Though normally the fault actually lies with Antivirus software on a Windows machine causing said daemon to fail.
Also: if a USB hub is being used, connect directly to the computer at try. The error is not consistent with that failure but it can cause problems.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5603",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is it possible to create a folder in iBooks? I have iPad and iPod touch. Both I bought just for reading books in pdf format.
If it is possible, I want to create some folders to separate the books based on categories I will define.
A: Yes, as long as you're running the latest version.
*
*Tap the button a the top of the bookshelf where it likely says "Books" (though it might say "PDFs") -- this is the Collections button.
*Tap "New" to add a new collections folder with a name of your choice.
*Tap the "Books" collection and you'll see all of your books.
*Tap the "Select" button in the upper-right corner, then tap on all of the books you want to move into a collection.
*Tap "Move" and select the collection you want to move the books into.
Poof, they're now out of the default "Books" collection and now in the collection you chose.
A: Yes, with the latest iBooks it is possible to create your own categories of books. When in your iBooks library on the iPod, tap the middle button at the top, it will probable read Books or PDFs, to create/edit your categories. The same functionality is found by tapping the Categories button on the iPad iBooks.
Once you have the categories you want, you can move books into them by tapping the Edit button in the library view, tapping the books to select them and then tap the Move button. Select the category you want, and press done.
You can then switch between categories from the same screen that you created them.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5609",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: iPhone 4 - bad proximity sensor? I think the proximity sensor in my iPhone 4 is out of order.
Nearly every time when I use the phone to place/receive calls, suddenly the mic mutes itself, or the speakerphone turns on, or a call starts on the second line -- but I am not doing this! I am merely holding the phone up to my ear (in a quite normal way). This was never a problem on my iPhone 3G.
It seems to me that the proximity sensor isn't sensitive enough and turns on the touch screen sometimes. I've heard that there used to be problems with that back on iOS 3, but I've been running 4.1 since it came out and the problem remains.
*
*Is there any way to check if my suspicion is right?
*Can I do something to fix this myself? Is there a fix in iOS 4.2.1?
*Do I have to go to an Apple shop and wait phonelessly for weeks while they send it to the factory?
Note: I'm in Austria, we don't have Apple Stores.
I feel forced to use the headset in order to avoid these problems. While that has some advantages, it's not always practical, and anyway I want this fixed. Here is just one of the stories about this; so I think I'm not alone.
<rant>It's a #¤%! expensive phone and it better work.... I'm asking here rather than the Apple support site though because that other site has so few answers but page after page full of screaming people.
A: The proximity sensor was fixed in iOS 4.2.1, and people in Apple Support forums confirm it works.
http://discussions.apple.com/message.jspa?messageID=12630060
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5612",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Tidy up iTunes library? I am trying to do a spring clean on my iTunes library. I have around 500 songs that are tagged incorrrectly. The Name is in the format '11 Artist - Song Name'. Is there any quick way of extracting this and retagging the files without manually editing each of them?
Cheers
A: You could possibly write an AppleScipt to go through selected tracks, and change the name that way, but you would have to make sure you only select the ones in that format.
Ive had to do this a few times before, and have tried various apps, but usually end up just digging in and doing it manually. While it takes time, I can give a lot more care to each thing, espc. artwork and genre at the same time. I usually just take a night and go through everything in groups (like artists starting with an A, then a B, etc).
A: Four suggestions of apps I've used in the past. Only one of them is free (and go figure that one isn't exactly iTunes-friendly, not easily anyways).
*
*Pollux - Pollux was featured on net@nite (Amber MacArthur and Leo Laporte), and subsequently died off for months due to illegally using various APIs from services like (IIRC) MusicIP, GraceNote, and other big name commercial music vendors. After negotiating agreements with companies that could provide plenty of helpful information, they re-launched the product with a 20 song tag trial, and unlimited tagging for $10. I believe this is the cheapest app that integrates as well as it does into iTunes.
It's UI is geared heavily towards albums, wherein you select all the tracks in an album, then click the Pollux icon in the menu bar, and then click "Tag". It goes about it's business pulling information, cover art, and more (where possible), then does it's work. Updating your music with pretty information.
Afterward, you won't re-live this terrible memory.
*TuneUp - TuneUp is similar to Pollux, except it's a bit... obnoxious. It runs as a separate app that shrinks iTunes and places itself it the far right of it, like an even more annoying sidebar than Ping. Again, choose your song(s), tell it to "Clean Up", and off it goes searching the internet for all the same information you want to make your information clean as a whistle.
You can buy TuneUp for $20 for a year (warning: automatically renewing), or $30 for life.
*Song Genie - I'm actually quite a big fan of the Song Genie and Cover Scout duo, perhaps solely because it's UI/UX is ahead of it's curve. You open the app and you get to work. TuneUp is too small and has too few options for checking the details of the data, and Pollux is one-shot (though it allows you to rollback the last action, thankfully).
Song Genie uses fingerprinting to identify the song and pull in data. It works very nicely with the iTunes Library, or even any arbitrary folder on your drive. It "rates" your data, and can fill in the gaps marvelously well (lyrics where you had none previously despite having plenty of other information). With a large, attractive, simple interface, it's actually pretty easy to whip through tagging in a quick manner (subject to the CPU speed of fingerprinting, and your internet connection for searching). Unfortunately, this dream team duo is expensive. $30 for Song Genie, and $40 for Cover Scout.
I note also their site says "Your Special Price", so there may be some sort of active deal at the time of writing.
*MusicBrainz Picard - Picard is in a class all it's own. It doesn't integrate alongside iTunes well, and it's UX flow is god awful. However, if you want absolute control in tagging, nearly the experience of manually writing tags, with just a bit of assistance to make sure you're doing it right, Picard cannot be beat. (And yes, this is a good thing.)
Picard is not at all hands off, unlike the majority use cases of the rest of the apps, but this makes it awfully better for more niché releases, and bonus: If it can't find something, do the work and contribute back to the MusicBrainz community! We'd be glad to have you as long as you follow the rules and contribute responsibly.
Picard is free, no ads, no account required unless you want to contribute, and I highly suggest you use the Intel-only -NX version, unless of course you don't have an Intel CPU Mac.
A: As noted by others This can be done by an AppleScript.
Luckily for iTubes there is a collection of scripts to do things with iTunes Doug's AppleScripts for iTunes and for your particular case look at tag script or others
A: Try Jaikoz. It is a tool for identifying and tagging songs.
It doesn't use the name of the file or the tags for that. It "listens" for the song and generates an "id" for it (search for MusicId in Wikipedia), then searches for that id in MusicBrainz (a giant music database, with better tags than cddb or Gracenotes).
The GUI isn't terribly appealing, tough.
The benefit of Jaikoz is that it doesn't use the metadata already in the file, that could be wrong. MusicBrainz has very high standard for its tags and is strongly curated.
A: What I would suggest is select original tracks by album, one album at a time, and then find the option to 'Get Track names' or something to that effect and click it. That should work, and then move on to the next album. Then, if you have an iTunes account you can 'get album artwork' for even more organisation. Hope this helps in some way.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5614",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: What's a good iOS app for quickly posting screenshots on the web? Something analogous to photobucket for the desktop - whose iPhone app is a bit useless to me because it doesn't enable importing from the camera roll. I'm looking for something that easily allows me to share a screenshot (to embed somewhere, for example in a forum, or on a Stack Exchange question) but don't want to junk up my flickr, Instagram, etc.
A: There's also the official Flickr app. It supports uploading photos and videos from the Camera Roll. Flickr specifically will require that you already have an account on the service, most Twitter integrated networks (yFrog, TwitPic) will "create" an account when you use it for the first time.
Flickr the site.
Flickr.app the iOS app.
(Native to iPhone only, obviously works on the iPad using small screen emulation.)
A: If you don't want to "junk up" your flickr or instagram or whatever, you could just create another flickr or twitter account only for screenshots. Then you could use these specialized account settings in Flickit or Photoshop Express or whatever.
You could also use Dropbox. I love it for syncing files, and it easily works with images too.
A: If you have twitter, Echofon uploads pics from the camera roll to Twitpic very quickly. Otherwise, the Flickr iOS app works very well, and you can select any pic/screenshot from your library to upload. Thanks, Hope that helps.
A: I like the ImgurFree app. You can take a photo or import one from a Camera Roll. It uploads the photo to imgur and creates a link that you can quickly copy the link in your clipboard or post directly to Reddit, or Email it. Works great for me. It also keeps a history of all the images uploaded using the phone which you can quickly delete from Imgur site if you want.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5616",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Keyboard shortcut for toggling between Fn and F keys Is there a keyboard shortcut for toggling between Function and classic F keys?
A: There is now an app for this: https://github.com/Pyroh/Fluor
It lets you specify the fn key behaviour depending on a rules engine, and also switches between one behaviour and the other when you press the fn key.
A: You can create application specific shortcuts by creating a custom setting in your private.xml file. Check out the reference documentation for details, or my example below where I'm rebinding the Consumer keys back to Function keys when in PhpStorm (to use the debugger).
<?xml version="1.0"?>
<root>
<!-- PhpStorm & EAP Version -->
<appdef>
<appname>PHPSTORM</appname>
<equal>com.jetbrains.PhpStorm-EAP</equal>
<equal>com.jetbrains.PhpStorm</equal>
</appdef>
<!-- ============================================================ -->
<item>
<name>Switch to normal function keys when in PhpStorm</name>
<appendix>Change consumer keys to function keys in PhpStorm</appendix>
<identifier>private.app_phpstorm_switch_consumer_to_fn</identifier>
<only>PHPSTORM</only>
<autogen>__KeyToKey__ KeyCode::BRIGHTNESS_DOWN, KeyCode::F1</autogen>
<autogen>__KeyToKey__ KeyCode::BRIGHTNESS_UP, KeyCode::F2</autogen>
<autogen>__KeyToKey__ KeyCode::EXPOSE_ALL, KeyCode::F3</autogen>
<autogen>__KeyToKey__ KeyCode::LAUNCHPAD, KeyCode::F4</autogen>
<autogen>__KeyToKey__ KeyCode::VK_CONSUMERKEY_KEYBOARDLIGHT_LOW, KeyCode::F5</autogen>
<autogen>__KeyToKey__ KeyCode::VK_CONSUMERKEY_KEYBOARDLIGHT_HIGH, KeyCode::F6</autogen>
<autogen>__KeyToKey__ ConsumerKeyCode::MUSIC_PREV, KeyCode::F7</autogen>
<autogen>__KeyToKey__ ConsumerKeyCode::MUSIC_PLAY, KeyCode::F8</autogen>
<autogen>__KeyToKey__ ConsumerKeyCode::MUSIC_NEXT, KeyCode::F9</autogen>
<!-- I want to use these while in PhpStorm
<autogen>__KeyToKey__ ConsumerKeyCode::VOLUME_MUTE, KeyCode::F10</autogen>
<autogen>__KeyToKey__ ConsumerKeyCode::VOLUME_DOWN, KeyCode::F11</autogen>
<autogen>__KeyToKey__ ConsumerKeyCode::VOLUME_UP, KeyCode::F12</autogen>
-->
</item>
</root>
A: Depending on what you're trying to do, you may be able to cut out the keyboard shortcuts altogether and completely automate this. KeyRemap4MacBook allows you to set key re-mappings based on what application you're currently using.
I am using a setting that switches F1 through F12 to standard Function keys whenever I'm using RDC (Windows Remote Desktop). Any other time they operate like their icons (brightness, volume, play, etc).
A: There might be an easier way, but the following comes to mind:
*
*Turn on Universal Access.
*Create an AppleScript or Automator App that toggles this via the UI.
*Bind that app to a key combo.
A: I‘d suggest you try FNable. FNable will switch the behavior for the active application, when you tell it to. The next time you activate this application, FNable will automatically switch your function keys.
That way you can use brightness/volume controls in most of the apps you are using and you can use the function keys in those apps where you need to.
No configuration needed, switching behavior is just a matter of a single click.
If you want to use a global hotkey to toggle the function keys, FNable supports that, too.
A: This can be done natively with no 3rd party software needed by opening System Preferences -> Keyboard, and then check/uncheck the box that says "Use F1, F2, etc. keys as standard function keys". If checked, the keys act as F keys, if unchecked, they act as the system control keys, such as screen brightness, volume controls, etc. (I can't think of a better way to describe them).
Source:
https://support.apple.com/en-us/HT204436
A: i know this is an old question, but what helped me that i didnt find here is using fn + esc. this toggles between using F keys and the media keys.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5619",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "24"
} |
Q: Can I use Apple Earphones with Mic on Mac Mini? I read on Apple website that Mac mini audio port supports the apple earphones with mic. Does it support the mic as well? Can I use the mic for Audio input on applications like Skype?
I tried plugging it in but the audio input did not work...
Update: Here's the apple website where its written that Support for Apple iPhone headset with microphone is there. Mac Mini Specs Page
Update: I think I've got what the problem is. The specs page I referred to above is about the latest Mac Mini. What I have is the Mac Mini mid 2007 model. I checked its specs and there is nothing about support of Apple earphones with mic. I think this is the reason its not working.
Regards
A: You cannot directly plug your headphones into the Audio Input jack and have it work, because, the microphone/button signal rides on the third ring, and the audio input jack only connects the first two. You have to have specially designed hardware to connect to that third ring. This is currently achieved via the Headphone/Audio Output ports of devices.
Only the iPhone/iPod Touch/iPad, 2010 MacBook Pros, and the modern body (smaller height) Mac Minis are the only pieces of hardware I am aware that do. Anything older will not support the microphone/button/volume buttons at all.
A: Have you tried plugging it into the headphone jack?
Sounds screwy, I know, but I think that's the answer.
A: If the website or documentation explicitly states that it supports 'Apple Earphones with Mic' or something to that effect while still mentioning the mic, then yes, you should be able to use then as you would on an iPhone, in Skype or whatever. HOWEVER if they don't work in the input port then they will not work at all I didn't think that any other devices except the MBP and the iOS devices worked with them. Sorry.
A: I had the same issue and had to use an adapater. I've found this one.
(just for info, I'm not affiliated in any way with the site).
I suppose you can find other brand and stores providing the same type of adapters.
Edit: It seems not to be possible with "normal" headset mic but they state clearly that the Apple headset is compatible. How would it be amplified?
Strange for our mic, I'll have to check at the office how we are using this then. I'm confused now :-/ I know we also have amplified mic and we probably went this way then... Sorry for the wrong info.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5620",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: How do I completely start over with an iPhone? After a botched attempt at jailbreaking, then removing the jailbreak, half the stuff does not work on the iPhone (apps won't sync, iPod app crashes, Settings don't "take", sync freezes the phone for 5 minutes after iTunes says its done, etc...).
I'd like to start over. I will re-download the apps manually and sync all my photos, addresses, etc... after the fact.
So how do I start over? I guess, if this was a PC, I'd be asking how to reformat the hard drive.
A: Does iTunes recognize your iPhone? If so, you can start (non-jailbroken), by just going to the Summary page when its plugged in and selecting restore.
A: You could put your phone into recovery mode by turning it off, then plugging it in to your computer while holding down the home button. All the data on your phone will be completely erased.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5621",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: What are the radii of the iOS icon corners? What are the radii of the iOS icon corners at the various sizes?
A: There are a variety of iOS icon templates available for free on the web—the best I've seen so far is from The Hicksenian—that will offer up this information (and possibly even obviate the need to know entirely). There is even a (very) short discussion about the corner radii. A quick search for ios icon template will return a lot of similar results.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5628",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Can iTunes combine identical podcasts? Somewhat similar to this question, but I don't just want to import. I have a bunch of This American Life podcasts that I downloaded using iTunes on another computer. I also have a This American Life podcast subscription on my current Mac with a bunch of podcasts downloaded.
I have already imported the old ones into iTunes. They show up as two separate podcasts, with the same name and metadata. The old ones have a "subscribe" link but I haven't clicked it, they're just sitting there. The new ones are subscribed and regularly downloading new episodes.
How can I merge the old ones into the newer, subscribed version of the podcast in iTunes?
A: This has been bugging me for years, most specifically with This American Life and To The Best of Our Knowledge.
The tag that's causing them to be separated is not available via iTunes -- you need an extended tag editor. On the Mac, I used ID3 Editor.
Instructions specifically for ID3 editor:
• Open a "good" podcast file (you can drag it straight from iTunes onto the ID3 Editor icon in the dock to open).
• Click on the Podcast tab. Look for the field called Feed (It may have a different name if you're using different tag editing software). Copy the Feed field contents.
• Open your "bad" podcast files, paste/replace the "good" Feed info into the Feed field (they should be different - mine were) and click Update.
• Last important step is that you have to delete the "bad" files from iTunes and reimport them. If you right click or control click the file in iTunes before deleting, and select "Show in Finder," the enclosing folder will open. If you sort by date modified, all the podcast you just updated should be at the top, if they're in the same folder. Then you can delete all the bad ones, and drag them back into iTunes. Whey they're re-imported, they should now be grouped with the "good" podcast.
A: Select 'em all, and go to File-> Get Info. If any usual fields are blank, this means that they vary among the selected tracks. If it should be the same, type in the right value.
This procedure almost always fixes this kind of a problem.
A: Follow-up on what Nathan G. said: sometimes, it helped me when I checked fields that were filled in to overwrite these values, so not only the empty fields, but title and album as well (probably all fields but title would be fine).
Also, as a last resort, all metadata for each podcast are written in /Users/YOUR_USER_ID/Music/iTunes/iTunes Music Library.xml. Search for your podcasts and make sure that they have identical data (all white-spaces count!).
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5630",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What's the differences between the iPod Touch calendar and the iPhone calendar? What's the differences between the iPod Touch calendar and the iPhone calendar?
A: There is no difference. What makes you think there is?
A: Assuming you are running the same version of iOS, there should be absolutely no difference whatsoever.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5631",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why is Firefox randomly reopening itself after quitting? I've had a strange problem that's been bugging me for awhile. It seems that every couple times I quit Firefox, it will reopen itself automatically. Basically:
*
*I'll hit cmdq
*Firefox will shut down
*the little 'open' light underneath its icon in the dock will disappear
*suddenly the FF icon will start bouncing and it will open back up
Usually when this happens, my previous session will appear to be loading but all the tabs will stay blank. However, this is not always the case, sometimes my tabs will load. Another thing I just noticed is that after it reopens, Firefox is 'hidden' (like when you click 'Hide Firefox' from the main menu) until I click on it.
If I quit FF a second time, it stays closed. The next time I open FF, my original session will be restored and everything works normally.
This has happened on two different Macs for me, and my wife has occasionally seen this behavior as well. Any ideas on what might be happening, and has anyone else had this happen?
A: I had the same problem ! I downloaded version 3.5 for mac & it works fine for me now.
Please Take Note of following.
Even in FireFox version 3.5, I faced a strange behavior.
When I try to open a new tab sometimes it goes adding new tabs in bulk, I mean infinite loop of adding new tab. In that case, I used to quit fireFox by force. ( force-Quit ).
It happens quite frequently, even though I couldn't determine the exact steps to produce that bug. So, If you face same kind of behavior, please let me know by comments.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5632",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Enable 3-finger swipe for home and end in Chrome 3-finger left and right swipes on my trackpad work in Chrome. They take me back one page in my history or right one page. However, 3-finger up and down swipes does not appear to be implemented.
In Firefox and many other applications, an up or down swipe works the same way as hitting the home or end keys, respectively.
Is there any extension, application, or tweak that will enable this functionality in Google Chrome?
A: Something that may be of interest is Chrome does support 3 finger swipe down, but it's semi-hidden; and not what you're looking for. But it's way cool. The way to access it is by simply typing about:flags into your address bar. You'll see the option at the top. It's called:
Tab Overview:
Swipe down with three fingers on your trackpad to see an overview of all your tabs. Click on a thumbnail to select it. Works great in fullscreen mode.
So this suggests that they will not be doing what you would like them to do. It would obviously conflict with Tab Overview. So you should look into an app like JiTouch if you want to get more customized gesture support. It will do what you're looking for.
My guess is that Google's next step will be to map fullscreen to 3 finger swipe up; especially given the emphasis Lion will be putting on fullscreen mode apps.
A: BetterTouchTool is the answer!
You can get it from here. It helps you configure all gestures globally or for a specific application. It also includes some special gestures not embedded by default on Mac OS.
With gestures, I can scroll through tabs, reload page, close tab, go up and down.
It works for the macbook trackpad, the Magic Mouse and the magic Trackpad.
A bliss ;)
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5634",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is there an iPhone dock with a headset jack? Does anyone know of a dock for an iPhone that has standard usb data/power, but also a headset jack (not just speaker / headphones output)?
A: I wonder what is that for, if it's to connect to a stereo, the jack on the Universal Dock is more than enough.
If the idea is to use the phone to answer calls while in the dock, I would strongly suggest a Bluetooth set as that's what they are made for. You will find plenty on the Apple Store as well.
A: The biggest problem you face here is the fact that you want to use your phone, as a phone, while in a dock.
First problem:
Many docks are "not compatible" with the iPhone, they don't have GSM noise filters on their speakers, so if you dock it and listen to music, you get that god awful chirping when the GSM radio starts going.
Second problem:
Those that are, make data connections, not line-out connections! The only way to fulfill this request is;
*
*if the chosen dock connects not only via data, but ALSO via the headphone jack, and;
*that connection is a triple-ring connection, just like the iPhone headphones. Note that you're highly unlikely to find this, because docks are for data/playing audio (which can be accomplished via the audio jack), the "dock your phone and use the computer as a gateway to phone functions" use case is, unfortunately, not present.
Third problem:
The iPhone is too smart. A while back I was driving with my phone plugged into a line-in port on my car (for music), and I was received a phone call. I had guests in the car, all friends, and figured I would just let the conversation take place via the car stereo, and turn on speaker so the other part could adequately hear me. No such luck. When not on speaker, the call came out of the ear piece only, when on speaker, the call came out of the speaker ports. The iPhone will only use the headphone port for a call if it has a microphone attached.
BluePhone Elite was an option for this (with serious caveats), but it never had terribly good support for the iPhone. Only because of the limitations imposed by Apple. And, apparently BPE is dead now? What a shame. That was a good app for many many other phones.
I'm (unfortunately) very confident in saying that you will have a very hard time finding this dream product of yours, and you're better off simply plugging your own headset into the headphone port, or like balexandre suggested, pair a Bluetooth headset. A product like you want will invariably not pass Apple Certification, which means you will not easily find it in any mainstream store (not only Apple Stores, but BestBuy and it's ilk).
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5639",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: iPhone application to edit text files I need to edit some local text files on my iPhone but so far, all the apps I have downloaded do not navigate the OS3 file tree for me to open, edit and save them.
I need to do this on my iPhone as I can no longer access it via ssh or with the iPhone cable. One of the files I want to edit is an ssh config file which is what is not allowing ssh connections.
Any suggestions of applications or other simple methods that I could use?
A: You can do this with iFile.
This application will let you browse the local file system.
Locate your config file, then open it using the built-in Text Viewer
(it also has viewers/players for other file formats such as PDF or MP3).
Despite the name the Text Viewer will actually let you edit and save the file.
A: Try this https://apps.apple.com/it/app/pretext/id1347707000 that won’t require jailbreak
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5647",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Group running apps in OS X? Since I'm working on several projects that require different resources (shells, files, Chrome windows, etc.), I'd like to organize them better.
Is there a Mac utility or something that will allow me to group a bunch of app windows together to represent a specific task?
For instance I can group Chrome window, Finder window, shell into one group (this would be one project), and then a bunch of those into another group, etc.
A: An out-of-the-box possibility would be to use Spaces to define applications to go to a specific screen on launch, and navigate between Spaces (Virtual Desktops) as a whole.
Note, however, that you will have a conflict if you want the Finder to be in two places at once :). Your only option is one specific Space, or globally across all Spaces.
A: As @VxJasonxV wrote, Spaces is the solution.
If you want a bigger sandbox, you could probably run a dozen VMs if you had a desktop with 32GB or so of RAM. I think you'll need a license for each VM.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5648",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Stopping a macports installed mysql daemon I'm trying to reset my root password on a macports installed MySQL on OS X. But none of the ways to do this that I can find works, for various reasons. One reason common to all is that I can't stop the mysql deamon.
As I understand it, I should be able to stop it with
sudo launchctl stop org.macports.mysql5
Which makes absolutely no difference. No error message, nothing. Is launchd really this sucky, or do I misuse it? Reasonably it should give me an error when it fails, but nope, nothing.
Trying to kill the processes with kill -9 just makes them restart again, so that doesn't work either.
I also tried
sudo launchctl unload org.macports.mysql5
But that gives me this error:
launchctl: Couldn't stat("org.macports.mysql5"): No such file or directory
(And I must confess I don't understand what "Unload configuration files and/or directories" means, which is what the Unload command apparently does according to the little docs I can find).
So, what now?
A: The correct answer is
sudo launchctl unload -w /Library/LaunchDaemons/org.macports.mysql5.plist
And you start it with
sudo launchctl load -w /Library/LaunchDaemons/org.macports.mysql5.plist
Thanks to kh13org for the pointer.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5651",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: iPhoto gets stuck on finishing last import I have this problem where iPhoto gets into a state where it won't quit, and won't let me import anything. If I try to empty the (iPhoto) trash it tells me I should "Wait until the import is finished". Only it isn't importing anything. So far my only solution to get it back to a usable state is to force quit it. Then it is good for another import, deleting the trash, or quiting.
Is there some other import process that I can kill to get iPhoto back into a useable state? I'm importing tiffs off disk.
A: What worked for me was a permissions repair. Go to /Applications/Utilities, and open Disk Utility. Select your boot drive/partition, go to the First Aid tab, and click Verify Disk Permissions. Let it work, and see what it says. If it says you should, click Repair Permissions.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5654",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Spell Correction using only the keyboard I am a long time OS X user and as such, I often enjoy the built-in dictionary available system-wide. It’s a small detail that, if you come from Windows (or Linux) turns out to be of great help (provided you really care about improving your typing skills). Available on most Cocoa applications by default (thanks to the underlying technology), it underlines incorrect words and obvious grammar errors. It has its bad days, but the results are usually better than nothing. I type mainly in English and Spanish and in both cases, it’s a decent solution.
But I just realized that I have a problem with it. I rarely use the mouse when I’m in “Type Mode”. If I’m writing I don’t need to use the mouse. I just don’t use it; I manage to perform most of what I have to with the keyboard and its shortcuts.
There are notable exceptions to the above (where a dialog requires mouse action, or there’s simply no way to get the focus of a particular UI element). Those exceptions are annoying (and frequent), but I guess I already deal with them (by grabbing the mouse and killing a kitten).
However, there’s one that I’d like to know how to solve, and maybe the minds behind the site can clear for me.
Imagine the following simple scenario. TextEdit.
You start typing this:
In order to fix the misspelled word, you have a few choices with your mouse, or you could use the ⇧Shift⌘Cmd: combination to bring this:
However that dialog doesn’t have keyboard focus and I am unable to get it, so I have to reach the mouse, click on it, and fix the problem. That’s not good.
What I want is to be able to bring this:
…with my keyboard.
That menu came when I right clicked on the word.
How do you deal with this? Do you use the mouse? Do you use the keyboard?
Enlighten me please.
UPDATE FOR LION OS X 10.7
As many of you are aware, OS X 10.7 "Lion" is out and it brings some changes in this area. Sadly, the biggest complain is still not 100% fixed.
The good news is, it is "possible" to spell check using the keyboard only, although we still don't have a nice popup like the "right click" over an underlined word.
The Spell Check pane can be focused now by using ⌃F6 if it loses focus, but has it by default when you invoke it with ⇧⌘:, this allows you to invoke it over a red-underlined word and press ⏎ to change the word (or TAB to focus the list of alternatives and then ⏎ to change it)… but not really because…
…the Bad news is, if I make a mistake right here and I try to bring the spell check, it will go to the next mistake, not the word I have below the cursor, which is annoying, because it means you have to actually go back with the cursor before invoking the spell checker.
Also there are no shortcuts on the Grammar Pane, so you have to TAB around the fields to click anything other than "Change". The order of the options is also weird:
1) Upon launching Grammar Pane, focus is on Change for "return" but you are ready to start typing a replacement if you want. So you could type the "right word" and press return, or you could press return to accept the first replacement on the list, or you could press TAB to move to that list, select a new one (with the arrow keys) and finally press return to accept it.
2) If you wanted to move to the next change without accepting anything for the current word, you need to press TAB four times and then the space bar to click on find next.
3) Focus is one way, if you reach the last option in that dialog, it won't cycle back to the first option, so you have to shift-tab back in the focus chain. (weird?)
4) You can't focus the Define, Guess or Automatic by Language Buttons/Combo boxes, unless you grab your mouse.
5) You can dismiss the panel by pressing escape.
Finally, going from "mistake to mistake" is achieved with ⌘;; this will jump from red underlined word to the next in a cycle.
A: Yo ! Man, I got the best thing for you.
Just type some of your characters of word & press F5 & see the magic, It is what you want. Suppose your not getting the word rub some & get what you want.
Here is snap-shot of what you want. ( source of lots of shortcut keys )
Suppose, I am a user, I would do as follows.
*
*Start typing
*suppose I typed Compu
*and then I would press F5 for getting hints
simple & short just F5 does all for you, no need to press Cmd+: and then get correct one from list. It will give you list on the spot.
A: I just went through Apple's Keyboard Shortcuts Document and really didn't fine anything meaningful. I picked some of the more vague ones and tried them out in TextEdit to no avail.
While I don't want this to be the answer, my current idea is to use Mouse Keys, as silly as it is to say. Activating the shortcut via Universal Access.prefpane, then quint (five)-tapping Option ⌥, then you should be able to call up the window by either;
*
*holding (with a numpad) 5 (without a numpad) i, or;
*pressing (with a numpad) 0 (without a numpad) m.
The context window should pop-up, and you can select the correct spelling/action as you desire, and move on... after you disable Mouse Keys with the same shortcut, that is. (Quint (five)-tapping Option ⌥).
A: Open Automator, create a Service without input in any application, and add a single Run AppleScript action. Copy and paste the following code:
tell application "System Events"
# locate frontmost application
repeat with ap in application processes
if frontmost of ap is true then
set fmap to ap
end if
end repeat
tell application process fmap
# click its "Show/Hide Spelling and Grammar"
set scw to windows of fmap whose name is "Spelling and Grammar" and role description is "floating window"
try
tell first menu bar of fmap
tell first menu of (first menu bar item whose name is "Edit")
tell first menu of (first menu item whose name is "Spelling")
if (count of scw) = 0 then
tell (first menu item whose name is "Show Spelling and Grammar") to click
else
tell (first menu item whose name is "Hide Spelling and Grammar") to click
return
end if
end tell
end tell
end tell
on error
display alert "Cannot open/close Spelling and Grammar window!"
return
end try
# focus the Spelling and Grammar field
set fw to first window of fmap whose name is "Spelling and Grammar" and role description is "floating window"
perform (first action of fw whose name is "AXRaise")
set focused of first text field of fw to true
end tell
end tell
Save as a Service and assign a keyboard shortcut in System Preferences » Keyboard » Keyboard Shortcuts » Services. I set it up so it toggles the window when pressed repeatedly. Is, of course, locale dependent and expects the grammar menu item in the usual location; displays an error if that fails.
Unfortunately, being Automator, it's somewhat slow.
A: I used to use the mouse (pen to be specific). However, I recently have been using Typinator which has managed to catch most of my mistakes.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5656",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: How do I get a refund of an iTunes gift card with illegible numbers for redeeming the value? When scratching the back of an iTunes gift card to get the numbers to redeem it, the numbers scratched off and now I can't redeem the value of it. How can I get a refund or a new gift card with the same value?
A: I was in this situation once. I went to the Apple support site, followed what they said then filled out the email form. They ask you for what you can make out of the code, and then the serial number of the gift card.
This is the link to the gift card contact page.
Where it says 'specific request' select 'my code is scratched or unreadable.' Proceed to fill in the form as best you can and send it off. I got a response in less that 48 hours, and the answer they gave me allowed me to redeem my card.
Information for identifying the different information on your card can be found here.
In answer to your original question, I don't actually know, but I hope this assistance means you will no longer have a need to refund the card. Hope this helps.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5658",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: iPhone sending a lot of packets addressed to weird destinations, draining battery quickly I have a jailbroken iPhone. Recently, I have realized that its battery usage is abysmal. Suspecting that it has something to do with the radio, I downloaded Data Counter from Cydia to check real-time data usage and found that even with push notifications off and exchange set to manual, there is a persistent 0.06kb/s of data transfer. So I hooked the iPhone to a WiFi network and captured packets originating from its IP address using Wireshark under promiscuous mode.
I get A LOT of these:
No.: 1907
Time: 252.345269
Source: 192.168.2.3
Destination: 10.236.199.xx
Protocol: TCP
Info: 49833 > ssh [SYN] Seq=0 Win=65535 Len=0 MSS=1460 WS=2 TSV=994197017 TSER=0 SACK_PERM=1
Where 10.236.199.xx is the destination IP and xx goes from 0 to 249, then goes back to 0.
If it helps, my cellular data IP address is 10.236.199.213 and my cellular provider is SingTel (Singapore).
I believe when I am on 3G, these packets are keeping the radio transmitter from powering down and thus draining the battery severely.
Which app is causing all these packets and how can I stop it from going on?
A: You jailbroke (is that a word? jailbreaked?) it, thereby opening the door to any application doing anything with your hardware. And now it appears that some application is doing something with your hardware. Your phone is compromised and is now trying to compromise other devices on its netblock. You're carrying a virus infection vector in your pocket.
I recommend a full restore absolutely ASAP, and I recommend really thinking about whether jailbreaking is for you.
I'm not anti-jailbreak. I just think people aren't aware of the full repercussions when they do it. Apple's not just being arbitrary in only allowing vetted software onto the devices. It's not JUST a business move on their part. It also protects users from exactly what has happened to you.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5659",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How much faster is the flash storage on the MacBook Air than SSD? I heard that the flash storage in the MacBook Air is faster than SSD since it doesn't need to go through a SATA interface. How much faster is the MacBook Air's hard-drive compared to a traditional SSD?
A: It's still a SATA interface, just miniaturized, hence it's name mSATA.
There is a great picture at the following link that shows just how tiny an mSATA drive is compared to a regular 2.5" laptop hard drive.
Intel's SSD 310: G2 Performance in an mSATA Form Factor
A: From everything I've heard, it's smaller, but not faster.
Article. Article. Article.
Take a look at the benchmarks, especially in the second article. The second and third say that it still uses SATA, just mini/micro or something like that.
A: Directly comparing the new MacBook Air against the older model on SSD performance alone, the new MacBook Air is much faster. This is from personal experience and from benchmarks found on various sites posted below:
Old MacBook Air SSD: http://forums.macrumors.com/attachment.php?attachmentid=100432&d=1201904233
New MacBook Air SSD: http://arstechnica.com/apple/guides/2010/10/116-macbook-air-ars-answers-your-burning-questions.ars/2
Can't comment on SSD comparisons with regards SSD drives found in other MacBook models.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5662",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Watch live news on AppleTV Is there any way to watch live news on an AppleTV? This is the only thing that's preventing me from cutting my cable.
A: The Apple TV wasn't designed for that sort of thing; it's for all intents and purposes a closed system (i.e., iTunes-stored content only).
At the same time, if you have a flat screen TV, then chances are you can hook up a PC or Mac to it using it as a monitor and grab newscasts off the web (a friend does this and it works great). Also some of the higher-end flat screens offer links to content distributed by the manufacturer (Sony's Bravia line comes to mind here).
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5666",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Restricting Command+tab options to only apps that are in the current space Edit: The original accepted answer is no longer valid for Mavericks. I am keeping it accepted for historical reasons, but all readers using Mavericks should use and up-vote this answer.
By default, pressing ⌘+tab will display a list of all open applications. I would like that list to only include applications in the current space, or at least give priority to applications with windows in the current space. In other words, I'd like OS X to mimic the behavior of most X window managers with respect to their workspaces/virtual desktops.
Here's my rather long-winded explanation of why I want this:
I have disabled spaces' auto-switching, and I've mapped each space to a ⌘+space # shortcut. In general, I usually have one application open per space, maximized. Since I really only ever have a half-dozen or so applications open at any time, I can easily switch between them in constant time with my left hand. The problem is that I sometimes do have two or three windows from different applications open in the same space (e.g., I often have a PDF reader open in the same space as my web browser). Let's say I have a terminal open in Space 1 and both a web browser and Preview open in Space 2. If I am in the terminal and then decide I want to open a web page, I switch to Space 2, where the web browser has focus. I then want to consult a PDF that is open in Preview, which is in the same Space but whose window is behind the web browser. If I hit ⌘+tab, however, the first option will be to take me back to Terminal in Space 1 (since Terminal most recently had focus). In the worst case, I will have to cycle through all n open applications by repeatedly pressing ⌘+tab in order to get to Preview. I want the first hit to ⌘+tab to bring me to the next application with windows in the current space, i.e., Preview.
I know that using Exposé is the more "Apple" way of handling these situations, but I want to avoid having to reach for the mouse. I know I can also use the arrow keys to select a window in Exposé, but once again that breaks my mental model of the window layering, will institute a cognitive feedback loop in the selection, and will require worst case log(n) keystrokes. As far as I know, there is no constant-time way of switching to a specific application in the current workspace using only the keyboard.
A: control+F4. Cycles through the applications in that Space.
(I actually have this mapped to control+`; which I find easier to remember, being close to the cmd+`; to cycle through an application's windows.)
To change the keyboard shortcut, go to the Keyboard preferences, Keyboard Shortcuts, and Keyboard & Text Input. It's the 'Move focus to active or next window' option.
(Edit to fix the keyboard shortcuts; I didn't realise that the backtick character wasn't showing up.)
A: I'm the author of the Command-Tab Plus application which allows you to quickly switch between applications, and additionally between windows (using MacOS's cmd+tilde ability). Here's a demo on YouTube.
A: Yosemite
This behavior can be mapped to your desired key combination like so:
System Preferences > Keyboard > Shortcuts > Keyboard > Move focus to active
or next window
Mavericks
^F4 does switch through windows in the current space but you may have to upgrade to Yosemite to map this behavior to ^~.
But the problem can still be alleviated like so:
System Preferences > Mission Control > Uncheck "When switching to an
application, switch to a Space with open windows for the application"
A: As an aside to this answer, I've been able to remap control+F4 to alt+tab, which feels quite natural imo.
A: I found the open source app alt-tab-macos does exactly what OP wants: Providing an app switcher for apps on the current desktop only.
It also works well for full screen / minimized / hidden windows as well as across multiple display situations where Mission Control and macOS work more on spaces as opposed to separate displays.
A: Pressing ⌃F4 will do what you're asking for, but you might get carpal tunnel in the process.
Just from reading your example, it sounds like you may actually be looking for ⌘⇧⇥, which cycles through applications in reverse order, thus cutting the number of times you press ⇥ in half.
Granted, that's not be a constant time solution, but I think you'll find that the result of ⌘⇥ is the application you want to focus on 70% of the time, and ⌘⇧⇥ is the application you want to focus on 28% of the time.
A: One powerful tool is hammerspoon.
From its webpage:
This is a tool for powerful automation of OS X. At its core, Hammerspoon is just a bridge between the operating system and a Lua scripting engine. What gives Hammerspoon its power is a set of extensions that expose specific pieces of system functionality, to the user.
Using hs.window.switcher one just adds (as mentioned in the docs) to the init.lua
switcher_space = hs.window.switcher.new(hs.window.filter.new():setCurrentSpace(true):setDefaultFilter{})
hs.hotkey.bind('alt','tab','Next window',function()switcher_space:next()end)
hs.hotkey.bind('alt-shift','tab','Prev window',function()switcher_space:previous()end)
and one can happily switch between windows in the current space using alt+tab and alt+shift+tab.
If you like Lua scripting, you can extend the tool easily. Moreover, there are numerous plugins, called spoons, available. See also official hammerspoon spoons.
A: After trying many options I went for Contexts which costs 10$.
You can configure it so that cmd-tab shows only…
*
*application of current space (see command-tab setting show windows from "visible spaces")
*hide some windows ("background" apps such as VPN to which I don't need to switch to)
It organizes the icons in a list (vertically) instead of the default horizontal layout, which I needed to adapt to, but on the other side it also let's you search through all open apps with ctrl-space and there the list layout is beneficial.
A: I know Hyperswitch didn't exist when that question was asked, but it is a modern answer to that question, and it is much better than hacking with Karabiner (formerly KeyRemap4MacBook) and/or struggling with the system preferences (since they don't accept any key mapping for every command).
Please see https://apple.stackexchange.com/a/127414 and upvote it if you find HyperSwitch useful.
A: You can try with Switché. They pretend that "Switché works great with Spaces and is able to display Space number badges". As I'm not using Spaces I cannot confirm nor infirm but it's worth the try.
See comments below.
A: Although this doesn't technically answer the original question, those here looking for a more configurable Cmd-Tab app switcher could look at
SuperTab .
Disclaimer: I bought this and it think it's well done.
A: for those searching where that keyboard shortcut is located:
I've mapped mine to option + tab
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5668",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "135"
} |
Q: Is it possible to purchase music on an iPhone without iTunes? Do any music stores beyond iTunes exist that allow you to legally purchase content on an iPhone? That is to say, is it possible to purchase music without connecting to a computer? Streaming or downloading are both ok. Through an app or a website is also ok.
A: I haven't tried the service, it seems that Rhapsody does more or less what you are asking for -- a music store on the iPhone that is separate from iTunes.
A: I have used MOG on an iPod touch to download music from their library to my iPod Touch for offline listening. As I understand the contract, I do not own the content, only the right to listen to it during my contract term.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5669",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Are there any performance limitations when running a VM of a Boot Camp installation? I'm planning on installing Windows on my Mac, and would like to be able to use both Boot Camp (for when I need to be able to use all of the hardware of the computer) and a virtual machine (for those times when I don't want to restart).
I noticed that both VMWare Fusion and Parallels allow you to set up a virtual machine which uses the Boot Camp installation, which is exactly what I want because I want to have one installation of all the programs.
However, I'm wondering if using a virtual machine with the Boot Camp installation has the same exact performance as creating a brand new virtual machine.
The thing that prompted me to think that they might not have the same performance is the marketing text on VMware Fusion's website:
Boot Camp Improvements — Up to 5x faster disk performance with Boot Camp virtual machines and a new option to disable authentication.
... which I understood to mean that, in the past, a normal virtual machine (i.e. one that doesn't use Boot Camp) was faster than one that uses a Boot Camp installation, and now with the upgrade, it's 5x faster... yet it's still not as fast as the normal virtual machine (since then they would probably mention that it's now as fast as a traditional virtual machine).
Is there a performance difference when using a normal virtual machine vs. one that uses a Boot Camp installation in VMware Fusion or Parallels? If so, which one is faster and by how much?
Update: Since there are two attributes to compare, the wording is a bit confusing.
For clarification, let:
A = Performance of normal VM on VMware Fusion 3
B = Performance of Boot Camp VM on VMware Fusion 3
C = Performance of normal VM on VMware Fusion 2
D = Performance of Boot Camp VM on VMware Fusion 2
I understood the marketing text to mean B = D * 5, and I inferred A > B since they mention that Boot Camp needed improvements, and rather than saying it's now as fast as a normal VM, they give a "5x" figure.
A: As I use it on regular basis I can say it's good performance of using Bootcamp installed windows via VMWare Fusion 3.
Here is process I followed.
*
*Make a bootcamp partition using Bootcamp Assistant for the space.
*Install the Windows XP version.
*Open the VMware and select the bootcamp partition, when you create a new virtual machine for Windows.
*VMWare installs few utilities on the bootcamp partition, to use it to boot via Fusion.
*Once all this is done, you can launch this windows version like a normal virtual machine in Fusion.
If I want a lite usage of windows I will boot via Fusion, if I want to run heavy programs then I will boot into Bootcamp, but I rarely does it, as Fusion VM is 99% OK for me for all activities including development with Eclipse.
A: A Boot Camp VM is slower for two reasons: the NTFS driver used is slower than whatever a normal VM uses, and also, the Boot Camp partition is placed on the innermost (slowest) section of the hard drive platters.
A: I have exactly the same question, and have yet to find a good answer. In the past (before Fusion 3.1), I understand that a virtual disk was generally faster, because: a) this could take advantage of host cacheing, etc. and b) Fusion still had to tunnel through the host OS to access the Boot Camp partition, since the hard drive is really "owned" and managed by the host. I'm not sure what changed in 3.1 to increase the performance by 5x, but apparently it can now access the BC partition much more efficiently.
In my case, I actually have a second physical hard drive in my Mac Pro that is dedicated to Windows. So, theoretically, Windows could talk directly to this hard drive without going through the host OS at all. I'm not sure that Fusion is actually able to recognize this special case and do that, but it would be awesome if it did, similar to the way the guest OS can "own" certain USB devices.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5673",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do I disable update warnings on my iPhone? I got a bought app (i.e. not a free one - be it given to me, bought by me or gifted, I don't know). It works great. Then some update for it comes along with many other updates for other apps. I press "update all" and every time this one app gives me a notification that I need to buy it because it's a new major version or whatever. Well, I don't want to do it, it works fine the way it is (probably because I was still in iOS 3.1.3)!
So, how can I just remove the future updates from the list? If there is any way to do it, that is.
P.S.: Now I upgraded to iOS 4, the app stopped working and I decided to just delete it along with another couple of apps which had a similar issue.
A: You don't get charged for app upgrades on iOS. You only get notification for free updates.
A: It is possible you had run into whatever is described here (the comment 9:09AM on 3-05-2010 and further): http://www.tuaw.com/2010/03/04/paid-app-upgrades-coming-to-app-store/2#comments
So seems clear iPhone checks the installed apps vs iTunes store but when you click update all and it asks for the updated app, iTunes says "nuh-uh! you did not purchase this one, i am not signing/certifying bundle for you"
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5676",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: System-wide Keyboard Shortcut for Moving to Sidebar/Next Column I've been on a bit of a Keyboard-only kick lately, enabled chiefly due to the Chrome Keyboard Shortcut Extension, and I've begun bumping into a few difficult situations in everyday Desktop App use.
In applications like iTunes, or Code Editors, they have a unified sidebar with categorically organized content. iTunes has categories for your library, other people's libraries, your device, and playlists, Coda has a file picker, etc. But what is the easiest way to move keyboard focus to these sidebars? My current solution is to alternate Tab and ▼ aimlessly until I see an item on the sidebar highlighted. Needless to say this is frustrating and can lead to unintended changes being made in content panes.
I notice that most all apps have a function to hide the sidebar in the app menus, but restoring it doesn't move the focus to the sidebar.
I've looked at the Mac OS X Keyboard Shortcut Question but didn't find what I was looking for. Is there some kind of a global shortcut that will move focus between different interface elements, easily? Reliably?
A: Thinking outside the box:
If the only reason you want the keyboard shortcut, is to avoid your mouse, have you considered a trackpoint keyboard?
Because I had RSI in the past, trackpoint keyboards are about the only ones I can use (even at clients, I usually bring my keyboard, or work from my laptop that has such a keyboard).
The big upside of those keyboards is that you don't have to take your hand of the keyboard in order to use the mouse.
For trackpads I still need to (somehow using my thumb is far less accurate on trackpads than using my index finger, o I still need to lift my hand for pointing).
It takes a little while to get used to a trackpoint, but I can't do without them any more.
USB trackpoint keyboards work equally well on Mac and PC.
--jeroen
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5682",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How to delete images already imported into iPhoto? I have a large number of random folders of photos on my hard drive, some of which have been imported into iPhoto. How do I figure out which photos have been imported into iPhoto, so I can delete the non-iPhoto copies?
A: If you batch drag them, as jmlumpkin suggested, a number of them will be spotted with the 'do you want to import again', and you can apply no to all, then delete the bunch. If hwoever, it accepts them, there are a few bits of duplicate finder software - none of them free (at least not that I've found), but at around $8 - http://www.brattoo.com/propaganda/.
I'd love to find something free that did the same!
Other helpful things: It may take some time, but letting faces do its thing, you will be able to group up and spot some duplicates.
A: I would drag each photo to iPhoto individually. It should then tell you 'these already exist in your library, do you want to import again, etc'. I would then visually check to make sure that they are in there, and then delete the folder.
If it doesn't give you that message, then you would go ahead and import them, and then can remove the original folder.
A: You can delete all duplicate photos under "Last import" section after import
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5684",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Is it possible to run Nautilus on OS X? Is it possible to run Nautilus instead of Finder on Mac OS X Snow Leopard? How?
A: Looks like it's available in MacPorts, so you could install MacPorts and then install Nautilus using that:
sudo port install nautilus
You should then be able to run it using the nautilus terminal command.
You may see the following during installation:
############################################################################
# Startup items have been generated that will aid in
# starting dbus with launchd. They are disabled
# by default. Execute the following command to start them,
# and to cause them to launch at startup:
#
# sudo launchctl load -w /Library/LaunchDaemons/org.freedesktop.dbus-system.plist
# launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist
############################################################################
Running the commands manually should be enough to run nautilus directly after installation (without rebooting).
A: While Josh's answer regarding MacPorts addresses how to install nautilus, it doesn't address how to run it "instead of Finder". In the other answer(s), there seemed to be some confusion about whether it would be possible to prevent the Finder from running.
Unlike an application such as the Dock, the Finder isn't considered a "required" application. For example, if you were to write an AppleScript to the effect of tell application "Dock" to quit"and then run it, the loginwindow would immediately re-launch the Dock, since it assumes the Dock must always be running. With the Finder, however, as long as you quit it in a way that allows OS X to know that you had a clear intent to do that, the loginwindow won't relaunch it.
To do that, all you need to do is simply tell the Finder to quit rather than trying to kill it. When you kill the Finder forcibly by using the Force-Quit option or by using kill or killall in Terminal, loginwindow (or launchd for your user account) will immediately try to relaunch it because it saw that it terminated "unexpectedly".
Telling the Finder to quit via an Apple Event won't result in it automatically being relaunched.
[EDIT]: In more recent versions of macOS, as I mentioned in this answer, it's possible to prevent the Finder from running by running the following command in Terminal:
launchctl unload /System/Library/LaunchAgents/com.apple.Finder.plist
Alternatively, in older versions of OS X, an AppleScript like the following could be run at login to quit the Finder:
property runningApps : {}
property assureQuitMenuItem : true
tell application "System Events" to set runningApps to name of every application process
if (runningApps contains "Finder") then
tell application "Finder" to quit
end if
if (assureQuitMenuItem) then
set quitMenuItem to missing value
try
set quitMenuItem to (do shell script "/usr/bin/defaults read com.apple.finder QuitMenuItem")
on error
set quitMenuItem to "0"
end try
if quitMenuItem = "0" then
do shell script "/usr/bin/defaults write com.apple.finder QuitMenuItem 1"
end if
end if
A saved version of this in application form is at: QuitFinder.zip
(You can open the application in AppleScript Editor to see its contents by dragging the script app icon onto AppleScript Editor's application icon).
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5685",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "24"
} |
Q: Permissions for new files in shared directory We just got a new iMac are using the /Users/Shared directory to store media assets (pictures, audio, video) that we want accessible to all users on the machine. After copying over all the files initially, we set the desired permissions and then applied the same permissions to all directory contents recursively. This is working fine, except then whenever someone creates a new file or directory, it does not have the same permissions and we have to repeat the whole permissions process before everyone can access it.
Is there a way that we can set permissions for all new files/directories created within that directory?
A: Another approach is to use Terminal (a.k.a shell or command prompt) to create/edit (must be performed as super-user, see sudo) the file: /etc/launchd-user.conf adding the line:
umask 000
save and reboot. New files/folders (including files changed by save as) will allow everyone read/write.
This works by changing the default file creation permissions for programs, whereas the ACL approach works in terms of access rules bound to particular files and folders.
Without this tweak, files are created allowing user: read-write, group & other: read-only.
If you are sharing between multiple computers, you need to do this for all computers that will use the share.
If you have existing files and folder in the shared area, you need to make them all readable/writable by everyone using:
sudo chmod -R og+w <shared-folder-name>
The command reads in English as change mode, recursive through all sub folders and files, other & group permissions add write access, starting at folder with .
This approach is mentioned in forums to work with at least as early as 10.6 and still works on 10.7.
Other factors still affect access to content. For example, permissions set in the Sharing control panel, home folder permissions/ACLs, and when using Terminal any umask in effect for the shell.
Look up umask and Posix file permissions for details on these Unix concepts. In the write ups, the word directory is Unix parlance synonymous with folder. You will also encounter the terms UID and GID: user and group IDs, which define the Posix ownership of running programs (processes). Note that UIDs and GIDs are numbers which may be the same or different for a given user name across different computers. These numbers are assigned to names in the order accounts are created on a given computer, typically starting with ID 501. Home networks lack a mechanism to harmonize these assignments across computers. Therefore on network shares a file may appear to belong to different users because the user ID to user name binding is determined from the perspective of computer is accessing the file. So shares really always allows everyone to access files to various degrees of everyone. In other words, the Posix "other" permission is an indefinite limit on access ranging from allowing a quite predictable but apparently uncertain degree of access depending on the user IDs assigned on different computers. This leads to apparently absurd variations in experiences, where on some networks, for example a setup with only one user account ever created on each Mac, will be able to share without any permissions tweaks because all accounts will have the same UID (501, no matter what the accounts are named) whereas another network using multiple user accounts per Mac will see problems right away. So some groups will never struggle with this, whereas some others may see problems that develop over time, or problems which appear/disappear spontaneously, depending on when/how additional user accounts are created/used with the shared folder.
It's a mystery why Apple has left such a festering usability defect in the configuration of such an otherwise easy to enable file sharing capability.
On external disks, this problem is addressed with the "Ignore permissions on this volume" option. There may be a similar feature for apple file sharing, but where is it.
If you roll you own Samba service config there are other mechanisms for handling these problems, but Samba is not at all easy to use.
A: You can't do this with traditional POSIX-style permissions, but you can with inheritable access control entries. To allow read+write access for the entire "staff" group to everything in /Users/Shared/reallyshared, you'd use:
sudo chmod -R +a "staff allow list,add_file,search,add_subdirectory,delete_child,readattr,writeattr,readextattr,writeextattr,readsecurity,file_inherit,directory_inherit" /Users/Shared/reallyshared
The file_inherit,directory_inherit part means that this access control entry will automatically be added to new files & folders created inside this folder, but it doesn't automatically apply to items already there (that's why I added the -R flag to chmod -- that applies it to everything currently within the folder), and it won't be applied to items created somewhere else and then moved into this folder (I don't know of a way around this, sorry).
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5689",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "39"
} |
Q: How can I rebind keys in OS X? Is there a native way to rebind keys in OS X without requiring a 3rd party tool?
I'm interested in rebinding my whole keyboard layout, not specific shortcut keys. It's not a standard layout either, so I can't just change it from Qwerty to Azerty, for example. I need to be able to choose exactly which keys are at each location.
I noticed that Mac OS X has the directories KeyBindings and Keyboard Layouts under the ~/Library/ folder. Are these related to what I want to do? If so, how would I use them?
A: You mean besides the "System Preferences > Keyboard > Keyboard Shortcuts" settings? (Click on the ? button in the bottom-right for more info.)
The Mac has dictionary (.dict) files for configuring parts of apps, system services. There are .dict files for the keyboard layout that can be edited by the property editor app, which is part of Apple's XCode development environment. Be very careful to understand that messing with them without knowing what you are doing can, and most likely will, break stuff.
/System/Library/Frameworks/AppKit.framework/Versions/C/Resources/StandardKeyBinding.dict is an example. If you have TextMate, /Applications/TextMate.app/Contents/Resources/KeyBindings.dict is another. TextMate's site has a little write-up about how it uses the key bindings.
Also, look to the right at the "Related" section. There are some similar questions that might give you more ideas, such as "Best key remapper tool?".
That should be enough to get you started.
Apple's Technical Note TN2056 "Installable Keyboard Layouts" is something you should probably read, then search for more info from that point. You're messing with stuff that can make your machine hard to work with if it isn't done right, so arm yourself with enough information to know what you are doing. Apple's Technical documentation is the top-level for their developer documentation. Their support forum would be another good resource.
A:
I noticed that Mac OS X has the directories KeyBindings and Keyboard Layouts under the ~/Library/ folder. Are these related to what I want to do? If so, how would I use them?
This article might answer your last two questions:
http://xahlee.info/kbd/osx_keybinding.html
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5690",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to sync mail between PC and Mac I have both a Mac and a PC. On the PC I use Outlook.
My question is, how do I sync mail between the PC and Mac? Previously I was keeping the .pst file from the PC on an external HD so I could see it on all my PCs, but now with a Mac, I'm at loss as to what to do. I still plan to use both Mac and PC.
A: My first instinct is to suggest using IMAP and just keeping all your mail etc on the server. Then it is as simple as using Thunderbird or another Mac compatible mail client up to date with your email accounts.
However, I am assuming you have a reason to not go this route. An alternative would be to use Outlook for Mac if you're familiar with Outlook and wish to keep using it (and are okay with shelling out a little bit of money for it). I would like to believe that Microsoft kept compatibility with pst files alive in the transition.
A: If you are looking for backup & Restore of mails, you would love to use GMAIL back-up utility. I usually forward all mails from my account(a setting to send a copy to other account) to gmail account & I can always have backup on gmail. I can download all mails from GMAIL-Backup utility & similarly restore to specific account. This is what I did when I want to have backup of mails & transfer it to mac. You might not like the answer. But I explained what I did. So, this would be just a suggestion instead of an answer. ( once you have backup of all mails using gmail-Backup, you can copy in to pen-drive & then you can use it anywhere you want )
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5693",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Save .mov file with applescript I've installed the Perian addon for Quicktime so it can open .flv files, and then I can save them as .m4v or .mov. I'm trying to make an Applescript to convert from .flv to .m4v automatically by using this tutorial and butchering their example applescript file, which normally converts ChemDraw files (.cdx, .cml, .mol) to .tiff, so that it instead uses Quicktime to save the .flv files as .m4v. When I try to use it, though, I get an error "QuickTime Player got an error: document 1 doesn't understand the save message". My save message is currently:
save first document in target_path as ".m4v"
which looks like the QuickTime dictionary's instructions:
save specifier : The document(s) or window(s) to save.
[as saveable file format] : The file format to use.
I've also tried "m4v", without the period, and still get the error.
Is my Save direction wrong, or is it probably an error from trying to use Quicktime instead of the original ChemDraw? I tried to change references to .cdx, .cml, .mol, .tiff, and ChemDraw to .flv, .m4v, and QuickTime respectively, but maybe it's more complicated than that?
I would, in fact, appreciate any example showing how to save an application file (ex: a TextEdit .rtf or .txt), as I can't seem to get any kind of file to save using applescript.
A: Sorry, still too low to post comment. Are we talking QuickTime Player X or QuickTime Player 7? (very different .sdefs)
Also, can you post the script content leading up tosave first document in target_path as ".m4v"? (tell blocks can be important, as well as knowing what value type target_path is, etc.)
A: I've only had to script Quicktime once, and that script is long gone, but I do remember that you actually the export command is really what you want if you want to convert formats. From the Dictionary
export v : Export a movie to another
file; export document : the movie to
export; in file : the destination file;
using settings preset text : the name
of the export settings preset to use
I remember opening a sample file, creating a preset, exporting the file, then using the name of the preset in the final script. But the key was to actually manually create and use the preset first.
There are a lot of places to get started with Applescript, but Quicktime is definitely not one of them, and hacking that tutorial isn't going to work without a lot of unnecessary effort. I recommend you further search for Applescript example specific to Quicktime as the API is a bit wonky and really weak in the current version (10.x, I believe), to be honest. I do know that Apple has a complete Quicktime Applescript example code collection buried on their site, but the link is no longer in my notes. Macscripter.net might offer up some practical examples as well.
A: If you're using QuickTime Pro 7, I believe it can only save natively in .mov. You do have the option to export to other formats, but saving is a different function, and is always .mov regardless of the codec used within.
See if you can save as .mov with your script. If you can, then you know that you need to change your code to use an export function. If you can't, then it's some other problem.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5697",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Samba Troubles With My Mac - Password Never Accepted I've been tinkering with my router and have flashed it to use DD-WRT (a Linux distro that can provide me with some extra functionality). This in turn has allowed me to create a Samba server to share the USB drive connected to my router.
It appears to be working fine and I can connect to it, modify files etc. from my Windows 7 box. But I'm having trouble connecting from my MacBook (running Snow Leopard). What I'm doing is:
*
*Switching to Finder
*Hitting Command + K to bring up the "Connect To Server" dialog
*From here I try to connect to "smb://share@192.168.1.1/public". 192.168.1.1 being the router, share being the username and public the folder I wish to access.
*This then provides me with a username & password box, with share populated in the username field. I enter the password for the share account but it tells me it's invalid. I've also tried different username/passwords just incase and using guest access. All no good.
Does anyone have any ideas on what else I can try? I'm definitely getting the right username & password combination.
Cheers for any help
Lee
A: I finally found the answer on the DD-WRT forums and it's annoyingly simple but I would never have guessed it in a million years.
The username has to be entered in UPPER CASE. So while smb://share@192.168.1.1/public didn't work, smb://SHARE@192.168.1.1/public did!
Just wish I hadn't spent a day trying to get find that out!
A: Good find! I expect it is because Linux works on case-sensitive file systems. Macs mostly do not anymore, although they can be configured to respect case. If the uppercase annoys you, you can either check the share to make sure it's lowercase, or check your /etc/smb.conf file on the DD-WRT to make sure it respects case.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5702",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Can a WiFi-only Kindle connect to the internet through an iPhone? I'm considering getting a Kindle, but am still doubting as to whether the 3G model is worth the extra expense. As I'm also considering getting an iPhone later: on the off chance that I'd ever want to buy a book without a WiFi hotspot nearby, wouldn't it be possible to share an iPhone's 3G connection with the Kindle through WiFi and hence buy a book and read it on the WiFi-only Kindle?
A: For information about the full article “iOS 4.3 lets iPhone 4 host wifi over 3G”
http://devicegadget.com/apple/ios-4-3-lets-iphone-4-host-wifi-3g/1320/
Thx.. ;)
A: I have an iPhone 3G with MyWi 5 on it. I can confirm that other devices such as my laptop (Sony VAIO FWIW) connects well over the WiFi hotspot of the iPhone and can access the internet but that the Kindle WiFi 6" device I also have will not connect. It seems to detect that this is a 3G wifi device rather than a WiFi network and gives me an error message saying I am not allowed to connect to devices of this type.
I dont know if the iPhone 4 or iPhone 4s will enable you to connect (as they have built in WiFi hotspots in the operating system) but an iPhone 3G with MyWi 5 definitely wont. Not sure if Android devices will allow you to or not.
Hope that helps folks
A: Tethering isn't allowed for the iPhone or iPad (at least not without jailbreaking it, I believe). At the same time, I have a wifi-only iPad, and I have yet to find myself in a situation where I was 1.) in a public wifi-less area and 2.) I just had to have a book for the Kindle app at that very moment. The chances are more "off" than "on", realistically, and a little planning gets obviates the scenario you describe. I feel the 3G is a bit of a boondoggle, at least for me.
A: You have to jailbreak the iPhone and install an expensive program called MyWi 4.0 (check spelling) from Cydia. This allows the iPhone to host a wifi network that a Kindle can connect to.
Ask if you need more details, I'm on my iPhone now so don't want to type much :)
A: My mom has a kindle wifi only and when tethering wifi on iPhone 4 kindle says it doesn't allow connecting to tethered connections
A: *
*You can create a mobile hotspot with an iPhone (if you pay your carrier for the privilege and your carrier supports it)
*A Kindle Fire (which is WiFi only) can connect to a mobile hotspot created by an iPhone to connect to the Internet.
Given 1 and 2, I assume a "regular" Kindle can do the same.
ps - The mobile hotspot prices are insane, and both AT&T and Verizon have done nothing but raise prices as time goes on. But it's possible to do, and if you only need it for a short while you can cancel it when you are done. I would not spend the money on a 3G Kindle unless you wanted to get a Kindle 3 (aka "Kindle Keyboard") where the 3G can be used for more than just downloading books. The new Kindle 4s which have 3G do not let you web browse using 3G, only WiFi. (And if you have an iPhone, there's no way you would ever want to use the horrible Kindle browser anyway.)
A: Apple says the personal hotspot requires data roaming needs to be on (hidden at the bottom of one of their support pages instead of the first line). After enabling data roaming my kindle keyboard connected via personal hotspot to my iPhone 4S.
A: I use kindle fire hd with iphone 5 but lose connection if you get a call can't do data and phone call at same time but that is an iPhone thing.
A: It may be noted to everyone viewing this post that newer iOS brings native mobile hotspot. As of posting iOS 10 is the newest iOS, and iOS 7 allows mobile hotspot for the iPhone 4.
The mobile hotspot can be found in your iPhone's settings, with no jailbreak required. If your carrier does not allow you a mobile hotspot, then a jailbreak and installation of MyWi will be necessary.
Cheers
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5704",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: How can I associate localhost in Snow Leopard to a specific ip? I've disabled the web server on Snow Leopard, and I'm using an emulated Ubuntu with Lighttpd web server.
In order to access to the web pages I need to specify the ip of the emulated machine. However I now need to associated such ip with "localhost" in Leopard environment.
When I type localhost in Leopard I actually want to visit the localhost on the Ubuntu machine.
Do I need apache on leopard to make the forward or can I change network settings in Leopard or what?
A: You don't want to do this. As you pointed out, there are warnigs in the /etc/hosts file not to change the localhost entry.
The localhost entry is meant to resolve to the local host and more specifically the loopback address 127.0.0.1. On your Snow Leopard machine, localhost should resolve to your Snow Leopard machine and on your Ubuntu machine, localhost should resolve to your Ubuntu machine.
If you are trying to access the Ubuntu system from your Snow Leopard system, why don't you just use the IP address of the Ubuntu system?
A: You could add a new line to /etc/hosts to map the VM's IP to something like ubuntu. Then you could just do http://ubuntu to get to it. Still some config file modification required, but a better solution than remapping localhost that should also suit your requirements.
A: You could change your /etc/hosts file to map localhost to the IP of the VM, not to 127.0.0.1
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5706",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can I set up an Apple TV to receive content from a Synology NAS? I have a Synology DS210j NAS. My music and movies are served from the NAS by its built-in iTunes server. The content is then available on my MacBook in iTunes / Sharing Library.
I am looking for a way to set up an audio system in my apartment that doesn't need my MacBook. The content would come from the NAS (served by the iTunes server).
I'd like to buy a 2nd generation AppleTV to receive the content and then use iPhone's Remote app to control it. I also thought about extending this setup with AirPlay speakers (probably with an Airport Express) which would allow me to control the music separately in every room.
Would such a setup work? Can an AppleTV receive content from the NAS/iTunes server? If not, what are the alternatives?
A: Watch Erica Sadun's AirFlick project. It can do what you want from a host running Mac OS X, so one would expect a GUI-less version to appear soon that could be ported to your NAS.
A: As far as I'm aware a stock AppleTV will only talk to the iTunes store or a Mac/PC running iTunes. Third party daapd servers such as the one that Synology embed in their NAS line won't work without hacking the AppleTV. Currently the hacks for the black AppleTV are just getting started but Firecore have mentioned being able to play almost any media file from almost any NAS in a upcoming update. See:
http://firecore.com/atvflash-black
Access Media Anywhere
Stream media
from most NAS devices. Includes
support for AFP, SMB and NFS
protocols.
A: I have successfully used my Synology NAS directly with my two AppleTVs. There are two different options that I've had success with.
*
*iTunes Home Sharing
*Synology AirPlay support and told it to use the audio renderer that is the AppleTV.
Note, you have to be using at least DSM 3.2. Also, I've seen a few problems where it didn't like to play Apple Lossless files via home sharing.
A: the apple TV works only with airplay (old airtunes) protocol, which is proprietary and does not allow to do streaming from any other 3rd party devices which includes synology nas severs (and other devices).
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5712",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Can I have a stable IP address for a virtual machine under VMWare? I'm using VMWare to emulate Ubuntu on my Leopard Mac OS X.
The IP address changes everytime I put the Mac to sleep.
I was wondering if I can avoid that.
A: You can do this -- just configure the Ubuntu virtual machine with a static IP. The choice of IP will depend on the network you're connecting to... You didn't mention if you were using a NAT or Bridged connection, and the choice of IP will different based on that. I can provide specific instructions if you like, but, they'll be all things you do within the Ubuntu VM, not within the Mac environment. (So you may find better luck asking on http://askubuntu.com or https://unix.stackexchange.com/)
You could also install the "avahi-daemon" package in Ubuntu and then you won't need to remember the VM's IP address, you can use vm-hostname.local as if it were a Mac with Bonjour.
EDIT: I see you're using a NAT interface. I typed up a long list of instructions only got get stuck on the final step. I'll do more research into this, but in the meantime, here's some instructions which I have not tested, but might work on the Mac side...
Here's incomplete instructions, I will finish them up shortly:
VMware Susion starts assigning IPs via DHCP at .128 (at least on my machine). The first three octets of the IPs are defined by a network probe which happened when you installed VMware, so you'll want to determine what network VMware chose for you, and then choose an IP underneath the range VMware assigns via DHCP to avoid conflicts:
*
*Determine what network VMware chose: In the Ubuntu Virtual Machine, choose System > Administration > Network Tools. In the window that appears, under "Network Device", choose "Ethernet Interface (eth0)". In the list below, look for "IPv4". Look at the IP address in the right hand column, and make note of the first three octets (numbers between the dots). On my machine, this is: 172.16.1
*Choose a new static IP: You can make up any number from 2 to 127 which will be appended to the network from step 1, as long as it doesn't conflict with any other static IPs you have assigned. Let's say you choose 15, because I like the number 15. In my example your static IP would then be 172.16.1.15.
*Configure Ubuntu to use a static IP: Go to System > Preferences > Network Connections in the Ubuntu VM. Under "Wired" choose "Auto eth0" and click "edit". Go to "IPv4 Settings" and set "Method:" to "Manual". Next to "Addresses", click the "Add" button. In the new row that appears, under "Address", enter the IP you close (172.16.1.15 in my example). Under Netmask, enter 255.255.255.0. Under gateway, enter the first three octets of your IP, followed by .1. (In my example, the gateway would be 172.16.1.1). Under DNS Servers, enter... oh, crap, this is being provided by DHCP. Let me figure out a way to make this work :-/
A: To complement on Josh’s post, the answer is yes, but it depends.
Technically speaking, any OS inside a VM has direct access to either the network card or a private network created by the host OS. In either case, you can configure your VM to have any IP address you want.
Now I assume you want to have your VM with the same IP all the time, so you should switch to bridged connection, which will make the VM believe that it has a dedicated network card that you can later configure as you please. In fact, for the rest of the network, the machine will be a regular computer. VMWare will take care of the virtualization and the virtual Network Card (NIC).
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5716",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Can I put a "marker" on a QuickTime movie? Is there any way for me to put a "marker" in the timeline of a QuickTime movie? This would be very helpful in certain cases, for example quickly marking parts of long movies from my digital camera which I want to review later. I'm sure I could do this using iMovie or Final Cut Pro, but I'm looking for something specifically in QuickTime player (as I'm previewing movies taken right off my digital camera)
What I envision is something like I have mocked up in this doctored screen capture:
A: I'm afraid no feature like that exists.
However, with QuickTime Pro, you can fairly easily cut out clips of a movie to save for later. You get two selection cursors, and can actually use copy and paste to yank out sections and put them into new players. It will then save them natively inside .mov containers with no need for exporting.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5719",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: iPod Touch G4 disconnects from Belkin N+ Router at random intervals I have an iPod Touch G4 and a Belkin N+ Router F5D8235-4 v2, and for some reason the iPod Touch disconnects from the router at random intervals.
Checking the settings in the iPod, it will read that it is still connected to the router, but before I can access the internet again, I have to turn on Airplane mode and then turn it off again to get any program to work with the Internet again.
I've tried upgrading the firmware in the router, but that also doesn't seem to help. I'm using the wiresless mode 802.11b&802.11g&802.11n in the 20/40MHz frequency.
Is there any way of fixing this issue? It doesn't happen with any of the other devices that are connected to the router.
This post has been cross posted here
A: I have had this issue with the D-link router at home from time to time. My solution was to set a static IP and manually enter the device's IP, subnet mask, gateway IP, and DNS server IPs manually into the device.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5724",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: there used to be a full sized wireless keyboard? I am a programmer and find the small wireless keyboard hard to use (the small arrow keys and lack of home/end keys). From what I remember there used to be a full sized wireless keyboard, is this correct?
A: Yes, you can even still purchase it from vendors listed on this Google Shopping page. Unfortunately, that option will run you $120 plus whatever shipping they charge.
An alternative is purchasing it used off eBay, but I only found one listing for the full sized wireless Apple keyboard.
A: Yup, you're right, but it is not in the style of the present day designs (flat aluminium enclosure, laptop style keys). It was of the older, chunkier keys present on older Apple desktop keyboards. It was discontinued in about 2007 when Apple redesigned it and released the present day design.
Details of older design
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5726",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to run Wireshark in the background without the GUI? I am trying to run Wireshark on Mac OS X in the background. I installed the command line utilities, and so I am able to start Wireshark and capture packets using the command line.
The only thing I want now is to run it in the background, without the X11 icon in the Dock or seeing Wireshark's window. I believe it is possible, but can't find anything in Wireshark's docs.
Maybe another approach would be to hide the icon?
If anybody has already did this or has an idea…
A: As initially seen here:
As far as I remember TShark comes with all distributions of Wireshark. This runs from the command line. The documentation for it is here: http://www.wireshark.org/docs/man-pages/tshark.html
And there's some examples on how to use it here: http://www.codealias.info/technotes/the_tshark_capture_and_filter_example_page
— David Hewitt
A: There is also a complete alternative in the form of tcpdump, which comes by default on many OS X installs. The syntax is different, but it's command-line only, and is invaluable in a smaller/command line only environment.
It must be run as root, otherwise undo sudo.
A: As @VxJasonxV said you can use TCPDump and if you don't want the output show on terminal can use >> filename to TCPDump save result on your desired file.
you can use TCPDump with many options but I think this was the best one:
tcpdump -n -v -S -i en1 tcp
en1: interface that you assign IPv4
-v: produce (slightly more) verbose output
-S: Print absolute, rather than relative, TCP sequence numbers.
-n: Don't convert addresses (i.e., host addresses, port numbers, etc.) to names.
-i: Listen on interface.
but this save the output that was not readable by human if you want to process the output that was readable by human you must use tshark:
the command that you must use is some thing like this:
tshark -r ~/home/myHome/Desktop/file_name(produce by tcpdump) -R "ip.src==172.16.13.128" -T fields -e frame.number -e frame.time -e ip.id -e tcp.window_size -e tcp.analysis.ack_rtt -E header=y > ~/home/myHome/Desktop/file_name.txt
A: You could run it in screen, or in a virtual X11 session (Xvfb) that is not displaying to your monitor.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5731",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What's the purpose of the eject button on the MacBook Air? I was interested to see that the power button on the new Airs has been moved to the keyboard, and was anticipating that it would just replace the eject key that has traditionally taken up that position.
However, this appears not to be the case (pic is from iFixit's teardown guide):
What's the purpose of the eject key with no optical drive?
A: Well, The keyboard is the same as other Macbooks (which have SuperDrive), but in any case, if you have an external (USB) superdrive, the button will work as advertised.
A: You can use Ejectulate to map the eject key to show you a list of every ejectable volume, making it useful even on a MacBook Air lacking an optical drive.
A: There's also quite a few keyboard shortcuts that use the eject key.
*
*Control ⌃+Eject ⏏ brings up a screen that has Restart/Sleep/Cancel/Shut Down options
*Command ⌘+Control ⌃+Eject ⏏ instantly restarts
*(etc.)
A: That's funny. I was wondering the same thing when I first opened up my MBA! I asked a Genius at the Apple Store who proceeded to tell me that he had wondered the same thing too, and asked his superior who told him that is was designed for use with the MacBook Air Superdrive, which costs an astounding $79 and is basically a slick looking external DVD writer. Because it's made by Apple it doesn't have any buttons on it, including an eject button. Most new/casual Mac users won't know the drag to eject or context-menu eject methods, so in order to make the drive streamlined with the Mac, they put the eject key on the MacBook Air itself.
I guess Apple anticipates a wide user base for the new Superdrive...
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5736",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: HDMI audio doesn't work through DisplayPort adapter on OS X but works on boot camped Win 7 I recently purchased this Dynex DisplayPort to HDMI adapter with the understanding that it would support audio out.
However, it only works on my boot camped Windows 7 install that way. Video and audio passed to the TV with no issues. On the other hand, I only get video passed when booted into OS X.
I have already tinkered with the sound configuration numerous times in an effort to get it to work. Googling turned up the fact that some adapters do not support passing audio through from the DisplayPort. I believe this is not the case since it works on Windows with no issues. I have also ensured that all updates have been installed. Still no dice.
Any ideas on how I can get the audio passed through to the TV?
A: Hold down the option key and click on the volume icon in the menu bar. What does the menu say for Output Device? If your adapter doesn't appear, here's what you can do: Open /Applications/Utilities/Audio MIDI Setup. See if your adapter appears in the list to the left. If it does, play with the Configure Device and Configure Speakers options (accessed by the gear button).
A: It works! As soon as you change your audio output to your TV, the audio should work.
Here is how to do it:
*
*Hold down Option and click on the volume icon in the menu bar.
*Change your audio output to the name of your TV. (i.e: XVA62619)
*The audio icon will gray out, so don't worry about it.
*Play something from your computer and it should work.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5738",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: OS X 10.6: Applications crash when sounds play Most of my applications crash whenever a sound is played -- but not if the machine has been recently rebooted.
For example, Mail.app crashes when I send email, because of the whoosh sending sound. Safari/Chrome/Firefox will crash when Flash plays sounds, e.g. with YouTube, but does not crash for silent Flash apps. iChat will crash if I get a video chat request. iTunes will not start at all.
All display the same symptom -- freeze with spinning beach ball. All can be force-quit without issue, and without affecting other applications.
If I start an app right after a reboot, it generally will run just fine. If I open Safari after a fresh reboot, I can watch Flash video for an hour or two without issue, but the next morning, it will crash again.
If I open Skype after a fresh reboot, it will remain open and working, sometimes for days. But if I close it, it will not open again until I reboot.
I've go through flashing PRAM and repair permissions with the Apple techs, and it doesn't seem to help. Any idea what I might be able to to do to get sound working again? I've been told to reinstall, but I primarily use the machine for work, and I can't take a week to get everything configured again just so I can use iTunes and YouTube.
What is particularly annoying is having to quit Mail.app and restart after each sent email. If there were a way to disable the sent email sound that would be great too.
Thanks!
Cross-posted: http://discussions.apple.com/message.jspa?messageID=12791456
A: Can you open the Console application (in the /Applications/Utilities/ folder) and see if anything is reported up to and during the application hangs?
Are you actually getting a crash or just a hang? (A crash will display an "unexpectedly quit" dialog on its own (creating a .crash file) , whereas a hang will require you to explicitly force the application that's not responding to quit, which will then generate a .hang (" stopped working because of a problem).
If you are actually getting a crash, please post the crash log (as much as you can) or otherwise provide access to it (as they can be somewhat long). If it's a hang, perhaps any output to Console might be more informative than the .hang report.
You mention iTunes does not start at all: do you mean it immediately starts to hang when you try to launch it, or does it crash with an unexpectedly quit dialog?
Also, try launching Activity Monitor (also in /Applications/Utilities/) and be sure to set the "Show" popup menu to All Processes. Check once at launch or on a fresh startup to see if there are any processes highlighted in red. Then when you begin having the problems, check again in Activity Monitor to see if there are any processes shown as not responding; if so, please post the name of them along with any info that's reported to Console.
My rough guess of what's happening is that either coreaudiod itself, or another sound/multi-media-related framework or launch-on-demand agent or service that these apps need is not responding, which in turn causes any applications that rely on it to hang as well.
A: NSGod's advice to look in the Console led me to a whole bunch of errors like this one:
1/1/11 8:03:31 PM com.apple.launchd.peruser.501[288] (0x1002002f0.mach_init.VersionCueCS3monitor[20180]) The following job tried to hijack the service "ah_serv_trigger.v1:20179" from this job: 0x103ae66a0.anonymous.Google Chrome He
From there, I found someone else complaining about the same problem who fixed it by removing Adobe Version Cue CS3.
I uninstalled Version Cue using these instructions. I had a different set of files to remove — not all the ones they listed existed on my Mac, and not all of my related files were on that list.
I used these commands:
sudo rm -rf /Library/PreferencePanes/VersionCueCS3.prefPane/
sudo rm -rf /Library/Preferences/com.adobe.versioncueCS3.plist
sudo rm /private/etc/mach_init_per_user.d/com.adobe.versioncueCS3.monitor.plist
sudo rm /Library/LaunchDaemons/com.adobe.versioncueCS3.plist
Without even rebooting, all my audio problems vanished.
Thanks so much to everyone who gave advice, especially NSGod. Sorry I cannot give upvotes, or hyperlink my links, but I lack the points to do so. Once I have them, I'll come back and upvote.
UPDATE: Don't do this one, that I earlier had in the list:
sudo rm -rf /Library/Application\ Support/Adobe/Adobe\ Version\ Cue\ CS3/
Seems that that one prevented Photoshop from opening some files. I restored it, and Photoshop works fine, and so does audio.
A: It is difficult to say what the problem is. It sounds like you have a done a good job isolating the problem as related to audio. Here are some general things that might help.
*
*Genius Bar - Often problems such as this are caused by hardware issues. If it is a standard Mac system, it likely isn't a hardware compatibility or driver issue as is common with Windows. There is a small chance that it is a known hardware problem in which case I would suggest visiting a Genius Bar if you are near an Apple Store. Even if it isn't a known problem, they will likely be able to determine if it is a hardware issue or not.
*Reinstall Mac OS X - If it is not a hardware problem, then it must be something about the operating system, software or configuration that is causing the problem. Unfortunately, with computer systems the easiest answer is to get the system back to a known good state. Generally this means reinstalling the system as has been suggested to you.
*Restore from Time Machine - If this problem is relatively new and you have a Time Machine or Time Capsule, you could try to get your system back to a known good state by restoring to a time when you did not have this problem.
*Back Track - Try to determine what applications or changes you have made to the system that may have caused this problem. Try to undo those changes or uninstall those applications as much as possible. If you have a similar known good system, you can try and compare the audio settings between the machines and look for any differences. Eliminating potential causes and comparing to a known good configuration are two common troubleshooting techniques -- unfortunately, this could require some technical expertise as well as be time consuming.
*Disable Sounds - If you want to just minimise the damage, try disabling as much of the sound effects as possible. Look both in the system preferences and in individual application preferences. For example in Mail, there is a tick box in the Preferences for 'Play sounds for other mail actions'.
One last thought, since everything seems to work fine after a fresh reboot, could it a be a problem caused after waking from sleep or hibernate?
A: Sounds like (no pun intended) you've got some corrupt files on your hard disk, in particular CoreAudio libraries. You may have a dying heard disk.
I would suggest at a minimum backing up your home directory and reinstalling.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5740",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is there an Air Video app, but for photos? I was wondering if there is an app for the iPad in order to see photos that are shared in a Windows/Mac folder.
I went to Australia and took over 12000 photos, now I want to take a close look at all of them without without importing all to iTunes (so it does not fill up space on my iPad).
Something that I could check, mark in order to move/copy to a diff folder so I can edit them later.
For iPhone there is the WiFi Photo Viewer but I can't find one for iPad.
A: I developed ImageBank for iOS to do exactly this - streams photos from your PC/Mac to your iPhone, iPad or iPod Touch. It's universal so it works natively on the iPad, and it even works over 3G.
There's a free version too if you want to try it out:
ImageBank Lite
It's only US $0.99 to buy or upgrade from the free version.
A: StreamToMe is far better than Air Video in many ways. One prime example is it's ability to remotely view photos. It will work with files stored anywhere or even browse your iPhoto library It also supports audio only files and portrait orientation playback while Air Video does not. It's a universal app that runs on iPhones too and the server app runs on Mac or PC. Price - $2.99.
The interface is nicer and there's even a recent history for convenience. It has always perplexed me why AirVideo is more popular.
Alternatively, there's another great app you may wanna look at when you get some time called HereFileFile. It does not have an iPad optimized version yet, but they are in fact working on one as we speak. It looks very promising. However, the iPhone version is very nice. It's fairly similar in concept to these other two apps, but there are differences which I won't go into here.
A: while it requires a jailbreak, I was really impressed after installing AirServer yesterday - I can run the server on my iPad and use my iPhoto to stream photos over AirPlay - really really awesome when you're not nearby a TV and if you are, you've got the reverse - a mini AppleTV in your pocket with your iPad as a beautiful remote for content!
A: On the link you provide, it is marked as compatible with iPad. What's the issue? Moreover, it seems they're running a christmas sale :)
Apart my silly remark above (which clearly deserved votes down. Probably let too many neurons in the end of year festivities... :-/) there is an Air Photo HD app. It seems to be a browser of your iPhoto library over the air. Are you using iPhoto? If so, it could be a solution. Though, from the screenshots, I don't know if you can mark them as accepted/rejected.
Otherwise, depending on the total size of your photos folder, Dropbox or similar services could be used, as what you'll do on the iPad will then be sync'ed automatically in the cloud (Dropbox free account is 2GB)
A: ImageBank for iPhone/iPad does the trick for me!
A: Not exactly what you were looking for, but if you had the time/bandwidth, you could upload the 12,000 photos to Flickr. Then you would have many more options for viewing/sharing. You could view the photos via Safari on the iPad or download one of the many applications which support viewing a Flickr feed.
Again, not ideal. Food for thought.
Good luck!
A: If you can't find a dedicated app (and it sure seems like something at least 20 people would have implemented by now) you could go old school and use safari and web sharing.
I have used the export to web page and export to slide show functionality of iPhoto/Aperture to save a html folder to the ~/Sites folder.
Then it's simple to turn on web sharing and use mobile safari to browse the thumbnail pages or just click through the main images as a slide show.
You can also export the slide show and a quicktime movie can be dumped if you would prefer better transitions and full screen with less tapping to navigate.
I might try out PixelSync next time I need to rate and do heavier editing from the couch or by handing the iPad to a client. Again - this won't be good unless you want your photos in a managed database as it won't work with just a folder of files.
And way out in "the OP didn't even ask this" land is a suggestion to check out PhotoMechanic - it stores all images in a folder but is optimized for extremely rapid optimized rating of many photos. There isn't an iPad/iPhoto link, but I've seen professionals blitz through 4.5k photos at the end of a major marathon and cull that first to 500 and then a second pass to the 35 images that make the day's news media picks for press use. With 12k images you might need a great tool on the computer to narrow down things before you move them to iOS land.
A: I'm not quite following the reasoning behind chasing for an iOS app for aide in your sorting process. No matter what app you find, importing to your Mac/PC and using one of many available applications will allow far greater ease and efficiency to go through such a massive bulk of images. Why not import and then sort them in an Aperture library? Your data doesn't get locked in, you can rate, edit, sort, and delete photos, and you can get a 30-day trial.
A: If you've willing to put the photos in iPhoto, we've just released an app that will stream them to your iPad over your home Wi-Fi network: AirPics.
http://itunes.apple.com/gb/app/airpics/id475202862?mt=8
It does not support flagging photos, but is good for streaming large albums (I've tested it with more than 3000 photos in a single album on my iPad 2 without issue).
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5743",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Can I hide the new messages notification in the Mail icon for only one of my email accounts? Basically I would like to have two email accounts setup on my iPhone 4, one my personal account and one for work.
However for the work account, I'd like to not have it's unread message count included in the number of unread messages displayed as a part of the Mail app's icon (the number in the red circle).
Is this possible to do?
A: No - there's no control for that on iOS 4.3 or less. If you disable that account it will temporarily turn it off on counts but the content stays loaded on the device.
I will second the suggestion to set up a separate folder to store the majority of the unread messages and use server side filtering or a manual process to get rid of the distracting/offending messages.
My phone and sanity are both better once I bit the bullet and set up a rule that says if it's unread over a week it goes into my triage later folder. I can still search for messages using spotlight, they are all where I can find them but my phone is faster and the badge is more meaningful without that pile of messages.
I'm not quite to inbox zero, but this was a good first step for me to getting there.
A: You can effectively turn off push notifications for a particular email account... sort of. Go to the Settings app, and hit "Mail, Contacts, Calendars". Go to "Fetch New Data", then scroll down and go to "Advanced". For the email account whose little red badges you don't want, change the setting to "Manual" instead of "Push".
This will prevent new messages from pushing a notification icon to the home screen. However, when you open the Mail app to check your other email, the app will sync the "Manual" account with the server and you'll get a badge if there are unread messages there. So, like bmike mentioned, the real way to get rid of those badges is to get closer to inbox zero.
A: There's probably no "set this option" way to do it, but I've noticed that a.) the unread count is the number of unread messages in your inbox, not in subfolders and b.) iOS does not automatically check subfolders for new messages unless those subfolders are set to push via Exchange. So, if your work account is an Exchange account:
-Make a subfolder in your Inbox
-Create a server-side rule to move all messages to that folder. This can be done in Outlook on your work computer (assuming it's a PC) or probably in the Exchange web client (possibly requiring IE, since they disable certain functionality in the web client for other browsers...).
Then you still have access to the messages in the work account (+1 tap, but it's an iPhone 4, so it's snappy), and they won't show up in your unread count.
A: Sorry but you are all wrong... there is a way... I've spent the past several hours searching google for a forum for someone who knows... the reason why I know is because someone showed me once... I then reset my phone and the setting was reset and I've been trying for the past several days to remember how I did it.. yes IOS 7 and yes I did it... All I remember was that it wasn't very intuitive so hence why I've now forgotton... if I find it I will repost..
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5747",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: What is the difference between a "sparse disk image" and a "sparse bundle disk image"? What are the differences between sparse and sparse bundle disk images?
A: From the DropDMG manual:
Sparse
bundle disk images appear as a single
file but are actually stored as a
folder with many files inside. This
makes it more efficient to back them
up using Time Machine or other backup
utilities, as only the changed parts
need to be copied. Additionally,
sparse bundle disk images work well
with the Compact Image… command.
Compatible with Mac OS X 10.5 and
later.
Sparse
disk images are stored as a single
file. This can make backups
inefficient for large disk images,
because the entire file must be copied
each time. The Compact Image… command
generally does not reclaim as much
disk space as with sparse bundle disk
images. Compatible with Mac OS X 10.3
and later.
A: Sparse bundle disk image is an optimized form of the sparse disk image. It optimizes intentionally to reduce network load upon backup of changes to the filesystem at the expense of time and space. Specifically it uses a hashing function to store bits of data across a large directory structure which allows changes to be isolated in smaller band files. When copying the disk image elsewhere, rsync like tools will only need to copy the bands that change which makes incremental copies or backups far faster than moving the entire sparse image.
Local storage of the bundle img is less efficient in terms of space used, CPU time needed to process IO to the disk image is increased and when files are deleted, the reclamation of space is delayed and not as complete when compared to a sparse disk image.
Unless you are backing up the bands incrementally online (as Time Machine does to Time Capsule) it's usually better to go with the sparse disk image over a sparse bundle. Some software will look inside a sparse image and only copy the changed blocks, but the bundle allows simpler tools to be more efficient moving changes around.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5751",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "51"
} |
Q: How to make an expanding compressed encrypted disk image? I'd like the following setup:
*
*A DMG file sits on my HD, taking up only the space of the contents, or perhaps only the space of the contents compressed.
*If I double-click on it, I need to give a password for it to open
*Once opened, I can drag files in and out, as long as I don't fill it up. The theoretical maximum should be the 4.6 or 8.3 GB DVD option from Disk Utility
*Once I've added (or removed) files from it, I can eject / unmount it
*When unmounted, it returns to the size of the contents and is again password protected.
Is this possible with disk images (DMGs)? What is the best way to set this up?
A: This is exactly what a dmg does.
To create one use Disk Utility and hit the New Image icon. Then choose the size, encryption and choose the image format as one of the sparse images. Even if you choose a large size it will only take up space according to what you save in it.
A: You can not write to a disk image where the format is compressed
… files in and out …
The compressed formats do not allow addition, edition or removal.
You can use existing files to create an image with a compressed format. Write once.
If you create a new blank disk image that is compressed — with or without encryption — it will be relatively useless:
Compressed — write once. The one write occurs when you create the image — not afterwards. The resulting volume is read only:
You can use Disk Utility to convert a compressed image to a format that allows writing. At http://www.wuala.com/%23%23Apple-support/members/grahamperrin/2011/08/04/a/?mode=gallery I posted a five-minute movie showing two conversions.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5752",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: How do I detect an iPhone user on my website? I want to forward my viewers on my site to a different place if they are using an iPhone. Is there a way to do that using iWeb?
A: Don't.
The only reasons to ever have a separate mobile site are cheapness and laziness.
The right approach is to have your visitors all get the same content; the only thing that should change how that content is styled—and doing that doesn't need a separate site, or even a special page.
If your next question is "Can iWeb do that?," the answer is that I doubt it, because iWeb just isn't meant to be a professional web development tool. If you're looking for an alternative, I recommend TextWrangler—it's both better and cheaper.
References:1
*
*How to Make Your Website Mobile Today, InfoWorld, 20 September 2010
*Mobilizing Your Web Site, Users Conference session at Macworld Expo 2011, 28 January 2011
1 Yes, they're both me.
A: You can use this script in the HEAD section of your index file.
<script type="text/javascript">
var agent=navigator.userAgent.toLowerCase();
var is_iphone = (agent.indexOf('iphone')!=-1);
if (is_iphone) { window.location ="http://www.yourPage.com/iphone" }
</script>
and redirect your visitor to iPhone compatible page. See an example on http://www.barisoztekin.com
A: You can do it from the environment settings passed to a CGI or app called by the server. The HTTP_USER_AGENT field describes the client connecting to the server, and is what is often used to branch or redirect based on a particular browser.
The downside to sensing with that is it can be spoofed and/or changed in a lot of client software.
A: Typically this is done server side by evaluating the User Agent that is passed with the HTTP request. I believe iWeb just publishes static pages and doesn't support dynamic content. In that case you will probably need to resort to using JavaScript so that the redirect is performed client side.
Be careful when using this approach though as it has the potential to create a poor user experience. It would be best to establish a way to allow the user to view the page if they really want to. Typically this is done with a cookie if the user selects that they want the 'normal' site rather than the 'mobile' one.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5756",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Utility for Visualizing Network Traffic via SNMP I'm looking for a piece of software akin to Cacti, one that is preferably much easier to set up, and has a high-quality frontend to it.
I had a headless Linux desktop that I used to poll my Time Machine and graph network statistics off of, but that computer is currently undergoing repairs, so I'm left with the remaining computers I have in the house, which are all Mac.
I have no specific requirements that I consider as a sticking point. My baseline of features would be something with the granularity that Cacti/RRDTool provide. Graphs with scalable units of time/history (configurable is a plus!), quick/easy to get started with little installation is preferable, something that perhaps just runs as a daemon/program and doesn't require a web server and detailed tailored configuration (read: discovery) would be just fine, and possibly even preferred.
A: Unfortunately I'm not aware of any serious competition to Cacti, but have you considered using a Cacti virtual appliance? There are several pre-configured VMs available with everything pre-installed and ready to go.
Cacti 0.8.7g
rPath Cacti Appliance
You might also want to take a look here:
A Half-Dozen or So Essential Open Source Network Administraton Tools
and in particular at:
Graph Network Performance with NRG - Part 1
He also has a page on how to install Cacti on OS X.
Now I can't say that this meets your desire for something as simple as a typical OS X application install but it certainly meets the free requirement.
I can't say I've played with any of these tools on OS X bar Mac Ports which I consider an essential on any OS X system.
Another really simplistic app (OS X widget actually) is iEyeNet, it definitely meets the free and simple criteria but isn't anywhere as configurable as Cacti. I tried it with my Airport Extreme and it "just worked".
Another option is documented here, it uses a combination of MRTG/Lingon/Geektool to generate and display the network graphs. Reasonably easy to setup...
A: I know this is an old topic and also I'm aware of how sensitive recommending one's own application can be (especially in case of a commercial application), however I think this does answer the OP's question exactly. If this is not allowed (I tried looking for a policy in the FAQ), please let me know and I will take this down.
I've been looking for such application for OSX myself. I couldn't really find one (except for the afore mentioned iEyeNet, which didn't meet my requirements) and so I've decided to write one myself, which gave me the opportunity to learn a bit of Objective-C.
I call it iNetGrapher. I think it will meet your requirements although it's not free. It's very simple to install (essentially get it on Mac App Store), doesn't require a web server or any other service / daemon / dependent software, it does autodiscovery of all interfaces on a supported network device / server and it lets you simultaneously graph traffic from multiple interfaces and multiple devices. It supports SNMPv1 and SNMPv2c, and in the latter case, both 32-bit and 64-bit counters.
There is also a free, good alternative, although it is command line only - it might fit your needs though. It's called ttg - you'll need to open this page and scroll down till you find it, or download the source from here: ttg.c. This one has been written by a good friend of mine.
I hope this is useful. I've been genuinely trying to help here and not promote my app.
A: I'm using SNMP software from Oidview. I am not sure if they have it for your linux machine but at least you can test it and see if thats what you want.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5765",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Cannot connect iPhone to my machine as "the host is no longer paired with the device" I am getting the following message from Xcode every time I connect my iPhone to Mac OS X.
The host is no longer paired with the device.
My iPhone doesn't even charge.
A: I really, really, really hate to say this; but, in my experience, it works for this kind of thing: Restart your iPhone (home+sleep for a few seconds) and try again.
A: May be it's because you use software such as Parallels Desktop, that hook USB devices, when you plug in...
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5771",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Can I customize ANSI colors in Terminal without extra tools like SIMBL? I noticed that colors in the Snow Leopard Terminal.app aren't that great (using the Pro theme, but the other themes are worse).
There seems to be no easy way to customize the colors, and googling only showed weird workarounds involving SIMBL and forcing the terminal to 32-Bit.
Is that still the case, or is there a way to change the colors in Snow Leopard's Terminal.app? My shell is zsh, not bash if that makes a difference.
Clarification: I'm referring to the ANSI Colors like Green, Red, Blue etc. By default, the Terminal looks like this:
These colors aren't that great, I want them look like this:
I have found a 64-Bit compatible SIMBL/TerminalColours plugin, but if I can avoid having to use SIMBL, that would be my goal. I know that there are alternative terminals like iTerm, but I want Terminal.app.
A: As of Mac OS X Lion 10.7, the sixteen ANSI colors are customizable in Terminal preferences.
Terminal > Preferences > Settings > [profile] > Text > ANSI Colors
When you point at one of the color controls it displays the ANSI color name and number for reference.
When you edit an ANSI color there's a button in the color panel for resetting the individual ANSI color back to its default:
A couple of tips about the Settings preference panel:
*
*As with most of the Settings, you can select more than one profile at a time (e.g., Shift- or Command-Click, or choose Edit > Select All) and change the colors for all of them at the same time.
*The Settings preference panel supports Undo (and Redo), so you can try out a change (or several changes) and revert changes you don't like.
A: Terminal.app has these colors hard-coded into it. Internal methods like +[NSColor(Terminal) vtRedColor] use hard-coded floating-point constants to set the colors.
As you noted, there are SIMBL plugins that can patch this but you've already noted their current limitations. SIMBL has been updated to support 64-bit applications, so you should contact the authors of the plugins to request that they rebuild them to support 64-bit. There's also another SIMBL plugin to consider.
The only other option for Terminal.app is to write a feature request at http://bugreport.apple.com and hope that somebody at Apple is enticed to add color customization to Terminal.app for Lion.
A: ANSI escape codes might do what you want. They're not as popular now as they were when everyone worked at a terminal over a modem, but they're still work in Terminal and iTerm and such ilk. I wouldn't be surprised to find that Terminal is using them behind the scenes to control its colors.
You might want to look at IBM's Prompt magic page. ANSI codes should allow you to customize the colors if you start with the Basic terminal profile.
Wikipedia has additional info at ANSI escape code.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5772",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Ports in the TimeCapsule
In a few days I'm going to buy my first Mac (an iMac) as well as a Time Capsule. Looking at the specs of that product, I've seen that it has a WAN port and 3 Ethernet Ports.
I suppose that the WAN port is to connect the TimeCapsule with the Internet. At home, I get Internet trough a Ethernet wire (it's not an ADSL connection).
My question is: will I be able to connect the Ethernet wire into the WAN port in order to share my Internet connection wirelessly over the house?
Thank you so much!!
A: Yes, that is the port you'll use. If you use one of the other ports, Internet access will sometimes work but the device will think it won't.
Use the WAN port for your apartment's inbound Internet (whether an Ethernet cable or from an ADSL or cable modem), and the other three ports for outbound to your local machines that aren't on wireless.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5773",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: MacBook will not turn on I have a MacBook pro and it won't turn on. Basically I press the power button and the White light at the front turns on. Then a few seconds later it just crashes and the White light goes off then the laptop turns back on but just seems to be stuck you can hear it and the White light stays on (not flashing like in sleep) and that's it. It just stays like that no screen or keyboard lights, nor the Apple logo. I have tried restarting it and tried holding all the key combinations that the apple site suggest, but still it doesn't work. I've tried it with the power cable plugged in and without.
It's a 2008 model 15".
I spent ages saving up for the laptop, and if you've eve had a problem with your mac you should know how worrying it is. So any help no matter how big all small would be very welcome. And I'll add a bounty for all my reputation if answers start appearing.
A: There is a problem with the NVIDIA graphics processors that can prevent the MacBook Pro for powering on. I have a 2008 15" MacBook Pro that had symptoms similar to what you are describing about a month ago. I took it to the Genius Bar and they determined that it was the NVIDIA chip causing it and replaced the logic board for free despite the fact that it was not under warranty and I didn't have AppleCare.
My recommendation is to take it in to the Genius Bar and have them check it out. I have found they have great support and have fixed problems out of warranty (such as this one) on more than one occasion. However, it looks like from the comments on another answer that you have done this already. It might be worth a shot trying again and take the support article with you to see if they change the diagnosis.
Or perhaps this answer might help someone else experiencing the same problem.
A: Run Apple Hardware Test. It sounds to me like a dead hard drive. That's relatively simple to fix. If you have backups, you'll be fine. See what the test says and let us know the results. We can advise over where to go for service / how to go about a DIY repair. If it is the disk (I'm 80% sure), it's quite easy to do yourself (and not too pricey). Exactly the same thing happened to me a year ago.
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5778",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: If I purchase an app for my iPhone can I download it for free on my iPad? If I purchase an app for my iPhone can I download it for free on my iPad?
A: Yes, the app will be available for both if compatible. However, note that:
*
*classic iPhone apps don't look very well on the iPad
*"plus" applications look well on both the iPad and the iPhone
*HD applications only work on the iPad
So basically:
*
*some vendors are nice and provide "plus" apps that look good on both platforms (e.g. Smurfs' village)
*some other vendors are not so nice and force you to buy both the iPhone and iPad version (e.g. Angry Birds)
A: Yes. Purchases are tied to your iTunes Account, not to the device.
A: iTunes purchases are tied to your account. The current policy (January 2011) is that you can download apps for free once you've downloaded them the first time. Music and movies do not have this courtesy.
That said, if you purchase an app with your iTunes account on your iPod, you can log into that account on your computer, iPhone, or iPad and download it again.
Good luck!
| {
"language": "en",
"url": "https://apple.stackexchange.com/questions/5784",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.