Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
Stare-Out
Mar 11, 2010

I originally figured there might be some conflict with notification center but Growl shuts up so abruptly that I ruled that out, also NC is set to ignore Twitter completely. Not sure if it's Growl quietly crashing but Twitter works fine, I'll have to see when it happens again and check if Growl notifies anything else.

Adbot
ADBOT LOVES YOU

Ashex
Jun 25, 2007

These pipes are cleeeean!!!

Tippis posted:

What does it say if you use pmset -g in the terminal with and without the charger plugged in?


On Power:

code:
Active Profiles:
Battery Power		1
AC Power		-1*
Currently in use:
 standbydelay         4200
 standby              1
 womp                 1
 halfdim              1
 hibernatefile        /var/vm/sleepimage
 darkwakes            0
 gpuswitch            2
 networkoversleep     0
 disksleep            10
 sleep                0 (sleep prevented by 602)
 autopoweroffdelay    14400
 hibernatemode        3
 autopoweroff         1
 ttyskeepawake        1
 displaysleep         15
 acwake               0
 lidwake              1
On battery:


code:
ctive Profiles:
Battery Power		1*
AC Power		-1
Currently in use:
 standbydelay         4200
 standby              1
 halfdim              1
 hibernatefile        /var/vm/sleepimage
 gpuswitch            2
 darkwakes            0
 disksleep            10
 sleep                10
 autopoweroffdelay    14400
 hibernatemode        3
 autopoweroff         1
 ttyskeepawake        1
 displaysleep         2
 acwake               0
 lidwake              1
It's not apparent it's sleeping since I've got an SSD but the email is not up to date and other things like IM apps are disconnected when I return after leaving it for a decent amount of time.

Pilfered Pallbearers
Aug 2, 2007

Ashex posted:

This is driving me insane, I'm running mountain lion on my MBP and even though I set computer sleep to never via energy saver the laptop still goes into idle sleep when plugged into power.

There any way to completely disable sleep when plugged into power? I searched around online and was only finding little utilities to run that would completely disable it.

I know this is stupid, but did you check the screensaver?

Tippis
Mar 21, 2008

It's yet another day in the wasteland.

Ashex posted:

On Power:

code:
 standbydelay         4200
 standby              1
 sleep                0 (sleep prevented by 602)
 hibernatemode        3

Hmm, these would be the main suspects.

Iirc, this means that it will hibernate after just over an hour (which it is allowed to do due to the combination of standby = 1 and hibernatemode = 3) and that process 602 is interfering with its normal sleeping behaviour. Presumably, this is one of the utilities you're talking about?

You could try using sudo pmset -c standbydelay 14400 and see if this at least delays the behaviour — that should set the hibernate timer to 4 hours rather than the 1:10 you have right now. Or, hell, just jack it up to 86400 and see if you can go a whole day without it doing anything funny.

…or just nuke /Library/Preferences/SystemConfiguration/com.apple.PowerManagement.plist and start again, as suggested earlier.

Tippis fucked around with this message at 01:26 on Sep 1, 2013

Bob Morales
Aug 18, 2006


Just wear the fucking mask, Bob

I don't care how many people I probably infected with COVID-19 while refusing to wear a mask, my comfort is far more important than the health and safety of everyone around me!

My trash won't empty. It just keeps counting higher and higher.



I deleted the time machine backup of my old computer off an external HD and then tried to empty the trash. Suggestions?

wdarkk
Oct 26, 2007

Friends: Protected
World: Saved
Crablettes: Eaten

Bob Morales posted:

My trash won't empty. It just keeps counting higher and higher.



I deleted the time machine backup of my old computer off an external HD and then tried to empty the trash. Suggestions?

Boot to a recovery partition, repair disk?

SRQ
Nov 9, 2009

10.9 has done that for me a few times too, if I wait long enough it sorts itself out.

withak
Jan 15, 2003


Fun Shoe

Bob Morales posted:

My trash won't empty. It just keeps counting higher and higher.



Technically it is counting lower and lower, I think.

strokevictim
Oct 9, 2000

Bob Morales posted:

My trash won't empty. It just keeps counting higher and higher.



I deleted the time machine backup of my old computer off an external HD and then tried to empty the trash. Suggestions?

