Starting PCClient as a LaunchAgent instead of as a “login item” may help speed up user login …
See the not at:
http://www.papercut.com/kb/Main/MacClientStartupWithLaunchd
Starting PCClient as a LaunchAgent instead of as a “login item” may help speed up user login …
See the not at:
http://www.papercut.com/kb/Main/MacClientStartupWithLaunchd
The software R is open source and people are adding packages constantly. On the Mac these live in the directory:
/Library/Frameworks/R.framework/Resources/library
More details see:
http://stackoverflow.com/questions/2615128/where-does-r-store-packages
In certain circumstances, Bootcamp can mess up Fusion drive formatting. Here is a detailed posting of how to recover your drive. It basically entails, booting the Internet Recovery from Apple Restart by pressing alt cmd R at startup and then using a series of diskutil commands to first remove, replace and rebuild the logical disk.
It seems that a “fusion” drive is really a “logical” drive made up of two (or I suppose more) physical drives …
See all the ugly details at:
http://apple.stackexchange.com/questions/168723/i-think-i-messed-up-the-fusion-drive-on-my-1tb-imac-with-bootcamp
GateKeeper is the application on Mac OS 10.8 and above that prevents running applications from unknown sources. On the “Lab” image this can not be enabled since many of the older academic software programs would not be able to run.
Get current status of this setting: sudo spctl --status
Disable GatetKeeper to allow all apps to run: spctl --master-disable
Enable GateKeeper to prevent unknwon apps from running: spctl --master-enable
To see more see:
http://osxdaily.com/2015/05/04/disable-gatekeeper-command-line-mac-osx/
With Mavericks, Apple is moving farther away from AFP support. It’s time to change our AFP points in our Network Shares to smb pointers.
Two commands come in very handy to find and replace the needed text in the files …
perl -pi -w -e 's/afp/smb/g;' *afploc
perl -pi -w -e 's/ACHILLES.//g;' *afploc
perl -pi -w -e 's/HECTOR.//g;' *afploc
perl -pi -w -e 's/ATHENA.//g;' *afploc
perl -pi -w -e 's/HELEN.//g;' *afploc
perl -pi -w -e 's/JASPER.//g;' *afploc
Setting a “default” printer on Mac –
Printers are listed to the mac user on the drop down menu in alphabetic order so you need to add “A” to the beginning of the name of the default printer if the default printer isn’t already first in alpha order.
If printers are already installed you can change the name in the System Preferences – Printers – then “options” for that printer.
Or, if the printers aren’t installed yet, for Williams printer installer packages you can change the name in the packaged installer before you run the installer. To do that:
1) Right-click (or option-click) on the printer installer package and “Show Package Contents”
2) Open Contents
3) Open Resources
4) Open “postflight” with AquaMacs and edit the lpadmin line to add “A” to the default printer name
Example:
`lpadmin -p Spencer-216-Color -L '' -E -v http://print-mac.williams.edu:631/printers/Spencer-216-Color -P /etc/cups/ppd/Spencer-216-Color.ppd`;;
Becomes:
`lpadmin -p ASpencer-216-Color -L '' -E -v http://print-mac.williams.edu:631/printers/Spencer-216-Color -P /etc/cups/ppd/Spencer-216-Color.ppd`;;
A web page that might offer a solution:
http://apple.stackexchange.com/questions/82025/disable-office-for-mac-2011-first-use-registration
For my Fall/Spring 2014 mac images I want to preserve the template user structure as much as possible in order to preserve the KeyChain process. This, I hope, will remove issues I am having with Chrome being unable to use the logged in user’s keychain.
So, rather than blowing away the system template user entirely and copying in a new user profile as I had done in the past, I am going to attempt to copy in only the preferences files that are needed.
Setting the desktop image can be done by copying the desktop image I want users to have as root to the system default “wave.jpg” file. With:
bash-3.2# sudo -s
bash-3.2# cd /Library/Desktop\ Pictures/
bash-3.2# mv Wave.jpg Wave_orig.jpg
bash-3.2# cp /Users/labadmin/Desktop/desktop_bkgd_logoff_1920.jpg /Library/Desktop\ Pictures/Wave.jpg
bash-3.2#
Website reference: http://derflounder.wordpress.com/2013/10/26/mavericks-desktop-background-picture-settings-moved-from-librarypreferencescom-apple-desktop-plist/
Unhide the User’s “Library” folder by:
chflags nohidden /System/Library/User\ Template/English.lproj//Library
See: http://sites.williams.edu/lj1/labs/mac-10-7-hidden-user-library-folder/
Also I am setting up in my pre-image script the following commands:
cp /Users/labuser/Library/Preferences/com.apple.dock.plist /System/Library/User\ Template/English.lproj/Library/Preferences
cp /Users/labuser/Library/Preferences/com.apple.loginitems.plist /System/Library/User\ Template/English.lproj/Library/Preferences
cp /Users/labuser/Library/Preferences/com.google.Chrome.plist /System/Library/User\ Template/English.lproj/Library/Preferences
cp /Users/labuser/Library/Preferences/org.mozilla.firefox.plist /System/Library/User\ Template/English.lproj/Library/Preferences
Website references:
http://www.princeton.edu/~jcjb/docs/osx_imaging/
and
http://hints.macworld.com/article.php?story=20050316020738829
Certain applications are putting their license files in the “labadmin” account and those are not usable by users. MathType, Sketchup, etc. These I am coping to the system template as I find them …
Very useful when wondering if someone added something some where ….
Best run as root:
find / -name 'Acrobat*'