yego.me
💡 Stop wasting time. Read Youtube instead of watch. Download Chrome Extension

Preferences Files


3m read
·Nov 3, 2024

Hey guys, this is Maid1, and today is going to be a video on how to edit preferences files on your computer and how to view preferences files on your computer.

Now first of all, for people with a little background, if you know about the terminal command defaults, and you have used it to edit your doc settings or Finder settings or dashboard settings or whatever, you may notice that there's something in it that's com. something. something. That's normally the name of the application in the company, like com.doapp.do. I'm going to be showing you why exactly it is these things.

Um, so first of all, if you open a new Finder window to your home folder, then you select Library, then you select Preferences, and if you have it in icon view, that's okay too. Here are all your preferences, um, preference files, and you'll notice that there are a bunch of things like com.apple.do.pist, stuff like that, that are actually preference files.

So right here, if you see com.apple.dod.pist, if you open it up, it opens with Property List Editor, and right here you can see the doc preferences. No glass is a preference that you can check on or off, that's whether your doc is transparent or not. Um, so stuff like that is in these preferences files.

Here, um, right here are all the apps you have in your doc, just random apps. Here's one of my apps. Okay, so that's, um, how your doc works with defaults. Um, there are other preferences files here too. I mean, this folder is huge; it has the address book preferences, you know, all this important stuff. If you deleted this directory, all your settings would be gone, but if you restored this directory from, say, a Time Machine disk, then, um, your files would be remaining, um, and your preferences would be restored.

So I'll just show you, um, how to edit these files through Terminal. So first of all, you have to go into Terminal or iTerm or whatever terminal application you use, and you want to type defaults space read, or read. If I type defaults space read space com.apple.dod, this is the name of the preference, and normally the real file has a plist after it, but I'm not going to type that. Then I hit enter, and it shows me every single thing in the doc's preference file; that's actually pretty.

So I can pipe that into more, okay, and I can scroll all the way to the bottom. It actually takes a few seconds. Oh, went past the bottom. Okay, whatever. So, um, that is, um, how to write.

If you type defaults space write space com.apple.dospace, let's say no glass space dash b, and that means the data type is dash b. If you say dash string, then it'll think it's a string space and then whatever. That's how you write to, um, a defaults, or, um, yeah, a defaults file. It's called defaults, even though it's really a preference file. It's called defaults, and that's the interface on your application that reads and writes to your preferences, um, is called NSUserDefaults. So it's called defaults; that's the actual name of it.

So these in your home folder are, um, your preferences that you own. Um, there is also, if you go to your Macintosh HD right here, you can see that in /Library there is a SL Preferences. SL Preferences right here, and it has a bunch of preferences in it, like com.apple.dod.

Okay, um, so that's that. So that is how to set preferences. Um, okay, so thank you for watching M Kids 101, um, so subscribe and goodbye.

More Articles

View All
Representing points in 3d | Multivariable calculus | Khan Academy
So, a lot of the ways that we represent multivariable functions assume that you’re fluent with understanding how to represent points in three dimensions and also how to represent vectors in three dimensions. So, I thought I’d make a little video here to …
Determinants of price elasticity of demand | APⓇ Microeconomics | Khan Academy
In other videos, we have already started talking about the price elasticity of demand, and what we’re going to do in this video is think about the factors that might drive the price elasticity of demand in a given market to be more or less elastic. So one…
From $100 to $75 Million: Is Bitcoin a good investment?
What’s up you guys, it’s Graham here. So, if you’ve looked at the internet in the last few days, I’m sure you’ve seen an article out there that says if you had bought $100 of Bitcoin 7 years ago, you would have over $75 million today. Bitcoin is a topic t…
Standard normal table for proportion between values | AP Statistics | Khan Academy
A set of laptop prices are normally distributed with a mean of 750 and a standard deviation of 60. What proportion of laptop prices are between 624 and 768 dollars? So let’s think about what they are asking. We have a normal distribution for the prices, …
Let That Be a Lesson
I think what’s appropriate is a very simple story that I think you’ll appreciate. There’s an island right off the coast of South Africa where the largest population of sardines exists. Seals love sardines; hundreds of thousands of them sit on an island ju…
Climbing Islands in the Sky in Search of New Species | Nat Geo Live
Mark: My years in Yosemite were the best years of my life. That was where I was training and I was learning the skills of big wall climbing. And I wanted to find walls that people hadn’t done before and I wanted to pioneer my own routes. But, you know wha…