I normally just wipe my TM drives (don't use them for other storage), but you can delete backups from within Time Machine - maybe it will be faster than letting Finder alone deal with all of the hard links. In the TM restore window, you can navigate to the Backups.backupdb folder and find the backup. Rt-Click and choose "Delete All Backups of <your drive>" YMMV as I haven't tried it. YMM also V, as having moved it to the Trash and trying to delete there could have done something to make the other method angry.

the_lion
Jun 8, 2010

On the hunt for prey... :D
Is there a way if I backup up my whole drive to an external to only reinstall certain applications from the backup?

I intend on doing a clean install of 10.9 when it comes to remove certain stuff I don't use any more.

Anything to avoid manual installs and typing serial numbers again...

Bob Morales
Aug 18, 2006


Just wear the fucking mask, Bob

I don't care how many people I probably infected with COVID-19 while refusing to wear a mask, my comfort is far more important than the health and safety of everyone around me!

Ended up 'sudo rm -rf'ing the .Trashes folder in /Volumes/Hitachi

SRQ
Nov 9, 2009

the_lion posted:

Is there a way if I backup up my whole drive to an external to only reinstall certain applications from the backup?

I intend on doing a clean install of 10.9 when it comes to remove certain stuff I don't use any more.

Anything to avoid manual installs and typing serial numbers again...

Make an image of it, mount the image after you reinstall and copy over whatever.

Star War Sex Parrot
Oct 2, 2003

SRQ posted:

Make an image of it, mount the image after you reinstall and copy over whatever.
That doesn't help unless you know exactly where each program stores its registration information (plists, etc.) and grab each one of those, which is probably more time consuming than reinstalling the software in the first place.

Personally, I just reinstall my programs. Most I can quickly grab from the MAS, a few are just quick copy-and-paste jobs from .dmgs, and a couple of stragglers actually require installation with a CD-key from my email (Lightroom 5, Photoshop CS6).

the_lion, I don't think it's as daunting as you're making it out to be.

Mercurius
May 4, 2004

Amp it up.

Star War Sex Parrot posted:

That doesn't help unless you know exactly where each program stores its registration information (plists, etc.) and grab each one of those, which is probably more time consuming than reinstalling the software in the first place.

Personally, I just reinstall my programs. Most I can quickly grab from the MAS, a few are just quick copy-and-paste jobs from .dmgs, and a couple of stragglers actually require installation with a CD-key from my email (Lightroom 5, Photoshop CS6).

the_lion, I don't think it's as daunting as you're making it out to be.
I gotta say, I know Adobe's Creative Cloud stuff is annoying as hell for our enterprise licensing but for personal use not having to worry about keys any more is pretty great. Looking forward to the future where everything is app store/subscription based.

Richman777
Jan 20, 2004

Porn Santa
Has anyone else had any weird issues with the editor window in Xcode (4.6.3) in Mavericks? My window will all of a sudden freeze and it's like the renderer stops working and I can't scroll. I know there's a ton of stuff in the file and all of a sudden I can't scroll past whatever is in the window.....

You Am I
May 20, 2001

Me @ your poasting

Richman777 posted:

Has anyone else had any weird issues with the editor window in Xcode (4.6.3) in Mavericks? My window will all of a sudden freeze and it's like the renderer stops working and I can't scroll. I know there's a ton of stuff in the file and all of a sudden I can't scroll past whatever is in the window.....

Considering it is still a beta, it is worth putting in a Bug Report to Apple about it

Richman777
Jan 20, 2004

Porn Santa
I don't even know how/what to report it and it's not something new. Is it mavericks, is it Xcode? Its not the DP5 though...

One other person had a similar issue back in April but no one responded. Seems like Xcode just sucks....

chimz
Jul 27, 2005

Science isn't about why, it's about why not.

Richman777 posted:

I don't even know how/what to report it and it's not something new. Is it mavericks, is it Xcode? Its not the DP5 though...

One other person had a similar issue back in April but no one responded. Seems like Xcode just sucks....

1. While in this state, capture a sysdiagnose, preferably while Xcode is frontmost. ('man sysdiagnose' for more info and details on what it collects, then run 'sudo sysdiagnose' on the command line or press Control-Option-Command-Shift-Period)
2. Grab the sysdiagnose file from /var/tmp/
3. Go to https://bugreport.apple.com/, sign in with your developer ID, and create a new bug.
4. Fill in any relevant info and attach the sysdiagnose file.

the_lion
Jun 8, 2010

On the hunt for prey... :D

Mercurius posted:

I gotta say, I know Adobe's Creative Cloud stuff is annoying as hell for our enterprise licensing but for personal use not having to worry about keys any more is pretty great. Looking forward to the future where everything is app store/subscription based.

I have two machines. That's a lot of time wasted babysitting installs. Adobe stuff takes a out 1 hr for the suite on the new one and over 1 hour on the old one.

Also, some of my apps (eg Intego firewall stuff) insists on multiple restarts and updating of updates if you do a reinstall. I kid you not. We have slow capped net, so system updates take forever.

Time spent doing this stuff is better spent doing other stuff that I enjoy or need to do (eg AE rendering).

carry on then
Jul 10, 2010

by VideoGames

(and can't post for 10 years!)

There is no way for you to carry a program over untouched because it's very very difficult to figure out just what exactly needs to be brought over, especially something as complex and DRM'd as Adobe CS. As SWSP said, by the time you can actually figure out everything you'd need to copy over to get it to work, you'll have spent more time than you would have had you just done the installs properly. It would not surprise me at all to find out that part of the activation system involves tying your install to a piece of information that won't be valid on the new OS install.

To be completely obvious this is sort of an XY problem, if you want to "clean out stuff you don't use" then just figure out what it is and delete it, and don't bother with the clean install at all.

the_lion
Jun 8, 2010

On the hunt for prey... :D

carry on then posted:

There is no way for you to carry a program over untouched because it's very very difficult to figure out just what exactly needs to be brought over, especially something as complex and DRM'd as Adobe CS. As SWSP said, by the time you can actually figure out everything you'd need to copy over to get it to work, you'll have spent more time than you would have had you just done the installs properly. It would not surprise me at all to find out that part of the activation system involves tying your install to a piece of information that won't be valid on the new OS install.

To be completely obvious this is sort of an XY problem, if you want to "clean out stuff you don't use" then just figure out what it is and delete it, and don't bother with the clean install at all.

I was always under the impression a clean install of the OS was better than upgrading because there's less chance of problems and it removes junk that accumulates like the logs. Have they improved this? I haven't really used the migration assistant ever.

I thought a way around this, maybe I can do a clean install. Then, just install everything but leave everything unregistered. That way you can probably just clone it from machine to machine and insert your various serial numbers, right?

I have no idea how universities or companies with lots of computers do it, but i'm guessing it'd be like this. There's no way they'd manually do it over 60+ computers.

Mercurius
May 4, 2004

Amp it up.

the_lion posted:

I was always under the impression a clean install of the OS was better than upgrading because there's less chance of problems and it removes junk that accumulates like the logs. Have they improved this? I haven't really used the migration assistant ever.

I thought a way around this, maybe I can do a clean install. Then, just install everything but leave everything unregistered. That way you can probably just clone it from machine to machine and insert your various serial numbers, right?

I have no idea how universities or companies with lots of computers do it, but i'm guessing it'd be like this. There's no way they'd manually do it over 60+ computers.
Most enterprise software has silent installers that allow you to specify the key during installation through the command line which in turn allows it to be pushed out without any interaction.

Can't speak for the other techs here but I personally restore a bare bones OS image and then sequentially push the rest of the applications on top of that.

You can use some of the concepts for home use if you want to speed this sort of thing up at home and when I get somewhere I can use my computer and not my phone I can post some basics if you want.

the_lion
Jun 8, 2010

On the hunt for prey... :D

Mercurius posted:

Most enterprise software has silent installers that allow you to specify the key during installation through the command line which in turn allows it to be pushed out without any interaction.

Can't speak for the other techs here but I personally restore a bare bones OS image and then sequentially push the rest of the applications on top of that.

You can use some of the concepts for home use if you want to speed this sort of thing up at home and when I get somewhere I can use my computer and not my phone I can post some basics if you want.

This sounds great, i'd be interested. Thanks a heap!

Mercurius
May 4, 2004

Amp it up.

Note: This will be a fairly long post so if you're not interested in software deployment, skip over it.

The basic concept behind software packaging on Mac OS X is that it's based on UNIX and pretty much everything in UNIX is a file so all that software packages do at the end of the day is manipulate files on the system. It's more complex than that in practice, especially when dealing with enterprise environments but for home the concept works well enough.

Because you're just working with files, there's a bunch of software that can compare two snapshots and filter out the files that have been created/changed between them. From there, you can take those files and put them into an installer package which will do all the work of putting them back in the right place for you. If you've got a bunch of packages you're going to install frequently, you can put them together into a meta package which will install them all at once to save jumping through hoops.

Generally, I try and keep software packages so that they're largely OS version independent to allow them to be reused i.e. Photoshop would be reasonable to package because it's always the same version whereas you probably wouldn't want to put Java for 10.8 in since it might not work on 10.9. Creating packages for software that isn't available on the App Store takes a bit of time at the outset but since you mentioned you've got a slow link it'd probably be worthwhile.

For your use, you'd probably want to look at something like the following workflow to get one of your Macs back up and running after a clean install:
  1. Clean install Mac OS X from USB/Recovery Partition/Internet Recovery
  2. Install OS updates from Software Update
  3. Install programs from the App Store
  4. Install your pre-created packages
Hopefully the process won't take too long and you won't have to set up too much after you're done with that to get back to a known environment.

Capturing File System Changes
The easiest way to work out what files have been changed is to use a third party program that's been specifically designed to cater for it. The software I've used in the past (outside of the stuff I use at work) is Absolute Manage InstallEase which is available at no cost but you need to sign up via email to get the download details so you may want to use a throwaway email. There's a decent tutorial on using InstallEase (from when it was LANrev before Absolute Manage bought it) available at MacTech.

The basic process is to take a snapshot, install the software, make any configuration changes you want, take a second snapshot and compare the two to see what files were changed. From there, you can take out anything you don't want and either save the result as a package (requires the Apple Packaging software from the XCode tools) or export them to an Iceberg project file (which is what I'd recommend). Iceberg is another utility that allows you more control over packaging that I'll cover below.

The one thing to keep in mind when capturing changes for software like Photoshop is that there's a few files they write to in the system that you probably don't want to grab because they have references to the OS and they might break stuff if you put them back on. The two main ones you don't want to grab are /Library/Keychains/aspd.keychain and /Library/Receipts/InstallHistory.plist. Not capturing the InstallHistory might mean that some applications don't register that they're installed but by the same token they also won't break the installed software in the system.

Software Packages
Once you've got an iceberg project file, you can open it up in iceberg and add further customisations to the package such as scripts (which are extremely useful) and customise the branding (probably not useful for you). The author of Iceberg has good documentation on how to use Iceberg available on the Iceberg site. Iceberg will allow you to turn the files into a package installer with scripts or even create a meta package installer from other packages you've already made. The scripts are basic UNIX shell scripts that can call the system functions that are available through Terminal and are useful for using commands such as defaults to make changes to preferences in the system (e.g. turning off screensaver, turning off sleep on power etc).

tl;dr: Make software packages of your stuff that's not available from the App Store, make packages with scripts that set up system preferences to how you like them, put them all in a meta package, run said package after clean installing/updates etc.

Sonic Dude
May 6, 2009
And once you have a base image with various packages, deploy the whole thing with DeployStudio. Multicast restores are great for slow-ish LANs, and it's much more reliable than Apple's (now-deprecated) NetRestore.

Mercurius
May 4, 2004

Amp it up.

Sonic Dude posted:

And once you have a base image with various packages, deploy the whole thing with DeployStudio. Multicast restores are great for slow-ish LANs, and it's much more reliable than Apple's (now-deprecated) NetRestore.
Yeah. We've got Casper at work so I use that for everything but the concepts are the same. I think the_lion was only talking about 2 computers though so DeployStudio is almost certainly overkill.

Lexicon
Jul 29, 2003

I had a beer with Stephen Harper once and now I like him.
Ahem, guys, Boxen.

Mercurius
May 4, 2004

Amp it up.

Lexicon posted:

Ahem, guys, Boxen.
I think using Puppet to manage 2 computers is exactly the same kind of overkill that using DeployStudio to do the same thing is but maybe that's just me.

Sonic Dude
May 6, 2009

Mercurius posted:

Yeah. We've got Casper at work so I use that for everything but the concepts are the same. I think the_lion was only talking about 2 computers though so DeployStudio is almost certainly overkill.
There are situations where it works (though I totally agree with you that they're rare). I have a client who uses DeployStudio to reimage a kiosk machine every night since he doesn't want to buy Deep Freeze.

On a side note, how do you like Casper for imaging? We set it up for a number of companies but everyone has seemed to prefer DS. I don't know enough of the differences to understand why.

Mercurius
May 4, 2004

Amp it up.

Sonic Dude posted:

There are situations where it works (though I totally agree with you that they're rare). I have a client who uses DeployStudio to reimage a kiosk machine every night since he doesn't want to buy Deep Freeze.

On a side note, how do you like Casper for imaging? We set it up for a number of companies but everyone has seemed to prefer DS. I don't know enough of the differences to understand why.
Seems to work great. I set up our SOE imaging sequence for the 'thin image' version with just the customisations on top of the base OS and then have a smart sequence based on that with the actual OS in it as well for full reimaging. We're running off a NetBoot set from the NetSUS appliance JAMF provided (which is awful, they've replaced in Casper 9 with something else that'll hopefully be better) which has all the imaging stuff we need. Thin image takes about 15 minutes and Reimage would be around 25 for the SOE. We've also got an image for our Media guys that has Final Cut Studio in it which takes absolutely forever to image because it's 5x the size of the normal SOE but I don't have any problems with the performance.

We're still running 8.62 and looking to upgrade to 9 in the near future (as well as converting the NetSUS from the appliance we have now to running on a full blown RedHat VM) so I'll post a trip report at that point. There isn't really a Mac Enterprise thread (or a general purpose Enterprise thread) so if there's a better place for this stuff, let me know.

Lexicon
Jul 29, 2003

I had a beer with Stephen Harper once and now I like him.

Mercurius posted:

I think using Puppet to manage 2 computers is exactly the same kind of overkill that using DeployStudio to do the same thing is but maybe that's just me.

It's very useful if you're doing Rails development as you get a lot of stuff for free: rbenv, database management etc.

Mainly I just like having the state of my machines fully specified for all future use. Rather than installing home brew packages as needed - I shove the declaration into my homebrew manifest. It's all idempotent so it can be run any number of times too.

Mercurius
May 4, 2004

Amp it up.

Lexicon posted:

It's very useful if you're doing Rails development as you get a lot of stuff for free: rbenv, database management etc.

Mainly I just like having the state of my machines fully specified for all future use. Rather than installing home brew packages as needed - I shove the declaration into my homebrew manifest. It's all idempotent so it can be run any number of times too.
I can definitely see it being extremely useful if you're a developer (which I'm not) but unless I misunderstood the_lion's original post, he was asking about looking after the general software and settings on a couple of computers.

the_lion
Jun 8, 2010

On the hunt for prey... :D

Mercurius posted:

Badass Software Install stuff

This is very, very helpful. Thanks very much!

Mercurius
May 4, 2004

Amp it up.

the_lion posted:

This is very, very helpful. Thanks very much!
I spend way too much time administering our Mac environment at work so if you ever have questions about this stuff, feel free to PM me.

Choadmaster
Oct 7, 2004

I don't care how snug they fit, you're nuts!
Anyone else suddenly get an email from MacUpdate saying they're going to bill you $20 for a MacUpdate Desktop subscription? I never signed up for any MacUpdate Desktop subscription, or used the app (it was included in a bundle last spring). Pisses me off that they're pulling that poo poo.

If you've got an account with MacUpdate you might want to login and make sure you didn't get an involuntary subscription to their $20/year garbage.

SRQ
Nov 9, 2009

Mavericks DP7 is out, restart steam.
How many DPs do these normally have?

Mercurius
May 4, 2004

Amp it up.

SRQ posted:

Mavericks DP7 is out, restart steam.
How many DPs do these normally have?
I think Mountain Lion only had 4 before it went to GM.

gregday
May 23, 2003

It's already September so I wouldn't expect another beta before release. I wonder if Apple has finally rejiggered their recurring revenue accounting model enough to make it free. $20 is a token amount anyway to be fully SOX compliant.

I said come in!
Jun 22, 2004

Probably shouldn't expect a Mavericks release date next week?

Adbot
ADBOT LOVES YOU

carry on then
Jul 10, 2010

by VideoGames

(and can't post for 10 years!)

If you like your release dates as vague as "coming this fall" then you'll probably get what you want.

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply