Code Monkey home page Code Monkey logo

sprout-osx-settings's Introduction

sprout-osx-settings

Build Status

Various settings & preferences for OS X.

Usage

Prerequisites

  • sprout-base

Cookbook Usage

Recipes

  • sprout-osx-settings::default - includes the following:
    • sprout-osx-settings::defaults_fast_key_repeat_rate
    • sprout-osx-settings::function_keys
    • sprout-osx-settings::global_environment_variables
    • sprout-osx-settings::input_on_login
    • sprout-osx-settings::inputrc
    • sprout-osx-settings::keyboard
    • sprout-osx-settings::locate
    • sprout-osx-settings::machine_name
    • sprout-osx-settings::screensaver
    • sprout-osx-settings::screen_sharing
    • sprout-osx-settings::set_menubar_clock_format
    • sprout-osx-settings::shared_memory
    • sprout-osx-settings::snmpd
    • sprout-osx-settings::sshd_on
    • sprout-osx-settings::tcp_keepalive
    • sprout-osx-settings::timemachine
    • sprout-osx-settings::updates

All Recipes

  • sprout-osx-settings::defaults_fast_key_repeat_rate
  • sprout-osx-settings::dock_preferences
  • sprout-osx-settings::finder_display_full_path
  • sprout-osx-settings::function_keys - disable function keys
  • sprout-osx-settings::global_environment_variables
  • sprout-osx-settings::input_on_login
  • sprout-osx-settings::inputrc
  • sprout-osx-settings::keyboard
  • sprout-osx-settings::locate
  • sprout-osx-settings::machine_name - sets machine name based on node[machine_domain]
  • sprout-osx-settings::osx_aqua_color_preferences
  • sprout-osx-settings::osx_disable_natural_scrolling
  • sprout-osx-settings::remove_expose_keyboard_shortcuts
  • sprout-osx-settings::remove_garageband
  • sprout-osx-settings::safari_preferences
  • sprout-osx-settings::screen_sharing - exposes the Screen Sharing app
  • sprout-osx-settings::screensaver - sets timeout and turns on immediate password unlock
  • sprout-osx-settings::set_finder_show_all_hd_on_desktop
  • sprout-osx-settings::set_finder_show_hd_on_desktop
  • sprout-osx-settings::set_finder_show_user_home_in_sidebar
  • sprout-osx-settings::set_menubar_clock_format
  • sprout-osx-settings::set_multitouch_preferences
  • sprout-osx-settings::set_start_up_automatically
  • sprout-osx-settings::shared_memory
  • sprout-osx-settings::snmpd
  • sprout-osx-settings::sshd_on
  • sprout-osx-settings::tcp_keepalive
  • sprout-osx-settings::terminal_focus
  • sprout-osx-settings::terminal_preferences
  • sprout-osx-settings::timemachine - hides Time Machine on menubar and prevents asking about using every mounted disk
  • sprout-osx-settings::updates

Contributing

Before committing

bundle
bundle exec rake

The default rake task runs foodcritic and unit specs

bundle
bundle exec rake foodcritic

sprout-osx-settings's People

Contributors

aramprice avatar codeword avatar cunnie avatar goonzoid avatar hiremaga avatar infews avatar jfoley avatar jpalermo avatar mikem avatar ohrite avatar trinitronx avatar wendorf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

sprout-osx-settings's Issues

repeated invocations of the screensaver recipe cause longer... and longer... and longer plist filenames to be generated.

I've been repeatedly running the sprout-wrap recipes on my workstation as I build out my soloistrc - it failed a little while ago, with this error:

{code}
STDOUT:
STDERR: 2014-06-06 16:02:56.885 defaults[16226:a07] Could not write domain /Users/elw/Library/Preferences/ByHost/com.apple.screensaver.7720EA65-6F70-593A-ACBC-63CF4F4F3593..7720EA65-6F70-593A-ACBC-63CF4F4F3593..7720EA65-6F70-593A-ACBC-63CF4F4F3593..7720EA65-6F70-593A-ACBC-63CF4F4F3593..7720EA65-6F70-593A-ACBC-63CF4F4F3593.; exiting
---- End output of defaults write /Users/elw/Library/Preferences/ByHost/com.apple.screensaver.7720EA65-6F70-593A-ACBC-63CF4F4F3593..7720EA65-6F70-593A-ACBC-63CF4F4F3593..7720EA65-6F70-593A-ACBC-63CF4F4F3593..7720EA65-6F70-593A-ACBC-63CF4F4F3593..7720EA65-6F70-593A-ACBC-63CF4F4F3593. idleTime -int 600 ----
Ran defaults write /Users/elw/Library/Preferences/ByHost/com.apple.screensaver.7720EA65-6F70-593A-ACBC-63CF4F4F3593..7720EA65-6F70-593A-ACBC-63CF4F4F3593..7720EA65-6F70-593A-ACBC-63CF4F4F3593..7720EA65-6F70-593A-ACBC-63CF4F4F3593..7720EA65-6F70-593A-ACBC-63CF4F4F3593. idleTime -int 600 returned 1
/Library/Ruby/Gems/2.0.0/gems/mixlib-shellout-1.4.0/lib/mixlib/shellout.rb:257:in invalid!' /Library/Ruby/Gems/2.0.0/gems/mixlib-shellout-1.4.0/lib/mixlib/shellout.rb:244:inerror!'
/Library/Ruby/Gems/2.0.0/gems/chef-11.12.4/lib/chef/mixin/shell_out.rb:43:in `shell_out!'
{code}

When I went to the directory, and looked at the list of extant plist files, I found files where the name had gotten progressively longer - more copies of the UUID, serially, in the filename.

I think this is the recipe fragment responsible:

https://github.com/pivotal-sprout/sprout-osx-settings/blob/master/recipes/screensaver.rb#L13-L16

I think the wildcard there is what's making things go wonky.

Anyway, thoughts from other folks? Surely I'm not the only person to ever hit this. :)

--e

Remove menubar recipe

The recipe does not do much of anything in recent versions of OS X. A similar setting is in System Preferences -> Accessibility -> Display -> Reduce transparency, but if we've gone this long without any complaints, it's probably safe to just delete it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.