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
Got seeds? Just add bleach, acid and sandpaper - Mary Koga
So, the apocalypse has happened. The zombies have come and gone, and all plant life on Earth has died somehow. All you have are some basic supplies and some seeds of a few types of essential plants. So, what should you do to make absolutely sure they gro…
Fighting (the Propensity for Crime) with Big Data | Big Think
Big data is not an unmitigated good. Like many things in society, in fact probably all things, it comes with risks as well and it comes with a dark side. And one dark side of course is privacy. That exists today, it’ll exist tomorrow, maybe it gets bigger…
Homeroom with Sal & Rachel Skiffer - Tuesday, June 23
Hi everyone! Sal Khan here from Khan Academy. Welcome to our daily homeroom, which is our way of staying in touch. It started with obviously all the school closures and social distancing with COVID, but now it’s really just evolved into an interesting for…
Our Water Footprint | Breakthrough
Water is finite, but our demands for it are not. So in places where we have rivers running dry, what’s happening is our demands are bumping up against those limits of the finite supply. Our use of water for agriculture, for food production, for growing ci…
Survey from Neo Babylonians to Persians | World History | Khan Academy
Let’s now continue with our super-fast journey through history. One thing I want to point out, ‘cause I already touched on it in the previous video, is while we talk about this ancient history, I’m also referring to some stories from the Old Testament, an…
15 Mistakes You Make In Your 20s
Hello, Alux! Welcome back. Your 20s are a time of exploration, growth, and learning, right? And with that comes the expectation that you’ll make some mistakes along the way. You are expected to make some of these mistakes, and here are 15 of them that you…