this post was submitted on 14 Jul 2024
285 points (94.7% liked)

Linux

47290 readers
783 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Shameless plug: I am the author.

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 2 months ago

yes please!

[–] [email protected] 5 points 2 months ago

YOU'RE NOT MY MOM I'LL DO WHAT I WANT

[–] [email protected] 5 points 2 months ago

BRB, putting in a PR to make /etc mode 1777 by default.

[–] [email protected] 10 points 2 months ago

My fellow FOSS users, patches are welcome.

[–] [email protected] 17 points 2 months ago (4 children)
[–] [email protected] 1 points 2 months ago* (last edited 2 months ago) (1 children)
[–] [email protected] 1 points 2 months ago (1 children)

It's empty lol, it's a directory on tmpfs that i use to build programs and similar stuff to not be hammering my ssd with unnecessary writes.

I have $XDG_CACHE_HOME in tmp as well and I moved the mesa sharer caches to $XDG_STATE_HOME as that's really the only thing so far I've needed to preserve.

[–] [email protected] 1 points 2 months ago* (last edited 2 months ago) (1 children)

tmpfs (..) to build programs (..) to not be hammering my ssd with unnecessary writes

Sounds useful. How did you setup the directory?

Running df tells me "tmpfs" is mounted on /run. If I build in that that directory then would it be stored in RAM, or do I need to do something else?

[–] [email protected] 3 points 2 months ago (1 children)

I have /tmp in my fstab with these mount options.

tmpfs /tmp tmpfs rw,noatime,size=20G 0 0

And the rest of the setup is done in my zprofile

[–] [email protected] 2 points 2 months ago* (last edited 2 months ago)

I think I should be able to get this working following your zprofile file. Thanks!

[–] [email protected] 2 points 2 months ago (2 children)

This is probably a dumb question, but what program is that?

[–] [email protected] 1 points 2 months ago (1 children)

thunar (and the smaller window is the xfce4-terminal).

[–] [email protected] 1 points 2 months ago (1 children)

Lol, the minimalist window decoration had me thinking you were running a terminal inside of the home directory of your file manager. :D

I've seen weirder things.

[–] [email protected] 1 points 2 months ago

Honestly, that's what I thought too, and wanted to check that out

[–] [email protected] 3 points 2 months ago

Looks like thunar (default file manager on xfce)

[–] [email protected] 4 points 2 months ago (1 children)

Whoa I’m a stickler for getting as much as I can out but even I have .zshenv and some other too hard to figure out things in there. How’d you manage a total wipeout?

[–] [email protected] 3 points 2 months ago* (last edited 2 months ago) (1 children)

zsh is actually easy and it is detailed in the archwiki

You have to set $ZDOTDIR in /etc/zsh/zshenv and iirc that was the only location that required root to edit.

For the rest of stuff, here is how I fix steam for example and you can check the rest of my dotfiles for how I configured zsh and all of that.

Although I haven't updated them, I still had a .local directory back then, it was 1 week ago that I changed .local for Local and that let to an issue with distrobox which I made a PR fixing it that's still open though.

[–] [email protected] 2 points 2 months ago

That’s awesome!

[–] [email protected] 22 points 2 months ago

I regret checking this

load more comments
view more: next ›