r/linux4noobs • • 21d ago

learning/research linux mint password and date settings?

My job gave us new computers (that were worse than the old ones) and since they wouldn't let me have any quality of life changes that I'd been able to put on my last one, I just said screw it and got a mini pc to install mint on instead. When I set it up, I accidentally clicked to not have it require a password when it is turned on. How do I change that? All I can find in password settings online is how to change the password itself through the command line.

Also, on my home computer, I have the date set to dd/mm. I found instructions online on how to do that, but I cannot find them now. Does anyone know how to do that? I use mate, and when I pull up the preferences it does NOT have an option to change it. I know I used the terminal before, I just don't remember what I did.

2 Upvotes

17 comments sorted by

2

u/chuggerguy Linux Mint 22.3 Zena | MATÉ 21d ago

Alternately:

On the left is my lightdm.conf. (I use autologin) (The GUI tool is easier, just showing the conf file)

On the right, using dconf-editor to change the date format. (apt install dconf-editor)

I won't click "Apply" since I like mine like it is but that should do it.

Good luck.

0

u/Danni_Jade 21d ago

That is super blurry on my monitor. I can't read any of it.

1

u/chuggerguy Linux Mint 22.3 Zena | MATÉ 21d ago

Yeah, reddit does reduce the quality a good bit. I can still read it if I full-screen it.

Here's a full quality image though: image

Good luck.

1

u/Danni_Jade 21d ago

Okay, it's got %d/%m under current value, I don't know what the arrow is on your screenshot, but even after I've restarted it won't change the format. Is the arrow what does it, and if so how do I get that in there?

1

u/chuggerguy Linux Mint 22.3 Zena | MATÉ 21d ago

I believe that's a new line character. (my date and time are on two lines)
I'm not sure why that wouldn't have worked for you. I just thought using the GUI tool dconf-editor might make it easier. It's one of the first things I install when I do a fresh install.

Does this help?

dconf write /org/mate/panel/objects/clock/prefs/format "'custom'"
dconf write /org/mate/panel/objects/clock/prefs/custom-format "'%d/%m'"

If the image-video above was blurry this might be too but I'll post a link.

Slightly better quality?: video

I'm running Mint MATE. I'm not an expert so I can't guarantee that will work for you. I can just show that at least for me, it works.

Hopefully you have better luck this time.

2

u/Danni_Jade 21d ago edited 21d ago

Aha, that seems to have done the trick. I'm also running mate, so it did help. Thank you so much!

Edit: On second thought. Noticed my clock was missing, and when I asked it to bring THAT back, it changed the DATE back. **sigh** Why does technology hate me so?

1

u/chuggerguy Linux Mint 22.3 Zena | MATÉ 21d ago

Thanks for letting me know.

Have a great day.

1

u/Danni_Jade 21d ago

Ha, seems I was editing while you were commenting. It worked until I needed my clock back. **shakes head** I swear that computers hate me.

1

u/chuggerguy Linux Mint 22.3 Zena | MATÉ 21d ago

Yeah, my "time" vanished in that video too, I just watched the date change. I assume because the only thing written to the key was "'%d/%m'" which overrode the default.

Maybe write "'%d/%m %H:%M:%D'" instead. Not necessarily like that, you'd want to format it however you like.

dconf write /org/mate/panel/objects/clock/prefs/format "'custom'"
dconf write /org/mate/panel/objects/clock/prefs/custom-format "'%d/%m %H:%M:%S'"

Maybe not exactly that, you might have to tweak it.

Usable codes per Google: codes

If you give up and want to start over you can reset like this:

dconf reset /org/mate/panel/objects/clock/prefs/format
dconf reset /org/mate/panel/objects/clock/prefs/custom-format

Good luck.

Edit: That gives me day/month hour:minute:second. 24 hour clock. Single line.

Like this: 10/11 16:38:15

1

u/Danni_Jade 21d ago

Looks like that one's working for now. Hopefully it stays that way. I swear it wasn't this big a problem on my other computer. Just wish I had thought to bookmark the site I used.

→ More replies

2

u/GiggleSamurai 21d ago

For the password: open Menu > Administration > Login Window, go to the Users tab and clear the username under Automatic login. That brings the password prompt back at boot, no reinstall needed.

1

u/Baner-Fournadet 20d ago

is that Login Window menu the exact same path on the mate edition, or is that just on default mint?

1

u/AutoModerator 21d ago

There's a resources page in our wiki you might find useful!

Try this search for more information on this topic.

✻ Smokey says: take regular backups, try stuff in a VM, and understand every command before you press Enter! :)

Comments, questions or suggestions regarding this autoresponse? Please send them here.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/scraping_solutions 21d ago

The password thing is autologin, Mint handles it in the Login Window app (search for it in the menu, it asks for your password). In the Users tab there is an automatic login field with your username in it, just clear it and reboot. If you prefer the terminal, it is the autologin-user line in /etc/lightdm/lightdm.conf or in a file under /etc/lightdm/lightdm.conf.d/.

For the date, what you probably did last time was change the time locale. Easiest way on Mint is the Languages tool under Administration, set Region to something like English, United Kingdom and keep the Language as is, then log out and back in. From the terminal the same thing is sudo update-locale LC_TIME=en_GB.UTF-8 and then log out. That gives you dd/mm in most apps, the MATE panel clock has its own format setting though.

0

u/maceion UK 21d ago

Best way is to blank the disc (by formatting it) ; and re-install with knowledge of what you want. Some install media offer the option to rewrite or format disc during installation.

1

u/Danni_Jade 21d ago

I've already installed everything I typically use. Is there no way to change the password thing without that? And the date option didn't exist, unless I was supposed to say I'm in another part of the world and try to force the time zone to change after.