Youry's Blog

Youry's Blog

Mac OS Configuration and some issues

leave a comment »

This post is for some issues with Mac OS X Leopard and interaction from/to Linux. This could be useful for some other people as well.

  1. Firefox won’t Force Quit? https://discussions.apple.com/thread/7307276?start=0&tstart=0:
    1. Haven’t deleted anything, and everything is still ok since I used your workaround:

      sudo killall launchservicesd

      and then

      sudo killall Dock

      in Terminal.

    2. The solution that has worked for me is to untick the “use hardware acceleration when available” option. Go to Preferences>advanced and untick the box. Restart Firefox and hopefully this will solve the issue.
  2. Automatically eject external disks on sleep and reconnect after on OS X http://www.atpeaz.com/index.php/2013/automaticlly-eject-external-disks-on-sleep-reconnect-after-os-x/
  3. How to enable remote access for another account on Mac remotely via SSH? http://superuser.com/questions/166179/how-to-enable-remote-access-for-another-account-on-mac-remotely-via-ssh
    sudo dscl . append /Groups/com.apple.access_ssh user USERNAME
    sudo dscl . append /Groups/com.apple.access_ssh groupmembers `dscl . read /Users/USERNAME GeneratedUID | cut -d " " -f 2`
  4. How To Silence Your Mac’s Startup Chime http://www.mactrast.com/2013/08/how-to-silence-your-macs-startup-chime/
    sudo nvram SystemAudioVolume=%80
    to reenable the system chime: sudo nvram -d SystemAudioVolume
  5. A problem with occasional horizontal scrolling in MS Office can be solved by MagicPrefs https://discussions.apple.com/thread/2292349?start=45&tstart=0
  6. see http://forums.macrumors.com/showthread.php?t=1044728 to solve the problem with VNC viewer from Linux to Mac keeps hanging. I had this problem for many years and at the last I found a solution: vncviewer -SendClipboard=0 -AcceptClipboard=0 -FullColour -PreferredEncoding=ZRLE
  7. Use an old Mac as a backup server Save your old Mac so it might one day save your data. Very good paper in my opinion. I still didn’t implemented such type of backup, but I need that for sure, especially for all my Linux and MAC computers.
  8. Remove all DS_Store files http://helpx.adobe.com/dreamweaver/kb/remove-ds-store-files-mac.htmlSelect Applications > Utilities to launch Terminal.
    Enter the following UNIX command:
    sudo find / -name “.DS_Store” -depth -exec rm {} \;
    When prompted for a password enter your Mac OS X Administrator password.
    To the top
    Automatically remove DS_Store files periodically
    Select Applications > Utilities to launch Terminal.
    Enter the following UNIX command:
    sudo crontab -e
    When prompted for a password enter your Mac OS X Administrator password.
    In the vi editor, press the letter I on your keyboard once and enter the following command:15 1 * * * root find / -name “.DS_Store” -depth -exec rm {} \;This crontab entry has the following format:
    .
    The system automatically runs the command at 1:15 AM everyday. To configure the command for a different time, use different values.Note:
    This command is not run if your computer is switched off at the scheduled time.
    To save the entry press the Esc key once, then simultaneously press Shift+z+z.

 

Advertisements

Written by youryblog

December 5, 2010 at 8:22 PM

Posted in IT, MacOS, UNIX/Linux tricks

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: