id
stringlengths 40
40
| text
stringlengths 29
2.03k
| original_text
stringlengths 3
154k
| subdomain
stringclasses 20
values | metadata
dict |
---|---|---|---|---|
49e9fec3cf734bfff6b458229974ff96329dcba9 | Apple Stackexchange
Q: Why does my OS X still run older php even though I updated it? I have just updated my system php in terminal via command line.
I deleted the export path in .bash_profile as it was pointing to mamp but for some reason my php still says 5.3 not 5.4 when I run php -v in terminal.
Does anyone know why this would happen. I have also closed terminal and reopened to see the change.
A: It seems as you did not add the new path to your $PATH.
Citing the FAQ of the website that you have posted:
Why does php -v on the command line still show my old version?
php-osx doesn't overwrite the php binaries installed by Apple, but installs everyting in /usr/local/php5. The new php binary is therefore in /usr/local/php5/bin/php.
You can also adjust your PATH do include that directory, eg. write into your ~/.profile file the following
export PATH=/usr/local/php5/bin:$PATH
So open you .profile or .bash_profile in a editor like nano or vim and add the last line export PATH=/usr/local/php5/bin:$PATH to the appropiate file.
Source your file with source ~/.bash_profile or source ~/.profile or close and reopen your terminal.
| Q: Why does my OS X still run older php even though I updated it? I have just updated my system php in terminal via command line.
I deleted the export path in .bash_profile as it was pointing to mamp but for some reason my php still says 5.3 not 5.4 when I run php -v in terminal.
Does anyone know why this would happen. I have also closed terminal and reopened to see the change.
A: It seems as you did not add the new path to your $PATH.
Citing the FAQ of the website that you have posted:
Why does php -v on the command line still show my old version?
php-osx doesn't overwrite the php binaries installed by Apple, but installs everyting in /usr/local/php5. The new php binary is therefore in /usr/local/php5/bin/php.
You can also adjust your PATH do include that directory, eg. write into your ~/.profile file the following
export PATH=/usr/local/php5/bin:$PATH
So open you .profile or .bash_profile in a editor like nano or vim and add the last line export PATH=/usr/local/php5/bin:$PATH to the appropiate file.
Source your file with source ~/.bash_profile or source ~/.profile or close and reopen your terminal.
| apple | {
"language": "en",
"length": 194,
"provenance": "stackexchange_00000.jsonl.gz:29889",
"question_score": "6",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107230"
} |
d13e2be9ad4a4914e40cbc4a9d37511d8e7c589f | Apple Stackexchange
Q: How to remove GrowlMail (on Mavericks)? I've installed Mavericks and started to us the Mail app from Apple again, but every time I start Mail I get the message:
Incompatible Plug-ins Disabled
Mail has disabled the following plug-ins:
Growlmail
I've tried disabling and removing it in the System Preferences under Growl but the message above keeps popping up when I start Mail.
How can I remove it?
A: Close Mail.app
Open a Terminal and enter chflags nohidden ~/Library.
Now you can navigate with your Finder to the following directories and delete the plugin GrowlMail.mailbundle:
*
*~/Library/Mail/Bundles/GrowlMail.mailbundle
*/Library/Mail/Bundles/GrowlMail.mailbundle
When starting Mail.app now, you shouldn't get any error messages related to GrowlMail.
| Q: How to remove GrowlMail (on Mavericks)? I've installed Mavericks and started to us the Mail app from Apple again, but every time I start Mail I get the message:
Incompatible Plug-ins Disabled
Mail has disabled the following plug-ins:
Growlmail
I've tried disabling and removing it in the System Preferences under Growl but the message above keeps popping up when I start Mail.
How can I remove it?
A: Close Mail.app
Open a Terminal and enter chflags nohidden ~/Library.
Now you can navigate with your Finder to the following directories and delete the plugin GrowlMail.mailbundle:
*
*~/Library/Mail/Bundles/GrowlMail.mailbundle
*/Library/Mail/Bundles/GrowlMail.mailbundle
When starting Mail.app now, you shouldn't get any error messages related to GrowlMail.
| apple | {
"language": "en",
"length": 111,
"provenance": "stackexchange_00000.jsonl.gz:29895",
"question_score": "3",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107239"
} |
855f2e188ef14c5471fa561c0afee8fb00145fe7 | Apple Stackexchange
Q: How to record/stream iPhone 4 screen with iOS 7? I have an iPhone 4 with iOS 7 and I want to record the screen from the device, or stream the screen of the device on my MacBook Pro and record it with QuickTime.
How can I do that?
I have AirServer, but it works only with iPhone 4s+! No jailbreak on my device.
A: Unfortunately the use of such software has a pre-requisite of AirPlay Mirroring, which is not supported by an iPhone 4 at any OS level, hence teh requirement for an iPhone 4s minimum. If you had a device that supports it, then it's pretty straightforward (take a look at this answer elswhere on AskDifferent) but with an iPhone 4, you are out of luck unless someone can suggest a way of enabling it with a Jailbreak hack.
| Q: How to record/stream iPhone 4 screen with iOS 7? I have an iPhone 4 with iOS 7 and I want to record the screen from the device, or stream the screen of the device on my MacBook Pro and record it with QuickTime.
How can I do that?
I have AirServer, but it works only with iPhone 4s+! No jailbreak on my device.
A: Unfortunately the use of such software has a pre-requisite of AirPlay Mirroring, which is not supported by an iPhone 4 at any OS level, hence teh requirement for an iPhone 4s minimum. If you had a device that supports it, then it's pretty straightforward (take a look at this answer elswhere on AskDifferent) but with an iPhone 4, you are out of luck unless someone can suggest a way of enabling it with a Jailbreak hack.
A: You could try reflector, it emulates apple tv so you get your iphone screen on your mac.
search Reflector on google.
| apple | {
"language": "en",
"length": 163,
"provenance": "stackexchange_00000.jsonl.gz:29900",
"question_score": "3",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107253"
} |
714863bc43f42eb0b7843c0fb5ffde978a63de3a | Apple Stackexchange
Q: Is there a 64-bit version of Google Chrome for Mavericks? Is there a 64-bit version of Google Chrome for OS X Mavericks?
I need to run NetBeans and it requires Java 7 Update 10 at least.
A: Since v39, Chrome is 64-bit.
At the time of writing, there is no 64-bit version of Google Chrome for Mac.
You should be able to run your Java content in Safari for now, since Safari is 64-bit and can run Java 7.
| Q: Is there a 64-bit version of Google Chrome for Mavericks? Is there a 64-bit version of Google Chrome for OS X Mavericks?
I need to run NetBeans and it requires Java 7 Update 10 at least.
A: Since v39, Chrome is 64-bit.
At the time of writing, there is no 64-bit version of Google Chrome for Mac.
You should be able to run your Java content in Safari for now, since Safari is 64-bit and can run Java 7.
A: Just to keep this thread up to date - Google Chrome is now 64-bit, since v39
https://www.google.com/chrome/browser/desktop/index.html
A: There is officially no 64-bit version of Google Chrome for Mac, neither is there a 64-bit Chromium version for Mac.
You can however, download an experimental build of 64-bit Chromium for Mac.
Alternatively you can download the source code and build your own version of 64-bit Chrome with the following command
build/gyp_chromium -Dtarget_arch=x64 -Dhost_arch=x64
Development Status
The Chromium Development team has been working on building 64-bit Google Chrome since August 2009. Consider starring this Chromium bug/feature request and contributing if you are able to Chromium Issue 18323
| apple | {
"language": "en",
"length": 186,
"provenance": "stackexchange_00000.jsonl.gz:29906",
"question_score": "12",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107279"
} |
969be3ae8bf914fae50e1b7083baa5883bdff20b | Apple Stackexchange
Q: How can I remove a VPN service when the remove button is disabled? I added a VPN config. Now I want to remove it, but the - button is gray and disabled.
I checked some answers from this Apple Support Communities thread:
In Terminal: networksetup -listallnetworkservices
In Terminal: networksetup -removenetworkservice networkservice
In Terminal: networksetup -listallnetworkservices
…but I cannot remove all.
How can I fix this issue?
A: Some VPN interfaces must be removed from the VPN Profiles system preference, instead of the Network Interface system preference:
System Preference > Profiles > Select VPN profile > Remove.
| Q: How can I remove a VPN service when the remove button is disabled? I added a VPN config. Now I want to remove it, but the - button is gray and disabled.
I checked some answers from this Apple Support Communities thread:
In Terminal: networksetup -listallnetworkservices
In Terminal: networksetup -removenetworkservice networkservice
In Terminal: networksetup -listallnetworkservices
…but I cannot remove all.
How can I fix this issue?
A: Some VPN interfaces must be removed from the VPN Profiles system preference, instead of the Network Interface system preference:
System Preference > Profiles > Select VPN profile > Remove.
A: You can manually delete the service by removing it from the relevant preferences file.
Make sure System Preferences and any other software that may attempt to switch network locations is quit before beginning.
*
*Make a backup of the preferences file.
cd /Library/Preferences/SystemConfiguration
sudo cp preferences.plist preferences.plist.old
*Give yourself permission to the preference file.
sudo chown $USER preferences.plist
sudo chmod u+w preferences.plist
*Open the preference file. I will use Xcode to open the file.
open preferences.plist
*Use ⌘F to open Find, and search for the name of your VPN service.
*The name of your VPN should be shown in a UserDefinedName key.
*Select the ID of the network service above the search result.
In this case, I would select the one beginning CD2362…
*Use ⌫ backspace to delete the entire dictionary. Make sure that the only data that is deleted is this dictionary and its contents, not any of the other dictionaries.
*Save the file and reboot.
A: In macOS X Sierra after coming across https://discussions.apple.com/thread/3828655?tstart=0 I was able to delete a VPN item that had a greyed out "-" button, even thought I had deleted the "Profile" it was associated with. I did so by the following commands:
1: In terminal, networksetup -listallnetworkservices gives a list of the names of the services.
2: In terminal, networksetup -removenetworkservice "name of service in quotes" will remove the desired service - the quotes are needed to take care of spaces and other fancy characters - they could be escaped with backslashes (\) instead. This might be the bit that messed up the original author.
3: In terminal networksetup -listallnetworkservices gives a list of the names of the services, hopefully showing that the undesired one is now gone.
A: networksetup -removenetworkservice networkservice
SHOULD be "networkservice"
The networkservice was the name of the VPN.
For the last one, If you cannot remove the network configuration because you get an error saying it is the only network service on ipv4, click the plus button to add another network configuration, and add one that would be on ipv4 such as 6 to 4, you can then use the terminal command to delete the configuration you were attempting to delete before, and remove the 6 to 4 using the minus button.
See: https://www.jamf.com/jamf-nation/discussions/19838/can-t-remove-vpn-network-service-created-by-configuration-profile
A: Prior to Monterey the command was networksetup, which in Monterey became networkservices.
You need sudo to delete profiles of another user.
Also bear in mind that profiles installed unter another user are not visible in System Preferences.
| apple | {
"language": "en",
"length": 512,
"provenance": "stackexchange_00000.jsonl.gz:29910",
"question_score": "7",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107284"
} |
85f18e94ed97ca96ba9308a39d280583852da07d | Apple Stackexchange
Q: Keyboard shortcut to select Application "quit unexpectedly" dialog When encountering an application "quit unexpectedly" dialog box in OS X, sometimes the focus on that dialog box is lost. With only a keyboard, how does one restore focus back to that window? cmd+tab and similar do not work.
(I've wondered this for YEARS. Any help is greatly appreciated.)
A: Those windows are shown by the UserNotificationCenter process, so you can focus them by opening UserNotificationCenter with Alfred or Launchbar.
It is also possible to disable the crash report dialogs completely:
defaults write com.apple.CrashReporter DialogType none
This script can also be used to focus other windows shown by background processes:
tell application "System Events"
repeat with p in {"UserNotificationCenter", "SecurityAgent", "CoreServicesUIAgent"}
if exists process p then
tell process p
if windows is not {} then
set frontmost to true
exit repeat
end if
end tell
end if
end repeat
end tell
SecurityAgent shows password dialogs and CoreServicesUIAgent shows Gatekeeper and quarantine dialogs.
| Q: Keyboard shortcut to select Application "quit unexpectedly" dialog When encountering an application "quit unexpectedly" dialog box in OS X, sometimes the focus on that dialog box is lost. With only a keyboard, how does one restore focus back to that window? cmd+tab and similar do not work.
(I've wondered this for YEARS. Any help is greatly appreciated.)
A: Those windows are shown by the UserNotificationCenter process, so you can focus them by opening UserNotificationCenter with Alfred or Launchbar.
It is also possible to disable the crash report dialogs completely:
defaults write com.apple.CrashReporter DialogType none
This script can also be used to focus other windows shown by background processes:
tell application "System Events"
repeat with p in {"UserNotificationCenter", "SecurityAgent", "CoreServicesUIAgent"}
if exists process p then
tell process p
if windows is not {} then
set frontmost to true
exit repeat
end if
end tell
end if
end repeat
end tell
SecurityAgent shows password dialogs and CoreServicesUIAgent shows Gatekeeper and quarantine dialogs.
A: You can use Voiceover to activate it - it's not exactly convenient, and binding a hotkey to an applescript is probably better, but this method works without any scripts or third-party tools. Voiceover needs to be enabled for this to work, but you can do that through the keyboard too if you're stuck. Once enabled, the following sequence allows you to activate system dialogs:
*
*switch voiceover on with cmd+F5
*open Application Chooser by typing ctrl+option+F1 twice
*navigate to System Dialogs using the arrow keys and press return (or the right arrow)
*press the down arrow to select the dialog in question and hit return
*switch voiceover off again with cmd+F5
A: This dialog not only loses the focus easily. The dialog itself easily ends up buried under all the other windows !
Here is a way to find this dialog :
*
*Press the key Exposé or F9. Exposé will show you all the windows, including the wanted dialog.
*Look for the yellow dialog.
*In Exposé, click the wanted dialog. If you prefer not to click, I think that this variant works too : putting the mouse over the dialog and then pressing Space or Return or Enter, or even just waiting for some time.
To navigate in Exposé with the keyboard, maybe the arrows or Tab work. If they do not work, try with full keyboard access enabled in the System Prefs.
| apple | {
"language": "en",
"length": 396,
"provenance": "stackexchange_00000.jsonl.gz:29911",
"question_score": "4",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107287"
} |
52a368065aa491a3183deea25e6bab64cbfcacf7 | Apple Stackexchange
Q: Adding Apps to "Security & Privacy" Settings (Automatically) I am looking for a way to automatically add applications to the "Location Services" and "Accessibility" (Mavericks only) lists in the "Security & Privacy" settings pane.
Optimally I could just change some file (eg plist) to add applications to these lists. If that's not possible, there's maybe some terminal and/or AppleScript way to achieve that?
A: Just found it. The settings are in one of these two files:
*
*System-wide settings: /Library/Application Support/com.apple.TCC/TCC.db
*Per user settings: ~/Library/Application Support/com.apple.TCC/TCC.db
They are SQLite databases of the following form:
sqlite> .schema access
CREATE TABLE access (service TEXT NOT NULL, client TEXT NOT NULL, client_type INTEGER NOT NULL, allowed INTEGER NOT NULL, prompt_count INTEGER NOT NULL, CONSTRAINT key PRIMARY KEY (service, client, client_type));
Example (MS Office and Address Book setting):
sqlite> select * from access;
kTCCServiceAddressBook|com.microsoft.Word|0|1|0
kTCCServiceAddressBook|com.microsoft.Excel|0|1|0
kTCCServiceAddressBook|com.microsoft.Powerpoint|0|1|0
For other services, just pick the correct service name (such as kTCCServiceAccessibility) and the application bundle ID and add it to the appropriate database.
| Q: Adding Apps to "Security & Privacy" Settings (Automatically) I am looking for a way to automatically add applications to the "Location Services" and "Accessibility" (Mavericks only) lists in the "Security & Privacy" settings pane.
Optimally I could just change some file (eg plist) to add applications to these lists. If that's not possible, there's maybe some terminal and/or AppleScript way to achieve that?
A: Just found it. The settings are in one of these two files:
*
*System-wide settings: /Library/Application Support/com.apple.TCC/TCC.db
*Per user settings: ~/Library/Application Support/com.apple.TCC/TCC.db
They are SQLite databases of the following form:
sqlite> .schema access
CREATE TABLE access (service TEXT NOT NULL, client TEXT NOT NULL, client_type INTEGER NOT NULL, allowed INTEGER NOT NULL, prompt_count INTEGER NOT NULL, CONSTRAINT key PRIMARY KEY (service, client, client_type));
Example (MS Office and Address Book setting):
sqlite> select * from access;
kTCCServiceAddressBook|com.microsoft.Word|0|1|0
kTCCServiceAddressBook|com.microsoft.Excel|0|1|0
kTCCServiceAddressBook|com.microsoft.Powerpoint|0|1|0
For other services, just pick the correct service name (such as kTCCServiceAccessibility) and the application bundle ID and add it to the appropriate database.
| apple | {
"language": "en",
"length": 167,
"provenance": "stackexchange_00000.jsonl.gz:29912",
"question_score": "4",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107292"
} |
df839e7013e6faf0fedc70665e52a693c91a9bec | Apple Stackexchange
Q: How can I play a midi file from terminal? I'm looking for a most simple command line app (or an on-board tool on Mavericks I am not aware of) to play a midi file from the terminal. As plain as possible, something like play myfile.mid.
Context: I'm playing around with midi in Python and I need something I can launch from a script. No GUI, no windows, just playback. It must be callable from the Python script to be accepted, but anything that works in terminal should be.
A: You can use VLC with a non-interactive CLI interface with -I dummy:
/Applications/VLC.app/Contents/MacOS/VLC -I dummy file.mid vlc://quit
To enable midi support, go to Preferences > Show All > Input / Codecs > Audio codecs > Fluid Synth and set the soundfont to a file like the FluidSynth soundfont from http://www.schristiancollins.com/generaluser.php.
Edit: midi support was removed from recent version of VLC. You can still use fluidsynth from the shell as described by TJ Luoma:
brew install fluidsynth
wget http://www.schristiancollins.com/soundfonts/GeneralUser_GS_1.44-FluidSynth.zip
unzip GeneralUser_GS_1.44-FluidSynth.zip
mkdir -p /usr/local/share/fluidsynth
mv GeneralUser\ GS\ 1.44\ FluidSynth/GeneralUser\ GS\ FluidSynth\ v1.44.sf2 /usr/local/share/fluidsynth
fluidsynth -i /usr/local/share/fluidsynth/GeneralUser\ GS\ FluidSynth\ v1.44.sf2 file.mid
| Q: How can I play a midi file from terminal? I'm looking for a most simple command line app (or an on-board tool on Mavericks I am not aware of) to play a midi file from the terminal. As plain as possible, something like play myfile.mid.
Context: I'm playing around with midi in Python and I need something I can launch from a script. No GUI, no windows, just playback. It must be callable from the Python script to be accepted, but anything that works in terminal should be.
A: You can use VLC with a non-interactive CLI interface with -I dummy:
/Applications/VLC.app/Contents/MacOS/VLC -I dummy file.mid vlc://quit
To enable midi support, go to Preferences > Show All > Input / Codecs > Audio codecs > Fluid Synth and set the soundfont to a file like the FluidSynth soundfont from http://www.schristiancollins.com/generaluser.php.
Edit: midi support was removed from recent version of VLC. You can still use fluidsynth from the shell as described by TJ Luoma:
brew install fluidsynth
wget http://www.schristiancollins.com/soundfonts/GeneralUser_GS_1.44-FluidSynth.zip
unzip GeneralUser_GS_1.44-FluidSynth.zip
mkdir -p /usr/local/share/fluidsynth
mv GeneralUser\ GS\ 1.44\ FluidSynth/GeneralUser\ GS\ FluidSynth\ v1.44.sf2 /usr/local/share/fluidsynth
fluidsynth -i /usr/local/share/fluidsynth/GeneralUser\ GS\ FluidSynth\ v1.44.sf2 file.mid
A: This worked for me:
$ brew install timidity
$ timidity file.midi
A: This turned out to be a more complicated problem than I originally expected.
QuickTime X cannot play MIDI files, although QuickTime 7 could.
As far as I can tell that means that there is no "built-in" solution to playing MIDI files on Mac OS X (for example, afplay does not work). Therefore I believe that any solution will involve downloading and installing some other program.
Option #1: Download and install QuickTime 7 which still works fine on Mavericks, and then you can play midi files by:
open -a QuickTime\ Player\ 7 /path/to/your/file.mid
however that will only autoplay if the user has enabled that preference, which I believe is off by default.
Option #2: Use FluidSynth
To install it, you have to be using either Fink, MacPorts, or (my recommendation) Homebrew. Once Homebrew is installed, type this in Terminal:
brew install fluidsynth
(MacPorts' command would be sudo port install fluidsynth and Fink's would be fink install fluidsynth.)
However, downloading fluidsynth only gets you part-way there. Then you need a "SoundFont" file, which I had never heard of before. There is information about them here
I downloaded one from S. Christian Collins called "GeneralUser" which is free. The current version (as of 2013-11-27) is FluidSynth version 1.44. {If that direct link breaks in the future, use the previous link which will take you to the regular web page for GeneralUser.}
Once you have downloaded and unzipped that, you will have a series of files including "GeneralUser GS FluidSynth v1.44.sf2" (obviously the name may change in the future). I renamed that file and moved it to /usr/local/share/fluidsynth/generaluser.v.1.44.sf2.
Once the SoundFont file is place and fluidsynth is installed, you can play a midi by using this command:
fluidsynth -i /usr/local/share/fluidsynth/generaluser.v.1.44.sf2 ~/Music/example.mid
n.b. There are some (seemingly harmless) error messages which get displayed when you do that. If you want to suppress them use:
(fluidsynth -i /usr/local/share/fluidsynth/generaluser.v.1.44.sf2 ~/Music/example.mid 2>&1) >/dev/null
instead.
Obviously I'm never going to remember all of that, so I made a zsh function called playmidi
function playmidi {
SOUNDFONT='/usr/local/share/fluidsynth/generaluser.v.1.44.sf2'
if [ -e "$SOUNDFONT" ]
then
for i in "$@"
do
if [ -e "$i" ]
then
(fluidsynth -i "$SOUNDFONT" "$i" 2>&1) >/dev/null
else
echo "[playmidi]: cannot find file at $i"
return 1
fi
done
else
echo "[playmidi]: SOUNDFONT file not found at $SOUNDFONT"
return 1
fi
}
(That should work for bash too I believe.)
Now all I have to do is type:
playmidi example.mid
and example.mid will play.
A: According to this post on VLC's own forums Felix Paul Kuehne, the site admin, said
Hello, apparently, FluidSynth got lost in the compilation process for the last update. Be assured that it will be back in 2.1.2 very soon!
So for now either downgrade to vlc 2.0.9, or wait for vlc 2.1.2. This way, your existing solution will work as it used to.
A: Not exactly the answer but there is a small app that can send midi data on the Mac OS X command line. It can also control basic GarageBand functions as well:
http://www.bibiko.de/music/MIDImyAPP/
A: To make things more convenient, you can wrap up TJ Luoma's answer in an AppleScript app:
on open inputFile
tell application "Terminal"
do script "fluidsynth -i /usr/local/share/fluidsynth/generaluser.v.1.44.sf2 " & (quoted form of POSIX path of inputFile as string)
activate
end tell
end open
You can then select Get Info on a random .mid file, change "Open with:" to the AppleScript app, and press "Change All..." to make it the default way of opening .mid files. Now when you double-click on a MIDI file, it'll open up the Terminal window and play it automatically.
A: The following python3 script will use macOS's CoreMIDI to play any MIDI files supplied as arguments on the command line.
#!/usr/bin/env python3
from AVFoundation import AVMIDIPlayer
from Foundation import NSURL
import time
import sys
def myCompletionHandler():
return
def playMIDIFile(filepath):
midiFile = NSURL.fileURLWithPath_(filepath)
midiPlayer, error = AVMIDIPlayer.alloc().initWithContentsOfURL_soundBankURL_error_(midiFile, None, None)
if error:
print (error)
sys.exit(1)
MIDItime = midiPlayer.duration()
midiPlayer.prepareToPlay()
midiPlayer.play_(myCompletionHandler)
if not midiPlayer.isPlaying:
midiPlayer.stop()
else:
time.sleep(MIDItime)
return
if __name__ == "__main__":
for filename in sys.argv[1:]:
playMIDIFile(filename)
Here's a Swift script which will also play MIDI files given as arguments. You can run the uncompiled script (though it's slower than python!), or compile it to make a command line tool.
#!/usr/bin/swift
import AVFoundation
func playMIDIFile(filepath: String) {
let midiFile = NSURL.fileURL(withPath: filepath)
var midiPlayer: AVMIDIPlayer?
do {
try midiPlayer = AVMIDIPlayer.init(contentsOf: midiFile as URL, soundBankURL: nil)
if let time = midiPlayer?.duration {
let hours = Int(floor(time / 3600))
let minutes = Int(floor(time / 60))
let seconds = Int((time)) % 60
let timeString = String(format: "%02d:%02d:%02d", hours, minutes, seconds)
print("\(filepath) : \(timeString)")
}
midiPlayer?.prepareToPlay()
midiPlayer?.play({return})
while midiPlayer!.isPlaying {
usleep(10000)
}
} catch {
print("could not create MIDI player")
}
}
// "main"
if CommandLine.argc > 1 {
for (index, args) in CommandLine.arguments.enumerated() {
if index > 0 {
// Check that args is MIDI file here.
let fileType = (args as NSString).pathExtension
if (fileType == "mid" || fileType == "midi" || fileType == "smf") {
playMIDIFile(filepath: args)
}
}
}
} else {
// For CLI use:
print("MIDI files required as arguments")
}
| apple | {
"language": "en",
"length": 1050,
"provenance": "stackexchange_00000.jsonl.gz:29913",
"question_score": "33",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107297"
} |
96fadefa5bf87a0fbb7633390d96f45b883e5f2d | Apple Stackexchange
Q: Is it possible to crop multiple pages in Mavericks Preview.app? Is it possible to crop multiple pages or image files in the new Mavericks Preview application just as described in this answer?
The functionality was there with Snow Leopard but disappeared in Mountain Lion.
A: This is only possible when editing a pdf. It isn't possible to apply a single crop to many images that are in separate files. In order to do this, one way would be to
*
*Combine the images into a single pdf
*
*Open all of them in a single window.
*Use "Print" then "Save as pdf."
*Use the technique described in the other answer to crop all pages of the resultant pdf.
*Split the images back out into separate files using a variety of techniques, such as Automator's "Render PDF Pages as Images" function, or on the command line using ImageMagick as described here.
Note: if you're willing to use the command line, you might just want to use ImageMagick directly to crop all of the images.
| Q: Is it possible to crop multiple pages in Mavericks Preview.app? Is it possible to crop multiple pages or image files in the new Mavericks Preview application just as described in this answer?
The functionality was there with Snow Leopard but disappeared in Mountain Lion.
A: This is only possible when editing a pdf. It isn't possible to apply a single crop to many images that are in separate files. In order to do this, one way would be to
*
*Combine the images into a single pdf
*
*Open all of them in a single window.
*Use "Print" then "Save as pdf."
*Use the technique described in the other answer to crop all pages of the resultant pdf.
*Split the images back out into separate files using a variety of techniques, such as Automator's "Render PDF Pages as Images" function, or on the command line using ImageMagick as described here.
Note: if you're willing to use the command line, you might just want to use ImageMagick directly to crop all of the images.
A: Yes.
*
*Open a PDF.
*If not already enabled, View → Thumbnails.
*Select some pages (click first then select all; command+click or shift+click)
*Use the rectangle tool to select region on page. (On versions of OS X prior to 10.9, you should see a preview of the selection on other pages too).
*Select Tools → Crop (or Command+K). All your selected pages should be cropped.
*Save or Save As.
| apple | {
"language": "en",
"length": 244,
"provenance": "stackexchange_00000.jsonl.gz:29915",
"question_score": "12",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107301"
} |
352bc80c89d1095283b0dd732227827cf4bf3394 | Apple Stackexchange
Q: Mount Shared Drive via AFP in Terminal I want to mount an external drive, connected on computer A, to computer B.
I am able to access and mount the drive by connecting to the server through Finder (Command-K), but how can I do this exact action through the terminal? I've been using several formats of mount and mount_afp but nothing seems to work. Something along the lines of:
mount_afp -i afp://user:pass@ipaddress/Volumes/SharedDrive /Volumes/Shared
In Finder, I just type the IP of the Mac connected to the drive, input credentials, and mount the selected drive...but it's not working by simply entering the afp://ipaddress, just like the 'Connect Server' command through Finder, in the terminal.
How do I do the same connection with a bash command? The end result will be the mounted drive on B.
A: Try:
sudo mount -t afp afp://user:pass@ipaddress/user /Volumes/Shared
| Q: Mount Shared Drive via AFP in Terminal I want to mount an external drive, connected on computer A, to computer B.
I am able to access and mount the drive by connecting to the server through Finder (Command-K), but how can I do this exact action through the terminal? I've been using several formats of mount and mount_afp but nothing seems to work. Something along the lines of:
mount_afp -i afp://user:pass@ipaddress/Volumes/SharedDrive /Volumes/Shared
In Finder, I just type the IP of the Mac connected to the drive, input credentials, and mount the selected drive...but it's not working by simply entering the afp://ipaddress, just like the 'Connect Server' command through Finder, in the terminal.
How do I do the same connection with a bash command? The end result will be the mounted drive on B.
A: Try:
sudo mount -t afp afp://user:pass@ipaddress/user /Volumes/Shared
A: A couple of things you need to be aware of.
First - the AFP URL needs to contain the name of the share - not it's location on the server. Second, the mount point must be an empty directory that you have write permission to. So your commands might be :-
sudo mkdir /Volumes/mount
sudo mount -t afp afp://user:pass@ipaddress/SharedDrive /Volumes/mount
A: After some trial and error, I believe I've found a technique that works. First, the mount point must be created with the current user having permission to it:
$ NAME=(name of remote volume)
$ HOST=(hostname of server)
$ MOUNT=/Volumes/$NAME
$ sudo mkdir $MOUNT; sudo chown $USER $MOUNT
Then, without sudo, create the mount point using afp_mount:
$ mount_afp -o quarantine afp://$USER@$HOST._afpovertcp._tcp.local/$NAME $MOUNT
In my experience, this created the mount with properties identical to those created by the UI and did not require passing a password (so was able to re-use credentials already saved in the session).
Since I use the xonsh shell, I wrote this routine for my profile script to automate this step:
def connect_share(name, host='myserver'):
username = $USER
mount = f'/Volumes/{name}'
sudo mkdir @(mount)
sudo chown $USER @(mount)
url = f'afp://{username}@{host}._afpovertcp._tcp.local/{name}'
mount_afp -o quarantine @(url) @(mount)
A: See https://apple.stackexchange.com/a/171822/154516 and comments for:
open smb://<user>:<password>@server/<Volume>
| apple | {
"language": "en",
"length": 350,
"provenance": "stackexchange_00000.jsonl.gz:29918",
"question_score": "17",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107308"
} |
cc13a45fc5e04472dceed9854ddfa1b317539337 | Apple Stackexchange
Q: PostgreSQL causing slow shutdowns with OS X Server in Mavericks I've found that on OS X Server in Mavericks, the PostgreSQL processes are causing shutdown delays. During a verbose shutdown, I get the following (shortened) output:
com.apple.launchd System: Still alive with 1/7 (normal/anonymous) children.
*.anonymous.pg_receivexlog PID is still valid
*.anonymous.postgres_real PID is still valid
*.anonymous.postgres_real PID is still valid
*.anonymous.Python PID is still valid
*.anonymous.pg_receivexlog PID is still valid
*.anonymous.postgres_real PID is still valid
com.apple.DeviceManagement.postgres PID is still valid
The (*) is replaced by a random string, different for each item.
I have no experience with PostgreSQL and I don't use any of the database-related OS X Server components (mainly Xcode and VPN) so I have no idea where to start.
A: The com.apple.DeviceManagement.postgres line makes me think that this could be related to Profile Manager services. Does it show Profile Manager running in Server.app? If you're not utilizing this service, disabling it may help to stop the shutdown delays.
Alternately, if you need to keep these services running, it may be worth looking at some log files somewhere (/var/log/system.log or /var/log/devicemgr/*?) to see if the profile manager service (or any others) are complaining.
| Q: PostgreSQL causing slow shutdowns with OS X Server in Mavericks I've found that on OS X Server in Mavericks, the PostgreSQL processes are causing shutdown delays. During a verbose shutdown, I get the following (shortened) output:
com.apple.launchd System: Still alive with 1/7 (normal/anonymous) children.
*.anonymous.pg_receivexlog PID is still valid
*.anonymous.postgres_real PID is still valid
*.anonymous.postgres_real PID is still valid
*.anonymous.Python PID is still valid
*.anonymous.pg_receivexlog PID is still valid
*.anonymous.postgres_real PID is still valid
com.apple.DeviceManagement.postgres PID is still valid
The (*) is replaced by a random string, different for each item.
I have no experience with PostgreSQL and I don't use any of the database-related OS X Server components (mainly Xcode and VPN) so I have no idea where to start.
A: The com.apple.DeviceManagement.postgres line makes me think that this could be related to Profile Manager services. Does it show Profile Manager running in Server.app? If you're not utilizing this service, disabling it may help to stop the shutdown delays.
Alternately, if you need to keep these services running, it may be worth looking at some log files somewhere (/var/log/system.log or /var/log/devicemgr/*?) to see if the profile manager service (or any others) are complaining.
A: Any number of services on OS X Server use Postgres. On my server, for example, the Wiki uses it.
While the server is still running try ps ax | grep postgres | less and you will probably see a number of processes, the first ones will almost certainly be some scripts that start Postgres and these should tell you where the logs are located - it will say something like -c log_directory=/Library/Server/Wiki/Logs You might also want to look at /Applications/Server.app/Contents/ServerRoot/usr/bin/xpostgres which is the Python script that should be used to start Postgres by server services.
This will start you down the road to discovering your problem.
| apple | {
"language": "en",
"length": 302,
"provenance": "stackexchange_00000.jsonl.gz:29919",
"question_score": "4",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107309"
} |
26ac9b0cb314515d19fc7a18599a37504efbbf3a | Apple Stackexchange
Q: Core Apps Not Launching After Installing OS X Mavericks I Installed OS X Mavericks about a week ago, It worked fine at first but all of a sudden no core Apps will load.
Mail, iCal, App Store, Maps, iMessage all quit and log a console message "Exited with Code 1"
I have tried: rebooting, resetting the NVRAM, and booting my OS in safe mode. None fix the problem.
I really don't know how to fix this without doing a clean install and wonder if anyone has a solution to this more narrow than reinstalling the OS cleanly?
A: I managed to fix the issue by reinstalling OS X Mavericks
Here's how to fix it
*
*Restart your machine
*On boot hold Command and R
*Choose to Reinstall OS X
System will restart as usual after install and OS X will be fully functional
You will NOT lose any settings or personal data with this method
:)
| Q: Core Apps Not Launching After Installing OS X Mavericks I Installed OS X Mavericks about a week ago, It worked fine at first but all of a sudden no core Apps will load.
Mail, iCal, App Store, Maps, iMessage all quit and log a console message "Exited with Code 1"
I have tried: rebooting, resetting the NVRAM, and booting my OS in safe mode. None fix the problem.
I really don't know how to fix this without doing a clean install and wonder if anyone has a solution to this more narrow than reinstalling the OS cleanly?
A: I managed to fix the issue by reinstalling OS X Mavericks
Here's how to fix it
*
*Restart your machine
*On boot hold Command and R
*Choose to Reinstall OS X
System will restart as usual after install and OS X will be fully functional
You will NOT lose any settings or personal data with this method
:)
A: Take a look hear to see if this solution helps you.
https://discussions.apple.com/thread/3826648
| apple | {
"language": "en",
"length": 170,
"provenance": "stackexchange_00000.jsonl.gz:29921",
"question_score": "3",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107321"
} |
0d32a3391231adce1e6b4a7c98c0300c93b4b376 | Apple Stackexchange
Q: Is installing Mavericks on Hackintosh legal? As we all know Mac OS X Mavericks is now free of charge officially! Does this mean that it is now legal to use Mavericks on non-Apple hardware?
A: Who said it was free of charge?
Upgrades to Mavericks are free to people who have paid for a qualifying version of OS X, typically by buying a Mac and perhaps any subsequent OS X upgrades.
| Q: Is installing Mavericks on Hackintosh legal? As we all know Mac OS X Mavericks is now free of charge officially! Does this mean that it is now legal to use Mavericks on non-Apple hardware?
A: Who said it was free of charge?
Upgrades to Mavericks are free to people who have paid for a qualifying version of OS X, typically by buying a Mac and perhaps any subsequent OS X upgrades.
A: The license to run OS X hasn't changed significantly with Mavericks so if you were to run it on non-Apple hardware, you would be without a license according to most people that I've discussed this with.
Legal gets more complicated as it depends heavily upon details about where you live, how you obtained the software, the laws in effect at the time someone decides to test legality and most importantly, the previous case law and perhaps the opinions/feelings/reasoning of the judge or judges that rule on one specific narrow case.
Legal also could depend heavily upon what you did with the product. For instance, copying a painting for your personal pleasure and private display might not be as illegal as copying a painting to sell it for money or even if you gave it away, if you deprived the person who made the painting of their use and ability to control / sell their work, your use of their property could be legally problematic for you.
Here are some things we know:
*
*Apple does not sell mavericks as a product. It accompanies current hardware purchases with a very limiting license clearly intending to prevent what you ask unless you live somewhere where that license is illegal.
*Upgrade pricing to people that own a previous version of OS X doesn't involve money changing hands, but is also tied to the Mac App Store licensing process and terms. It also presumes you have a legitimate license to an older version of OS X.
A: *
*It is not in accordance with Apple's license to run OS X on a non-Apple hardware as per Apple's license agreement for OS X Mavericks. Since this question is not about a preinstalled version of OS X (which is only on new Macs), the Mac App Store License section is applicable, along with the Other Use Restrictions section that is common for both kinds of installations. The license agreement states (emphasis mine):
2. Permitted License Uses and Restrictions.
B. Mac App Store License. If you obtained a license for the Apple Software from the Mac App Store, then subject to the terms and conditions of this License and as permitted by the Mac App Store Usage Rules set forth in the App Store Terms and Conditions (http://www.apple.com/legal/itunes/ww/) (“Usage Rules”), you are granted a limited, non-transferable, non-exclusive license:
(i) to download, install, use and run for personal, non-commercial use, one (1) copy of the Apple Software directly on each Apple-branded computer running OS X Mountain Lion, OS X Lion or OS X Snow Leopard (“Mac Computer”) that you own or control;
...
H. Other Use Restrictions. The grants set forth in this License do not permit you to, and you agree not to, install, use or run the Apple Software on any non-Apple-branded computer, or to enable others to do so.
See the SOFTWARE LICENSE AGREEMENT FOR OS X MAVERICKS PDF for more details. You can also get to this agreement by going to the Software License Agreements page, then navigating to Operating System Software Tools and Server, and choosing OS X (Mavericks).
*As an additional point, even though OS X Mavericks is free for Apple Mac users, it's only because Apple has changed how it accrues revenue from Mac hardware sales by adopting the subscription model (which has been in use for iOS devices for longer), wherein Apple defers accruing a portion of the revenue from Mac sales for providing software updates in the future (including free apps and such). Apple has defined this deferral as two years for iOS devices and four years for Macs. This is the only way for Apple to adhere to accounting laws in the U.S. Searching for "apple subscription accounting" on the web would yield many results on this topic.
Whether using Apple's software in violation of Apple's license is illegal is a question with potentially different answers in different legal jurisdictions.
A: Yes, It is legal.
Apple's EULA says not, but their license agreement is in violation of the Sherman Anti-trust act, voiding their end-user agreement (in reference to the DMCA). Nothing is at loss for Apple. Go ahead and install the software.
| apple | {
"language": "en",
"length": 767,
"provenance": "stackexchange_00000.jsonl.gz:29923",
"question_score": "11",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107324"
} |
1051af51baa1095704b35e0078b8f8862c1cd5e9 | Apple Stackexchange
Q: How can I install iOS 7 on my 4th gen iPod touch? Is it possible to get iOS 7 for the 4th generation iPod touch?
I tried to look it up online but I couldn't find it.
A: No, iOS 7 is not compatible with the 4th generation iPod touch.
| Q: How can I install iOS 7 on my 4th gen iPod touch? Is it possible to get iOS 7 for the 4th generation iPod touch?
I tried to look it up online but I couldn't find it.
A: No, iOS 7 is not compatible with the 4th generation iPod touch.
| apple | {
"language": "en",
"length": 51,
"provenance": "stackexchange_00000.jsonl.gz:29926",
"question_score": "3",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107339"
} |
38d0d67ea40f56f2981af13d7db2c4e081171667 | Apple Stackexchange
Q: Can I use a Thunderbolt cable to connect an iPad to a MacBook Air as second display? Is it possible to use a Thunderbolt to Thunderbolt cable to connect a new-generation iPad with a new-generation MacBook Air so that the iPad can be used as a 2nd monitor?
A: No, the iPad doesn't have thunderbolt, nor the capacity to function as a screen for another device by any cable.
You could use your iPad as an external display over the network though (remember your Macbook can create a network if you don't have one), there are quite a few apps that do this,
| Q: Can I use a Thunderbolt cable to connect an iPad to a MacBook Air as second display? Is it possible to use a Thunderbolt to Thunderbolt cable to connect a new-generation iPad with a new-generation MacBook Air so that the iPad can be used as a 2nd monitor?
A: No, the iPad doesn't have thunderbolt, nor the capacity to function as a screen for another device by any cable.
You could use your iPad as an external display over the network though (remember your Macbook can create a network if you don't have one), there are quite a few apps that do this,
A: The app Duet Display allows you to use any iOS device as an external display and your Mac is running at least OS 10.9. The connection happens entirely over the 30-pin or Lightning cable which might make it lag less than a wifi solution. It's available on the app store.
| apple | {
"language": "en",
"length": 155,
"provenance": "stackexchange_00000.jsonl.gz:29929",
"question_score": "3",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107354"
} |
3b50f8422530255be4dca00a0c8a6ce1f5875f4a | Apple Stackexchange
Q: Safari 7.0 Very Slow since move to Mavericks? Since Upgrading to Mavericks Safari 7.0 is extremely slow. Pages are slow to load, and there is a district Lag when typing into an internet page, you end up typing on the keyboard well ahead of whats actually appearing on the screen?
I use highlight and drag and copy paste within a web browser for work and this has become almost impossible to do without getting extremely frustrated in its low response time?
Has anyone else experienced this? Is there a simple solution with reference to a plug-in or feature after upgrade?
After getting to really like Safari I am looking at moving to Firefox or Chrome after this update has rendered it useless and frustrating!
A: This seems to have helped me a lot. Its still too early to say for sure, but initial results are very promising. Just to be clear what I did, I have attached a screen grab...
| Q: Safari 7.0 Very Slow since move to Mavericks? Since Upgrading to Mavericks Safari 7.0 is extremely slow. Pages are slow to load, and there is a district Lag when typing into an internet page, you end up typing on the keyboard well ahead of whats actually appearing on the screen?
I use highlight and drag and copy paste within a web browser for work and this has become almost impossible to do without getting extremely frustrated in its low response time?
Has anyone else experienced this? Is there a simple solution with reference to a plug-in or feature after upgrade?
After getting to really like Safari I am looking at moving to Firefox or Chrome after this update has rendered it useless and frustrating!
A: This seems to have helped me a lot. Its still too early to say for sure, but initial results are very promising. Just to be clear what I did, I have attached a screen grab...
A: Also, try to clean all sites' data in Safari's settings (web & Flash caches, cookies (maybe)), and restart it. There is "Reset Safari" option, also. Tough, I've never been use it.
A: Several users are reporting this in Mavericks’ Safari.
Some “feature” like “Fast Start” may be at play. You can disable it.
You may cut the network — unplug the Ethernet cable, or turn off AirPort. It may help you to diagnose the problem and to circumvent it.
You may also turn off JavaScript and see whether that helps.
Another thing to try : disable plug-ins, especially Flash.
| apple | {
"language": "en",
"length": 261,
"provenance": "stackexchange_00000.jsonl.gz:29931",
"question_score": "3",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107360"
} |
1ccb5520d2c05d1f7decb6c3f58d804945c6e797 | Apple Stackexchange
Q: When am I allowed to drag a space/app between displays? When I go into "Mission Control" mode, some full-screen apps and other spaces can be dragged between my two displays, and some cannot -- they just stop at the edge.
I haven't figured out the pattern yet. Some spaces can be dragged between displays, yet other spaces that seem very similar (same kinds of windows in them) cannot, even in the same Mission Control session.
What's the rule? Why can't I drag things between spaces, sometimes?
A: After playing around with it some more, I have discovered the pattern. (It was tricky to figure out because it changes!)
You can't drag the current desktop (of any display) off of that display.
| Q: When am I allowed to drag a space/app between displays? When I go into "Mission Control" mode, some full-screen apps and other spaces can be dragged between my two displays, and some cannot -- they just stop at the edge.
I haven't figured out the pattern yet. Some spaces can be dragged between displays, yet other spaces that seem very similar (same kinds of windows in them) cannot, even in the same Mission Control session.
What's the rule? Why can't I drag things between spaces, sometimes?
A: After playing around with it some more, I have discovered the pattern. (It was tricky to figure out because it changes!)
You can't drag the current desktop (of any display) off of that display.
| apple | {
"language": "en",
"length": 122,
"provenance": "stackexchange_00000.jsonl.gz:29933",
"question_score": "4",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107363"
} |
a3f5610ae07436b5afa44f197fd7de6a497fcf5b | Apple Stackexchange
Q: Run script before restart/shutdown Is it possible to execute a script/command right before OS X is shutting down or restarting?
I'd like to run sudo apachectl stop to stop apache from auto-starting.
A: You can use a logout hook:
sudo defaults write com.apple.loginwindow LogoutHook ~/.logouthook
echo $'#!/bin/bash\napachectl stop' > ~/.logouthook
chmod +x ~/.logouthook
The value of the LogoutHook key can only be a path to an executable and not a shell command. The logout hook is run with superuser privileges so you don't need sudo.
The defaults command modifies /var/root/Library/Preferences/com.apple.loginwindow.plist. Adding a LogoutHook key to /Library/Preferences/com.apple.loginwindow.plist doesn't work.
If a logout hook takes long enough to run, a gray screen is shown until the logout hook terminates. There doesn't seem to be any time limit after which logout hooks are forced to terminate.
Logout hooks were deprecated in 10.4, but I haven't figured out any way to run programs on logout reliably with launchd. I haven't gotten rc.local.shutdown to work either. I don't know any way to run a logout hook before shutting down or restarting but not before logging out.
| Q: Run script before restart/shutdown Is it possible to execute a script/command right before OS X is shutting down or restarting?
I'd like to run sudo apachectl stop to stop apache from auto-starting.
A: You can use a logout hook:
sudo defaults write com.apple.loginwindow LogoutHook ~/.logouthook
echo $'#!/bin/bash\napachectl stop' > ~/.logouthook
chmod +x ~/.logouthook
The value of the LogoutHook key can only be a path to an executable and not a shell command. The logout hook is run with superuser privileges so you don't need sudo.
The defaults command modifies /var/root/Library/Preferences/com.apple.loginwindow.plist. Adding a LogoutHook key to /Library/Preferences/com.apple.loginwindow.plist doesn't work.
If a logout hook takes long enough to run, a gray screen is shown until the logout hook terminates. There doesn't seem to be any time limit after which logout hooks are forced to terminate.
Logout hooks were deprecated in 10.4, but I haven't figured out any way to run programs on logout reliably with launchd. I haven't gotten rc.local.shutdown to work either. I don't know any way to run a logout hook before shutting down or restarting but not before logging out.
A: If you want Apache stop starting from your computer on boot you probably want to unload the appropiate .plist with launchctl:
Open a terminal, then
sudo launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist
| apple | {
"language": "en",
"length": 213,
"provenance": "stackexchange_00000.jsonl.gz:29935",
"question_score": "4",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107366"
} |
784c7bd60205f4d3f4dc0d78e020d6bce00f8a84 | Apple Stackexchange
Q: Since Mavericks, I can't mount ISO files on my Mac over a network Since upgrading to OS X Mavericks, when I want to mount an ISO file that's on my Mac from my Windows 8.1 PC (so, mounting a Mac share on a Windows computer, so I am accessing the file from the Windows PC), I get an error saying it can't mount it. I have to copy the file to the PC to mount the ISO file.
Is this due to how Mavericks switched from AFP/SMB to SMB2? Is there a way to fix this?
A: It sounds more to me as if it's a Windows issue than a macOS issue, even though I realize that it didn't start until after the Mavericks upgrade. Have you tried any other mount tools, such as CloneDrive or PowerISO? It may be worth trying a couple of other tools as a test. Are you able to mount the ISO from another Mac?
| Q: Since Mavericks, I can't mount ISO files on my Mac over a network Since upgrading to OS X Mavericks, when I want to mount an ISO file that's on my Mac from my Windows 8.1 PC (so, mounting a Mac share on a Windows computer, so I am accessing the file from the Windows PC), I get an error saying it can't mount it. I have to copy the file to the PC to mount the ISO file.
Is this due to how Mavericks switched from AFP/SMB to SMB2? Is there a way to fix this?
A: It sounds more to me as if it's a Windows issue than a macOS issue, even though I realize that it didn't start until after the Mavericks upgrade. Have you tried any other mount tools, such as CloneDrive or PowerISO? It may be worth trying a couple of other tools as a test. Are you able to mount the ISO from another Mac?
A: I'm not sure if it's the use of SMB2 that's causing the problem but something that may be worth trying is mounting the share using SMB instead of SMB2. To do that, specify the server as cifs://server instead of smb://server when mounting via Finder.
| apple | {
"language": "en",
"length": 206,
"provenance": "stackexchange_00000.jsonl.gz:29937",
"question_score": "4",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107379"
} |
88a94f69acc5beb324f637bc1927f5ae2c4d4e96 | Apple Stackexchange
Q: Safari 7 User Agent is set to “Custom” by default Ever since upgrading to Mavericks from Snow Leopard, Safari’s default User Agent is set to custom. Anybody has any idea why this happens? And how can I fix it?
A: I managed to fix it by deleting the CustomUserAgent string in the plist file.
defaults delete com.apple.Safari CustomUserAgent
But I still don’t understand how it got to be like that in the first place.
| Q: Safari 7 User Agent is set to “Custom” by default Ever since upgrading to Mavericks from Snow Leopard, Safari’s default User Agent is set to custom. Anybody has any idea why this happens? And how can I fix it?
A: I managed to fix it by deleting the CustomUserAgent string in the plist file.
defaults delete com.apple.Safari CustomUserAgent
But I still don’t understand how it got to be like that in the first place.
A: This happens after you use defaults write com.apple.Safari CustomUserAgent "\"My user agent string\"" command. Either your or someone who used your computer wanted to add a permanent user agent string to the browser. It not only adds the string permanently but also setting it to the default string. You can add a new string to overwrite it as well.
| apple | {
"language": "en",
"length": 135,
"provenance": "stackexchange_00000.jsonl.gz:29938",
"question_score": "3",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107397"
} |
862c6f227376105af087ee5a68e8d22a41197712 | Apple Stackexchange
Q: OSX Mail reply with highlighted text as quote In Mail app 7.0 on OSX 10.9, If I highlight a piece of text and then choose Message → Forward it creates a new email with the relevant text as a quote. How do I replicate this behaviour with Message → Reply?
I believe this functionality was present in an earlier version of Mail.
Edit: unchecking Preferences → Composing → Quote the text of the original message causes this behaviour. With it checked (the default setting), any highlighted text becomes the quote. However with no highlighted text the entire message I am replying to is quoted, behaviour I don't want so this is frustrating.
A: I was googling for the same problem and bumped into here. For people who don't know how to mark a piece of text as a quote in OSX Mail 10.1 I accidently found the way to do it.
You should:
*
*Highlight the text you want to mark as a quote
*Hit Command + '
The whole line will be converted into a quote.
| Q: OSX Mail reply with highlighted text as quote In Mail app 7.0 on OSX 10.9, If I highlight a piece of text and then choose Message → Forward it creates a new email with the relevant text as a quote. How do I replicate this behaviour with Message → Reply?
I believe this functionality was present in an earlier version of Mail.
Edit: unchecking Preferences → Composing → Quote the text of the original message causes this behaviour. With it checked (the default setting), any highlighted text becomes the quote. However with no highlighted text the entire message I am replying to is quoted, behaviour I don't want so this is frustrating.
A: I was googling for the same problem and bumped into here. For people who don't know how to mark a piece of text as a quote in OSX Mail 10.1 I accidently found the way to do it.
You should:
*
*Highlight the text you want to mark as a quote
*Hit Command + '
The whole line will be converted into a quote.
| apple | {
"language": "en",
"length": 178,
"provenance": "stackexchange_00000.jsonl.gz:29941",
"question_score": "3",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107415"
} |
6bd5b21a37d088015731579a9c8a671d0fd5ee97 | Apple Stackexchange
Q: iPhone 5 sync won't complete, stalls at waiting for changes to be applied I have an iPhone 5. Since the latest update to iOS 7, my ripped music won't sync to my phone. The sync stalls at "waiting for changes to be applied". I've run the sync diagnostic, and it indicates there are no problems. I have plenty of room on my phone, and had nearly 2000 songs on it prior to the update. Now, only the purchased tunes sync.
A: From this macrumors.com post:
*
*Close iTunes, unplug your device and reboot the computer.
*On your iDevice, connect to your Wifi network & leave it on and reboot it too. Now plug your iDevice back to the computer.
*If you have any voice mails, delete them first.
*Everything will sync and the problem goes away.
| Q: iPhone 5 sync won't complete, stalls at waiting for changes to be applied I have an iPhone 5. Since the latest update to iOS 7, my ripped music won't sync to my phone. The sync stalls at "waiting for changes to be applied". I've run the sync diagnostic, and it indicates there are no problems. I have plenty of room on my phone, and had nearly 2000 songs on it prior to the update. Now, only the purchased tunes sync.
A: From this macrumors.com post:
*
*Close iTunes, unplug your device and reboot the computer.
*On your iDevice, connect to your Wifi network & leave it on and reboot it too. Now plug your iDevice back to the computer.
*If you have any voice mails, delete them first.
*Everything will sync and the problem goes away.
A: 'Waiting for changes to be applied' is a problem with a mismatched app or music library. If you deleted an app from your phone that you normally sync from iTunes, then reinstall the app on your phone or delete it from your iTunes library before syncing.
Music is more complex. If the song was deleted from the phone then delete it from iTunes, or else it may be a corrupt sound file that you will have to locate and delete. Sync one artist at a time and work down to the album and then the track or tracks that won't sync. Make sure iTunes can locate all of your music. If iTunes can't locate the track or tracks you will see an exclamation point on the left side of the track name.
A mismatched library can also occur if you disconnect your phone before a 'cancel sync' is finished. In this case you have to 'reset sync history' on a Windows PC, or on a Mac backup the phone and restore from backup.
A: I had over 1500 apps on my iPhone 5, and I saw this error several times.
After I installed iOS Console (free download) on my Mac, I could see some error messages in the iOS Console.
Several apps had quite a long name and/or weird characters in the app title. This was stopping them from copying. I think a service zips them prior to copying, and it was jammed on this step.
My next step was going to be deleting these particular apps.
Do any of your song or album titles have any weird characters in them?
| apple | {
"language": "en",
"length": 409,
"provenance": "stackexchange_00000.jsonl.gz:29944",
"question_score": "6",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107424"
} |
6a4d9a2804024d41365b01372acbc163d892461b | Apple Stackexchange
Q: Mavericks update broke ssh key-based authentication I regularly ssh to one of my OS X boxes. I have configured ssh key-based authentication i.e. added my client-end ~/.ssh/id_rsa.pub to server-end ~/.ssh/authorized_keys2 with restricted enough permissions. This setup has worked fine for years over multiple OS X versions.
However, upgrading to OS X 10.9 Mavericks broke this setup. ssh login prompts for password. Logging in with password works but I want passwordless key-based authentication.
(I know the solution to this now. Documenting it here in case it helps others.)
A: Turns out it was about the key file name.
authorized_keys2 was the correct one to use for SSH2 keys a loooong time ago when I first configured the key-based authentication. For years, authorized_keys2 file was deprecated but still working. In Mavericks version of opensshd the support has been dropped.
This can be fixed with a simple rename:
cd ~/.ssh; mv authorized_keys2 authorized_keys
| Q: Mavericks update broke ssh key-based authentication I regularly ssh to one of my OS X boxes. I have configured ssh key-based authentication i.e. added my client-end ~/.ssh/id_rsa.pub to server-end ~/.ssh/authorized_keys2 with restricted enough permissions. This setup has worked fine for years over multiple OS X versions.
However, upgrading to OS X 10.9 Mavericks broke this setup. ssh login prompts for password. Logging in with password works but I want passwordless key-based authentication.
(I know the solution to this now. Documenting it here in case it helps others.)
A: Turns out it was about the key file name.
authorized_keys2 was the correct one to use for SSH2 keys a loooong time ago when I first configured the key-based authentication. For years, authorized_keys2 file was deprecated but still working. In Mavericks version of opensshd the support has been dropped.
This can be fixed with a simple rename:
cd ~/.ssh; mv authorized_keys2 authorized_keys
| apple | {
"language": "en",
"length": 151,
"provenance": "stackexchange_00000.jsonl.gz:29945",
"question_score": "6",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107427"
} |
fc34ec41eede707dac7afea3a74d7e76bf6b3e7a | Apple Stackexchange
Q: MicroSD cards stopped working after OSX 10.9 installation, why? I don't know yet whether this is a problem with OSX 10.9 but I am unable to read the cards in my MBA after installation of 10.9. Any solution for this yet?
A: Are they NTFS formatted? I am having trouble with flash drives that are NTFS formatted. I use the free NTFS-3G software and am guessing that's the issue. One post here seems to echo that sentiment:
CNET NTFS-3G user review
Also, found these Apple support posts where people indicate their problem is solved with NTFS-3G and Mavericks
https://discussions.apple.com/message/17356645#17356645
http://osxfuse.github.io/
| Q: MicroSD cards stopped working after OSX 10.9 installation, why? I don't know yet whether this is a problem with OSX 10.9 but I am unable to read the cards in my MBA after installation of 10.9. Any solution for this yet?
A: Are they NTFS formatted? I am having trouble with flash drives that are NTFS formatted. I use the free NTFS-3G software and am guessing that's the issue. One post here seems to echo that sentiment:
CNET NTFS-3G user review
Also, found these Apple support posts where people indicate their problem is solved with NTFS-3G and Mavericks
https://discussions.apple.com/message/17356645#17356645
http://osxfuse.github.io/
A: I was having a similar issue - this helped me: http://www.youtube.com/watch?v=nbc0l-t3f1Q
| apple | {
"language": "en",
"length": 113,
"provenance": "stackexchange_00000.jsonl.gz:29946",
"question_score": "3",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107432"
} |
d165c9e2a3154ad5e6bc00a8cf91a136862a8659 | Apple Stackexchange
Q: OS X Mavericks bash_profile paths don't work I need to create a new path in OS X Mavericks.
To do so, I edited .bash_profile:
export LC_ALL="en_US.UTF-8"
export PGHOST=localhost
export PATH=$PATH:/usr/local/heroku/bin
export PATH=$PATH:/Applications/Postgres93.app/Contents/MacOS/bin
But it doesn't work. When I type echo $PATH, the result is:
/usr/local/heroku/bin:/usr/local/rvm/gems/ruby-2.0.0-p0/bin:/usr/local/rvm/gems/ruby-2.0.0-p0@global/bin:/usr/local/rvm/rubies/ruby-2.0.0-p0/bin:/usr/local/rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Users/nicolas/.rvm/bin:/usr/local/rvm/bin
This is the content of my .bashrc file:
PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
PATH=$PATH:/usr/local/rvm/bin # Add RVM to PATH for scripting
I don't have (or find) a .profile file.
What am I doing wrong?
A: After editing the login file you need to either run the source command on the login file or create a new terminal session before the updated environment variables will be available.
For Example:
source .bash_profile
I prefer to use this method of adding to the path. That way, if the file is executed multiple times, $PATH doesn't add redundant paths.
##
# DELUXE-HOME-BIN-INSERT
# (do not remove this comment)
##
echo $PATH | grep -q -s "${HOME}/bin"
if [ $? -eq 1 ] ; then
PATH=$PATH:/bin
export PATH
fi
| Q: OS X Mavericks bash_profile paths don't work I need to create a new path in OS X Mavericks.
To do so, I edited .bash_profile:
export LC_ALL="en_US.UTF-8"
export PGHOST=localhost
export PATH=$PATH:/usr/local/heroku/bin
export PATH=$PATH:/Applications/Postgres93.app/Contents/MacOS/bin
But it doesn't work. When I type echo $PATH, the result is:
/usr/local/heroku/bin:/usr/local/rvm/gems/ruby-2.0.0-p0/bin:/usr/local/rvm/gems/ruby-2.0.0-p0@global/bin:/usr/local/rvm/rubies/ruby-2.0.0-p0/bin:/usr/local/rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Users/nicolas/.rvm/bin:/usr/local/rvm/bin
This is the content of my .bashrc file:
PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
PATH=$PATH:/usr/local/rvm/bin # Add RVM to PATH for scripting
I don't have (or find) a .profile file.
What am I doing wrong?
A: After editing the login file you need to either run the source command on the login file or create a new terminal session before the updated environment variables will be available.
For Example:
source .bash_profile
I prefer to use this method of adding to the path. That way, if the file is executed multiple times, $PATH doesn't add redundant paths.
##
# DELUXE-HOME-BIN-INSERT
# (do not remove this comment)
##
echo $PATH | grep -q -s "${HOME}/bin"
if [ $? -eq 1 ] ; then
PATH=$PATH:/bin
export PATH
fi
A: I managed to add a path on Mavericks by doing the following:
sudo vi /etc/paths
This opens the file called paths which includes all the local paths etc. In the end of this file I added the path I wanted using the vi editor as shown in the command above. I simply added a line such as /Applications/blabla/my_bin.
It will ask your password and after that it is done. It worked for me, hopefully does the same for you.
A: Add this to your .zshrc file:
if [ -f ~/.bash_profile ]; then . ~/.bash_profile; fi
This will load up your .bash_profile while zsh is loading since it doesn't load it by default.
A: Aside from the fact you can simply create a .profile file, adding stuff to the path, since Snow Leopard or Lion (most likely SL) is done by adding stuff to paths.d.
ls /etc/path*
/etc/paths
/etc/paths.d:
40-XQuartz MacGPG2 TeX julia
i.e. go to /etc/paths.d/
touch a file called whatever_program_I_want_to_add_to_the_path , then edit it to have the path to the program:
cat /etc/paths.d/julia
/usr/local/julia
cat /etc/paths.d/TeX
/usr/texbin
Close the terminal and restart it.
A: If you're trying to set paths/variables/completions/etc using process substitution on Mavericks, like this:
. <(npm completion)
That won't work: https://lists.gnu.org/archive/html/bug-bash/2006-01/msg00018.html Bash refuses to source from /dev/fds.
Basically, Mavericks's bash is far too old. Either install and configure your account to use a newer bash, or rewrite your script to use tempfiles or named processes. Here's an ugly example of a rewrite: dotfiles commit
(added for other google searchers who stumble across this page)
| apple | {
"language": "en",
"length": 432,
"provenance": "stackexchange_00000.jsonl.gz:29951",
"question_score": "6",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107441"
} |
8b02acf375ed74235017851b5838671823608a9f | Apple Stackexchange
Q: Restore Time Machine spinning Menu Extra In Previous version of Mac OS X the Time Machine menu-extra would spin while a backup was in progress.
Since upgrading to Mavericks that has been replaced with a static icon that adds a second arrow when the backup is running. I find it much harder to know when a backup is running. Does anybody know if there any way to restore the pre Mavericks spinning menu-extra behavior in Mavericks?
| Q: Restore Time Machine spinning Menu Extra In Previous version of Mac OS X the Time Machine menu-extra would spin while a backup was in progress.
Since upgrading to Mavericks that has been replaced with a static icon that adds a second arrow when the backup is running. I find it much harder to know when a backup is running. Does anybody know if there any way to restore the pre Mavericks spinning menu-extra behavior in Mavericks?
| apple | {
"language": "en",
"length": 77,
"provenance": "stackexchange_00000.jsonl.gz:29961",
"question_score": "5",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107467"
} |
08c800efa8cd7661c9338e37e744c1a98dcd6ed8 | Apple Stackexchange
Q: Apple Mail prints tiny fonts after Maverick upgrade After installing Mavericks on my MacBook Pro 13 (non-Retina) and on my Mac Mini, a printed message from Mail appears in tiny font. This is independent of the printer (tried on Hp and on Epson). After much experimentation I found that I can only increase the printed font size by raising the viewed font size to 16 or above. Even when doing this the mail message header is still about size 8.
Does anyone know of a fix to this? Is there a setting in the printer's plist that can be changed?
This has been reported to Apple via Mail Feedback and Apple Care.
A: I have the same problem Mavericks since I installed the recent Mavericks Mail update on Nov 8/13 (I had no trouble before that). All I can do as of now is to copy the body of the email to Text Edit, type in the heading information and print from there.
| Q: Apple Mail prints tiny fonts after Maverick upgrade After installing Mavericks on my MacBook Pro 13 (non-Retina) and on my Mac Mini, a printed message from Mail appears in tiny font. This is independent of the printer (tried on Hp and on Epson). After much experimentation I found that I can only increase the printed font size by raising the viewed font size to 16 or above. Even when doing this the mail message header is still about size 8.
Does anyone know of a fix to this? Is there a setting in the printer's plist that can be changed?
This has been reported to Apple via Mail Feedback and Apple Care.
A: I have the same problem Mavericks since I installed the recent Mavericks Mail update on Nov 8/13 (I had no trouble before that). All I can do as of now is to copy the body of the email to Text Edit, type in the heading information and print from there.
| apple | {
"language": "en",
"length": 164,
"provenance": "stackexchange_00000.jsonl.gz:29965",
"question_score": "6",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107480"
} |
29fedcc08c8674d643d3b4a1537b14d06a93008d | Apple Stackexchange
Q: Sync Google contacts and iCloud contacts I use CardDav to get my Google Contacts on my iPhone, which works great, but I would love it when those contacts were also in sync with iCloud contacts.
Meaning when I add John Doe in Google contacts it will show up in iCloud (eventually) and vice versa when I add Jane Doe in iCloud it will show up in Google contacts.
I've got an iPhone 4S with iOS7 and a MBP with Mavericks.
A: Just saw a question similar to yours, Apple does not allow sync of contacts between various cloud accounts (i.e. between Google and iCloud), however you can use this tutorial to transfer or copy contacts from one iPhone cloud account (Google) to the next (iCloud).
| Q: Sync Google contacts and iCloud contacts I use CardDav to get my Google Contacts on my iPhone, which works great, but I would love it when those contacts were also in sync with iCloud contacts.
Meaning when I add John Doe in Google contacts it will show up in iCloud (eventually) and vice versa when I add Jane Doe in iCloud it will show up in Google contacts.
I've got an iPhone 4S with iOS7 and a MBP with Mavericks.
A: Just saw a question similar to yours, Apple does not allow sync of contacts between various cloud accounts (i.e. between Google and iCloud), however you can use this tutorial to transfer or copy contacts from one iPhone cloud account (Google) to the next (iCloud).
A: Actually I just copied my iCloud contacts to Gmail (copied, not synced) just by following those easy steps (I believe Maverick is required but not sure though):
- Add both your iCloud and Gmail account to Mavericks' account manager (in the System prefs)
- Open the Contacts app on your mac (You should see two different contact folder on the left: iCloud and Google)
- Click the iCloud one, select all of your contacts (cmd+A, shift+click, whatever)
- Drag'n'Drop them from iCloud to Google.
- Voilà !
(It took me more than 5 minutes to converts my 350+ contacts)
| apple | {
"language": "en",
"length": 226,
"provenance": "stackexchange_00000.jsonl.gz:29972",
"question_score": "5",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107506"
} |
da5cb9b8c1c6d4d587f74c67f562709a9bea00c4 | Apple Stackexchange
Q: How to enable Sqlite on a Mac OS X Mavericks I upgraded my Mac with OS X Mavericks last week. It appears to have taken away support for Sqlite -- not Sqlite3, but sqlite. I need that for a website I work on. I went to Sqlite's website, but all I could find was older versions of Sqlite3. Where can I find a version of Sqlite? I've been through the php.ini and can only find one reference to sqlite. In short, how do I get Sqlite support on my Mac? I have Sqlite3 enabled and the issue isn't going away.
I uncommented pdo_sqlite in the php.ini and I still have the issue.
A: As it turned out, this was only an issue because I was using Zend Framework 1.12 and Apple upgraded to PHP 5.4 and 5.4, which in turn dropped some Sqlite support in favor of Sqlite 3. Here are instructions on how to upgrade Zend to Sqlite 3 support.
https://github.com/gencer/zend-cache-sqlite3
| Q: How to enable Sqlite on a Mac OS X Mavericks I upgraded my Mac with OS X Mavericks last week. It appears to have taken away support for Sqlite -- not Sqlite3, but sqlite. I need that for a website I work on. I went to Sqlite's website, but all I could find was older versions of Sqlite3. Where can I find a version of Sqlite? I've been through the php.ini and can only find one reference to sqlite. In short, how do I get Sqlite support on my Mac? I have Sqlite3 enabled and the issue isn't going away.
I uncommented pdo_sqlite in the php.ini and I still have the issue.
A: As it turned out, this was only an issue because I was using Zend Framework 1.12 and Apple upgraded to PHP 5.4 and 5.4, which in turn dropped some Sqlite support in favor of Sqlite 3. Here are instructions on how to upgrade Zend to Sqlite 3 support.
https://github.com/gencer/zend-cache-sqlite3
A: First, install Homebrew.
Then:
$ brew update && brew install sqlite
| apple | {
"language": "en",
"length": 175,
"provenance": "stackexchange_00000.jsonl.gz:29973",
"question_score": "3",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107508"
} |
b472efd5939b9a06dff7eddfccdc41c95bb8a093 | Apple Stackexchange
Q: Mavericks QuickTime player not recording computer audio I was recording the screen on my computer that I had updated to Mavericks, and when I replayed the video, there was no audio except the audio captured by my mic.
The old Qucktime worked fine, but now it's not.
A: I was able to do this by going to Utilities>Audio Midi Setup
Click the + sign to add a new device, choose Create Aggregate Device and click both the Built-In Microphone and Built-In Output checkboxes. Then right click the Aggregate device you just created and choose. Use this for Sound Input. Now this device will appear as in input choice in QuickTime Player X.
Now open QuickTime Player X, choose New Screen Recording and click the drop down arrow. You will now see Aggregate Device as a Mic choice.
| Q: Mavericks QuickTime player not recording computer audio I was recording the screen on my computer that I had updated to Mavericks, and when I replayed the video, there was no audio except the audio captured by my mic.
The old Qucktime worked fine, but now it's not.
A: I was able to do this by going to Utilities>Audio Midi Setup
Click the + sign to add a new device, choose Create Aggregate Device and click both the Built-In Microphone and Built-In Output checkboxes. Then right click the Aggregate device you just created and choose. Use this for Sound Input. Now this device will appear as in input choice in QuickTime Player X.
Now open QuickTime Player X, choose New Screen Recording and click the drop down arrow. You will now see Aggregate Device as a Mic choice.
A: Make sure you selected an input source(i.e. your internal microphone):
EDIT: I tested it with Mac Os X 10.7.4. Like I thought, recording system audio was never implemented(assuming they did not added it in 10.8 just to remove it again with 10.9)
| apple | {
"language": "en",
"length": 181,
"provenance": "stackexchange_00000.jsonl.gz:29976",
"question_score": "3",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107516"
} |
1f8acb213b1244b7d2623f61697c98ff19ab3518 | Apple Stackexchange
Q: I can't create a bootable OSX Mavericks Install USB Drive I've downloaded Mavericks from the App Store, repartitioned a 32GB USB key, and followed the instructions. Specifically, I ran:
sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ Mavericks.app
Here's the output. As you can see, it fails with an error:
Ready to start.
To continue we need to erase the disk at /Volumes/Untitled.
If you wish to continue type (Y) then press return: Y
Erasing Disk: 0%... 10%... 20%...100%...
Copying installer files to disk...
Copy complete.
Making disk bootable...
Couldn't mount dmg /Volumes/Install OS X Mavericks/Install OS X Mavericks.app/Contents/SharedSupport/InstallESD.dmg (error code 112)Mount of outer dmg failed.
Done.
Help?
A: It turns out that the Installer Image did not download correctly. To address this I deleted "Install OSX Mavericks" from the Applications folder and then re-downloaded it from the App Store.
| Q: I can't create a bootable OSX Mavericks Install USB Drive I've downloaded Mavericks from the App Store, repartitioned a 32GB USB key, and followed the instructions. Specifically, I ran:
sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ Mavericks.app
Here's the output. As you can see, it fails with an error:
Ready to start.
To continue we need to erase the disk at /Volumes/Untitled.
If you wish to continue type (Y) then press return: Y
Erasing Disk: 0%... 10%... 20%...100%...
Copying installer files to disk...
Copy complete.
Making disk bootable...
Couldn't mount dmg /Volumes/Install OS X Mavericks/Install OS X Mavericks.app/Contents/SharedSupport/InstallESD.dmg (error code 112)Mount of outer dmg failed.
Done.
Help?
A: It turns out that the Installer Image did not download correctly. To address this I deleted "Install OSX Mavericks" from the Applications folder and then re-downloaded it from the App Store.
A: I had the same problem with a 16Gb USB. I tried it twice. First time I got error 112, and then an error 110 when I tried again.
I was about to download it again, but I tried a different USB 16Gb, and it worked with the same app file. So my tip, before you go downloading it again, try another USB brand.
A: I had same problem and when I ran:
hdiutil verify /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/SharedSupport/InstallESD.dmg
On the usb, I got
Checksumming Protective Master Boot Record (MBR : 0)…
Protective Master Boot Record (MBR :: checksum failed with error 1000.
...............................................................................................................................................................
calculated CRC32 $00000000, expected CRC32 $BE5D6293
hdiutil: verify: checksum of "Install OS X El Capitan.app/Contents/SharedSupport/InstallESD.dmg" is INVALID
hdiutil: verify failed - image data corrupted
So the error can be either on the installation or the thumb drive itself (bad drive).
A: Apple did screw up. Intentionally or not...
I had purchased Mavericks before, so I was able to re-download it in 2023 from within Snow Leopard Partition. No matter what I did whether installing it to a drive while in Snow Leopard or creating a USB with createinstallmedia
It would always tell me that the image is corrupt. When I tried to mount the InstallESD.dmg directly it would come up with "The DMG image is corrupt" or "The DMG image is unrecognized" error. Well yeah! because it is not actually a DMG image! It is a XAR archive. just do:
file /Applications/Install\ OS\ X\ Mavericks.app/Contents/SharedSupport/InstallESD.dmg
And see what the file actually is.
file /Applications/Install\ OS\ X\ Mavericks.app/Contents/SharedSupport/InstallESD.dmg
/Applications/Install OS X Mavericks.app/Contents/SharedSupport/InstallESD.dmg: xar archive compressed TOC: 11017, SHA-1 checksum
macmini@MacMinis-Mac-mini ~ % xar -tf /Applications/Install\ OS\ X\ Mavericks.app/Contents/SharedSupport/InstallESD.dmg
Distribution
InstallMacOSX.pkg
InstallMacOSX.pkg/Bom
InstallMacOSX.pkg/Payload
InstallMacOSX.pkg/Scripts
InstallMacOSX.pkg/PackageInfo
InstallMacOSX.pkg/InstallESD.dmg
Resources
Resources/ar.lproj
Resources/ar.lproj/Localizable.strings
Resources/ar.lproj/VolumeCheck.strings
Resources/ca.lproj
Resources/ca.lproj/Localizable.strings
Resources/ca.lproj/VolumeCheck.strings
Resources/cs.lproj
Resources/cs.lproj/Localizable.strings
Resources/cs.lproj/VolumeCheck.strings
Resources/da.lproj
Resources/da.lproj/Localizable.strings
Resources/da.lproj/VolumeCheck.strings
Resources/Dutch.lproj
Resources/Dutch.lproj/Localizable.strings
Resources/Dutch.lproj/VolumeCheck.strings
Resources/el.lproj
Resources/el.lproj/Localizable.strings
Resources/el.lproj/VolumeCheck.strings
Resources/English.lproj
Resources/English.lproj/Localizable.strings
Resources/English.lproj/VolumeCheck.strings
Resources/fi.lproj
Resources/fi.lproj/Localizable.strings
Resources/fi.lproj/VolumeCheck.strings
Resources/French.lproj
Resources/French.lproj/Localizable.strings
Resources/French.lproj/VolumeCheck.strings
Resources/German.lproj
Resources/German.lproj/Localizable.strings
Resources/German.lproj/VolumeCheck.strings
Resources/he.lproj
Resources/he.lproj/Localizable.strings
Resources/he.lproj/VolumeCheck.strings
Resources/hr.lproj
Resources/hr.lproj/Localizable.strings
Resources/hr.lproj/VolumeCheck.strings
Resources/hu.lproj
Resources/hu.lproj/Localizable.strings
Resources/hu.lproj/VolumeCheck.strings
Resources/id.lproj
Resources/id.lproj/Localizable.strings
Resources/id.lproj/VolumeCheck.strings
Resources/Italian.lproj
Resources/Italian.lproj/Localizable.strings
Resources/Italian.lproj/VolumeCheck.strings
Resources/Japanese.lproj
Resources/Japanese.lproj/Localizable.strings
Resources/Japanese.lproj/VolumeCheck.strings
Resources/ko.lproj
Resources/ko.lproj/Localizable.strings
Resources/ko.lproj/VolumeCheck.strings
Resources/ms.lproj
Resources/ms.lproj/Localizable.strings
Resources/ms.lproj/VolumeCheck.strings
Resources/no.lproj
Resources/no.lproj/Localizable.strings
Resources/no.lproj/VolumeCheck.strings
Resources/pl.lproj
Resources/pl.lproj/Localizable.strings
Resources/pl.lproj/VolumeCheck.strings
Resources/pt.lproj
Resources/pt.lproj/Localizable.strings
Resources/pt.lproj/VolumeCheck.strings
Resources/pt_PT.lproj
Resources/pt_PT.lproj/Localizable.strings
Resources/pt_PT.lproj/VolumeCheck.strings
Resources/ro.lproj
Resources/ro.lproj/Localizable.strings
Resources/ro.lproj/VolumeCheck.strings
Resources/ru.lproj
Resources/ru.lproj/Localizable.strings
Resources/ru.lproj/VolumeCheck.strings
Resources/sk.lproj
Resources/sk.lproj/Localizable.strings
Resources/sk.lproj/VolumeCheck.strings
Resources/Spanish.lproj
Resources/Spanish.lproj/Localizable.strings
Resources/Spanish.lproj/VolumeCheck.strings
Resources/sv.lproj
Resources/sv.lproj/Localizable.strings
Resources/sv.lproj/VolumeCheck.strings
Resources/th.lproj
Resources/th.lproj/Localizable.strings
Resources/th.lproj/VolumeCheck.strings
Resources/tr.lproj
Resources/tr.lproj/Localizable.strings
Resources/tr.lproj/VolumeCheck.strings
Resources/uk.lproj
Resources/uk.lproj/Localizable.strings
Resources/uk.lproj/VolumeCheck.strings
Resources/vi.lproj
Resources/vi.lproj/Localizable.strings
Resources/vi.lproj/VolumeCheck.strings
Resources/zh_CN.lproj
Resources/zh_CN.lproj/Localizable.strings
Resources/zh_CN.lproj/VolumeCheck.strings
Resources/zh_TW.lproj
Resources/zh_TW.lproj/Localizable.strings
Resources/zh_TW.lproj/VolumeCheck.strings
So what you need to do is:
cd tmp
xar -xf /Applications/Install\ OS\ X\ Mavericks.app/Contents/SharedSupport/InstallESD.dmg
ls -l
total 40
-rwxr-xr-x 1 macmini staff 10301 Sep 10 2014 Distribution
drwx------ 7 macmini staff 224 Dec 31 1969 InstallMacOSX.pkg
drwx------ 35 macmini staff 1120 Dec 31 1969 Resources
-rwxrwxrwx 1 root staff 4671 Sep 29 09:53 mUtility.log
And the actuall InstallESD.dmg MOUNTABLE is inside the InstallMacOSX.pkg
To Recreate the Install Mac OS X Mavericks Installer follow this:
pkgutil --expand /Applications/Install\ OS\ X\ Mavericks.app/Contents/SharedSupport/InstallESD.dmg ~/Mavericks
cd ~/Mavericks/InstallMacOSX.pkg
tar -xvf Payload
mv ~/Mavericks/InstallMacOSX.pkg/InstallESD.dmg ~/Mavericks/InstallMacOSX.pkg/Install\ OS\ X\ Mavericks.app/Contents/SharedSupport
rm -rf /Applications/Install\ OS\ X\ Mavericks.app/
mv ~/Mavericks/InstallMacOSX.pkg/Install\ OS\ X\ Mavericks.app /Applications
To Create a bootable USB Installer follow this:
Format an 8GB USB drive with HFS+ GPT partitioning and label it Untitled. Create the USB installer:
sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ Mavericks.app
Checksumming the InstallESD.dmg:
hdiutil verify /Applications/Install\ OS\ X\ Mavericks.app/Contents/SharedSupport/InstallESD.dmg
Checksumming Driver Descriptor Map (DDM : 0)…
Driver Descriptor Map (DDM : 0): verified CRC32 $82881B3D
Checksumming (Apple_Free : 1)…
(Apple_Free : 1): verified CRC32 $00000000
Checksumming Apple (Apple_partition_map : 2)…
Apple (Apple_partition_map : 2): verified CRC32 $E3F140E2
Checksumming disk image (Apple_HFS : 3)…
...............................................................................
disk image (Apple_HFS : 3): verified CRC32 $0D5460FF
Checksumming (Apple_Free : 4)…
...............................................................................
(Apple_Free : 4): verified CRC32 $00000000
...............................................................................
verified CRC32 $B65198C1
hdiutil: verify: checksum of "/Applications/Install OS X Mavericks.app/Contents/SharedSupport/InstallESD.dmg" is VALID
Check codesign signature:
codesign -dv --verbose=4 /Applications/Install\ OS\ X\ Mavericks.app/Contents/SharedSupport/InstallESD.dmg
/Applications/Install OS X Mavericks.app/Contents/SharedSupport/InstallESD.dmg: code object is not signed at all
macmini@MacMinis-Mac-mini ~ % codesign -dv --verbose=4 /Applications/Install\ OS\ X\ Mavericks.app
Executable=/Applications/Install OS X Mavericks.app/Contents/MacOS/Install OS X Mavericks
Identifier=com.apple.InstallAssistant.Mavericks
Format=app bundle with Mach-O thin (x86_64)
CodeDirectory v=20200 size=303 flags=0x200(kill) hashes=7+3 location=embedded
Hash type=sha1 size=20
CandidateCDHash sha1=cd59e2a7acca04c95d7e4b27488122dd11aa5b68
CandidateCDHashFull sha1=cd59e2a7acca04c95d7e4b27488122dd11aa5b68
Hash choices=sha1
CMSDigest=32a7926f598b4e52c7b68f0c7e0719afc9f7d6c9b2fceadb8398a44507d10ed5
CMSDigestType=2
Page size=4096
CDHash=cd59e2a7acca04c95d7e4b27488122dd11aa5b68
Signature size=4169
Authority=Apple Mac OS Application Signing
Authority=Apple Worldwide Developer Relations Certification Authority
Authority=Apple Root CA
Info.plist entries=30
TeamIdentifier=APPLECOMPUTER
Sealed Resources version=2 rules=12 files=948
Internal requirements count=1 size=124
Edit: Unfortunately as of February 2023 the created USB disk could not proceed past:
Only this web available installer works.
There is another way around that convoluted installer and the steps are described here.
A: Close the "Disk Utility.app" and the "Finder" before execute the command. It works for me! :)
A: its important to know that you have to close the finder windows and the disk utility or any program that might be using the ElCapInstaller flash drive, because if they are being used you, this is what happens:
Copying installer files to disk...
Copy complete.
Making disk bootable...
Mount of outer dmg failed.
Done.
and you want this to happen
Copy complete.
Making disk bootable...
Copying boot files...
Copy complete.
Done.
| apple | {
"language": "en",
"length": 978,
"provenance": "stackexchange_00000.jsonl.gz:29983",
"question_score": "10",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107536"
} |
7ac1cf28731a774fea2dbfc0fa812b8ad1f676fa | Apple Stackexchange
Q: Flash not working on a specific site in Safari 7 Mavericks I've tried the following site in Safari:
http://www.2dayfm.com.au/listen/
which seems to activate plugin but stalls while loading:
This site works fine in Chrome... It may well be a site specific problem but in case I've overlooked some setting I thought I'd ask?
I've tested flash on the adobe website and it seems to be fine, and also I've checked preferences for the site to allow flash but still no luck... Anything I can try?
A: Clearing Safari's cookies solved the problem for me.
| Q: Flash not working on a specific site in Safari 7 Mavericks I've tried the following site in Safari:
http://www.2dayfm.com.au/listen/
which seems to activate plugin but stalls while loading:
This site works fine in Chrome... It may well be a site specific problem but in case I've overlooked some setting I thought I'd ask?
I've tested flash on the adobe website and it seems to be fine, and also I've checked preferences for the site to allow flash but still no luck... Anything I can try?
A: Clearing Safari's cookies solved the problem for me.
| apple | {
"language": "en",
"length": 95,
"provenance": "stackexchange_00000.jsonl.gz:29984",
"question_score": "3",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107537"
} |
56cfa623ab496d606483b884cdd74f101da4ed83 | Apple Stackexchange
Q: Is there a way to put the iPhone into a child-only mode? I find that my two-year-old will often delete photos...most of the times by accident.
Is there a mode on the iPhone or some other software that will help thwart this?
Is there a way to control which apps a child can access?
(I'm hoping that Apple would build it right into the OS.)
A: Yes, start with Guided Access which easily locks one app in full screen mode and then move on to restrictions once you have a feeling for what you want to open up past one app at a time as your two year old gets more able to use more than just one game at a time..
| Q: Is there a way to put the iPhone into a child-only mode? I find that my two-year-old will often delete photos...most of the times by accident.
Is there a mode on the iPhone or some other software that will help thwart this?
Is there a way to control which apps a child can access?
(I'm hoping that Apple would build it right into the OS.)
A: Yes, start with Guided Access which easily locks one app in full screen mode and then move on to restrictions once you have a feeling for what you want to open up past one app at a time as your two year old gets more able to use more than just one game at a time..
| apple | {
"language": "en",
"length": 123,
"provenance": "stackexchange_00000.jsonl.gz:29985",
"question_score": "3",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107538"
} |
c5b475e6c814ac7da9935ed0a88c7c3e96d2eb2c | Apple Stackexchange
Q: Upgrade from Lion to Mountain Lion but not Mavericks I have to downgrade from Mavericks to Mountain Lion due to some software required for work. I used the Internet Recovery method to downgrade, but it is not Lion. I would like to upgrade to Mountain Lion, but there is only Mavericks available in the Mac App Store.
A: You can purchase OS X Mountain Lion still via Apple online:
Buy OS X Mountain Lion
Once you buy it for $19.99 they will send you an App Store link.
| Q: Upgrade from Lion to Mountain Lion but not Mavericks I have to downgrade from Mavericks to Mountain Lion due to some software required for work. I used the Internet Recovery method to downgrade, but it is not Lion. I would like to upgrade to Mountain Lion, but there is only Mavericks available in the Mac App Store.
A: You can purchase OS X Mountain Lion still via Apple online:
Buy OS X Mountain Lion
Once you buy it for $19.99 they will send you an App Store link.
| apple | {
"language": "en",
"length": 89,
"provenance": "stackexchange_00000.jsonl.gz:29990",
"question_score": "3",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107548"
} |
4af58889ee4f2816eef6d770dc4ba3651fa20e90 | Apple Stackexchange
Q: Unlock read-only USB key A free 8GB USB key given to me shows up in Snow Leopard as read-only.
$ mount
/dev/disk1 on /Volumes/USB DISK (ntfs, local, nodev, nosuid, read-only, noowners)
How can I mount it read-write? According to the provider of the USB key:
"The USB needs to be unlocked. Right click USB-properties-security-select everyone-edit-permissions for everyone-Allow full control"
But I think these must be instructions for a different OS.
I'd be fine with reformatting it - there's nothing valuable on it.
Attempting to force the issue with mount doesn't seem to work:
$ sudo mount -w -t ntfs /dev/disk1 "/tmp/USB"
$ touch /tmp/USB/foo
-bash: foo: Read-only file system
A: It's read-only because it's formatted with NTFS (the Windows filesystem), which OS X can only read without the help of third party software. If reformatting isn't a problem, then that's likely the easiest way to go. If you need to transfer between OS X and Windows with the stick, use the FAT filesystem. If you're just using it with Macs, the defaults will work fine.
| Q: Unlock read-only USB key A free 8GB USB key given to me shows up in Snow Leopard as read-only.
$ mount
/dev/disk1 on /Volumes/USB DISK (ntfs, local, nodev, nosuid, read-only, noowners)
How can I mount it read-write? According to the provider of the USB key:
"The USB needs to be unlocked. Right click USB-properties-security-select everyone-edit-permissions for everyone-Allow full control"
But I think these must be instructions for a different OS.
I'd be fine with reformatting it - there's nothing valuable on it.
Attempting to force the issue with mount doesn't seem to work:
$ sudo mount -w -t ntfs /dev/disk1 "/tmp/USB"
$ touch /tmp/USB/foo
-bash: foo: Read-only file system
A: It's read-only because it's formatted with NTFS (the Windows filesystem), which OS X can only read without the help of third party software. If reformatting isn't a problem, then that's likely the easiest way to go. If you need to transfer between OS X and Windows with the stick, use the FAT filesystem. If you're just using it with Macs, the defaults will work fine.
| apple | {
"language": "en",
"length": 176,
"provenance": "stackexchange_00000.jsonl.gz:29998",
"question_score": "3",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107568"
} |
3c1d60d647d6809c9cb373b828d7aaf6a693fe1f | Apple Stackexchange
Q: OS X Mavericks wakes my Mac from sleep every hour or so Ever since upgrading to Mavericks, it looks like my Mac Mini wakes from sleep about once an hour or so. In the Console, I get the following message:
Oct 30 02:12:06 gary-mac WindowServer[93]: CGXDisplayDidWakeNotification [89885620192550]: posting kCGSDisplayDidWake
Oct 30 02:12:06 gary-mac WindowServer[93]: handle_will_sleep_auth_and_shield_windows: Deferring.
Anyone know why it's doing this?
Usually when the computer wakes from sleep, whether manually or automatically, there is a "Wake Reason" line, but in this case there isn't one. My guess is that this is because since Mavericks, "Sleep" doesn't actually put the Mini to sleep. It seems to be more "on" than it used to be. Is there a way to revert the behavior to how it was before Mavericks?
A: Turns out it was because I had "File sharing" enabled in my "Sharing" System Preferences pane. I've always had this setting enabled, and I could sleep my Mac just fine before Mavericks. However starting with Mavericks, if I sleep my Mac with "File sharing" enabled, then the Mac won't sleep.
| Q: OS X Mavericks wakes my Mac from sleep every hour or so Ever since upgrading to Mavericks, it looks like my Mac Mini wakes from sleep about once an hour or so. In the Console, I get the following message:
Oct 30 02:12:06 gary-mac WindowServer[93]: CGXDisplayDidWakeNotification [89885620192550]: posting kCGSDisplayDidWake
Oct 30 02:12:06 gary-mac WindowServer[93]: handle_will_sleep_auth_and_shield_windows: Deferring.
Anyone know why it's doing this?
Usually when the computer wakes from sleep, whether manually or automatically, there is a "Wake Reason" line, but in this case there isn't one. My guess is that this is because since Mavericks, "Sleep" doesn't actually put the Mini to sleep. It seems to be more "on" than it used to be. Is there a way to revert the behavior to how it was before Mavericks?
A: Turns out it was because I had "File sharing" enabled in my "Sharing" System Preferences pane. I've always had this setting enabled, and I could sleep my Mac just fine before Mavericks. However starting with Mavericks, if I sleep my Mac with "File sharing" enabled, then the Mac won't sleep.
A: Since I started to share files on my Mac, I had the insomnia issue as well. There is a great little tool called PleaseSleep which is freeware and supports Mavericks. It will help your Mac to stay asleep.
Direct download link
Unfortunately, the product is not maintained anymore, as the developer Dragonone.com stopped.
| apple | {
"language": "en",
"length": 234,
"provenance": "stackexchange_00000.jsonl.gz:29999",
"question_score": "5",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107571"
} |
8d4bea5498078a5e596aa063f1d032a123387f4a | Apple Stackexchange
Q: Cinch doesn't work | How do I enable access to assistive devices in OS X 10.9 Mavericks? Cinch requires us to "Enable access to assistive devices". However this option is not found on OS X Mavericks > System Preferences. Where can I find it?
A: Open System Preferences > Security & Privacy > Privacy > Accessibility > "Click the lock to make changes" > Select "Cinch"
| Q: Cinch doesn't work | How do I enable access to assistive devices in OS X 10.9 Mavericks? Cinch requires us to "Enable access to assistive devices". However this option is not found on OS X Mavericks > System Preferences. Where can I find it?
A: Open System Preferences > Security & Privacy > Privacy > Accessibility > "Click the lock to make changes" > Select "Cinch"
| apple | {
"language": "en",
"length": 67,
"provenance": "stackexchange_00000.jsonl.gz:30000",
"question_score": "6",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107573"
} |
69ea1281434cba25d0a795eacd3e6016045480c2 | Apple Stackexchange
Q: Where that icon on my OS X menu bar comes from? Anyone could tell me which application stands behind this icon on the menu bar?
I tried to figure it out but I couldn’t. Nothing happens when I click on it.
A: I don't recognize the icon, but I may have a way to find out which app it belongs to.
Bartender is an app that organises the menu bar apps, but can also show which apps are already there.
It's a paid app, but you can install the trial, find the mystery app, then uninstall Bartender.
A screenshot from an installation of mine.
Tip: If you just want to remove the icon you may be able to ⌘-drag it away from the menubar, but for that to work the app needs to be an Apple built-in app or use the same menu bar hooks.
| Q: Where that icon on my OS X menu bar comes from? Anyone could tell me which application stands behind this icon on the menu bar?
I tried to figure it out but I couldn’t. Nothing happens when I click on it.
A: I don't recognize the icon, but I may have a way to find out which app it belongs to.
Bartender is an app that organises the menu bar apps, but can also show which apps are already there.
It's a paid app, but you can install the trial, find the mystery app, then uninstall Bartender.
A screenshot from an installation of mine.
Tip: If you just want to remove the icon you may be able to ⌘-drag it away from the menubar, but for that to work the app needs to be an Apple built-in app or use the same menu bar hooks.
| apple | {
"language": "en",
"length": 146,
"provenance": "stackexchange_00000.jsonl.gz:30001",
"question_score": "8",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107577"
} |
6f0cd68e73f719fbd09df56d434fe87bb433fd5d | Apple Stackexchange
Q: How to reverse the defaults write com.apple.Safari CustomUserAgent "\"My user agent string\"" command Using the defaults write com.apple.Safari CustomUserAgent "\"My user agent string\"" command, you can set the default User Agent for Safari. This means that the CustomUserAgent key gets written in ~/Library/Preferences/com.apple.Safari.plist.
<key>CustomUserAgent</key>
<string>My user agent string</string>
But how can you reverse this action? (Manually deleting the two rows from the plist doesn’t work, as they just get rewritten when Safari restarts.)
A: defaults delete com.apple.Safari CustomUserAgent
| Q: How to reverse the defaults write com.apple.Safari CustomUserAgent "\"My user agent string\"" command Using the defaults write com.apple.Safari CustomUserAgent "\"My user agent string\"" command, you can set the default User Agent for Safari. This means that the CustomUserAgent key gets written in ~/Library/Preferences/com.apple.Safari.plist.
<key>CustomUserAgent</key>
<string>My user agent string</string>
But how can you reverse this action? (Manually deleting the two rows from the plist doesn’t work, as they just get rewritten when Safari restarts.)
A: defaults delete com.apple.Safari CustomUserAgent
| apple | {
"language": "en",
"length": 79,
"provenance": "stackexchange_00000.jsonl.gz:30004",
"question_score": "3",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107580"
} |
aea409012ac5519e0d14e6a5f1c0f15c4fc4ca03 | Apple Stackexchange
Q: Is it possible to get via CLI the commercial name (Lion, Mountain Lion, Mavericks, ...) At the moment I'm using both uname and sw_vers
darwin_version=`uname -r`
osx_version=`sw_vers -productVersion`
But if I want to display the commercial name (Lion, Mountain Lion, Mavericks, ...) I have to manually maintain a list of osx version - commercial name pair.
I'd like to avoid that manual mapping and rely on system data. Is it possible ?
A: Well as you said it : it's a commercial name and it's barely present in the OS it self. It no real wonder, it has no meaning for devs (far less than a version or a build number).
AFAIK It's mentioned in some help pages, but that's almost all.
So until someone would prove me wrong, there is no CLI for that (excluding curl stuff, which would imho not be a suitable option here).
| Q: Is it possible to get via CLI the commercial name (Lion, Mountain Lion, Mavericks, ...) At the moment I'm using both uname and sw_vers
darwin_version=`uname -r`
osx_version=`sw_vers -productVersion`
But if I want to display the commercial name (Lion, Mountain Lion, Mavericks, ...) I have to manually maintain a list of osx version - commercial name pair.
I'd like to avoid that manual mapping and rely on system data. Is it possible ?
A: Well as you said it : it's a commercial name and it's barely present in the OS it self. It no real wonder, it has no meaning for devs (far less than a version or a build number).
AFAIK It's mentioned in some help pages, but that's almost all.
So until someone would prove me wrong, there is no CLI for that (excluding curl stuff, which would imho not be a suitable option here).
| apple | {
"language": "en",
"length": 148,
"provenance": "stackexchange_00000.jsonl.gz:30008",
"question_score": "16",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107592"
} |
3c34483def8e16ef04c832f9b2ed4aa0df373aae | Apple Stackexchange
Q: Creating InDesign "Paragraph / Character Style" shortcuts on a Mac wireless keyboard w/o number pad Creating InDesign "Paragraph / Character Style" shortcuts on a Mac wireless keyboard w/o number pad.
Does someone have a fix for this problem? …or still is not possible?
A: Yes.
Use the app Karabiner (https://pqrs.org/osx/karabiner/).
It can remap fn + number to fn + numpad number.
With Shift+fn+1 you have Shift+Num 1.
It works.
| Q: Creating InDesign "Paragraph / Character Style" shortcuts on a Mac wireless keyboard w/o number pad Creating InDesign "Paragraph / Character Style" shortcuts on a Mac wireless keyboard w/o number pad.
Does someone have a fix for this problem? …or still is not possible?
A: Yes.
Use the app Karabiner (https://pqrs.org/osx/karabiner/).
It can remap fn + number to fn + numpad number.
With Shift+fn+1 you have Shift+Num 1.
It works.
| apple | {
"language": "en",
"length": 70,
"provenance": "stackexchange_00000.jsonl.gz:30010",
"question_score": "3",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107599"
} |
de3a9ca70ea2921677bb9acafd1093b689d43680 | Apple Stackexchange
Q: What prevents export of a private key from Mavericks keychain? In Mac OS X Mavericks, I'm not able to export a private key from keychain. I'm getting the following error message:
/* In dark wake, no UI possible */
Searching it in Apple documentation fetched the following details:
value: -25320
Description: The user interface could not be displayed because the system is in a dark wake state. Available in OS X v10.7 and later.
Can someone please suggest a solution or the cause of problem?
A: It appears that your system was mistaken about being asleep (because an internal flag it used to keep track of sleep state got out of sync with the true state). As you confirmed later, a reboot fixes this problem.
| Q: What prevents export of a private key from Mavericks keychain? In Mac OS X Mavericks, I'm not able to export a private key from keychain. I'm getting the following error message:
/* In dark wake, no UI possible */
Searching it in Apple documentation fetched the following details:
value: -25320
Description: The user interface could not be displayed because the system is in a dark wake state. Available in OS X v10.7 and later.
Can someone please suggest a solution or the cause of problem?
A: It appears that your system was mistaken about being asleep (because an internal flag it used to keep track of sleep state got out of sync with the true state). As you confirmed later, a reboot fixes this problem.
| apple | {
"language": "en",
"length": 126,
"provenance": "stackexchange_00000.jsonl.gz:30011",
"question_score": "11",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107603"
} |
104d2f95657cd01d86955e4817a16752f296f93e | Apple Stackexchange
Q: How can I display the format bar above the document in Pages 5.0? The new version of Pages has the format bar (i.e. the bar where you change the font size, typeface, alignment, spacing, etc.) on the right of the document:
I want it to be on the top of the document like in Pages 4.3 (Pages '09):
How can I accomplish this?
A: This is not possible in Pages 5.0.
If your wish for a format bar above the document outweighs any benefit from Pages 5.0, you can continue to use iWork '09.
You can also notify Apple that you would like this feature implemented using their Pages feedback page:
*
*http://www.apple.com/feedback/pages.html
| Q: How can I display the format bar above the document in Pages 5.0? The new version of Pages has the format bar (i.e. the bar where you change the font size, typeface, alignment, spacing, etc.) on the right of the document:
I want it to be on the top of the document like in Pages 4.3 (Pages '09):
How can I accomplish this?
A: This is not possible in Pages 5.0.
If your wish for a format bar above the document outweighs any benefit from Pages 5.0, you can continue to use iWork '09.
You can also notify Apple that you would like this feature implemented using their Pages feedback page:
*
*http://www.apple.com/feedback/pages.html
| apple | {
"language": "en",
"length": 114,
"provenance": "stackexchange_00000.jsonl.gz:30012",
"question_score": "5",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107605"
} |
274df491042f63074a5e5148c830532240844fe3 | Apple Stackexchange
Q: How do I downgrade my Safari from version 6.1 down to version 6.0.2 on my Mac? I need to downgrade my Safari version from 6.1 back down to 6.0.2.
What are the steps?
A: Download link for Safari 6.0.2 is here:
http://swcdn.apple.com/content/downloads/53/02/041-8081/jex01nudh37t8cusghkiy1eki5crm76f4b/Safari6.0.2Mountain.pkg
| Q: How do I downgrade my Safari from version 6.1 down to version 6.0.2 on my Mac? I need to downgrade my Safari version from 6.1 back down to 6.0.2.
What are the steps?
A: Download link for Safari 6.0.2 is here:
http://swcdn.apple.com/content/downloads/53/02/041-8081/jex01nudh37t8cusghkiy1eki5crm76f4b/Safari6.0.2Mountain.pkg
| apple | {
"language": "en",
"length": 43,
"provenance": "stackexchange_00000.jsonl.gz:30015",
"question_score": "4",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107615"
} |
60cd9d918619ba514293d7e1e5f0423804814e7d | Apple Stackexchange
Q: Microsoft Lync Mac crashes on 10.9 Mavericks I have a similar problem like another user had and followed all possible steps including reinstalling and cleaning up Keychain etc before.
The first time I start Lync after a reinstall, I can even see a Menu bar for some seconds. But before any window gets rendered, the Crash Reporter opens.
This is what the error said:
Microsoft Error Reporting log version: 2.0
Error Signature: Exception: EXC_BAD_ACCESS Date/Time: 2013-10-30
13:23:14 +0000 Application Name: Microsoft Lync Application Bundle ID:
com.microsoft.Lync Application Signature: UCCP Application Version:
14.0.6.130930 Crashed Module Name: libcorecrypto.dylib Crashed Module Version: unknown Crashed Module Offset: 0x0002783a Blame Module Name:
Microsoft Lync Blame Module Version: 14.0.6.130930 Blame Module
Offset: 0x002cc862 Application LCID: 1031 Extra app info: Reg=English
Loc=0x0407 Crashed thread: 0
Any Ideas how to solve this?
A: Delete
~/Library/Preferences/ByHost/MicrosoftLyncRegistrationDB.xxxx.plist
~/library/preferences/com.microsoft.lync.plist
and check in
~/Library/Preferences/ByHost/
for additional files with lync or Lync in the name (delete them as well). Then restart Lync.
| Q: Microsoft Lync Mac crashes on 10.9 Mavericks I have a similar problem like another user had and followed all possible steps including reinstalling and cleaning up Keychain etc before.
The first time I start Lync after a reinstall, I can even see a Menu bar for some seconds. But before any window gets rendered, the Crash Reporter opens.
This is what the error said:
Microsoft Error Reporting log version: 2.0
Error Signature: Exception: EXC_BAD_ACCESS Date/Time: 2013-10-30
13:23:14 +0000 Application Name: Microsoft Lync Application Bundle ID:
com.microsoft.Lync Application Signature: UCCP Application Version:
14.0.6.130930 Crashed Module Name: libcorecrypto.dylib Crashed Module Version: unknown Crashed Module Offset: 0x0002783a Blame Module Name:
Microsoft Lync Blame Module Version: 14.0.6.130930 Blame Module
Offset: 0x002cc862 Application LCID: 1031 Extra app info: Reg=English
Loc=0x0407 Crashed thread: 0
Any Ideas how to solve this?
A: Delete
~/Library/Preferences/ByHost/MicrosoftLyncRegistrationDB.xxxx.plist
~/library/preferences/com.microsoft.lync.plist
and check in
~/Library/Preferences/ByHost/
for additional files with lync or Lync in the name (delete them as well). Then restart Lync.
| apple | {
"language": "en",
"length": 160,
"provenance": "stackexchange_00000.jsonl.gz:30016",
"question_score": "3",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107618"
} |
7c48f9927eaff7d700d4011063ea32923ebefa8e | Apple Stackexchange
Q: Disable "Tags" prompt in OS 10.9 Save dialog In Mavericks, the Save dialog now offers the ability to add Tags to the file you're saving:
Supposing I want to remove this prompt, likely by running a shell command involving defaults write com.apple.finder. How do I do so?
A: When parsing all .plist files in ~/Library/preferences. I don't find any options that would match your request.
If you want to try it yourself, here are the commands I used :
Convert all plist to xml text files (because some of them (are|can be) binary files) :
find . -name "*.plist" -exec plutil -convert xml1 "{}" \;
search the files for tag:
grep -rie "<key>.*tag.*</key>" .
| Q: Disable "Tags" prompt in OS 10.9 Save dialog In Mavericks, the Save dialog now offers the ability to add Tags to the file you're saving:
Supposing I want to remove this prompt, likely by running a shell command involving defaults write com.apple.finder. How do I do so?
A: When parsing all .plist files in ~/Library/preferences. I don't find any options that would match your request.
If you want to try it yourself, here are the commands I used :
Convert all plist to xml text files (because some of them (are|can be) binary files) :
find . -name "*.plist" -exec plutil -convert xml1 "{}" \;
search the files for tag:
grep -rie "<key>.*tag.*</key>" .
| apple | {
"language": "en",
"length": 115,
"provenance": "stackexchange_00000.jsonl.gz:30020",
"question_score": "7",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107637"
} |
79d9e602921424a97cd50d35812ef20769d2d22b | Apple Stackexchange
Q: Cannot send iMessage from MacBook Pro I have been using my MacBook Pro for nearly 2 years. I have no problem using iMessages both on my iPhone and Mac. However, today, I can't seem to be able to send any messages out from my Mac. There is no problem on my phone. Also, I cannot use FaceTime on my Mac.
I reviewed through the internet for some solutions, but nothing seems to work, such as deleting files, changing setting on the Flash Player.
How can I resolve this issue?
A: It has something to do with not having a serial number on your Mac (after motherboard repair or so). You need to go to an Apple Store to have it “flashed” back. iMessage and FaceTime won't work without the serial.
| Q: Cannot send iMessage from MacBook Pro I have been using my MacBook Pro for nearly 2 years. I have no problem using iMessages both on my iPhone and Mac. However, today, I can't seem to be able to send any messages out from my Mac. There is no problem on my phone. Also, I cannot use FaceTime on my Mac.
I reviewed through the internet for some solutions, but nothing seems to work, such as deleting files, changing setting on the Flash Player.
How can I resolve this issue?
A: It has something to do with not having a serial number on your Mac (after motherboard repair or so). You need to go to an Apple Store to have it “flashed” back. iMessage and FaceTime won't work without the serial.
| apple | {
"language": "en",
"length": 131,
"provenance": "stackexchange_00000.jsonl.gz:30024",
"question_score": "5",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107654"
} |
a51163a0d4bde3220b4fb0aecdb08746b1368bb1 | Apple Stackexchange
Q: How to disable “Fast Start” in Safari? In Mavericks’ Safari, the “feature” named “Fast Start” begins to load the first result of the search typed in the search bar.
How can I disable such folly ?
A: *
*Go to Safari → Preferences (or hit ⌘ cmd+,).
*Go to Privacy and click on the Do not preload Top Hit in the background option.
| Q: How to disable “Fast Start” in Safari? In Mavericks’ Safari, the “feature” named “Fast Start” begins to load the first result of the search typed in the search bar.
How can I disable such folly ?
A: *
*Go to Safari → Preferences (or hit ⌘ cmd+,).
*Go to Privacy and click on the Do not preload Top Hit in the background option.
| apple | {
"language": "en",
"length": 64,
"provenance": "stackexchange_00000.jsonl.gz:30026",
"question_score": "3",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107660"
} |
b219bb1126cf1273b4f51ecbca17349218f9a1fb | Apple Stackexchange
Q: How do I see the dock in a fullscreen window in OS X? I'm running Mac OS X Mavericks and I have several apps set up to use fullscreen mode. There's no dock at the bottom of the screen, and it doesn't appear either when I scroll to the bottom of the screen like it normally does in non-fullscreen mode.
How can I reveal the dock when in fullscreen mode?
A: After you reach the bottom of the screen with the mouse cursor, keep sliding your finger down in the trackpad.
| Q: How do I see the dock in a fullscreen window in OS X? I'm running Mac OS X Mavericks and I have several apps set up to use fullscreen mode. There's no dock at the bottom of the screen, and it doesn't appear either when I scroll to the bottom of the screen like it normally does in non-fullscreen mode.
How can I reveal the dock when in fullscreen mode?
A: After you reach the bottom of the screen with the mouse cursor, keep sliding your finger down in the trackpad.
A: It appears that the trick is to move the cursor to the bottom of screen like I normally would, but KEEP MY FINGER ON THE TRACKPAD when I get there. If you take your finger off of the trackpad, the dock won't appear, but if you keep it there then it will.
(There are other reports that moving the cursor to the bottom of the screen and then repeating the same action again can make the dock appear, but I had inconsistent results with that technique.)
A: You can check this out yourself:
When you fast-move the cursor to where your Dock is hidden or when you pause right there and let the cursor hover. No Dock.
Here’s the trick:
You need to move the cursor very slowly. That’s all you need to do. If you move it too fast to the edge of your screen, the Dock won’t show up.
A: When you are in non-full screen mode the dock appears when you move cursor to bottom. But, in full screen apple developers probably didn't want you to be distracted when you take your cursor down(say to select a text at last line of the document), that's why you need to keep your cursor there and not move your finger from trackpad. In other words, dock is not a preference when in full screen mode.
A: You go to Setting>Dock>Uncheck Auto hide dock
A: The real trick is you have to think your dock is hidden 1 inch bottom of the full screen app's bottom part. Then you have to move your cursor more deep than you would usually do. I got 100% success with this trick.
| apple | {
"language": "en",
"length": 371,
"provenance": "stackexchange_00000.jsonl.gz:30027",
"question_score": "16",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107663"
} |
e297d30e05aafdaef7993724512ed61fe5c3d011 | Apple Stackexchange
Q: iPad Air with foreign GSM carrier The new iPad Air Wi-Fi + Cellular model will work with one of these wireless carriers: AT&T, Sprint, T-Mobile, or Verizon. But, when I travel internationally, can I use a nano-SIM card from another local GSM carrier?
A: I won't be possible if your iPad is carrier locked.
If it isn't, it will work.
| Q: iPad Air with foreign GSM carrier The new iPad Air Wi-Fi + Cellular model will work with one of these wireless carriers: AT&T, Sprint, T-Mobile, or Verizon. But, when I travel internationally, can I use a nano-SIM card from another local GSM carrier?
A: I won't be possible if your iPad is carrier locked.
If it isn't, it will work.
A: No iPad has been carrier locked in the US so you are free to put whatever SIM you want in as you travel internationally without needing to hassle with an unlock.
Look at http://apple.com/ipad/LTE for details on what LTE bands are in use in various countries. You will note that the Air and Retina Mini have very generous channel coverage where older iPads didn't have mostly universal coverage and you had to pick and choose which channels your device would support.
| apple | {
"language": "en",
"length": 143,
"provenance": "stackexchange_00000.jsonl.gz:30028",
"question_score": "3",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107670"
} |
b0f533a2355c18cf6cefb42276bf0206157ebb36 | Apple Stackexchange
Q: Backup, share, or save iPhone voicemail messages? Is there a way to export, save, share, or e-mail voicemail (not Voice Memos) from the iPhone?
I am guessing there are some under-the-hood ways to get at the files once you sync to a desktop, but is there any way to do it straight from the iPhone?
I have seen this response for jailbroken phones.
How can I backup and archive my iOS voicemail messages?
A: I believe there are applications that can extract the voice messages from your phone but they cost money and required the phone be plugged in to the computer.
The simplest way is to connect your phone to your computer with a 3.5mm audio cable. Use a simple audio recording app, such as Audacity, click record and play the voice message.
| Q: Backup, share, or save iPhone voicemail messages? Is there a way to export, save, share, or e-mail voicemail (not Voice Memos) from the iPhone?
I am guessing there are some under-the-hood ways to get at the files once you sync to a desktop, but is there any way to do it straight from the iPhone?
I have seen this response for jailbroken phones.
How can I backup and archive my iOS voicemail messages?
A: I believe there are applications that can extract the voice messages from your phone but they cost money and required the phone be plugged in to the computer.
The simplest way is to connect your phone to your computer with a 3.5mm audio cable. Use a simple audio recording app, such as Audacity, click record and play the voice message.
A: I've used Decipher Voice Mail for a year or so and it saves all my iPhone voicemails as mp3 files on my computer. Great little program that enabled me to save my grandmother's voicemails after she passed away.
A: I used a third party app called TouchCopy to save my iPhone voicemail messages to my computer.
TouchCopy allows you to play and copy Voice Mail messages you have received on your iPhone. To view all Voice Mails stored on your iPhone, click the Voice Mail button in TouchCopy.
TouchCopy will copy messages from your iPhone if your iPhone supports Visual Voice Mail. These will be voice mails that are provided as part of the Visual Voice Mail data plan from your mobile service provider.
Source: Copying iPhone Voice Mails with TouchCopy
Note that the voice mails actually need to be stored on your iPhone rather than by the network operator for it to work.
A: I have a Google Voice number that I just forward important voicemails to.
To do this in a typical voicemail system, you'd press 6 for more options, then 2 to forward it.
You can keep them in your Google account pretty much as long as you want, or you can simply download them at will.
I hope this is helpful.
A: Most people use PhoneView for this. It's an app from Ecamm:
http://www.ecamm.com
You plug the iPhone to the Mac, and it all shows up on the computer.
A: I have used http://VoicemailsForever.com It was really simple and took me just a few minutes to get it done.
A: Here are a few more programs that let you export voicemails from your iPhone to your PC:
*
*iMazing (not free, and only allows you to export one voicemail in trial mode)
*iBackupBot (not free, but allows you to export all voicemails in trial mode)
*iExplorer (not free, and does not let you export any voicemail in trial mode)
All three programs run on Mac or Windows.
A: No - iOS versions up to and including iOS 9 do not allow you to forward, edit, share or otherwise push a voicemail that is stored on the device.
You'll need to avail yourself to a jailbreak mod (I don't recommend this) or a tool to read the files from the phone when it's paired with a computer. You can use USB or WiFi pairing and there are many choices of apps to grab the voicemail files but they depend on your choice of computer OS.
Lastly, contact your carrier - they might allow you to forward a message that's still on their servers or be able to assist you. Again - there are hundreds of carriers, so that's more a thing to research for your specific carrier or change carriers if you can find one to help with this function/feature.
A: Apple has released a support document for how to save iOS Voicemail messages:
Save and share Visual Voicemail messages on your iPhone
Save your Visual Voicemail messages as notes or voice memos, and share them using Messages, Mail, or Airdrop.
https://support.apple.com/en-us/HT205012
Apple's advice is to save the voicemail message via the Notes or Voice Memos app:
*
*Go to Phone > Voicemail.
*Tap the voicemail message that you'd like to save, then tap the share button.
*Choose Notes or Voice Memos. Then save your voicemail message. Or choose Messages, Mail, or AirDrop, then type and send your message with the attached voicemail. You can also share the voicemail by tapping an AirDrop contact.
A: You can use the iOS Screen Recording feature to record the Visual Voicemail playback within the iOS Phone app.
This video recording will be saved to your iCloud Photos Library. You can then adjust the Date & Time on the video so that it appears in your library exactly when the Voicemail was actually recorded.
This technique also saves the Visual Voicemail transcription of the Voicemail message, which in nice to have as a preview of the audio when scrolling through your Photo Library.
A: Connect your device to iTunes using USB or Wi-Fi, select the device, then the Music tab and check the Voice Memos option, then sync the device.
A: Have Siri call your voicemail for you... Follow the voicemenu prompts....ez
| apple | {
"language": "en",
"length": 847,
"provenance": "stackexchange_00000.jsonl.gz:30032",
"question_score": "14",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107681"
} |
2bad12a7cbf6934f3bec1aae98614e4b07a8deb4 | Apple Stackexchange
Q: In Keynote '13, A dialog box keeps giving me a warning when I save / autosave The following warning appears:
This happens both when I save and the autosave (which happens often). It is a modal box and interrupts workflow.
No other applications are running, and the issue survives program and operating system restarts. What could be causing this?
(This issue is new with Mavericks / Keynote '13).
A: The file might be being modified by another process. You can see as the file is accessed by various processes by running:
sudo opensnoop -f /path/to/file
Use the file normally, then attempt to save. If you get the error, check back in Terminal to see if any other processes have accessed the file.
| Q: In Keynote '13, A dialog box keeps giving me a warning when I save / autosave The following warning appears:
This happens both when I save and the autosave (which happens often). It is a modal box and interrupts workflow.
No other applications are running, and the issue survives program and operating system restarts. What could be causing this?
(This issue is new with Mavericks / Keynote '13).
A: The file might be being modified by another process. You can see as the file is accessed by various processes by running:
sudo opensnoop -f /path/to/file
Use the file normally, then attempt to save. If you get the error, check back in Terminal to see if any other processes have accessed the file.
A: My thinking is that this is a permissions problem or a server problem.
Do you have any servers mounted?
If you save a file to your Documents folder does the problem occur?
Have you tried deleting and reinstalling Keynote?
Are you "sharing" the document so that Keynote has put it in your iCloud account?
Have you tried running Disk Utility and got it to verify permissions on your drive?
If you are having a permissions problem then I'd have a close look at ~/Library/Saved Application State/com.apple.iWork.Keynote.savedState and it's contents as well as any server you have mounted.
A: Use the fs_usage (man page) command to monitor, in real time, accesses to your Keynote presentation.
*
*Open Terminal (or iTerm, et al).
*Copy/paste the following into your Terminal window, replacing the word FILE with the filename of your Keynote presentation (keep quotes if your filename contains spaces or other non-ASCII characters):
sudo fs_usage | egrep "FILE" # e.g. "My Preso.key"
*Open your Keynote presentation. In your Terminal screen, you'll see a bunch of output related to opening the file this like so:
11:29:55 getattrlist /path/to/My Preso.key 0.000003 Keynote.app
11:29:55 getattrlist /path/to/My Preso.key 0.000005 Keynote.app
11:29:55 getattrlist /path/to/My Preso.key 0.000005 Keynote.app
11:29:55 lstat64 /path/to/My Preso.key 0.000002 Keynote.app
11:29:55 getattrlist /path/to/My Preso.key 0.000012 Keynote.app
11:29:55 getattrlist /path/to/My Preso.key 0.000012 Keynote.app
11:29:55 lstat64 /path/to/My Preso.key 0.000006 Keynote.app
11:29:55 access /path/to/My Preso.key 0.000013 Keynote.app
11:29:55 open /path/to/My Preso.key 0.000016 Keynote.app
11:29:55 open /path/to/My Preso.key 0.000007 Keynote.app
Then, do what you normally do in your spreadsheet. You may want to align your windows so you can see your Terminal window while you work. Whenever there's new output in your Terminal window, check the last column. It should normally say Keynote.app but if there's an access by any other process, you'll see it there and then you'll have your culprit.
| apple | {
"language": "en",
"length": 427,
"provenance": "stackexchange_00000.jsonl.gz:30033",
"question_score": "4",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107682"
} |
33c3e22368d834754ef1c4b848f0198ae5052ef1 | Apple Stackexchange
Q: Screen brightness automatically adjusting in OS X Mavericks I just downloaded OS X Mavericks for my MacBook Pro. I don't know if this is a unique problem, but the screen brightness is automatically adjusting on it's own.
If I set it for about half the bars (50%), I'll be working, then notice that the screen is brighter than normal. I'll check and it'll be at 75% or higher. Then, when I open the MacBook from sleep, sometimes the brightness is at 100% and sometimes it'll be 10%.
What gives? Is there a automatic adjust brightness setting on the new OS that I need to turn off?
A: There is an automatic brightness adjustment setting, but it's not new to Mavericks. In System Preferences, check Displays; the setting is called "Automatically adjust brightness".
It adjusts based on a light sensor near your MacBook's built-in camera. I've found it to be fairly good, but occasionally tipping my MacBook Air's display back a little further back than usual will make the light sensor detect more light and brightens the display considerably.
| Q: Screen brightness automatically adjusting in OS X Mavericks I just downloaded OS X Mavericks for my MacBook Pro. I don't know if this is a unique problem, but the screen brightness is automatically adjusting on it's own.
If I set it for about half the bars (50%), I'll be working, then notice that the screen is brighter than normal. I'll check and it'll be at 75% or higher. Then, when I open the MacBook from sleep, sometimes the brightness is at 100% and sometimes it'll be 10%.
What gives? Is there a automatic adjust brightness setting on the new OS that I need to turn off?
A: There is an automatic brightness adjustment setting, but it's not new to Mavericks. In System Preferences, check Displays; the setting is called "Automatically adjust brightness".
It adjusts based on a light sensor near your MacBook's built-in camera. I've found it to be fairly good, but occasionally tipping my MacBook Air's display back a little further back than usual will make the light sensor detect more light and brightens the display considerably.
A: Sorry for the 'me too', but my 2012 MBA started to behave like that after upgrading to Mavericks. That is, with stable ambient lightning conditions, the screen background lightning is fluctuating. When I open the Preferences/Displays panel, I can see the slider move up and down by itself.
I eliminated the symptom by unchecking the "Automatically adjust brightness" box, but it seems like a bug in Mavericks.
| apple | {
"language": "en",
"length": 247,
"provenance": "stackexchange_00000.jsonl.gz:30034",
"question_score": "26",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107692"
} |
090ca3ed256aed98c02f438191d69dcd7c60a9c9 | Apple Stackexchange
Q: AppleScript : do a mouse scroll on a Finder window How can I do a mouse scroll on a Finder window in AppleScript ?
I know there is keystroke for the keyboard, click for a mouse click, but is there something for the mouse wheel ?
A: You can set scroll bar position using Apple Script. In Finder without horizontal scroll bar You can do something like:
activate application "Finder"
tell application "System Events"
tell process "Finder"
-- range is from 0.0 to 1.0, so to scroll halfway you would use 0.5
set value of scroll bar 1 of scroll area 2 of splitter group 1 of front window to 0.0
end tell
end tell
Tip from https://discussions.apple.com/thread/1540280?start=0&tstart=0 User James Nierodzik
| Q: AppleScript : do a mouse scroll on a Finder window How can I do a mouse scroll on a Finder window in AppleScript ?
I know there is keystroke for the keyboard, click for a mouse click, but is there something for the mouse wheel ?
A: You can set scroll bar position using Apple Script. In Finder without horizontal scroll bar You can do something like:
activate application "Finder"
tell application "System Events"
tell process "Finder"
-- range is from 0.0 to 1.0, so to scroll halfway you would use 0.5
set value of scroll bar 1 of scroll area 2 of splitter group 1 of front window to 0.0
end tell
end tell
Tip from https://discussions.apple.com/thread/1540280?start=0&tstart=0 User James Nierodzik
| apple | {
"language": "en",
"length": 122,
"provenance": "stackexchange_00000.jsonl.gz:30038",
"question_score": "3",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107704"
} |
30b9cf477bf8951f751d95716f35f781c3ffb373 | Apple Stackexchange
Q: Can I restore pre-Mavericks power key behavior? Mavericks changed the behavior of my MacBook Air's power key to put the Air to sleep immediately when pressed briefly. Prior to Mavericks, the power key would summon the Shut Down dialog.
As detailed in OS X Mavericks: Using the power button, holding the key for 1.5 seconds brings up the old Shut Down dialog, and holding for 5 seconds will shut down unconditionally. Holding control while pressing the power key will also bring up the Shut Down dialog.
Is there any way to restore the old, pre-Mavericks behavior as a preference? I'm used to using the power key to get the Shut Down dialog and seem to not be able to retrain myself particularly effectively.
A: Since Mac OS 10.9.2 you can go back to something close to the pre-Mavericks behavior easily.
Type in terminal:
defaults write com.apple.loginwindow PowerButtonSleepsSystem -bool no
It's not exactly the same, since you still need to press the button for 1 sec. But if you press the button accidentally, the shut down dialog is not going to appear.
Note: if you want to go back to the Mavericks behavior, juste change no to yes.
| Q: Can I restore pre-Mavericks power key behavior? Mavericks changed the behavior of my MacBook Air's power key to put the Air to sleep immediately when pressed briefly. Prior to Mavericks, the power key would summon the Shut Down dialog.
As detailed in OS X Mavericks: Using the power button, holding the key for 1.5 seconds brings up the old Shut Down dialog, and holding for 5 seconds will shut down unconditionally. Holding control while pressing the power key will also bring up the Shut Down dialog.
Is there any way to restore the old, pre-Mavericks behavior as a preference? I'm used to using the power key to get the Shut Down dialog and seem to not be able to retrain myself particularly effectively.
A: Since Mac OS 10.9.2 you can go back to something close to the pre-Mavericks behavior easily.
Type in terminal:
defaults write com.apple.loginwindow PowerButtonSleepsSystem -bool no
It's not exactly the same, since you still need to press the button for 1 sec. But if you press the button accidentally, the shut down dialog is not going to appear.
Note: if you want to go back to the Mavericks behavior, juste change no to yes.
A: The file to change would be /Library/Preferences/SystemConfiguration/com.apple.PowerManagement.plist (cf this AD post)
In Lion/Mountain Lion we had a key Power Button. Unfortunately it's not recognized anymore. I'm pessimistic about restoring this behaviour.
A: According to the following article, you can: http://binchewer.org/blog/index.php?id=1
| apple | {
"language": "en",
"length": 239,
"provenance": "stackexchange_00000.jsonl.gz:30039",
"question_score": "13",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107708"
} |
456f0aa3ccc570255521c2963513ae27c9d59cd4 | Apple Stackexchange
Q: How can I convert an m4a to mov? I have a m4a audio file that I need to convert to a mov file. How can I do this?
A: This creates an x264-encoded mov file with image.png as the background:
ffmpeg -loop 1 -i image.png -i audio.m4a -c:a copy -c:v libx264 -crf 20 -pix_fmt yuv420p -shortest output.mov
You can use mp4 or mkv as the container by just changing the name of the output file.
-c:a copy disables re-encoding the audio.
-loop 1 loops the image infinitely so that it is not shown for just one frame. It also makes the video stream infinitely long, so -shortest is needed to finish encoding after the audio stream finishes. -shortest has to be after the input files in new versions of ffmpeg.
-crf (constant rate factor) can be from 0 (lossless) to 51 (lowest quality). If you remove -pix_fmt yuv420p, ffmpeg uses yuv444p, which is not supported by many video players.
You can use a black background by replacing -loop 1 -i image.png with -f lavfi -i color=c=black:s=1280x720. You can resize an image by adding an option like -filter:v '[in] scale=-1:720, pad=1280:720:640-iw/2 [out]'.
More information:
*
*https://trac.ffmpeg.org/wiki/EncodeforYouTube
*https://superuser.com/questions/98980
*http://tdb0.wordpress.com/2012/03/10/how-to-upload-a-song-without-a-music-video-to-youtube/
| Q: How can I convert an m4a to mov? I have a m4a audio file that I need to convert to a mov file. How can I do this?
A: This creates an x264-encoded mov file with image.png as the background:
ffmpeg -loop 1 -i image.png -i audio.m4a -c:a copy -c:v libx264 -crf 20 -pix_fmt yuv420p -shortest output.mov
You can use mp4 or mkv as the container by just changing the name of the output file.
-c:a copy disables re-encoding the audio.
-loop 1 loops the image infinitely so that it is not shown for just one frame. It also makes the video stream infinitely long, so -shortest is needed to finish encoding after the audio stream finishes. -shortest has to be after the input files in new versions of ffmpeg.
-crf (constant rate factor) can be from 0 (lossless) to 51 (lowest quality). If you remove -pix_fmt yuv420p, ffmpeg uses yuv444p, which is not supported by many video players.
You can use a black background by replacing -loop 1 -i image.png with -f lavfi -i color=c=black:s=1280x720. You can resize an image by adding an option like -filter:v '[in] scale=-1:720, pad=1280:720:640-iw/2 [out]'.
More information:
*
*https://trac.ffmpeg.org/wiki/EncodeforYouTube
*https://superuser.com/questions/98980
*http://tdb0.wordpress.com/2012/03/10/how-to-upload-a-song-without-a-music-video-to-youtube/
A: Open the .m4a in QuickTime and export it as a .mov file.
A: You could use iMovie to create a movie just showing a black screen and using the audio file as the audio track.
A: This can be accomplished with VLC.
Please refer to the following transcoding instructions.
A: Flip for Mac easily opened, converted and saved the file to .MOV
| apple | {
"language": "en",
"length": 261,
"provenance": "stackexchange_00000.jsonl.gz:30040",
"question_score": "4",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107714"
} |
a4bfa3de461a7cef7f4c38844f1628b7a0084f83 | Apple Stackexchange
Q: 2 Column Text plain text or markdown editor? I'm looking for a text editor of some kind where it's split down the middle when editing 2 separate files.
I'm trying to translate some text and it would be helpful if I could have English and its meaning on 1 side and Spanish on the other.
Is there anything like this for OS X?
A: There is also Emacs where you can split a window horizontally:
vertically:
(source: ibm.com)
or in a more complicated fashion:
| Q: 2 Column Text plain text or markdown editor? I'm looking for a text editor of some kind where it's split down the middle when editing 2 separate files.
I'm trying to translate some text and it would be helpful if I could have English and its meaning on 1 side and Spanish on the other.
Is there anything like this for OS X?
A: There is also Emacs where you can split a window horizontally:
vertically:
(source: ibm.com)
or in a more complicated fashion:
A: I'd recommend Sublime Text 2 or Sublime Text 3 beta. You can switch to 2 column mode from View -> Layout -> Columns: 2, or Cmd+Option+2. The app supports multiple syntax highlighting options (including markdown), but doesn't display formatted markdown.
A: VIM will accomplish this. The mac version is MacVim.
You can accomplish what you want by opening one file, then from the menu:
File > Split Diff with...
The output will look like this:
with differences highlighted.
A: You can now do this perfectly with Visual Studio Code. There's even a Markdown preview there.
| apple | {
"language": "en",
"length": 181,
"provenance": "stackexchange_00000.jsonl.gz:30041",
"question_score": "3",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107719"
} |
585617a74570f4b471c36ea4209339bdf1b8eb41 | Apple Stackexchange
Q: I-beam cursor color in Mavericks's terminal After upgrading to Mavericks the I-beam cursor in the terminal became less visible (see screenshot, I am using the Pro profile with a dark background)
Is there a way to change the cursor's color or to make it more visible? In the preferences I only managed to change the color of the text cursor.
A: As many have mentioned above, I did this -
*
*Take a backup of existing ShadowedIBeam.tiff
cp Terminal.app/Contents/Resources/ShadowedIBeam.tiff Terminal.app/Contents/Resources/ShadowedIBeam.orig.tiff
*Make your own cursor .... or, if you are a lazy one, just use this one - (credit: Chris Dragon and his answer on this thread)
*Then copy it over the original ShadowedIBeam.tiff
sudo cp ~/Downloads/TIbeam.tiff Terminal.app/Contents/Resources/ShadowedIBeam.tiff
*And finally, run this -
defaults write com.apple.Terminal UseCustomIBeamCursor -bool YES
If you were as lucky as I was, you should have your eyes profusely thanking you in sheer gratitude!
| Q: I-beam cursor color in Mavericks's terminal After upgrading to Mavericks the I-beam cursor in the terminal became less visible (see screenshot, I am using the Pro profile with a dark background)
Is there a way to change the cursor's color or to make it more visible? In the preferences I only managed to change the color of the text cursor.
A: As many have mentioned above, I did this -
*
*Take a backup of existing ShadowedIBeam.tiff
cp Terminal.app/Contents/Resources/ShadowedIBeam.tiff Terminal.app/Contents/Resources/ShadowedIBeam.orig.tiff
*Make your own cursor .... or, if you are a lazy one, just use this one - (credit: Chris Dragon and his answer on this thread)
*Then copy it over the original ShadowedIBeam.tiff
sudo cp ~/Downloads/TIbeam.tiff Terminal.app/Contents/Resources/ShadowedIBeam.tiff
*And finally, run this -
defaults write com.apple.Terminal UseCustomIBeamCursor -bool YES
If you were as lucky as I was, you should have your eyes profusely thanking you in sheer gratitude!
A: It looks like it was possible before Mavericks by editing
/Applications/Utilities/Terminal.app/Contents/Resources/ShadowedIBeam.tiff
I've tried changing that file, but it is never reflected in Terminal. I'd love to change this as I have a dark background color too.
A: Edit the cursor tiff image inside the Terminal App with for example Image editor (freeware)
Terminal.app/Contents/Resources/ShadowedIBeam.tiff
and then run
defaults write com.apple.Terminal UseCustomIBeamCursor -bool YES
A: Same for me: Tried to edit ShadowedIBeam.tiff, with GIMP, but no effects whatsoever.
What I did notice (with the file command). The original is a big-endian tiff, my modified version is a little-endian .tiff. In general I do know what little and big-endian is about, bu why would Apple distribute big-endian files on a little-endian (Intel!) machine??
I think it would be wise if Apple would an option to invert the colour of the I-Beam, nothing fancy or difficult about that!
A: You can do this with Mousescape:
https://github.com/alexzielenski/Mousecape/releases
If you use Max Rudberg's Svanslös cursors, the I-Beam shows up nicely on a black background with the caveat that it gives you some other kind of weird flashy cursors. I believe you can create your own if you have the interest.
For recent versions of Mac OS, you will need to disable the custom IBeam cursor in Terminal:
defaults write com.apple.Terminal UseCustomIBeamCursor -bool NO
A: defaults write com.apple.Terminal UseCustomIBeamCursor -bool YES
A: This answer on superuser provides a solution where he has written an app available on github to customise the cursor to allow it to work with all apps.
I had been using iTerm for years but it did bug me where the terminal output could sometimes behave erratic I switched back to Terminal around snow-leopard or some-time after native terminal provided tab support.
A: Based on the steps from Christian:
Edit the cursor tiff image inside the Terminal App with for example Image editor (freeware)
Terminal.app/Contents/Resources/ShadowedIBeam.tiff
and then run
defaults write com.apple.Terminal UseCustomIBeamCursor -bool YES
I used GIMP to accomplish this
*
*You can use GIMP to edit if desired (did this successfully)
*Click "open" in GIMP, Import from TIFF screen pops up
*On Import Pop-Up, click "Select All" and open as "Layers --> now "import"
*Do NOT change the RGB color profile, click "keep"
*Pick one of the layers to keep (big or small depending on what you want); delete the other layer
*Click on the "Colors" menu tab at the top of the screen and then click "Invert"
*Click on "File" and then "Export" --> export as "TIFF" file, save this copy in your documents and name it correctly ShadowedIBeam.tiff
*BEFORE YOU OVERWRITE THE ORIGINAL make a copy of it and also put this in your documents folder --> name it ShadowedIBeam.backup.tiff
*cp /Applications/Utilities/Terminal.app/Contents/Resources/ShadowedIBeam.tiff ~/Documents
*Copy the newly created Cursor file to the specified location, this step will overwrite the file inside the Terminal.app
sudo cp ShadowedIBeam.tiff /Applications/Utilities/Terminal.app/Contents/Resources/
*Finally set the flag for Terminal.app to use a custom cursor
defaults write com.apple.Terminal UseCustomIBeamCursor -bool YES
If the change doesn't take effect immediately (or after clicking around) then simply close Terminal app completely (CMD + Q) and then reopen Terminal.app
(tested on Yosemite 10.10.5)
| apple | {
"language": "en",
"length": 669,
"provenance": "stackexchange_00000.jsonl.gz:30046",
"question_score": "25",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107737"
} |
af2ca3dba63b27f3a63dda615a670aa0dce10807 | Apple Stackexchange
Q: Is it possible to assign custom Keyboard Shortcuts to Styles in Pages 5.0? In the previous Pages release there used to be the possibility to assign keyboard shortcuts to styles, although limited to the F1..F8 keys.
Apparently this feature is missing from the freshly installed Pages 5.0. Even worse, shortcuts do not apply to documents created with a template that defined the shortcuts link.
Is there any other way to assign keyboard shortcut to styles?
Cheers
====
Update: in current version (5.2) of Pages the feature has been re-introduced. I guess this closes the question.
A: I'm afraid there is no way to do it. Apple apparently removed the feature and it is also not possible to do it via the OS X shortcuts because there is no Menu entry for choosing styles in Pages.
Here's a discussion in the Apple Support Communities where people are pretty upset about this truly annoying feature regression: https://discussions.apple.com/message/23628178#23628178
| Q: Is it possible to assign custom Keyboard Shortcuts to Styles in Pages 5.0? In the previous Pages release there used to be the possibility to assign keyboard shortcuts to styles, although limited to the F1..F8 keys.
Apparently this feature is missing from the freshly installed Pages 5.0. Even worse, shortcuts do not apply to documents created with a template that defined the shortcuts link.
Is there any other way to assign keyboard shortcut to styles?
Cheers
====
Update: in current version (5.2) of Pages the feature has been re-introduced. I guess this closes the question.
A: I'm afraid there is no way to do it. Apple apparently removed the feature and it is also not possible to do it via the OS X shortcuts because there is no Menu entry for choosing styles in Pages.
Here's a discussion in the Apple Support Communities where people are pretty upset about this truly annoying feature regression: https://discussions.apple.com/message/23628178#23628178
A: In current version (5.2) of Pages the feature has been re-introduced. I guess this closes the question.
| apple | {
"language": "en",
"length": 174,
"provenance": "stackexchange_00000.jsonl.gz:30053",
"question_score": "3",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107782"
} |
d543beaaf3a0b56aa8838d3e0bc22ebb18e5610f | Apple Stackexchange
Q: Maintaining Aspect Ratio while Image Cropping using Preview I like the convenience of being able to crop jpg/png images with Preview, but I would also like to be able occasionally to restrict the aspect ratio of the cropped image. This is useful, for instance, if I want to prepare images for printing in 4x6 or 5x7, while avoiding any surprise cropping made by the photo lab.
I am hoping there is a quick and easy way to do this (i.e., without needing to invoke the behemoth of image editing for this elementary task). Are you aware of one?
A: In Photos (not iPhoto) click Edit
then Crop
then Aspect, and finally Original
.
As of this writing (August 2016), there is no way to do this using Preview or any other stock program in El Capitan. Photos is nearly stock though, and it's easy enough using Photos.
| Q: Maintaining Aspect Ratio while Image Cropping using Preview I like the convenience of being able to crop jpg/png images with Preview, but I would also like to be able occasionally to restrict the aspect ratio of the cropped image. This is useful, for instance, if I want to prepare images for printing in 4x6 or 5x7, while avoiding any surprise cropping made by the photo lab.
I am hoping there is a quick and easy way to do this (i.e., without needing to invoke the behemoth of image editing for this elementary task). Are you aware of one?
A: In Photos (not iPhoto) click Edit
then Crop
then Aspect, and finally Original
.
As of this writing (August 2016), there is no way to do this using Preview or any other stock program in El Capitan. Photos is nearly stock though, and it's easy enough using Photos.
A: There is no way to do exactly what you are specifying in Preview.app without doing a bit of math.
Holding down the shift key while using the select tool will force the select box to retain itself in square dimensions, while holding down the option key will open the select box from the center of where you begin your selection, while holding down both shift and option keys will implement both these features simultaneously. After creating the size of the select box that you want, you can use command-K to crop. Using the Adjust Size function in the Tools menu retains the aspect ratio by default.
Not what you asked for, but when using the select tool, you will notice numbers at 2 of the corners of the select box, and if you're very good with math (i.e. know if the numbers showing are multiples of your desired aspect ratio) and have a steady hand, you can accomplish what you are asking for on the fly. Otherwise, you'll have to figure out those dimensions beforehand or one at a time, and manually try to match up the numbers. In the end and in all circumstances, in my experience, mathematics is simply inescapable.
photo crop PRO
You may want to demo using an application dedicated to exactly what you want to do (rather than seeking functionality that just isn't there from such a simple, although often very useful, application such as Preview.app), for example,
photo crop PRO.
I personally would not recommend using Mac App Store ;-), but it is
also available from the Mac App Store.
darktable
Alternatively, for an application far more powerful than either Preview or photo crop Pro, I've discovered darktable, which
"is an open source photography workflow application and RAW developer. A virtual lighttable and darkroom for photographers. It manages your digital negatives in a database, lets you view them through a zoomable lighttable and enables you to develop raw images and enhance them."
darktable can be installed manually, but is also maintained as a port using MacPorts, if you prefer to use package management. I've included step by step instructions for installing MacPorts and darktable below.
GIMP
Another extremely powerful alternative suggested in another response (I thank you Ecnerwal!) is using the GIMP. The GIMP can be installed manually, or built from source using MacPorts. I've included instructions below on how to install the GIMP using MacPorts. If you know Adobe Photoshop well, you may want to demo using GIMPshop, which very cleverly and conveniently reconstructs the look and feel of the GIMP to appear and behave nearly just like Photoshop... and its all for free.
MacPorts
If you're looking for a mature package management solution, for OS X I recommend MacPorts. MacPorts requires an appropriate version of xcode; xcode_5.1.1.dmg is the most recent version for Mavericks and Mountain Lion, and will require registering for free as an Apple Developer. Once registered and logged in, the link above for xcode will initiate the xcode download.
Get to know MacPorts
Install MacPorts
Enter these commands using /Applications/Utilities/Terminal.app
curl -Ok https://distfiles.macports.org/MacPorts/MacPorts-2.2.1.tar.bz2
tar xf MacPorts-2.2.1.tar.bz2
cd MacPorts-2.2.1
./configure
make
sudo make install # *not war!*
cd ..
rm -rf Macports-*
sudo /opt/local/bin/port -v selfupdate
add MacPorts to your $PATH:
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
install darktable
sudo port -vsc install darktable
install the GIMP
sudo port -vsc install gimp
search MacPorts for other free photo utilities
port search photo
to completely uninstall MacPorts
If, for whatever reason, you need to remove MacPorts:
sudo port -dfp uninstall --follow-dependencies installed
sudo port -dfp uninstall all
sudo rm -rf /opt/local
sudo rm -rf /Library/Tcl/macports*
A: Do it in iPhoto.
*
*Open a file.
*Choose Edit.
*Choose Crop or type c
*Check constrain box for Original, the second dimension
*Crop and hit Enter.
*Save.
A: I don't think "what you want" really exists - so I'll answer with alternate ways to get there that are less painful than just staying in Preview.
I have a regular flow with fixed aspect where I use a tool from a camera suite (probably obsolete - certainly dubious about talking to the camera anymore with updated systems) that does fixed crop, resize to fixed pixels, and export - then open in Preview and use its color adjust tools (which get where I want faster than things with more options, and well-enough for the job.) You may find something similar (crop-wise) in software for a camera you own.
If "the behemoth" (or lack thereof) is your main issue, GIMP does fixed aspect crop for an attractive price (free or what you choose to donate) and without (IMHO) being a behemoth. It's quietly become quite decent, though it started out laughably bad.
A: Draw a diagonal from one corner to the other. Then hit Cmd-A and move one of the corresponding corner handles on the line to mark your desired region. Hit crop and then delete the line again.
You might not consider this simpler than opening image editing software :) but it is quite fast nonetheless.
A: I love how everyone is saying there is no way...
There is always a way, given not the best.
*
*Figure the aspect ratio you want (eg. 16:9)
*Get the dimensions matching the aspect ratio (eg. 1920x1080)
*Adjust the size of image on the longer side (eg. 1920), keep scale proportionally
*Select the whole image (CMD + A)
*Resize the selection so the shorter size fits your dimension (eg. 1080)
*Crop your image to your liking, move the selection
*Crop image
A: If I understand your question correctly you could just use the Adjust Size… option from the Tools menu, and if it's not selected already, set Fit into to Custom.
A: I know this thread is old but you could always do it with an Automator script.. You don't have control of what is cropped though...
| apple | {
"language": "en",
"length": 1123,
"provenance": "stackexchange_00000.jsonl.gz:30057",
"question_score": "14",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107794"
} |
141bc7c99fa606c42ffc31e9e8a481f9af7a41ad | Apple Stackexchange
Q: Calendar problems with iOS 7 right after updating the device Calendar on iPhone 4s does not work with iOS 7. It stopped working 2 days ago. It won't open on the phone. iCloud is working fine and so is iCal on my MacPro.
How do I get it to work again?
A: Make sure you have a Calendar set up in iOS, either an iCloud calendar (Settings -> iCloud) or another one (Settings -> Mail, Contacts, Calendars). If your only calendars are read-only, like Facebook Events and Birthdays, you won't be able to create events.
In iOS 7 and 8, you can check the calendars that have been set up by tapping "Calendars" at the bottom of the calendar view. If you don't see an iCloud calendar or another one you can edit, you'll need to create one.
| Q: Calendar problems with iOS 7 right after updating the device Calendar on iPhone 4s does not work with iOS 7. It stopped working 2 days ago. It won't open on the phone. iCloud is working fine and so is iCal on my MacPro.
How do I get it to work again?
A: Make sure you have a Calendar set up in iOS, either an iCloud calendar (Settings -> iCloud) or another one (Settings -> Mail, Contacts, Calendars). If your only calendars are read-only, like Facebook Events and Birthdays, you won't be able to create events.
In iOS 7 and 8, you can check the calendars that have been set up by tapping "Calendars" at the bottom of the calendar view. If you don't see an iCloud calendar or another one you can edit, you'll need to create one.
A: The initial set of troubleshooting steps might be:
*
*Attempt a backup of the device.
*Power off the device.
*Check that the calendars are still working by logging into the web interface using a computer while the iOS device is powered off to ensure that the service is up and your account is working properly.
At that point, you can restart your phone and start down troubleshooting if it still is misbehaving.
A: Go to "Mail, Contacts, Calendars" , under "Accounts" go to "iCloud" and make sure the "Calendars" is on "ON".
| apple | {
"language": "en",
"length": 232,
"provenance": "stackexchange_00000.jsonl.gz:30064",
"question_score": "3",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107806"
} |
f59e20ffb3e07c73d3007c7af53ee4d4ad9e701a | Apple Stackexchange
Q: Does free iWork on iOS entitle me to free iWork to Mac? I have recently become the proud owner of a new iPhone 5s and have benefitted from the free iWork apps that are available to new devices.
I also own a 2012 MacBook Pro running Mavericks. Now I have the iWork apps on my iPhone, does it entitle me to them on my Mac via 'purchased' or are they different apps altogether being on different platforms?
A: Actually no, iOS and OSX version of iWorks are 2 different softwares although linked by iCloud (AppStore & Mac AppStore "are" independent). iWork for OSX is free for every Mac bought after October 1st 2013.
There are some workaround to get the 3 OSX apps (Pages, Keynote & Numbers) for free without any illegal download.
Does Apple know that or do they do that on purpose ? That a good question that I do not know the answer.
| Q: Does free iWork on iOS entitle me to free iWork to Mac? I have recently become the proud owner of a new iPhone 5s and have benefitted from the free iWork apps that are available to new devices.
I also own a 2012 MacBook Pro running Mavericks. Now I have the iWork apps on my iPhone, does it entitle me to them on my Mac via 'purchased' or are they different apps altogether being on different platforms?
A: Actually no, iOS and OSX version of iWorks are 2 different softwares although linked by iCloud (AppStore & Mac AppStore "are" independent). iWork for OSX is free for every Mac bought after October 1st 2013.
There are some workaround to get the 3 OSX apps (Pages, Keynote & Numbers) for free without any illegal download.
Does Apple know that or do they do that on purpose ? That a good question that I do not know the answer.
| apple | {
"language": "en",
"length": 157,
"provenance": "stackexchange_00000.jsonl.gz:30065",
"question_score": "5",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107816"
} |
3bc6b886c44abd078cbc3485f2359a227b170bf7 | Apple Stackexchange
Q: Can I turn off all notifications? In the system preferences, I've set all of them to "None" for the various applications, but I'm still seeing things like software updates and battery status there in pop-ups in the top-right corner of my screen.
Is there any way to just turn off all notifications?
A: Do Not Disturb will mute all notifications. You can enable it by opening Notification Center by clicking on the NC icon in the menubar (or sliding in from the side of the trackpad with two fingers) and turning the switch on.
You can permanently set Do Not Disturb on by going to System Preferences → Notifications and setting the schedule to "00:00 to 23:59".
→
To remove Notification Center altogether, you can run the following Terminal commands:
launchctl unload -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist
killall NotificationCenter
sudo defaults write /System/Library/LaunchAgents/com.apple.notificationcenterui KeepAlive -bool False
Make sure to scroll to copy the entire line
| Q: Can I turn off all notifications? In the system preferences, I've set all of them to "None" for the various applications, but I'm still seeing things like software updates and battery status there in pop-ups in the top-right corner of my screen.
Is there any way to just turn off all notifications?
A: Do Not Disturb will mute all notifications. You can enable it by opening Notification Center by clicking on the NC icon in the menubar (or sliding in from the side of the trackpad with two fingers) and turning the switch on.
You can permanently set Do Not Disturb on by going to System Preferences → Notifications and setting the schedule to "00:00 to 23:59".
→
To remove Notification Center altogether, you can run the following Terminal commands:
launchctl unload -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist
killall NotificationCenter
sudo defaults write /System/Library/LaunchAgents/com.apple.notificationcenterui KeepAlive -bool False
Make sure to scroll to copy the entire line
| apple | {
"language": "en",
"length": 153,
"provenance": "stackexchange_00000.jsonl.gz:30069",
"question_score": "4",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107836"
} |
15ed15c2bdf654360b70e1b7f06697dae3abebf1 | Apple Stackexchange
Q: Parsing dates in Mavericks I'm sure this used to be valid:
$ date -d"2013-10-12T09:23:28+0100" +%h
usage: date [-jnu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ...
[-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]] [+format]
But it seems not to be in Mavericks. Indeed, the example for parsing dates in man date also doesn't seem to work:
$ date -j -f "%a %b %d %T %Z %Y" "`date`" "+%s"
Failed conversion of ``Thu 31 Oct 2013 21:05:29 GMT'' using format ``%a %b %d %T %Z %Y''
date: illegal time format
usage: date [-jnu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ...
[-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]] [+format]
Any ideas on a workaround?
A: Here are two date commands that work on Mavericks to convert/extract time from date strings:
mac:~ me$ date -j -f "%Y-%m-%d %T" "2013-10-12 09:23:28" +%s
1381584208
mac:~ me$ date -j -f "%Y/%m/%d %T" "2013/10/22 10:45:00" +%h
Oct
It's not entirely clear what you seek, but hopefully these workable examples bridge the gap for your needs.
| Q: Parsing dates in Mavericks I'm sure this used to be valid:
$ date -d"2013-10-12T09:23:28+0100" +%h
usage: date [-jnu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ...
[-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]] [+format]
But it seems not to be in Mavericks. Indeed, the example for parsing dates in man date also doesn't seem to work:
$ date -j -f "%a %b %d %T %Z %Y" "`date`" "+%s"
Failed conversion of ``Thu 31 Oct 2013 21:05:29 GMT'' using format ``%a %b %d %T %Z %Y''
date: illegal time format
usage: date [-jnu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ...
[-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]] [+format]
Any ideas on a workaround?
A: Here are two date commands that work on Mavericks to convert/extract time from date strings:
mac:~ me$ date -j -f "%Y-%m-%d %T" "2013-10-12 09:23:28" +%s
1381584208
mac:~ me$ date -j -f "%Y/%m/%d %T" "2013/10/22 10:45:00" +%h
Oct
It's not entirely clear what you seek, but hopefully these workable examples bridge the gap for your needs.
A: -d has set the kernel's value for daylight saving time in OS X's date at least since 10.6. The first command worked for me with GNU date (where -d specifies a date string):
$ gdate -d"2013-10-12T09:23:28+0100" +%h
Oct
The second command worked with the date that comes with 10.9 when I used the en_US locale but not when I used the en_GB locale:
$ date -j -f "%a %b %d %T %Z %Y" "`date`" "+%s"
1383305706
$ date -j -f "%a %b %d %T %Z %Y" "`LC_TIME=en_GB date`" "+%s"
Failed conversion of ``Fri 1 Nov 2013 14:09:17 EET'' using format ``%a %b %d %T %Z %Y''
date: illegal time format
usage: date [-jnu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ...
[-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]] [+format]
In OS X's date, -j disables attempting to set the date and -f specifies a format for parsing a date.
| apple | {
"language": "en",
"length": 314,
"provenance": "stackexchange_00000.jsonl.gz:30070",
"question_score": "5",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107839"
} |
f2bc60e5482b096e6851010a2ace5b8917b13136 | Apple Stackexchange
Q: How to enable HiDPI mode on external display in OS X 10.9 Mavericks? The usual method of using Quartz Debug doesn't seem to work anymore.
A: actually it works on external displays such as TVs, but the list in System Preferences is limited. you can try two things:
*
*either hold "alt" when clicking "Scaled" button, or
*install one of the menu utilities such as http://www.resolutiontab.com/
the first one didn't work for me as it kept only showing "tv friendly" resolutions (720p, 1080p and 1080i). the second did indeed show 960x540 HiDPI i was after for my tv.
| Q: How to enable HiDPI mode on external display in OS X 10.9 Mavericks? The usual method of using Quartz Debug doesn't seem to work anymore.
A: actually it works on external displays such as TVs, but the list in System Preferences is limited. you can try two things:
*
*either hold "alt" when clicking "Scaled" button, or
*install one of the menu utilities such as http://www.resolutiontab.com/
the first one didn't work for me as it kept only showing "tv friendly" resolutions (720p, 1080p and 1080i). the second did indeed show 960x540 HiDPI i was after for my tv.
A: Running
sudo defaults write /Library/Preferences/com.apple.windowserver.plist DisplayResolutionEnabled -bool true
nd restarting worked for me:
I only tested it with the internal display of an iMac though.
A: It seems to me that OSX is preventing TVs (or the other way around) from using HiDPI on non-scaling mode. For example if your TV is 1080p, the 960 X 540 HiDPI won't work, but 1280 X 720 HiDPI mode will (but it will be blurry because it is really running 2560 X 1440 on a 1920 X 1080 display).
A: Alright, here we go: reversing this from the top-down, and explaining why it doesn't work for some people. All reversing done on 10.9, but the gist should hold for later versions as well.
Let's start at the end. In system preferences - displays, all core logic is handled by MonitorPanel.framework private framework.
Within it, we have the core logic to determine what name to assign to a given resolution. Note this is not what determines what resolutions are available, this is simply the user-facing string, but we start here because it explains the behavior some people mentioned before:
void * -[MPDisplayMode resolutionFormat](void * self, void * _cmd) {
rbx = self;
rax = [self tvMode];
if (LODWORD(rax) <= 0x6) goto loc_2883;
goto loc_283b;
loc_2883:
LODWORD(rcx) = LODWORD(rax);
rax = @"480iString";
rcx = sign_extend_64(*(int32_t *)(0x2a24 + rcx * 0x4));
switch (rax) {
case 0:
goto loc_289c
case 1:
goto loc_2a19
case 2:
goto loc_2914
case 3:
goto loc_2920
case 4:
goto loc_292c
case 5:
goto loc_2938
case 6:
goto loc_2944
}
loc_289c:
rax = [rbx->_display is4K];
if (LOBYTE(rax) != 0x0) {
rax = [rbx->_display isModeNative:rbx];
if (LOBYTE(rax) == 0x0) {
r15 = *objc_msgSend;
LOBYTE(r14) = LOBYTE([rbx isHiDPI]);
LOBYTE(rcx) = LOBYTE([rbx isInterlaced]);
if (LOBYTE(r14) != 0x0) {
if (LOBYTE(rcx) != 0x0) {
rax = @"InterlacedString";
}
else {
rax = @"ResolutionString";
}
}
else {
rdx = @"LoDPIInterlacedString";
rax = @"LoDPIString";
if (LOBYTE(rcx) != 0x0) {
rax = rdx;
}
}
}
else {
rax = [rbx isStretched];
if (LOBYTE(rax) != 0x0) {
rax = @"StretchedString";
}
else {
rax = [rbx isSimulscan];
if (LOBYTE(rax) != 0x0) {
rax = @"SimulscanString";
}
else {
rax = [rbx isInterlaced];
if (LOBYTE(rax) != 0x0) {
rax = @"InterlacedString";
}
else {
rax = @"ResolutionString";
}
}
}
}
}
else {
rax = [rbx isHiDPI];
if (LOBYTE(rax) != 0x0) {
rax = [rbx->_display isHiDPI];
if (LOBYTE(rax) == 0x0) {
LOBYTE(rcx) = LOBYTE([rbx isInterlaced]);
rdx = @"HiDPIString";
rax = @"HiDPIInterlacedString";
if (LOBYTE(rcx) == 0x0) {
rax = rdx;
}
}
else {
rax = @"ResolutionString";
}
}
else {
rax = [rbx isStretched];
if (LOBYTE(rax) != 0x0) {
rax = @"StretchedString";
}
else {
rax = [rbx isSimulscan];
if (LOBYTE(rax) != 0x0) {
rax = @"SimulscanString";
}
else {
rax = [rbx isInterlaced];
if (LOBYTE(rax) != 0x0) {
rax = @"InterlacedString";
}
else {
rax = @"ResolutionString";
}
}
}
}
}
loc_2a19:
return rax;
loc_2914:
rax = @"480pString";
goto loc_2a19;
loc_2920:
rax = @"720iString";
goto loc_2a19;
loc_292c:
rax = @"720pString";
goto loc_2a19;
loc_2938:
rax = @"1080iString";
goto loc_2a19;
loc_2944:
rax = @"1080pString";
goto loc_2a19;
loc_283b:
rax = [rbx->_display is4K];
if (LOBYTE(rax) != 0x0) {
rax = [rbx->_display isModeNative:rbx];
if (LOBYTE(rax) == 0x0) {
rax = @"LoDPIString";
}
else {
rax = @"ResolutionString";
}
}
else {
rax = @"ResolutionString";
}
goto loc_2a19;
}
First off, note that TV and non-TV cases are handled separately. If the display is detected as a tv mode (can check in system profiler), no hidpi suffix will be shown (it's also filtered out by default, more on that in a bit). Note that if your display is erroneously detected as a tv, then you can fix it with an edid override. Search online about how to force rgb mode.
Also note that if it's detected as a display that natively supports hiDPI (which fyi is determined by checking if the "native resolution" of a display is a hiDPI resolution), then it will not show the (hiDPI) suffix in the string even though when selected the computer will still use hidpi rendering.
Now we get to the question of what resolutions are shown. This part is mostly handled by CGS, but syspref doesn't present all of them to you. When you hold option, it chooses between displaying userModes vs. trimmedModes. userModes basically filters the display modes list given by CGS based on a bit in the flag field of CGSDisplayModeDescription struct that tells it whether this mode is user-visible or not. trimmedModes goes further and eliminates more things, based on logic that I don't care to reverse.
This is why, for instance, you see that when using an app like RDM it presents more resolutions than what you see even when holding option in system preferences.
Also note that the list of "raw resolutions" can be influenced by setting a display override. This site is great for generating the display override file, and is basically necessary if you want to use a hidpi mode with a non-standard resolution. E.g. if you have a 1440p display, and want to use hidpi with an effectively scale of 1300p or something, then you will need to use a display override. (This is also how things like BetterDisplay work). SwitchResX is also another tool for creating display overrides.
As mentioned before though, even though a raw resolution is offered doesn't mean it's visible in system preferences. You can either use RDM to work around this, or patch -[MPDisplayMode isUserVisible] in MonitorPanel.framework to always return true.
Below is some code you can use to play around with MonitorPanel.framework:
#import <Foundation/Foundation.h>
#include <ApplicationServices/ApplicationServices.h>
const int kMaxDisplays = 16;
typedef struct {
uint32_t mode; // 0
uint32_t flags; // 4
uint32_t width; // 8
uint32_t height; // 12
uint32_t depth; // 16
uint32_t dc2[42];
uint16_t dc3;
uint16_t freq;
uint8_t dc4[16];
CGFloat scale;
} CGSDisplayModeDescription;
void print_binary(unsigned int number)
{
if (number >> 1) {
print_binary(number >> 1);
}
putc((number & 1) ? '1' : '0', stdout);
}
@interface MPDisplayMode : NSObject
+ (id)modeWithDescription:(struct _CGSDisplayModeDescription *)arg1 forDisplay:(id)arg2;
@property(readonly) NSString *refreshString;
@property(readonly) NSString *resolutionString;
- (id)resolutionFormat;
@property(readonly) BOOL isSafeMode;
- (id)description;
- (void)getModeDescription:(struct _CGSDisplayModeDescription *)arg1;
- (BOOL)modeResolutionMatches:(id)arg1;
- (BOOL)resolutionMatches:(struct _CGSDisplayModeDescription *)arg1;
@property(readonly) unsigned int tvModeEquiv;
@property(readonly) unsigned int tvMode;
@property(readonly) BOOL isTVMode;
@property(readonly) BOOL isSimulscan;
@property(readonly) BOOL isInterlaced;
@property(readonly) BOOL isNativeMode;
@property(readonly) BOOL isDefaultMode;
@property(readonly) BOOL isStretched;
@property(readonly) BOOL isUserVisible;
@property(readonly) BOOL isHiDPI;
@property(readonly) BOOL isRetina;
@property(readonly) NSNumber *scanRate;
@property(readonly) int roundedScanRate;
@property(readonly) float scale;
@property(readonly) float aspectRatio;
@property(readonly) int fixPtRefreshRate;
@property(readonly) int refreshRate;
@property(readonly) int dotsPerInch;
@property(readonly) int vertDPI;
@property(readonly) int horizDPI;
@property(readonly) int pixelsHigh;
@property(readonly) int pixelsWide;
@property(readonly) int height;
@property(readonly) int width;
@property(readonly) int modeNumber;
@property(readonly) struct _CGSDisplayModeDescription *modeDescription;
- (void)dealloc;
- (id)initWithModeDescription:(struct _CGSDisplayModeDescription *)arg1 forDisplay:(id)arg2;
@end
@interface MPDisplay : NSObject
@property(readonly) BOOL hasRotationSensor; // @synthesize hasRotationSensor=_hasRotationSensor;
@property(retain) MPDisplayMode *defaultMode; // @synthesize defaultMode=_defaultMode;
@property(retain) MPDisplayMode *nativeMode; // @synthesize nativeMode=_nativeMode;
@property(retain) MPDisplayMode *currentMode; // @synthesize currentMode=_currentMode;
@property(readonly) BOOL hasZeroRate; // @synthesize hasZeroRate=_hasZeroRate;
@property(readonly) BOOL hasMultipleRates; // @synthesize hasMultipleRates=_hasMultipleRates;
@property(readonly) BOOL isSidecarDisplay; // @synthesize isSidecarDisplay=_isSidecarDisplay;
@property(readonly) BOOL isAirPlayDisplay; // @synthesize isAirPlayDisplay=_isAirPlayDisplay;
@property(readonly) BOOL isProjector; // @synthesize isProjector=_isProjector;
@property(readonly) BOOL is4K; // @synthesize is4K=_is4K;
@property(readonly) BOOL isTV; // @synthesize isTV=_isTV;
@property(readonly) BOOL isMirrorMaster; // @synthesize isMirrorMaster=_isMirrorMaster;
@property(readonly) BOOL isMirrored; // @synthesize isMirrored=_isMirrored;
@property(readonly) BOOL isBuiltIn; // @synthesize isBuiltIn=_isBuiltIn;
@property(readonly) BOOL isHiDPI; // @synthesize isHiDPI=_isHiDPI;
@property(readonly) BOOL hasTVModes; // @synthesize hasTVModes=_hasTVModes;
@property(readonly) BOOL hasSimulscan; // @synthesize hasSimulscan=_hasSimulscan;
@property(readonly) BOOL hasSafeMode; // @synthesize hasSafeMode=_hasSafeMode;
@property(readonly) BOOL isSmartDisplay; // @synthesize isSmartDisplay=_isSmartDisplay;
@property(nonatomic) int orientation; // @synthesize orientation=_orientation;
@property unsigned int userFlags; // @synthesize userFlags=_userFlags;
@property(readonly) int aliasID; // @synthesize aliasID=_aliasID;
@property(readonly) int displayID; // @synthesize displayID=_displayID;
- (BOOL)setActivePreset:(id)arg1;
@property(readonly) NSArray *presets;
@property(readonly) BOOL hasPresets;
- (void)buildPresetsList;
- (void)_loadPreviewIconFromServiceDictionary:(id)arg1;
- (id)_imageAndRect:(struct CGRect *)arg1 fromDictionary:(id)arg2 forOrientation:(long long)arg3;
- (id)_iconAtPath:(id)arg1;
@property(readonly) struct CGRect displayResolutionPreviewRect;
@property(readonly) NSImage *displayResolutionPreviewIcon;
@property(readonly) NSImage *displayIcon;
@property(readonly) NSUUID *uuid;
@property(readonly) struct CGRect hardwareBounds;
@property(readonly) int mirrorMasterDisplayID;
- (void)setPreferHDRModes:(BOOL)arg1;
@property(readonly) BOOL preferHDRModes;
@property(readonly) BOOL hasHDRModes;
@property(readonly) BOOL isForcedToMirror;
- (void)setMirrorMaster:(BOOL)arg1;
- (void)setMirrorMode:(id)arg1;
- (void)setMirrorModeNumber:(int)arg1;
- (int)setMode:(id)arg1;
- (int)setModeNumber:(int)arg1;
- (BOOL)isModeNative:(id)arg1;
- (BOOL)inDefaultMode;
- (id)modesForResolution:(id)arg1;
@property(readonly) NSArray *scanRateStrings;
@property(readonly) NSArray *scanRates;
- (id)allModes;
- (id)userModes;
@property BOOL bestForVideoMode;
- (BOOL)supportsBestForVideoMode;
@property int underscan;
@property(readonly) int maxUnderscan;
@property(readonly) int minUnderscan;
- (BOOL)supportsUnderscan;
@property BOOL overscanEnabled;
- (BOOL)supportsOverscan;
- (BOOL)canChangeOrientation;
- (BOOL)hasMultipleScanRates;
@property(readonly) struct CGRect displayBounds;
- (id)modeWithNumber:(int)arg1;
- (id)modeMatchingResolutionOfMode:(id)arg1 withScanRate:(id)arg2;
- (id)modesMatchingResolutionOfMode:(id)arg1;
- (id)modesOfType:(unsigned long long)arg1;
- (id)resolutionsOfType:(unsigned long long)arg1;
- (void)refreshModes;
- (void)refreshResolutions;
- (void)refreshResolutions:(id)arg1 usingModeList:(id)arg2;
- (id)scanRateForString:(id)arg1;
- (id)stringForScanRate:(id)arg1;
- (void)refreshScanRates;
- (void)determineTrimmedModeList;
- (void)bucketizeDisplayModes;
- (void)addMatchingModesToTrimmed;
- (void)addTVModesToPreferred;
- (BOOL)isAlias:(int)arg1;
- (id)multiscanModesForMode:(id)arg1;
@property(readonly) BOOL hasMenuBar;
@property(readonly) BOOL isAppleProDisplay;
@property(readonly) BOOL isBuiltInRetina;
@property(readonly) NSString *titleName;
@property(retain, nonatomic) NSString *displayName;
- (void)dealloc;
- (id)initWithCGSDisplayID:(int)arg1;
@end
int main(int argc, char *argv[]) {
CGDirectDisplayID display[kMaxDisplays];
CGDisplayCount numDisplays;
CGDisplayErr err;
err = CGGetOnlineDisplayList(kMaxDisplays, display, &numDisplays);
if (err != CGDisplayNoErr) {
printf("cannot get list of displays (error %d)\n", err);
return -1;
}
for (CGDisplayCount i = 0; i < numDisplays; ++i) {
CGDirectDisplayID dspy = display[i];
CGDisplayModeRef mode = CGDisplayCopyDisplayMode(dspy);
if (mode == NULL)
continue;
printf("display %d (id %d): ", i, dspy);
if (CGDisplayIsMain(dspy))
printf("main, ");
printf("%sactive, %s, %sline, %s%s",
CGDisplayIsActive(dspy) ? "" : "in",
CGDisplayIsAsleep(dspy) ? "asleep" : "awake",
CGDisplayIsOnline(dspy) ? "on" : "off",
CGDisplayIsBuiltin(dspy) ? "built-in" : "external",
CGDisplayIsStereo(dspy) ? ", stereo" : "");
printf(", ID 0x%x\n", (unsigned int)dspy);
CGRect bounds = CGDisplayBounds(dspy);
printf("\tresolution %.0f x %.0f pt",
bounds.size.width, bounds.size.height);
printf(" (%zu x %zu px)",
CGDisplayModeGetPixelWidth(mode),
CGDisplayModeGetPixelHeight(mode));
double refreshRate = CGDisplayModeGetRefreshRate(mode);
if (refreshRate != 0)
printf(" @ %.1f Hz", refreshRate);
printf(", origin (%.0f, %.0f)\n",
bounds.origin.x, bounds.origin.y);
CGSize size = CGDisplayScreenSize(dspy);
printf("\tphysical size %.0f x %.0f mm",
size.width, size.height);
double rotation = CGDisplayRotation(dspy);
if (rotation)
printf(", rotated %.0f°", rotation);
printf("\n\tIOKit flags 0x%x",
CGDisplayModeGetIOFlags(mode));
printf("; IOKit display mode ID 0x%x\n",
CGDisplayModeGetIODisplayModeID(mode));
if (CGDisplayIsInMirrorSet(dspy)) {
CGDirectDisplayID mirrorsDisplay = CGDisplayMirrorsDisplay(dspy);
if (mirrorsDisplay == kCGNullDirectDisplay)
printf("\tmirrored\n");
else
printf("\tmirrors display ID 0x%x\n", mirrorsDisplay);
}
printf("\t%susable for desktop GUI%s\n",
CGDisplayModeIsUsableForDesktopGUI(mode) ? "" : "not ",
CGDisplayUsesOpenGLAcceleration(dspy) ?
", uses OpenGL acceleration" : "");
CGDisplayModeRelease(mode);
MPDisplay* mpdisplay = [[MPDisplay alloc] initWithCGSDisplayID:dspy];
[mpdisplay setValue:0 forKey:@"trimmedModes"];
print_binary(0x3fffffff);
printf("\n");
printf("%d", (((CGSDisplayModeDescription *) [[mpdisplay modeWithNumber:500] modeDescription])->flags) & kDisplayModeNeverShowFlag);
//NSLog(@"%@",[(MPDisplayMode*)[mpdisplay modeWithNumber:500] valueForKey:@"desc"]);
//printf("%x", (long) ((CGSDisplayModeDescription *) [[mpdisplay modeWithNumber:500] modeDescription])->flags);
//[[mpdisplay modeWithNumber:500] isUserVisible];
break;
}
}
To summarize, to get hidpi working in addition to setting DisplayResolutionEnabled, you'll want to use either RDM or a patched MonitorPanel.framework to check the list of resolutions seen by the system, and use a display override to add the 2x density resolution if needed.
| apple | {
"language": "en",
"length": 1818,
"provenance": "stackexchange_00000.jsonl.gz:30072",
"question_score": "15",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107846"
} |
93054e8fc7c42f3bad16b89f1923e1316c197ba3 | Apple Stackexchange
Q: Updating the Wi-Fi/Ethernet toggle script for Mavericks & new MBP So I used to use this script from MacOSXHints to automatically toggle my Wi-Fi whenever I connected my OS X 10.6 and 10.8 MBPs into Ethernet or my 27" TB Display:
Ever been annoyed to be on both wireless AND wired network at the same time, without the opportunity to automatically disable AirPort when plugging in a cable?
Well this little script and launchd agent will auto-disable AirPort on active ethernet.
Since installing Mavericks on my new Late 2013 retina MBP 15, even after editing the interface names to the new system's (en5, for example) the script no longer works; I think that the old /Library/Preferences/SystemConfiguration folder is no longer used or working the same in Mavs as in previous releases..
A: Have a look to a different script for the same purpose, but with a slightly different approach. It uses the same SystemConfiguration trigger, thus. The problem on Mavericks seem rather to be respawning the original script over and over by launchd. I'm successfully running it on Mavericks 10.9.3. The Script can be found here: http://www.computernetworkbasics.com/2012/12/automatically-turn-off-wireless-in-osx-including-mountain-lion/
| Q: Updating the Wi-Fi/Ethernet toggle script for Mavericks & new MBP So I used to use this script from MacOSXHints to automatically toggle my Wi-Fi whenever I connected my OS X 10.6 and 10.8 MBPs into Ethernet or my 27" TB Display:
Ever been annoyed to be on both wireless AND wired network at the same time, without the opportunity to automatically disable AirPort when plugging in a cable?
Well this little script and launchd agent will auto-disable AirPort on active ethernet.
Since installing Mavericks on my new Late 2013 retina MBP 15, even after editing the interface names to the new system's (en5, for example) the script no longer works; I think that the old /Library/Preferences/SystemConfiguration folder is no longer used or working the same in Mavs as in previous releases..
A: Have a look to a different script for the same purpose, but with a slightly different approach. It uses the same SystemConfiguration trigger, thus. The problem on Mavericks seem rather to be respawning the original script over and over by launchd. I'm successfully running it on Mavericks 10.9.3. The Script can be found here: http://www.computernetworkbasics.com/2012/12/automatically-turn-off-wireless-in-osx-including-mountain-lion/
| apple | {
"language": "en",
"length": 188,
"provenance": "stackexchange_00000.jsonl.gz:30073",
"question_score": "3",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107847"
} |
ade447e07735ce3f169000ce40ed279bcad8b604 | Apple Stackexchange
Q: Which version(s) of Mac OS X have Ruby installed by default? I'm thinking about using Ruby to write an installation script, but I'm not sure if all major versions of Mac OS X install it by default.
Which version(s) of Mac OS X have the Ruby interpreter installed by default?
A: The Ruby download page indicates that Tiger (10.4) and Leopard (10.5) both include Ruby. I can verify from machines in my own home that Lion (10.7), Mountain Lion (10.8), and Mavericks (10.9) all come with Ruby. I can't personally verify that Snow Leopard (10.6) contained Ruby, but it would be shocking if it was present in the previous and subsequent versions but not Snow Leopard.
If your target audience is people who bought their computers or upgraded their operating system on or after April 29, 2005, you should be safe using Ruby in your installer.
| Q: Which version(s) of Mac OS X have Ruby installed by default? I'm thinking about using Ruby to write an installation script, but I'm not sure if all major versions of Mac OS X install it by default.
Which version(s) of Mac OS X have the Ruby interpreter installed by default?
A: The Ruby download page indicates that Tiger (10.4) and Leopard (10.5) both include Ruby. I can verify from machines in my own home that Lion (10.7), Mountain Lion (10.8), and Mavericks (10.9) all come with Ruby. I can't personally verify that Snow Leopard (10.6) contained Ruby, but it would be shocking if it was present in the previous and subsequent versions but not Snow Leopard.
If your target audience is people who bought their computers or upgraded their operating system on or after April 29, 2005, you should be safe using Ruby in your installer.
A: *
*13.2 ruby 2.6.10p210 (2022-04-12 revision 67958) [universal.x86_64-darwin22]
*12.1 ruby 2.6.8p205 (2021-07-07 revision 67951) [universal.arm64e-darwin21]
*11.6.1 ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.x86_64-darwin20]
*10.15.7 ruby 2.4.0p0 (2016-12-24 revision 57164) [x86_64-darwin16]
*10.14 ruby 2.3.7p456 (2018-03-28 revision 63024) [universal.x86_64-darwin18]
*10.13 ruby 2.3.3p222 (2016-11-21 revision 56859) [universal.x86_64-darwin17]
*10.12 ruby 2.0.0p648 (2015-12-16 revision 53162) [universal.x86_64-darwin16]
*10.11.2 ruby 2.0.0p645 (2015-04-13 revision 50299) [universal.x86_64-darwin15]
*10.10.2 ruby 2.0.0p481 (2014-04-08 revision 45883) [universal.x86_64-darwin14]
*10.9.0: ruby 2.0.0p247 (2013-06-27 revision 41674) [universal.x86_64-darwin13]
*10.8.5: ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin12.0]
*10.7.5: ruby 1.8.7 (2010-01-10 patchlevel 249) [universal-darwin11.0]
| apple | {
"language": "en",
"length": 233,
"provenance": "stackexchange_00000.jsonl.gz:30076",
"question_score": "25",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107853"
} |
446903b109d3dc615f5cf3c7e7acff05f0d862e4 | Apple Stackexchange
Q: FileVault2 effect on speeds I would like to know what kind of speed implications using FileVault2 would have on my MBPr (late 2013). As there are much faster SSD's in these machines I want to know whether there is a noticeable speed difference compared older generations.
A: I've used FileVault 2 on my mid - 2012 retina MBPro. It's been awhile since I activated FileVault 2, but I've seen little to no real performance hit once I activated FV2.
There are some more objective tests available such as here.
| Q: FileVault2 effect on speeds I would like to know what kind of speed implications using FileVault2 would have on my MBPr (late 2013). As there are much faster SSD's in these machines I want to know whether there is a noticeable speed difference compared older generations.
A: I've used FileVault 2 on my mid - 2012 retina MBPro. It's been awhile since I activated FileVault 2, but I've seen little to no real performance hit once I activated FV2.
There are some more objective tests available such as here.
A: I have a 512GB Apple SSD in late-2011 MBP (custom order). I do not have benchmarks but I did not notice any visible slow downs.
| apple | {
"language": "en",
"length": 116,
"provenance": "stackexchange_00000.jsonl.gz:30080",
"question_score": "3",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107862"
} |
5060e373f0f2bcfb03f2277234490a3fb98db184 | Apple Stackexchange
Q: How to turn off slide transition when switching between two full screen applications on OS X Mavericks? Application switching cause one application to slide into another. Most times this is fine but am working on a MacBook Air and the slide transition causes motion sickness at times, especially after prolonged use (4+ hours). Looking for a way to turn off these animation.
Totalspaces2 has a turn off slide transition option, so I am pretty sure it's possible. Lion, Mountain Lion had Terminal commands for animation. I tried them all, and they don't work with Mavericks. I'm looking for Mavericks terminal commands to achieve the same.
A: In MacOS Sierra:
- Go to System Preferences -> Accessibility -> Display
- Check in the box "Reduce motion".
This new function will speed up the animation between various display motion techniques such as using the mission control, switching desktops etc.
| Q: How to turn off slide transition when switching between two full screen applications on OS X Mavericks? Application switching cause one application to slide into another. Most times this is fine but am working on a MacBook Air and the slide transition causes motion sickness at times, especially after prolonged use (4+ hours). Looking for a way to turn off these animation.
Totalspaces2 has a turn off slide transition option, so I am pretty sure it's possible. Lion, Mountain Lion had Terminal commands for animation. I tried them all, and they don't work with Mavericks. I'm looking for Mavericks terminal commands to achieve the same.
A: In MacOS Sierra:
- Go to System Preferences -> Accessibility -> Display
- Check in the box "Reduce motion".
This new function will speed up the animation between various display motion techniques such as using the mission control, switching desktops etc.
A: There is no way to disable the animation but you might want to look at TotalSpaces, which replaces the builtin workspace manager. You can disable transitions altogether with this (as well as use different animations and layouts for spaces). It's not free ($18) but there is a 14 day free trial.
A: defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool NO
| apple | {
"language": "en",
"length": 207,
"provenance": "stackexchange_00000.jsonl.gz:30085",
"question_score": "31",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107877"
} |
a94aa815563ac8e4de55f0a737496a1bb0e85376 | Apple Stackexchange
Q: Can I revert to the Mountain Lion style labels instead of Mavericks tags? How? I don't like the almost invisible little colored dots (tags) that have replaced the full-length color highlighted labels used in Mountain Lion. Is there a way to go back to using full-field labels?
A: Good news for all that miss the color-backgrounds from 10.8 and below. The free Extension "XtraFinder" has a new Option in Version 0.19 called "Leagacy Color Label Painting" (in "Appearance") which brings back the color background for the finder in listmode.
| Q: Can I revert to the Mountain Lion style labels instead of Mavericks tags? How? I don't like the almost invisible little colored dots (tags) that have replaced the full-length color highlighted labels used in Mountain Lion. Is there a way to go back to using full-field labels?
A: Good news for all that miss the color-backgrounds from 10.8 and below. The free Extension "XtraFinder" has a new Option in Version 0.19 called "Leagacy Color Label Painting" (in "Appearance") which brings back the color background for the finder in listmode.
A: In fact that was the way labels behaved since System 7 (MacOS 7)
I really don't remember if they were present in System 6 though.
A: Restoring coloured labels are a new feature in TotalFinder:
This feature mimics old Finder behaviour. I implemented this option
because many people requested back colored labels from Mountain Lion.
A: I have the same problem, and so do others: just search the Apple support discussions. The only solutions currently are:
*
*Reinstall OS X 10.8
*Install PathFinder, a third party patch that brings back labels
*If PF is too pricey, try asking binaryage (makers of TotalFinder) to also enable this feature, as TotalFinder is only $18, compared to Pathfinder at nearly $40.
There's also a few other semi-workarounds, like coloring folders using 3rd party tools (though this is tedious and only works for folders, not files)
And remember to tell Apple that you want labels back! If enough people speak out, they will change it.
A: I too mourn the loss of the "labels" feature for the new "tags" action in Mavericks. My short term solution is to change the standard blue folder icon to a color icon that mimics the color scheme I used before. This at least puts the identifier to the left of the file name and stands out better. The example below uses colored circles for the folder icons.
If you aren't sure of how to change the folder icon this is a link to a tutorial screencast from the macmost.com website - MacMost Now 465: Creating Custom Folder and File Icons
There are several free sources for Mac icons. I've used the "Pixelmator" application and the "Img2icon" app to create a custom icon library.
A: Labels are still present in OSX 10.9.
If you turn on an old program (like Adobe CS5 or other older versions) you'll see that in teh Apps' open&save menus the files are presented with the old label system.
Also if you consider the fact that Tags replaced Labels in a way that all your previous labels turned into tags you'll get to the only conclusion possible:
that the option for labeling is still present in OSX 10.9 but must be switched off.
There must be a simple command you can drop into terminal to change back to labels.
A: There is no officially supported way to do this (and no unofficially supported hack that re-enables it either that I was aware of until I read the answer that mentioned PathFinder). The behaviour of Tags in Mavericks as compared to Labels in every previous version of OS X is very different, and you cannot pick and choose elements to work in one way and have the rest to work in another, it's all or nothing I'm afraid, so if you are on Mavericks the best you can do is hope for a feature as part of a future OS update that adds extended options to tags. I'm sure further tag options will be forthcoming, as it's essentially a V1 feature at present, and maybe this will be one of them.
| apple | {
"language": "en",
"length": 606,
"provenance": "stackexchange_00000.jsonl.gz:30086",
"question_score": "17",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107879"
} |
fba892033bc363416ea3d503137dcad8a6fe4537 | Apple Stackexchange
Q: Use MacBook as a monitor and controller for iMac I have an iMac and I also happen to have a MacBook Air. What I need is this strange layout - I want to be able to control my iMac with my MacBook. I also want to be able to share my iMaс screen to my MacBook's. So ideally I have a single machine - iMac responsible for all the hardware and the MacBook as just as an external display and a keyboard with a touchpad. How do you achieve this?
A: You can't really use the MacBook as display or keyboard. What you can do is control the iMac remotely via Screen Sharing. This is a builti in function in OS X since 10.5:
Screen Sharing.
Please note that his is not a workable solutions for anything that requires fast display refreshes as all data is send via your network.
There are several instruction out there:
http://macs.about.com/od/usingyourmac/qt/Mac-Screen-Sharing-How-To-Connect-To-Another-Macs-Desktop.htm
| Q: Use MacBook as a monitor and controller for iMac I have an iMac and I also happen to have a MacBook Air. What I need is this strange layout - I want to be able to control my iMac with my MacBook. I also want to be able to share my iMaс screen to my MacBook's. So ideally I have a single machine - iMac responsible for all the hardware and the MacBook as just as an external display and a keyboard with a touchpad. How do you achieve this?
A: You can't really use the MacBook as display or keyboard. What you can do is control the iMac remotely via Screen Sharing. This is a builti in function in OS X since 10.5:
Screen Sharing.
Please note that his is not a workable solutions for anything that requires fast display refreshes as all data is send via your network.
There are several instruction out there:
http://macs.about.com/od/usingyourmac/qt/Mac-Screen-Sharing-How-To-Connect-To-Another-Macs-Desktop.htm
A: You should check out ScreenRecycler. It let's you use another computer as a second monitor, which seems like what your after.
Alternatively, if you just want to use one machine to control the other you can use Synergy.
| apple | {
"language": "en",
"length": 197,
"provenance": "stackexchange_00000.jsonl.gz:30090",
"question_score": "3",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107901"
} |
5d2ea35b95ab5e3b02ae57ced4f2f5079bb04829 | Apple Stackexchange
Q: List all devices connected, lsblk for Mac OS X In Linux if I want to see all the devices currently connected to my computer in the command-line, I run:
lsblk
or
blkid
What's the equivalent command under Mac OS X?
NOTE
The goal here is to be able to obtain information about a device based on its label or other uniquely identifying attributes, even if it hasn't been mounted, thus df is not a viable option.
Examples of the kind of info I'm looking for are:
*
*/dev/<dev-name>
*uuid
*label (if any)
*mount point
NOTE
I need to be able to see network-attached drives as well!
A: Mac OS X offers the system_profiler utility that can be run from Terminal. You can pipe it through grep to find specific strings that you want.
| Q: List all devices connected, lsblk for Mac OS X In Linux if I want to see all the devices currently connected to my computer in the command-line, I run:
lsblk
or
blkid
What's the equivalent command under Mac OS X?
NOTE
The goal here is to be able to obtain information about a device based on its label or other uniquely identifying attributes, even if it hasn't been mounted, thus df is not a viable option.
Examples of the kind of info I'm looking for are:
*
*/dev/<dev-name>
*uuid
*label (if any)
*mount point
NOTE
I need to be able to see network-attached drives as well!
A: Mac OS X offers the system_profiler utility that can be run from Terminal. You can pipe it through grep to find specific strings that you want.
A: diskutil list will list all disks with their identifiers, even if unmounted.
/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *251.0 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_HFS Mac SSD 150.0 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
4: Microsoft Basic Data Windows 8 100.1 GB disk0s4
/dev/disk1
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *500.1 GB disk1
1: Apple_HFS George Garside 300.2 GB disk1s1
2: Windows_NTFS GRGARSIDE 199.9 GB disk1s2
For mounted disks only…
To find the raw device name (i.e. /dev/disk0s1) you can run df.
You can limit the results to locally-mounted filesystems, use df -Hl.
This results in a list of partitions and their raw device names, as shown below:
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
/dev/disk0s2 150G 130G 20G 87% 31761475 4859615 87% /
/dev/disk0s4 100G 83G 17G 83% 184667 17015601 1% /Volumes/Windows 8
/dev/disk1s1 300G 282G 19G 94% 68771109 4529660 94% /Volumes/George Garside
/dev/disk1s2 200G 172G 27G 87% 144125 26731127 1% /Volumes/GRGARSIDE
A: Adding this answer to complement aglasser's answer.
If you want to list all the USB Devices connected to your mac, run the built-in app System Information (previously known as System Profiler) in the Terminal app.
List all USB devices:
system_profiler SPUSBDataType
List all PCI devices:
system_profiler SPPCIDataType
See also:
*
*OSX Daily (2022): How to Find Comprehensive Mac System Info via Terminal
A: From at least High Sierra 10.13.6 you can use the system profiler (About This Mac > System Report > SATA/SATA Express) to give you a list of all mounted SATA devices and get the UUID of each mounted Disk by name. If you have unmounted drives use Disk Utility to mount them.
A:
The goal here is to be able to obtain information about a device based
on its label or other uniquely identifying attributes, even if it
hasn't been mounted, thus df is not a viable option.
If that is your goal, then you can obtain all of that info from a specified disk using diskutil info /dev/diskX where diskX is the disk that you want to obtain information about.
NOTE: In your goal, you did not say that you wanted to obtain all information about all disks all at once in one command. So I am not answering that question, as your originaly question seems different than your stated goal. You may want to make some edits to specify what you are trying to accomplish and how.
| apple | {
"language": "en",
"length": 544,
"provenance": "stackexchange_00000.jsonl.gz:30105",
"question_score": "156",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107953"
} |
832ad47b3cfd7fe35945e3a781364bce791e3df9 | Apple Stackexchange
Q: Single-purpose app to prevent .DS_Store creation under Mavericks Asepsis is currently not working under Mavericks. It's, in my knowledge, the only single-purpose app existing for this job. Therefore, what is the less intrusive solution to prevent .DS_Store creation after the update to Mavericks?
A: Asepsis updates have been officially released for Mavericks compatibility - http://asepsis.binaryage.com/
I've personally tested it, working like a charm!
| Q: Single-purpose app to prevent .DS_Store creation under Mavericks Asepsis is currently not working under Mavericks. It's, in my knowledge, the only single-purpose app existing for this job. Therefore, what is the less intrusive solution to prevent .DS_Store creation after the update to Mavericks?
A: Asepsis updates have been officially released for Mavericks compatibility - http://asepsis.binaryage.com/
I've personally tested it, working like a charm!
A: The free app TinkerTool 5.0, which has many functions, can be used on Mavericks to disable creating .DS_Store files on network volumes, but I do not believe this has any effect on .DS_Store files on your local Mac.
A: BlueHarvest does not prevent the creation of .DS_Store files, but it can delete them automatically.
You can also delete .DS_Store files by using find:
find / -name .DS_Store -delete
| apple | {
"language": "en",
"length": 133,
"provenance": "stackexchange_00000.jsonl.gz:30111",
"question_score": "8",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107969"
} |
1d216cd950621b185d9e385754410032ab1c1710 | Apple Stackexchange
Q: How can my website tell safari it's ok to save passwords? When I logged into my website in safari, I got the following message:
safari will not save your password because MyWebsite requested passwords not be
saved
What meta tag/value do I need on my site to tell Safari it's ok?
A: Make sure you don't have autocomplete=off in any of the forms. This is the primary way that a website can tell a browser not to save passwords. By default, if the website doesn't have anything, the browser will be happy to save passwords, so odds are that your website contains something like that somewhere.
| Q: How can my website tell safari it's ok to save passwords? When I logged into my website in safari, I got the following message:
safari will not save your password because MyWebsite requested passwords not be
saved
What meta tag/value do I need on my site to tell Safari it's ok?
A: Make sure you don't have autocomplete=off in any of the forms. This is the primary way that a website can tell a browser not to save passwords. By default, if the website doesn't have anything, the browser will be happy to save passwords, so odds are that your website contains something like that somewhere.
| apple | {
"language": "en",
"length": 107,
"provenance": "stackexchange_00000.jsonl.gz:30119",
"question_score": "4",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107987"
} |
55ef7485d5f956a3ad889b9ca8b76ce2e2ed8639 | Apple Stackexchange
Q: How can I get my iPhone to automatically download podcasts I have subscribed to? I am using the standard podcast app that comes with iOS 7. I have subscribed to about 8-9 different podcasts. Commonly I will take my phone with me when I leave the apartment, and then when I get on the subway I will attempt to listen to a podcast. Invariably, the podcast won't play because no cellular connection is available. To solve this issue I have indicated through the podcast app that I would like episodes to be automatically downloaded when they become available. However, they don't get automatically downloaded. This absolutely infuriates me.
A: Indeed, check the "Refresh Podcast" option and set it to every hour.
Also, set Auto-Downloads to ALL
| Q: How can I get my iPhone to automatically download podcasts I have subscribed to? I am using the standard podcast app that comes with iOS 7. I have subscribed to about 8-9 different podcasts. Commonly I will take my phone with me when I leave the apartment, and then when I get on the subway I will attempt to listen to a podcast. Invariably, the podcast won't play because no cellular connection is available. To solve this issue I have indicated through the podcast app that I would like episodes to be automatically downloaded when they become available. However, they don't get automatically downloaded. This absolutely infuriates me.
A: Indeed, check the "Refresh Podcast" option and set it to every hour.
Also, set Auto-Downloads to ALL
A: Do you have the "Refresh Podcast" set to an appropriate interval? I.E. The frequency with which you would like it to query the podcast server for new episodes.
| apple | {
"language": "en",
"length": 156,
"provenance": "stackexchange_00000.jsonl.gz:30122",
"question_score": "4",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/107995"
} |
797fa2a2b45d05b9cbf65d91e5b5e4fd71dc27cc | Apple Stackexchange
Q: "iPad Not Charging" Notification is annoying - Mavericks I get this really damn annoying banner every time I plug in my iPad and sometimes when I build and go in Xcode it loses connection with the iPad for a second and reconnects straight away.
Anyone know how to get rid of this notification? I know my iPad won't charge on this Mac Pro, it predates the iPad so it has less power going through the USB ports.
A: To turn off notifications:
sudo defaults write com.apple.usbd NoiPadNotifications -bool YES
sudo killall usbd
To turn them back on:
sudo defaults delete com.apple.usbd NoiPadNotifications
Via Craig Hockenberry
| Q: "iPad Not Charging" Notification is annoying - Mavericks I get this really damn annoying banner every time I plug in my iPad and sometimes when I build and go in Xcode it loses connection with the iPad for a second and reconnects straight away.
Anyone know how to get rid of this notification? I know my iPad won't charge on this Mac Pro, it predates the iPad so it has less power going through the USB ports.
A: To turn off notifications:
sudo defaults write com.apple.usbd NoiPadNotifications -bool YES
sudo killall usbd
To turn them back on:
sudo defaults delete com.apple.usbd NoiPadNotifications
Via Craig Hockenberry
| apple | {
"language": "en",
"length": 106,
"provenance": "stackexchange_00000.jsonl.gz:30127",
"question_score": "16",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/108014"
} |
591775a2ee478dc8715ade7d12acbf2326810bb1 | Apple Stackexchange
Q: Require password to wake computer by specific condition I'd like to require password to wake my Macbook Air running Mavericks when it is not in my home.
So if it was not connected to my home wifi, then I'd like it to require password to wake from sleep or screen saver. And else, I'd like it to require password.
Can that be done?
A: You can use ControlPlane:
*
*Add a context named home from the contexts tab.
*Enable the nearby WiFi network evidence source from the evidence sources tab.
*Go to the rules tab and add a nearby WiFi network rule that sets the context to home.
*Add two screen saver password actions from the actions tab:
Another option is to add a line like this to crontab:
* * * * * system_profiler SPAirPortDataType|grep -q 'network name'&&x=false||x=true;osascript -e 'tell application "System Events" to tell security preferences to set require password to wake to '$x
| Q: Require password to wake computer by specific condition I'd like to require password to wake my Macbook Air running Mavericks when it is not in my home.
So if it was not connected to my home wifi, then I'd like it to require password to wake from sleep or screen saver. And else, I'd like it to require password.
Can that be done?
A: You can use ControlPlane:
*
*Add a context named home from the contexts tab.
*Enable the nearby WiFi network evidence source from the evidence sources tab.
*Go to the rules tab and add a nearby WiFi network rule that sets the context to home.
*Add two screen saver password actions from the actions tab:
Another option is to add a line like this to crontab:
* * * * * system_profiler SPAirPortDataType|grep -q 'network name'&&x=false||x=true;osascript -e 'tell application "System Events" to tell security preferences to set require password to wake to '$x
A: As far as I know, this cannot be done.
| apple | {
"language": "en",
"length": 167,
"provenance": "stackexchange_00000.jsonl.gz:30128",
"question_score": "3",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/108022"
} |
c62846ead6e3d4685d79b1a754d2d275ce78591e | Apple Stackexchange
Q: View App Store Download Progress (Downloading Maverick) I'm downloading Mavericks on my Lion, but I don't know how to see the progress. When I go to the purchases tab on the app store, I see a blank button:
A: *
*Try rebooting.
*Quit App Store, open Launchpad, find the partial download of Mavericks installer and click it. This usually resumes a download that was interrupted/paused.
*Reset App Store by clicking Reset Application from the debug menu, then reboot and try again.
You can enable the debug menu by running the following command:
defaults write com.apple.appstore ShowDebugMenu -bool true
| Q: View App Store Download Progress (Downloading Maverick) I'm downloading Mavericks on my Lion, but I don't know how to see the progress. When I go to the purchases tab on the app store, I see a blank button:
A: *
*Try rebooting.
*Quit App Store, open Launchpad, find the partial download of Mavericks installer and click it. This usually resumes a download that was interrupted/paused.
*Reset App Store by clicking Reset Application from the debug menu, then reboot and try again.
You can enable the debug menu by running the following command:
defaults write com.apple.appstore ShowDebugMenu -bool true
A: It turned out, that it was a 'hidden' purchase, and I had to go to my account and unhide it.
Thanks to this answer.
A: Go to AppStore and click on Updates at the top.. You will find it.. Simple!!
| apple | {
"language": "en",
"length": 140,
"provenance": "stackexchange_00000.jsonl.gz:30134",
"question_score": "3",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/108048"
} |
549e478900701921527c80c5d4b2aaf2d1758756 | Apple Stackexchange
Q: Tagging system files I noticed that system files and folders cannot be tagged using the UI in Finder and I am wondering whether there is a workaround – Terminal based or otherwise.
There are a number of system files I'd like easy access to and tags would serve that purposes.
A: I would suggest doing what @Lauri Ranta proposes : doing this with xattr
Using xattr -wx com.apple.FinderInfo "$(xattr -px com.apple.FinderInfo 'file1')" "file2"
you can copy the tag from file 1 to file 2.
Since /System/ is not writable for users, you just going to need to use sudo.
Edit: To see the tagged files, you'll need a Finder with root access.
You can get it as using :
killall Finder &&udo /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
/!\ But Warning. A Finder with Root access is very dangerous and you could easily destroy your system.
Edit2: With the Root Finder you can directly change the tag without using the command line. But Again, root Finder is baaaad.
| Q: Tagging system files I noticed that system files and folders cannot be tagged using the UI in Finder and I am wondering whether there is a workaround – Terminal based or otherwise.
There are a number of system files I'd like easy access to and tags would serve that purposes.
A: I would suggest doing what @Lauri Ranta proposes : doing this with xattr
Using xattr -wx com.apple.FinderInfo "$(xattr -px com.apple.FinderInfo 'file1')" "file2"
you can copy the tag from file 1 to file 2.
Since /System/ is not writable for users, you just going to need to use sudo.
Edit: To see the tagged files, you'll need a Finder with root access.
You can get it as using :
killall Finder &&udo /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
/!\ But Warning. A Finder with Root access is very dangerous and you could easily destroy your system.
Edit2: With the Root Finder you can directly change the tag without using the command line. But Again, root Finder is baaaad.
| apple | {
"language": "en",
"length": 164,
"provenance": "stackexchange_00000.jsonl.gz:30140",
"question_score": "4",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/108067"
} |
e1227a4563b70a1d52cfaac59c91cbf8bf39a771 | Apple Stackexchange
Q: Is InsomniaX working on Mavericks? It seems to me that InsomniaX, a utility to let a MacBook stay awake when the lid is closed, is not working on Mavericks. Can anyone confirm for me?
A: I experience the same. The "Disable Idle Sleep" selection is automatically turned off and the computer goes to sleep after some time.
| Q: Is InsomniaX working on Mavericks? It seems to me that InsomniaX, a utility to let a MacBook stay awake when the lid is closed, is not working on Mavericks. Can anyone confirm for me?
A: I experience the same. The "Disable Idle Sleep" selection is automatically turned off and the computer goes to sleep after some time.
A: Doesn't work at my MBA mid 2011, with Mavericks 10.9.3.
A: It does work to disable the sleep on lid close, however, I've been getting random restarts with it running.
| apple | {
"language": "en",
"length": 89,
"provenance": "stackexchange_00000.jsonl.gz:30144",
"question_score": "3",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/108080"
} |
0bed45cb4ca690e255401a3477ae194502002fd6 | Apple Stackexchange
Q: How can I find what process is starting apps in the background? I keep seeing CIJScannerRegister running. I'd like it to never run. Every time it appears I use launchctl to remove its listing and that kills the app. But it reappears later. I know where CIJScannerRegister lives and could delete it, but I would rather get whatever is starting it to not start it. I've looked through /System/Library/Launch{Agents,Daemons} and cannot find any matching entry in there. How can I find the process that is launching it and tell it to stop?
A: CIJScannerRegister is of no use if you don't have an old Canon Inkjet, but Mavericks really wants to have it running all the time.
It's in /Library/Image Capture/Support/LegacyDeviceDiscoveryHelpers, but if you remove it it will appear again in the form of a "Canon Inkjet Printer Software Update" in the App Store.
The only solution I found was to delete the executable inside the app bundle so the OS thinks it's still installed but it can't run.
In Terminal:
killall CIJScannerRegister
cd /Library/Image\ Capture/Support/LegacyDeviceDiscoveryHelpers/CIJScannerRegister.app/Contents/MacOS/
sudo rm CIJScannerRegister
| Q: How can I find what process is starting apps in the background? I keep seeing CIJScannerRegister running. I'd like it to never run. Every time it appears I use launchctl to remove its listing and that kills the app. But it reappears later. I know where CIJScannerRegister lives and could delete it, but I would rather get whatever is starting it to not start it. I've looked through /System/Library/Launch{Agents,Daemons} and cannot find any matching entry in there. How can I find the process that is launching it and tell it to stop?
A: CIJScannerRegister is of no use if you don't have an old Canon Inkjet, but Mavericks really wants to have it running all the time.
It's in /Library/Image Capture/Support/LegacyDeviceDiscoveryHelpers, but if you remove it it will appear again in the form of a "Canon Inkjet Printer Software Update" in the App Store.
The only solution I found was to delete the executable inside the app bundle so the OS thinks it's still installed but it can't run.
In Terminal:
killall CIJScannerRegister
cd /Library/Image\ Capture/Support/LegacyDeviceDiscoveryHelpers/CIJScannerRegister.app/Contents/MacOS/
sudo rm CIJScannerRegister
A: You can use the PPID to find out which process started another process :
ps axo stat,ppid,pid,comm
PPID referes to the PID of the process who started it.
A: Run Activity Monitor (from /Applications/Utilities), click on the CIJScannerRegister process, then press Cmd+I (or use the Inspect button or go to View > Inspect Process). You will see the Parent Process: field show the name and the process id of the process that launched it.
| apple | {
"language": "en",
"length": 255,
"provenance": "stackexchange_00000.jsonl.gz:30148",
"question_score": "10",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/108094"
} |
e9080c896e954879f4059edfae509eaf44831f44 | Apple Stackexchange
Q: What is the "guest" password? I tried looking for the "guest" password by doing the command dscacheutil -q user and found the guest account. I saw that there was a "password" (I know that the usual guest account does not have a password) so may I ask what is the "guest password"?
Terminal output snippet:
name: Guest
password: ********
uid: 201
gid: 201
dir: /Users/Guest
shell: /bin/bash
gecos: Guest Account
By the way, I want to use my knowledge to show off Terminal's sudo without using login or su. (I do not want the commands passwd or anything similar from that)
Edit: As of El Capitan, the Guest user will output one star as below:
password: *
A: The 'Guest' user does not have a password.
The command you are using: dscacheutil -q user -a name guest always outputs 8 stars (********) no matter what password the user actually has set. As OS X only stores the hashed password, there is no easy way (besides using a password cracker) to recover passwords.
Edit: Hashed, not encrypted.
| Q: What is the "guest" password? I tried looking for the "guest" password by doing the command dscacheutil -q user and found the guest account. I saw that there was a "password" (I know that the usual guest account does not have a password) so may I ask what is the "guest password"?
Terminal output snippet:
name: Guest
password: ********
uid: 201
gid: 201
dir: /Users/Guest
shell: /bin/bash
gecos: Guest Account
By the way, I want to use my knowledge to show off Terminal's sudo without using login or su. (I do not want the commands passwd or anything similar from that)
Edit: As of El Capitan, the Guest user will output one star as below:
password: *
A: The 'Guest' user does not have a password.
The command you are using: dscacheutil -q user -a name guest always outputs 8 stars (********) no matter what password the user actually has set. As OS X only stores the hashed password, there is no easy way (besides using a password cracker) to recover passwords.
Edit: Hashed, not encrypted.
| apple | {
"language": "en",
"length": 177,
"provenance": "stackexchange_00000.jsonl.gz:30149",
"question_score": "7",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/108095"
} |
4cf50abfaef949eb2631526f68602976e5a72efe | Apple Stackexchange
Q: Make SCSI Appear as Internal Hard Drive I have the HighPoint RocketRAID 2720SGL Raid card running on my Mac and it shows as an external drive. I would like to make it appear as an internal drive.
Is this possible?
From:
To:
Here is the ouput from my System Profile:
A: Do you have the following files?
*
*/System/Libraries/Extensions/HighPointIOP.kext
*/System/Libraries/Extensions/HighPointRR.kext
If so, copy both of them to your desktop, then:
*
*Open those kexts and edit the Info.plist. Change all the 'External' references to 'Internal'
*Copy the modified kexts back to '/System/Libraries/Extensions/' from your desktop.
Reinstall the kexts:
*
*sudo chmod -R 755 /System/Libraries/Extensions/HighPointIOP.kext
*sudo chmod -R 755 /System/Libraries/Extensions/HighPointRR.kext
*sudo chown -R root:wheel /System/Libraries/Extensions/HighPointIOP.kext
*sudo chown -R root:wheel /System/Libraries/Extensions/HighPointRR.kext
*sudo rm -rf /System/Library/Extensions.mkext
After this:
*
*go to your Disk Utility App and Repair your filesystem permissions.
*Reboot.
| Q: Make SCSI Appear as Internal Hard Drive I have the HighPoint RocketRAID 2720SGL Raid card running on my Mac and it shows as an external drive. I would like to make it appear as an internal drive.
Is this possible?
From:
To:
Here is the ouput from my System Profile:
A: Do you have the following files?
*
*/System/Libraries/Extensions/HighPointIOP.kext
*/System/Libraries/Extensions/HighPointRR.kext
If so, copy both of them to your desktop, then:
*
*Open those kexts and edit the Info.plist. Change all the 'External' references to 'Internal'
*Copy the modified kexts back to '/System/Libraries/Extensions/' from your desktop.
Reinstall the kexts:
*
*sudo chmod -R 755 /System/Libraries/Extensions/HighPointIOP.kext
*sudo chmod -R 755 /System/Libraries/Extensions/HighPointRR.kext
*sudo chown -R root:wheel /System/Libraries/Extensions/HighPointIOP.kext
*sudo chown -R root:wheel /System/Libraries/Extensions/HighPointRR.kext
*sudo rm -rf /System/Library/Extensions.mkext
After this:
*
*go to your Disk Utility App and Repair your filesystem permissions.
*Reboot.
A: I've got a Drobo 5D connected to my iMac via Thunderbolt. I'm running 10.7.5 I'd like to have the Drobo load as an internal to bypass silly cloud storage restrictions with my current provider.
I looked at the HighPointIOP.kext and HighPointRR.kext files and didn't see any references to External or Internal. I should note that they were located in /System/Library/Extensions as opposed to /System/Libraries. Am I accessing the wrong files?
| apple | {
"language": "en",
"length": 210,
"provenance": "stackexchange_00000.jsonl.gz:30151",
"question_score": "3",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/108100"
} |
62faa02773f9f9fd0520f9c77fdc6366855cbfe1 | Apple Stackexchange
Q: Mail.app in Mavericks moves Gmail mails to Trash instead of Archiving them In OS X before Mavericks, Mail.app with a Gmail account would remove messages only from the inbox when deleting them, but leave them in the All Mail folder; essentially archiving them. In Mavericks it now moves them to the Trash entirely. What gives?
A: Mavericks Mail.app is now actually aware of the All Mail folder and has "archiving" as a separate concept, just like iOS does. The old delete-from-inbox-to-archive was arguably a hack in Gmail's IMAP implementation which now no longer works. Now "Delete" actually means delete and "Archive" means archive.
The new command is in the menu under Message > Archive, its keyboard shortcut is ⌃⌘A. You can add the Archive button to the toolbar via View > Customise Toolbar... if it's not there.
Apparently you will also have to show the All Mail folder to IMAP clients, which is something you have to configure in your settings on the Gmail website. I have not confirmed this though, I always had it on anyway.
| Q: Mail.app in Mavericks moves Gmail mails to Trash instead of Archiving them In OS X before Mavericks, Mail.app with a Gmail account would remove messages only from the inbox when deleting them, but leave them in the All Mail folder; essentially archiving them. In Mavericks it now moves them to the Trash entirely. What gives?
A: Mavericks Mail.app is now actually aware of the All Mail folder and has "archiving" as a separate concept, just like iOS does. The old delete-from-inbox-to-archive was arguably a hack in Gmail's IMAP implementation which now no longer works. Now "Delete" actually means delete and "Archive" means archive.
The new command is in the menu under Message > Archive, its keyboard shortcut is ⌃⌘A. You can add the Archive button to the toolbar via View > Customise Toolbar... if it's not there.
Apparently you will also have to show the All Mail folder to IMAP clients, which is something you have to configure in your settings on the Gmail website. I have not confirmed this though, I always had it on anyway.
A: I created a simple Mail.app plugin that you can install to restore the pre-Maverick archiving behaviour. You can find all the details on my website:
Delete2Archive - Archive Gmail Messages Using the Delete Key in OS X Mavericks Mail
A: For returning to the pre 10.9 behavior, see http://steve.blogs.loeppky.com/2013/12/mavericks-apple-mail-with-gmail-getting.html .
For archiving with the delete key, see http://akgungor.com/2013/11/11/delete2archive-archive-gmail-messages-using-delete-key-os-x-mavericks-mail/
| apple | {
"language": "en",
"length": 237,
"provenance": "stackexchange_00000.jsonl.gz:30154",
"question_score": "15",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/108113"
} |
eba71a0a1553d4cc459654c0880a52e7637c22f3 | Apple Stackexchange
Q: 10.9 Contacts.app doesn’t sync one contacts card with iCloud Contacts.app in 10.9 says "Some server contacts could not be copied to this address book."
iCloud.com shows 499 contacts
iOS shows 499 contacts
10.9 shows 498 contacts
is there a way to fix this or find this missing contact?
| Q: 10.9 Contacts.app doesn’t sync one contacts card with iCloud Contacts.app in 10.9 says "Some server contacts could not be copied to this address book."
iCloud.com shows 499 contacts
iOS shows 499 contacts
10.9 shows 498 contacts
is there a way to fix this or find this missing contact?
| apple | {
"language": "en",
"length": 49,
"provenance": "stackexchange_00000.jsonl.gz:30155",
"question_score": "3",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/108117"
} |
3feb6a14cb4792174e55950e31dc5b27688015d7 | Apple Stackexchange
Q: Mavericks input source is set to US keyboard in login screen I'm from Belgium, and on my own user account, the input source is set to a Belgian (actually French) keyboard. The input sources menu is enabled in the menu bar, so I can switch it to the Belgian keyboard before entering my password, but how can I permanently change the input source used for login? I'm the system admin, and I know how to get root access if necessary.
It worked perfectly in Mountain Lion.
A: You can change the input source by showing the Input menu in the login window, then selecting your alternative keyboard layout, then logging in to the root account.
*
*Open System Preferences → Users & Groups.
*Unlock the preference pane and select Login Options.
*Select Show Input menu in login window.
*Immediately log in to the root account.
The root account should maintain the same selection as the login window. If not, change the input source to match that of the login window, then log out. Both the login window and root account should have the same input source for it to stay permanent.
| Q: Mavericks input source is set to US keyboard in login screen I'm from Belgium, and on my own user account, the input source is set to a Belgian (actually French) keyboard. The input sources menu is enabled in the menu bar, so I can switch it to the Belgian keyboard before entering my password, but how can I permanently change the input source used for login? I'm the system admin, and I know how to get root access if necessary.
It worked perfectly in Mountain Lion.
A: You can change the input source by showing the Input menu in the login window, then selecting your alternative keyboard layout, then logging in to the root account.
*
*Open System Preferences → Users & Groups.
*Unlock the preference pane and select Login Options.
*Select Show Input menu in login window.
*Immediately log in to the root account.
The root account should maintain the same selection as the login window. If not, change the input source to match that of the login window, then log out. Both the login window and root account should have the same input source for it to stay permanent.
A: Set it up how you want it in your account and then copy your user com.apple.HIToolbox.plist onto the system one, then reboot.
Run this in Terminal:
sudo cp ~/Library/Preferences/com.apple.HIToolbox.plist /Library/Preferences/
…then restart your computer without going to the login screen (choose restart from the Apple menu without logging out first)
A: I always got the french layout instead of canadian french at logon screen.
Here's the solution that worked for me:
*
*I found that Logon keyboard layout (i.e. french) correspond to:
defaults read /Library/Preferences/com.apple.HIToolbox.plist
*The desired keyboard layout (i.e. canadian french) is saved here:
defaults read ~/Library/Preferences/com.apple.HIToolbox.plist
(Notice the ~ !)
*To resolve this I changed the logon keyboard to the desired one by overwriting the .plist file (after ensuring that the source plist doesn't contain any occurrence of the unwanted layout):
*
*View the file with:
plutil -convert json ~/Library/Preferences/com.apple.HIToolbox.plist; \
vi ~/Library/Preferences/com.apple.HIToolbox.plist; \
plutil -convert binary1 ~/Library/Preferences/com.apple.HIToolbox.plist
and ensure that there is no occurrence of the unwanted layout (even in the History).
*
*sudo cp ~/Library/Preferences/com.apple.HIToolbox.plist /Library/Preferences/
*sudo chmod 644 /Library/Preferences/com.apple.HIToolbox.plist
Log off and it's OK. :)
A: I'm running Catalina and none of the above answers worked for me. What did work for me ended up being quite simple. (All credit to Daniel Aleksandersen for this solution.)
*
*Go into System Preferences > Language & Region > General.
*Make sure your preferred language is set as primary
*Hit the gear icon below the list of languages and click "Apply to Login Window".
*Restart to check it worked.
For me that was it. If the gear icon doesn't show up for you, you may need to follow the full list of steps below:
*
*Start by going to System Preferences: Keyboard: Input Sources. Make
sure the layout you want to have on the login window is at the top
of the list of keyboard layouts.
*Go to System Preferences: Users and Groups: Login Options. Unlock
the preference pane if needed.
*Toggle the “Show Input menu in login window” option off and on
again. Or toggle it on if it wasn’t already on.
*Go to System Preferences: Language and Region: General: Preferred
languages.
*Temporarily add a second language to the list using the Plus button.
You’ll remove it later so just add any language.
*Drag the new language to the top of the list.
*Click the new Gear button that appeared on the bottom bar when you
rearranged the language list, and choose Apply To Login Window. (As
shown in the above screenshot.)
*Drag your preferred language to the top of the list again.
*Repeat step 7.
*Remove the language you temporary added to the list by selecting it
and clicking on the Minus button. Reboot your Mac.
A: Just delete the /Library/Preferences/com.apple.HIToolbox.plist do the job for me.
A: Why is everyone making it so complex. The easiest would be:
newton02:~ templahum$ sudo languagesetup
and then you get:
Password:
Entering password will show you this. Select your language and move hit Return. You are done!
1. Use English for the main language
2. Utiliser le français comme langue principale
3. Deutsch als Standardsprache verwenden
4. Some language
5. Some other language
6. Some some other language
7. Usar español como idioma principal
q) Quit? 1
System Language set to: en
A: I have simple hack solution. If you have enabled on login screen keyboard selection and default keyboard is wrong e.g. U.S. in my case change it BUT do not continue to login (do not enter password) but restart or shut down Mac using buttons at the bottom of login screen. This way keyboard will be remembered!
| apple | {
"language": "en",
"length": 792,
"provenance": "stackexchange_00000.jsonl.gz:30159",
"question_score": "22",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/108144"
} |
0f416bcc22e0990d87ec331dad9f2cd33db2e6ae | Apple Stackexchange
Q: Can I simulate multi-touch input on a Mac? With iOS's accessibility features, it is possible to pretend the user is using multiple fingers or making certain gestures while in reality they are only using one finger.
Is there any way I can simulate multi-touch trackpad gestures on a Mac?
(Note: While this can be used for accessibility purposes, I'm specifically thinking of using this to two-finger-scroll while using my Monoprice drawing tablet. An answer that fulfills that function without working in all circumstances will also be accepted.)
A: BetterTouchTool lets you create custom gestures, with custom actions. There are a variety of single-finger gestures:
Have a look at it, and see if it suits your need.
| Q: Can I simulate multi-touch input on a Mac? With iOS's accessibility features, it is possible to pretend the user is using multiple fingers or making certain gestures while in reality they are only using one finger.
Is there any way I can simulate multi-touch trackpad gestures on a Mac?
(Note: While this can be used for accessibility purposes, I'm specifically thinking of using this to two-finger-scroll while using my Monoprice drawing tablet. An answer that fulfills that function without working in all circumstances will also be accepted.)
A: BetterTouchTool lets you create custom gestures, with custom actions. There are a variety of single-finger gestures:
Have a look at it, and see if it suits your need.
| apple | {
"language": "en",
"length": 117,
"provenance": "stackexchange_00000.jsonl.gz:30163",
"question_score": "7",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/108163"
} |
a8db005bed2fa1465b495bf69ca6fe8a097f8351 | Apple Stackexchange
Q: How to run a shell script upon user authentication (e.g. screen unlock)? I would like to specify a shell script (say one to send me an email) whenever a given user is authenticated, for example if prompted after sleep, fresh login or fast user switching.
PS: I found answers for running a script when the computer wakes from sleep and another for when a user logs into a fresh session, but that is not exactly what I'm looking for.
A: From https://apple.stackexchange.com/a/159510/76470 :
I found SleepWatcher, a free tool that allows to run a script when the screen goes to sleep or wakes up.
After installing it, you can link a shell script that is run on one of the available events (which include dim screen, wake up screen, computer sleep, wake up computer and some more). From the shell script, I can run a command, or call an AppleScript that I want to run on these events.
Since my screen goes to sleep when I lock my computer, this is exactly what I was looking for.
| Q: How to run a shell script upon user authentication (e.g. screen unlock)? I would like to specify a shell script (say one to send me an email) whenever a given user is authenticated, for example if prompted after sleep, fresh login or fast user switching.
PS: I found answers for running a script when the computer wakes from sleep and another for when a user logs into a fresh session, but that is not exactly what I'm looking for.
A: From https://apple.stackexchange.com/a/159510/76470 :
I found SleepWatcher, a free tool that allows to run a script when the screen goes to sleep or wakes up.
After installing it, you can link a shell script that is run on one of the available events (which include dim screen, wake up screen, computer sleep, wake up computer and some more). From the shell script, I can run a command, or call an AppleScript that I want to run on these events.
Since my screen goes to sleep when I lock my computer, this is exactly what I was looking for.
| apple | {
"language": "en",
"length": 178,
"provenance": "stackexchange_00000.jsonl.gz:30164",
"question_score": "4",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/108164"
} |
87f4a70f965d28b5c748aea02aa48d0a181b3ea9 | Apple Stackexchange
Q: iPad air - text messages won't send I have a new iPad air wifi no cellular and set up iMessage but I cannot send messages to non iPad or iPhone users from Messages. It always tries to send the message but every time, it just stops and outputs that it has not been delivered. When I turn iMessage off every time I want to send a text message it asks to login. I can send messages on my iPhone to the same people that I want to message to using my iPad, with no problem.
A: iMessage is actually an instant messaging service, like Google Talk or AOL Instant Messenger, except iMessage is made by Apple and is only for Apple products. Only an iPhone with cellular can send SMS messages as well, and can automatically associate phone numbers of registered iMessage users with iMessage accounts, so if you try to use the app to send a text to a phone number registered to an iPhone, it will send an iMessage instead. iPads cannot send SMS messages to non-Apple devices nor an iMessage to a phone number not registered with iMessage from a Wi-Fi-only device.
http://support.apple.com/kb/HT3529
| Q: iPad air - text messages won't send I have a new iPad air wifi no cellular and set up iMessage but I cannot send messages to non iPad or iPhone users from Messages. It always tries to send the message but every time, it just stops and outputs that it has not been delivered. When I turn iMessage off every time I want to send a text message it asks to login. I can send messages on my iPhone to the same people that I want to message to using my iPad, with no problem.
A: iMessage is actually an instant messaging service, like Google Talk or AOL Instant Messenger, except iMessage is made by Apple and is only for Apple products. Only an iPhone with cellular can send SMS messages as well, and can automatically associate phone numbers of registered iMessage users with iMessage accounts, so if you try to use the app to send a text to a phone number registered to an iPhone, it will send an iMessage instead. iPads cannot send SMS messages to non-Apple devices nor an iMessage to a phone number not registered with iMessage from a Wi-Fi-only device.
http://support.apple.com/kb/HT3529
A: Actually, you can send SMS from your iPad to anyone, just like your iPhone can text non-iPhone users. It's a complicated multistep process to set it up, but here goes:
*
*First, make sure you're signed into iMessage on your iPad in Settings > Messages > iMessage.
*Jump over to your iPhone and confirm you're signed into iMessage and iCloud with the same account here, too.
*Still on your iPhone, go to Settings > Messages > Text Message Forwarding.
*Inside Text Message Forwarding, flip the switches to enable sending text messages on one device at a time. Then look at that device – you'll see a confirmation number that you'll have to enter on your iPhone. This ensures you've got physical access to both devices at the time you're setting it up.
*Confirm the link by typing the code and you're finished!
Sources:
*
*How to Enable Apple’s SMS Relay on your Mac or iPad
*Use Continuity to connect your iPhone, iPad, iPod touch, and Mac
A: After 3 visits to an Apple store Genius Bar, I was finally informed that Ipad Air messaging only works when sending or receiving text messages with other apple products. This, in my opinion, makes it essentially useless. Since most of my messaging contacts do not have apple products, I turned off my iPad Air messaging and simply use my iPhone for all of my text messaging. I consider this to be a design flaw in iPad Air which will hopefully be recognized and corrected sometime in the near future.
A: iMessage sends the message through Apple to the intended recipient. Because the iPad is WiFi without cellular [data], SIM cards cannot be inserted and therefore the iPad is not able to message non-Apple users. As noted, 'only sim-cards have access to the GSM network to send SMS messages'.
Update: You can now send text messages through your iPad if you have an iPhone. (See here.)
| apple | {
"language": "en",
"length": 520,
"provenance": "stackexchange_00000.jsonl.gz:30175",
"question_score": "3",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/108200"
} |
9539273220a4137656a6cbc125cdc5408b86284c | Apple Stackexchange
Q: Is it possible to manage the iCloud keychain? I like to know if it is possible to manage the iCloud keychain, means, deleting elements. I tried the under the OS X keychain app in the iCloud tab but after a clean install of OS X, everything was restored. So, is it possible or not?
A: As described in Apples iCloud FAQ: To delete the Keychain completely, you have to deselect Allow approving using security code in the iCloud Account details under system preferences. After that, turn off the Keychain usage on every device that is using it. This will delete the complete keychain. Turning on the Allow approving using security code will result in a clean keychain.
If you want to edit items stored in the iCloud keychain you can do so via the Mac OS X keychain app or from your iDevice in the Safari preferences.
Mac OS X example: On the left, select iCloud and delete / edit items on the right.
| Q: Is it possible to manage the iCloud keychain? I like to know if it is possible to manage the iCloud keychain, means, deleting elements. I tried the under the OS X keychain app in the iCloud tab but after a clean install of OS X, everything was restored. So, is it possible or not?
A: As described in Apples iCloud FAQ: To delete the Keychain completely, you have to deselect Allow approving using security code in the iCloud Account details under system preferences. After that, turn off the Keychain usage on every device that is using it. This will delete the complete keychain. Turning on the Allow approving using security code will result in a clean keychain.
If you want to edit items stored in the iCloud keychain you can do so via the Mac OS X keychain app or from your iDevice in the Safari preferences.
Mac OS X example: On the left, select iCloud and delete / edit items on the right.
| apple | {
"language": "en",
"length": 165,
"provenance": "stackexchange_00000.jsonl.gz:30183",
"question_score": "4",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/108238"
} |
450b8081214e8a14d8e38b8dc5489284d7c05452 | Apple Stackexchange
Q: CVS on OS X Mavericks Apparently, Apple has removed CVS under the OS X 10.9 Mavericks devtools (and yes, it's really gone). For the uninitiated, CVS is the Concurrent Version System, a tool for keeping files up to date between different machines and users (developers).
I have some legacy projects that still require it (no, I cannot change it to use SVN, much less git).
Where is the best place to get a version that works under OS X Mavericks?
A: edit:
As remarked in the comments git requires a working cvs client which makes this approach just a nice interop layer but not a solution to the problem of a missing csv client.
Another option would be to use git as a cvs client and directly push to the CVS server.
Depending on your needs this could be sufficient cvs interop + a advantage of using git locally.
| Q: CVS on OS X Mavericks Apparently, Apple has removed CVS under the OS X 10.9 Mavericks devtools (and yes, it's really gone). For the uninitiated, CVS is the Concurrent Version System, a tool for keeping files up to date between different machines and users (developers).
I have some legacy projects that still require it (no, I cannot change it to use SVN, much less git).
Where is the best place to get a version that works under OS X Mavericks?
A: edit:
As remarked in the comments git requires a working cvs client which makes this approach just a nice interop layer but not a solution to the problem of a missing csv client.
Another option would be to use git as a cvs client and directly push to the CVS server.
Depending on your needs this could be sufficient cvs interop + a advantage of using git locally.
A: A unix-ish package manager is clearly the way to go. I have moved from fink and Macports to homebrew, which has a recipe for cvs:
brew install cvs
For historical completeness, you formerly had to use the
(slightly hard to find) recipe for cvs: brew install homebrew/dupes/cvs.
After only very minimal testing, it seems to work.
A: The easiest way for most programs is to install with a package manager like Macports, Homebrew or Fink. The porters will have worked out the issues about porting the code to OSX so it should be as simple as follows (for Macports)
*
*Install macports, download the .pkg file and run it
*Install Xcode and its command line tools
*Add /opt/local/bin to your path - the installer attempts to do this for you so you probably just need to check
*Install the port sudo port install cvs
*Run cvs either with the full path /opt/local/bin/cvs or use your PATH
A: CVSNT runs on Mac OS X 10.9, and supports HQX encoding of resources etc. Beta for 10.9 is available here:
http://march-hare.com/cvspro/#downcvsnt
If you previously used Mac CVS X then this (CVSNT) is the 'command line' that was previously included.
A: I just had this same problem, and a big issue with Macports, Fink etc. is that they pull in lots of other depedencies which is confusing and unnecessary if all you need is a single tool like cvs. In my case, trying to install it using macports resulted in a popup asking me to install a java compiler (?!) and dozens of other packets had to be built so I quickly pulled eject :)
If all you need is cvs, just building it yourself is easy and more clean and the resulting binary integrates with all the existing libs etc. on the computer. You do need Xcode installed and its command-line tools, but if you need cvs, I'm sure you already have this installed.
Get the cvs sourcecode from:
http://download.savannah.gnu.org/releases/cvs/source/stable/1.11.23/
un-tar it into a folder, enter the folder, and run ./configure
You then (unfortunately) need to edit the files in src/ and lib/ to rename their getline function into, say, getlineX, because getline clashes with a libc function. I could do a patch of this and put somewhere I guess..
After this, do "make" and you will get a binary in src/cvs that you can put in your ~/bin folder or wherever, and make sure your PATH points there.
A: Following up on BjornW's answer with a patch.
After downloading and unarchiving the source from:
http://download.savannah.gnu.org/releases/cvs/source/stable/1.11.23/
Copy the patch below to some file, say, cvs-1.11.23.patch, then apply the patch with:
patch -d cvs-1.11.23 -p1 < cvs-1.11.23.patch
Then build as per the cvs-1.11.23 README file instructions:
cd cvs-1.11.23
./configure
make
make install
Here's the patch:
diff -r -u cvs-1.11.23/lib/getline.c cvs-1.11.23-osx/lib/getline.c
--- cvs-1.11.23/lib/getline.c 2005-04-05 06:46:05.000000000 +1000
+++ cvs-1.11.23-osx/lib/getline.c 2017-01-31 12:04:19.000000000 +1100
@@ -154,13 +154,10 @@
return ret;
}
-int
-getline (lineptr, n, stream)
- char **lineptr;
- size_t *n;
- FILE *stream;
+ssize_t
+ getline(char ** restrict lineptr, size_t * restrict linecapp, FILE * restrict stream)
{
- return getstr (lineptr, n, stream, '\n', 0, GETLINE_NO_LIMIT);
+ return (ssize_t)getstr (lineptr, linecapp, stream, '\n', 0, GETLINE_NO_LIMIT);
}
int
diff -r -u cvs-1.11.23/lib/getline.h cvs-1.11.23-osx/lib/getline.h
--- cvs-1.11.23/lib/getline.h 2005-04-05 06:46:05.000000000 +1000
+++ cvs-1.11.23-osx/lib/getline.h 2017-01-31 12:03:21.000000000 +1100
@@ -11,8 +11,8 @@
#define GETLINE_NO_LIMIT -1
-int
- getline __PROTO ((char **_lineptr, size_t *_n, FILE *_stream));
+ssize_t
+ getline(char ** restrict linep, size_t * restrict linecapp, FILE * restrict stream);
int
getline_safe __PROTO ((char **_lineptr, size_t *_n, FILE *_stream,
int limit));
| apple | {
"language": "en",
"length": 740,
"provenance": "stackexchange_00000.jsonl.gz:30184",
"question_score": "18",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/108240"
} |
7693192c84dd1fac1890881c252cbc0719f5a76a | Apple Stackexchange
Q: Can I configure terminal to show stderr output in different colour Is it possible to configure the terminal in OS X to show stderr output automatically in a different colour than stdout output from a process?
Or is this only possible if the process is outputting coloured output?
A: You may want to have a look at stderred which allows to output Stderr in red.
It's OSX compatible and there is a manual to install it on OSX.
| Q: Can I configure terminal to show stderr output in different colour Is it possible to configure the terminal in OS X to show stderr output automatically in a different colour than stdout output from a process?
Or is this only possible if the process is outputting coloured output?
A: You may want to have a look at stderred which allows to output Stderr in red.
It's OSX compatible and there is a manual to install it on OSX.
A: There is no straightforward solution, but there are at least a few workarounds available to do this.
*
*You can install hilite by building the single C file (hilite.c in this case) or by using brew install hilite (with homebrew installed on the system). Use it as hilite <command>.
*You can use the command from this answer on serverfault (substitute command with the name of your script/command) to make stderr appear in red (for other colors, refer the ANSI escape sequences list and change the 31m in the below command accordingly):
command 2> >(while IFS= read -r line; do echo -e "\e[01;31m$line\e[0m" >&2; done)
*You can use stderred to color stderr in red.
| apple | {
"language": "en",
"length": 193,
"provenance": "stackexchange_00000.jsonl.gz:30190",
"question_score": "17",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/108262"
} |
8cc7f68866bc6bf5c44efb4049d1dab071c08585 | Apple Stackexchange
Q: Disk space used by iPhoto/iMovie libraries on OS X How can I tell how much space my iphotos and imovies are taking on my Macbook Pro hard drive? I've checked the applications from my finder, but iphoto and imovie are not listed there.
A: *
*iPhoto pictures are stored in ~/Pictures/iPhoto Library
*iMovie movies are stored in ~/Movies/iMovie Events (iMovie 9) or ~/Movies/iMovie Library (iMovie 10, name may be different as my system runs on German settings)
Select the library and type Cmd+I to open the "Get Info" window which also shows file size (may take a while to calculate).
| Q: Disk space used by iPhoto/iMovie libraries on OS X How can I tell how much space my iphotos and imovies are taking on my Macbook Pro hard drive? I've checked the applications from my finder, but iphoto and imovie are not listed there.
A: *
*iPhoto pictures are stored in ~/Pictures/iPhoto Library
*iMovie movies are stored in ~/Movies/iMovie Events (iMovie 9) or ~/Movies/iMovie Library (iMovie 10, name may be different as my system runs on German settings)
Select the library and type Cmd+I to open the "Get Info" window which also shows file size (may take a while to calculate).
| apple | {
"language": "en",
"length": 101,
"provenance": "stackexchange_00000.jsonl.gz:30191",
"question_score": "3",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/108263"
} |
fcff5ce90b3bb545687c59ba3be8a3e8d6702e2f | Apple Stackexchange
Q: Books not purchased in iBooks Store are not syncing between Mavericks and iPhone After upgrading to OS X Mavericks, I added some ebooks bought directly from publishers, such as O'Reilly, by dragging them into the iBooks app. However, when I use iBooks on my iPhone, the ebooks aren't showing up. Is iBooks able to sync books not purchased via the iBooks Store? If so, what am I missing?
MacBook Configuration
*
*13" MacBook Pro Retina with OS X 10.9 Mavericks
*iBooks ver 1.0 (build 169)
*Settings > General Preferences > Sync is checked
*I have performed File > "Move Books from iTunes..."
*I have authorized this computer from within the iBooks app
iPhone Configuration
*
*iPhone 4S with iOS 7.0.3 (11B511)
*iBooks has both Sync Bookmarks and Sync Collections enabled
*I have confirmed that I'm using the same Apple ID on the MacBook and iPhone
A: You have to use iTunes.
Open iTunes, click on your device and then choose the Books tab. There you can select which books you want to sync to your iOS device.
It appears to sync your pages placement too.
| Q: Books not purchased in iBooks Store are not syncing between Mavericks and iPhone After upgrading to OS X Mavericks, I added some ebooks bought directly from publishers, such as O'Reilly, by dragging them into the iBooks app. However, when I use iBooks on my iPhone, the ebooks aren't showing up. Is iBooks able to sync books not purchased via the iBooks Store? If so, what am I missing?
MacBook Configuration
*
*13" MacBook Pro Retina with OS X 10.9 Mavericks
*iBooks ver 1.0 (build 169)
*Settings > General Preferences > Sync is checked
*I have performed File > "Move Books from iTunes..."
*I have authorized this computer from within the iBooks app
iPhone Configuration
*
*iPhone 4S with iOS 7.0.3 (11B511)
*iBooks has both Sync Bookmarks and Sync Collections enabled
*I have confirmed that I'm using the same Apple ID on the MacBook and iPhone
A: You have to use iTunes.
Open iTunes, click on your device and then choose the Books tab. There you can select which books you want to sync to your iOS device.
It appears to sync your pages placement too.
A: I had this same problem. I was seeing it in iTunes, but continued to see it when I upgraded to Ventura where finder is used to sync. Originally, I thought it was because I was running an older version of the OS, but when I upgraded the problem persisted. For a long time I got around the problem by using air drop to sync the eBook to my iphone or ipad. I just recently noticed that in my iCloud settings, sync books was turned on (which I didn't want because I have a lot of ebooks and I don't want them all synced to my mobile device). When I turned off ebooks in my iCloud sync setting, all of my eBooks in the Books app started showing up again as options for syncing.
A: I assume the book in question doesn't show up in iTunes when syncing your iPhone?
You have to get the epub onto your iPhone and open it with iBooks. I used Dropbox to get it on there, I assume Mail would also work. If it states that it can't show epub files, just use the share button to open with iBooks.
A: I’ve been having a hard time with this as well. Basically the only work around solution I’ve been able to have any success with is to save the ebooks & PDF’s (ones obviously not purchased via iBooks) to a desktop file which is then uploaded to the Cloud. This is then accessible to all of the devices. On my iPhone I have a “File” app which is part of the iOS 11 update & I can then download the desired books onto my iPhone that way. It’s a hassle but at least I’m not having to get my MacBook out each time I want to read something that hadn’t stayed on my device after a backup/sync with iTunes. Hope this helps.
A: I'm experiencing this issue too on an iPhone running iOS 11 and MBP running the macOS High Sierra.
I have notes and highlights made in iBooks samples on my phone. When I open iBooks on my Mac, those samples do not show up, even when clicking View > Show iCloud Books.
The solution for me was to search for the book in the iBooks Store on my Mac, then download it on the Mac. After that, my notes and highlights appeared in both places and synced across iCloud.
| apple | {
"language": "en",
"length": 593,
"provenance": "stackexchange_00000.jsonl.gz:30192",
"question_score": "11",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/108266"
} |
5b8e1f475cc1a376210d280aba2c2e88a1f617ac | Apple Stackexchange
Q: How can I configure OS X Mavericks to use a UK PC keyboard layout? I'm using a non-mac USB UK keyboard with Mavericks. Because Apple's idea of a UK keyboard is different to a non-apple UK keyboard, some symbols are wrong, e.g. " and @ are swapped.
How can I get set my keyboard layout to match a non-mac UK keyboard?
A: To get this working correctly (without downloading anything extra) I had to go to System Preferences -> Keyboard -> Input Sources.
British was the only option I had there, but clicking the + icon brought up a list which included British - PC. Simply add that one, THEN remove the original British option using the - icon.
My keyboard was correctly mapped to the British default after that. It didn't work until after I removed the original British option, so only British - PC was in Input Sources.
| Q: How can I configure OS X Mavericks to use a UK PC keyboard layout? I'm using a non-mac USB UK keyboard with Mavericks. Because Apple's idea of a UK keyboard is different to a non-apple UK keyboard, some symbols are wrong, e.g. " and @ are swapped.
How can I get set my keyboard layout to match a non-mac UK keyboard?
A: To get this working correctly (without downloading anything extra) I had to go to System Preferences -> Keyboard -> Input Sources.
British was the only option I had there, but clicking the + icon brought up a list which included British - PC. Simply add that one, THEN remove the original British option using the - icon.
My keyboard was correctly mapped to the British default after that. It didn't work until after I removed the original British option, so only British - PC was in Input Sources.
A: If the British PC layout from apple is not right, some alternatives can be found at
http://liyang.hu/osx-british.xhtml
A: I agree with the previous answers. Alternatively there is a software called Ukelele with which you can remap your keyboard as you like. I didn't find this answer before when I was looking for the "proper" British-PC layout. With the app it takes 5-10 minutes to redo your keyboard - there are ready-made samples inside which you can use as a templates.
I hope it helps.
A: After downloading alternatives from the link suggested in Tomg's answer, I realised while making them active that there is already a "British - PC" layout installed by default.
To activate it was Settings->Keyboard->Input Sources->Plus sign & find it from the list, and then click the input source icon in the menu bar to select it.
| apple | {
"language": "en",
"length": 292,
"provenance": "stackexchange_00000.jsonl.gz:30193",
"question_score": "11",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/108269"
} |
752523066933f7455d315cd682afad03c08d8159 | Apple Stackexchange
Q: Activate iPhone with any sim? I have bought an unlocked iPhone 5s (I believe it's model A1530) from the Apple Store Australia, can I use any sim to activate this phone?
Could I even use my partners and then put it back in his phone once it's activated?
I only want to use the phone over wifi for now.
A: If the device is unlocked you can borrow a sim to activate the device. One thing to keep in mind though is you may want to skip setting up iCloud until after you remove the borrowed sim card.
After you've ejected the sim go into Settings > Phone > My number. Either clear the number out (which will be the number of your borrowed sim) or type in your actual phone number. The reason being is iCloud (specifically, iMessage) will want to tie the phone number from the borrowed sim to your iMessage account. It could potentially end up with you receiving iMessages intended for the person you borrowed the sim from.
| Q: Activate iPhone with any sim? I have bought an unlocked iPhone 5s (I believe it's model A1530) from the Apple Store Australia, can I use any sim to activate this phone?
Could I even use my partners and then put it back in his phone once it's activated?
I only want to use the phone over wifi for now.
A: If the device is unlocked you can borrow a sim to activate the device. One thing to keep in mind though is you may want to skip setting up iCloud until after you remove the borrowed sim card.
After you've ejected the sim go into Settings > Phone > My number. Either clear the number out (which will be the number of your borrowed sim) or type in your actual phone number. The reason being is iCloud (specifically, iMessage) will want to tie the phone number from the borrowed sim to your iMessage account. It could potentially end up with you receiving iMessages intended for the person you borrowed the sim from.
A: When you borrow a sim card from somebody to active your phone it will say Type in your Icloud you type in their icloud if not icloud it may so aol it will not affect their sim card or phone. After that go to setting and delted their icloud and make yours.
| apple | {
"language": "en",
"length": 226,
"provenance": "stackexchange_00000.jsonl.gz:30195",
"question_score": "4",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/108275"
} |
b6d80d35e9ff92c2a107faa261dea5ec826e882b | Apple Stackexchange
Q: How can I make a calendar appointment reminder remind me "5 minutes later" on iPhone like BlackBerry? Confession, I have just converted from BlackBerry to iPhone. On BlackBerry, if I had an event in my calendar with a reminder set for 15 minutes before the event, it have the option of dismissing the reminder or let it remind again in 5 minutes. I have been unable to find anything similar on the iPhone?
A: Unfortunately, iOS does not have a directly equivalent option. There are some workarounds and apps given here: Is there any way to change the snooze time for alarms on the iPhone?
| Q: How can I make a calendar appointment reminder remind me "5 minutes later" on iPhone like BlackBerry? Confession, I have just converted from BlackBerry to iPhone. On BlackBerry, if I had an event in my calendar with a reminder set for 15 minutes before the event, it have the option of dismissing the reminder or let it remind again in 5 minutes. I have been unable to find anything similar on the iPhone?
A: Unfortunately, iOS does not have a directly equivalent option. There are some workarounds and apps given here: Is there any way to change the snooze time for alarms on the iPhone?
A: There is a Snooze option on the lock screen in iOS 7 - the snooze time is 10 min.
A: Launch the Calendar app from the Home screen of your iPhone or iPad.
Tap on the name of the event you'd like to change the default alert for (or add an alert if you have default alerts disabled).
Tap on the Edit button in the upper right hand corner.
Tap on Alert.
Choose the alert time you'd like the Calendar to remind you at and then tap on Done in the upper right hand corner.
| apple | {
"language": "en",
"length": 202,
"provenance": "stackexchange_00000.jsonl.gz:30196",
"question_score": "3",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/108277"
} |
825d3298d7de7a082312d0430fe371a947f607e6 | Apple Stackexchange
Q: Remove past versions from Spotlight searches? Is there a way to prevent Spotlight from indexing past versions of documents (see attached image). On my system it seems to always recommend an old version as the top hit, requiring me to scroll through or mouse over the results to get the actual document.
In case it matters, this particular example is a Numbers spreadsheet stored in iCloud.
A: I ended up copying all of my documents (I didn't really have that many) out of iCloud to the local disk, and then deleting them from iCloud. The old versions were still showing up in Spotlight, so I added the entire drive to Spotlight's Privacy list to delete the index. Then I put the documents back into iCloud, removed the drive from the Privacy list, and let it sit for a few hours while it reindexed everything. After two days of usage everything seems to be working normally once again. Thanks to @bmike for the ideas.
| Q: Remove past versions from Spotlight searches? Is there a way to prevent Spotlight from indexing past versions of documents (see attached image). On my system it seems to always recommend an old version as the top hit, requiring me to scroll through or mouse over the results to get the actual document.
In case it matters, this particular example is a Numbers spreadsheet stored in iCloud.
A: I ended up copying all of my documents (I didn't really have that many) out of iCloud to the local disk, and then deleting them from iCloud. The old versions were still showing up in Spotlight, so I added the entire drive to Spotlight's Privacy list to delete the index. Then I put the documents back into iCloud, removed the drive from the Privacy list, and let it sit for a few hours while it reindexed everything. After two days of usage everything seems to be working normally once again. Thanks to @bmike for the ideas.
| apple | {
"language": "en",
"length": 164,
"provenance": "stackexchange_00000.jsonl.gz:30197",
"question_score": "3",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/108282"
} |
01e613246ec40ccc2d7c844ac9ae1da45f620946 | Apple Stackexchange
Q: Default to Pages '09 when Pages '13 is also installed? Both Pages '09 and Pages '13 use "com.apple.iWork.Pages" as a bundle ID.
I can set individual .pages files to open with Pages '09, but when I try to set all .pages files to open with Pages '09, Pages '13 keeps taking over.†
† Selecting a .pages file, changing to "Pages '09", and then clicking "Change All…" always selects Pages '13. You can see it here https://vimeo.com/78545014.
Anyone know how to force OS X to accept Pages '09 as the default for all .pages files?
A: If Pages '09 is already open, any Pages documents you double-click will open in that app, rather than in Pages '13.
To make sure Pages'09 is always open, I added it to the list of Login items (System Preferences —> Accounts —> Login Items).
| Q: Default to Pages '09 when Pages '13 is also installed? Both Pages '09 and Pages '13 use "com.apple.iWork.Pages" as a bundle ID.
I can set individual .pages files to open with Pages '09, but when I try to set all .pages files to open with Pages '09, Pages '13 keeps taking over.†
† Selecting a .pages file, changing to "Pages '09", and then clicking "Change All…" always selects Pages '13. You can see it here https://vimeo.com/78545014.
Anyone know how to force OS X to accept Pages '09 as the default for all .pages files?
A: If Pages '09 is already open, any Pages documents you double-click will open in that app, rather than in Pages '13.
To make sure Pages'09 is always open, I added it to the list of Login items (System Preferences —> Accounts —> Login Items).
A: *
*Put the new iWorks app is a new folder.
*Open System Preferences.
*Go to Spotlight > Privacy > Add the folder in step 1.
*Trash the new iWorks folder.
*Rightclick on any .pages file and click Get Info.
*Change the open with to the pages ’09
*put the new iWorks folder out of trash.
Warning:
When the app store updates the apps, put the new iWork applications back into the folder.
http://www.freeforum101.com/iworktipsntrick/viewtopic.php?p=698&mforum=iworktipsntrick
A: Take a backup before you attempt the following.
Since the bundle identifier is currently the same, you would have to manually make them different. It's likely that iWork '09 won't get any updates, so you could change its bundle identifier like so (suffix '09' in the ID in Contents/Info.plist of Pages '09 under /Applications):
<key>CFBundleIdentifier</key>
<string>com.apple.iWork.Pages09</string>
You would also have to rename the few preferences files under ~/Library/Preferences/ (com.apple.iWork.Pages*.plist), substituting Pages with Pages09 in the name.
Change the application association like you have already attempted (or use duti to change/verify it).
| apple | {
"language": "en",
"length": 306,
"provenance": "stackexchange_00000.jsonl.gz:30200",
"question_score": "4",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/108287"
} |
4ad1fd4b61d51589aa1be4d1ba1d26d3089ec91b | Apple Stackexchange
Q: Command+C (copy) with the left command key does not work I'm facing a strange problem. When I type ⌘+C with the left command key, it does not work anymore. The left command key is working for ⌘+V or ⌘+X or any others so it's not a hardware problem.
The C key is working too. The right command key is working for ⌘+C.
I tried changing keyboard language, adding a shortcut, reset NVRAM, activated/deactivated VoiceOver (tip found on a site) to no avail. I'm on a MacBook Pro with Mavericks.
A: What has worked for me was force-quitting Finder (basically after trying all what you have suggested yourselves).
| Q: Command+C (copy) with the left command key does not work I'm facing a strange problem. When I type ⌘+C with the left command key, it does not work anymore. The left command key is working for ⌘+V or ⌘+X or any others so it's not a hardware problem.
The C key is working too. The right command key is working for ⌘+C.
I tried changing keyboard language, adding a shortcut, reset NVRAM, activated/deactivated VoiceOver (tip found on a site) to no avail. I'm on a MacBook Pro with Mavericks.
A: What has worked for me was force-quitting Finder (basically after trying all what you have suggested yourselves).
A: One of your applications may utilize the cmd+c shortcut, which is not shown in system preferences.
I have GoldenDict installed and one of its hotkeys to "Use the following hotkey to translate a word from clipboard" is "cmd+c c", which brings this problem.
Solution: use another hotkey or disable it.
A: It was a weird experience for me, had the same problem. After long unfruitful research through internet, I took MBP to the Genius Bar. Even they tried with networked operating systems like 10.9, 10.8 and others too. Nothing worked, later after long technical discussion they decided it may be an hardware issue (due to shorting, also option button was not working during startup OS switching). After top keyboard cover replacement it worked! Again something unexplainable, yet worked!
A: Make sure when you press CMD+C your Edit menu in the top flashes, this indicates it works as expected.
If it doesn't, go to Keyboard settings in System Preferences and:
*
*Restore defaults Modifier Keys...,
*Restore defaults in Shortcuts tab,
*In App Shortcuts click the + button and test if Keyboard Shortcut input box will react on your combination.
If Edit menu flashes and it still doesn't work, then the first thing to do is to restart pasteboard service by the following commands:
launchctl stop com.apple.pboard
launchctl start com.apple.pboard
If still doesn't work, here are some other suggestions to troubleshoot the problem:
*
*Re-test in different applications just in case.
*Re-test if works when using contextual menu (without using the shortcut).
*Re-test alternative combination such as CMD+X for Cut instead.
*Run Console to see your System log queries if something obvious is happening.
*Test if the Clipboard works from the terminal via:
$ echo test | pbcopy
$ pbpaste
If Paste menu item is no more greyed out, then maybe it's a problem with Paste command.
If you're advanced user, use dtruss or fs_usage to debug it, for instance:
$ sudo fs_usage | grep -C4 MyAppWhereCopyDoesntWork
and then notice other apps which appearing exactly when you press the shortcut which potentially you could consider quitting for testing purposes.
*Disable any recent programs that you run or restart your computer.
*Disable VoiceOver as suggested here.
*Force quit the Finder (e.g.: killall -HUP Finder).
*If still doesn't work, consider rebooting the system, especially in Recovery or Safe mode to re-test.
As for a workaround, you can install Karabiner app and remap your shortcuts by configuring private.xml file (see Misc tab). For more suggestion, please check the following posts:
*
*Remap Ctrl+C, Ctrl+V, and Ctrl-X only
*How can I reassign the copy/paste keyboard shortcuts?
A: Thank you for your insights! after clearing the cache, resetting PRAM, repairing disc and permission, nothing. Then it worked for a few minutes. Finally, I decided to use Keyremap4macbook and assigned the fn key to work like left command. It works, so I leave it like that. Problem half solved...
A: I talked to the Apple support and reset my hardware by pressing shift+ctrl+option and the power button at the same time. Then release everything. To restart your computer, just press on the power button again.
It doesn't damage anything and even got back on the internet pages I was on.
A: In my case, it was because "Command+C" in Input Sources conflicted with "Command+C" of Copy command.
I went "System Preferences -> Keyboard -> Shortcuts -> Input Sources", and found "Select the previous input source" item, then changed it to "Control+C". Then the "Command+C" Copy command worked.
A: I had the same issue and went into System Preferences>Shortcuts>Keyboard and deselected everything. I was having issues with cmd-z, cmd-x, cmd-v, and deselecting all of these (I didn't use them anyway) allowed all of these to work again.
A: *
*Open System preferences
*Select Keyboard
*Select Shortcuts
*Select Restore Defaults
A: *
*Open System Preferences
*Select Keyboard
*Select Shortcuts
*Select Keyboard
*Select Move focus to next window
*Click on the key combination
*Set it to whatever you want
A: You might have a wrong keyboard layout set up on your system, i.e. Dvorak keyboard layout. If you switch to the proper layout you might fix the problem.
Go to System Preferences -> Keyboard -> Input Sources. Then click on "+" and add the keyboard layout of your preference.
Note:
Dvorak users should know that there are a few types of the keyboard: Dvorak, Dvorak - Left, Dvorak - Right, Dvorak - Qwerty. Each of those acts differently when combination "Command + C" is pressed.
A: Funny trick to make it work:
System Pref > Keyboard > Shortcuts > App Shortcuts (left sidebar).
Add a new item "Copy" and type the shortcut CMD C.
It works!
A: I came across this issue due my ongoing struggles with the keyboard of a late-2016 MBP:
cmd + c suddenly stopped working. The problem was the esc key, which remained pressed because of some minor piece of dirt. With blowing and pressing the key repeatedly it returned to its normal position and cmd + c started working again.
(Now I have to solve issues with two other keys. Don't buy this piece of hardware, the keyboard will give you pain. Mine was already replaced, but new piece is also prone to keyboard damages due to dust and other small pieces of dirt you encounter in every office and every household. It's just bad design.)
A: I had the same problem.
On top of the problem with not having ⌘ CommandC, after a while I wasn't able to do a capital "E" by holding ⇧ Shift...after a while more than 10 random keys activated "mission control"...so you can imagine my frustration.
...but luckily I sorted.
The problem was with Lightroom Classic CC and once I did restart preferences in LR everything was ok again.
If you using the newest LR CC 8. Try Maybe it work for you.
Reset Procedure:
*
*Close Lightroom.
*Hold down ⌥ Option⇧ Shift while restarting Lightroom.
*Overwrite the Preferences when prompted by the dialogue.
*Close Lightroom.
*Restart Lightroom.
A: I had such an issue on macOS Big Sur but when I updated it to Monterey it was solved.
Please try updating your OS.
A: This issue is real and I think every mac user experience it on a weekly basis, but likely people continue to doubt themselves over if they actually command c or not properly.
The fix. If you are using Karabiner like real hacker should:
Just add this to your karabiner complex configurations:
[
{
"from": {
"key_code": "c",
"modifiers": {
"mandatory": [
"left_command"
]
}
},
"to": [
{
"key_code": "c",
"modifiers": [
"left_command"
]
},
{
"key_code": "c",
"modifiers": [
"left_command"
]
},
{
"key_code": "c",
"modifiers": [
"left_command"
]
}
],
"type": "basic"
}
]
Now that should make the copy flash a few times in the menu.
You can increase or decrease as much as you want. Personally I have a few more.
A: I had the same problem, but after one copy command (cmd + c) with the right command key, the left command key started working again!
| apple | {
"language": "en",
"length": 1284,
"provenance": "stackexchange_00000.jsonl.gz:30204",
"question_score": "27",
"source": "stackexchange",
"timestamp": "2023-03-29T00:00:00",
"url": "https://apple.stackexchange.com/questions/108303"
} |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.