275
submitted 5 months ago by bahmanm@lemmy.ml to c/linux@lemmy.ml

Shameless plug: I am the author.

you are viewing a single comment's thread
view the rest of the comments
[-] Samueru@lemmy.ml 17 points 5 months ago
[-] Xylight@lemm.ee 22 points 5 months ago

I regret checking this

[-] dizzy@lemmy.ml 4 points 5 months ago

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?

[-] Samueru@lemmy.ml 3 points 5 months ago* (last edited 5 months ago)

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.

[-] dizzy@lemmy.ml 2 points 5 months ago

That’s awesome!

[-] laurelraven@lemmy.blahaj.zone 2 points 5 months ago

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

[-] twei@discuss.tchncs.de 3 points 5 months ago

Looks like thunar (default file manager on xfce)

[-] Samueru@lemmy.ml 1 points 5 months ago

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

[-] njordomir@lemmy.world 1 points 5 months ago

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.

[-] laurelraven@lemmy.blahaj.zone 1 points 5 months ago

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

[-] tabular@lemmy.world 1 points 5 months ago* (last edited 5 months ago)
[-] Samueru@lemmy.ml 1 points 5 months ago

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.

[-] tabular@lemmy.world 1 points 5 months ago* (last edited 5 months ago)

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?

[-] Samueru@lemmy.ml 3 points 5 months ago

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

[-] tabular@lemmy.world 2 points 5 months ago* (last edited 5 months ago)

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

this post was submitted on 14 Jul 2024
275 points (94.5% liked)

Linux

48653 readers
778 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