this post was submitted on 02 Mar 2024
58 points (87.2% liked)

Linux

48216 readers
710 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
 

My main question is about /run/user/1000:

  • Should I avoid touching it?
  • Could I delete it?
  • Is there something wrong with it?

Background: I'm fairly new to Linux and just getting used to it.

I use fsearch to quickly find files (because my filenaming convention helps me to get nearly everything in mere seconds). Yesterday I decided to let it index from root and lower instead of just my home folder.

Then I got a lot of duplicate files. For example in subfolders relating to my mp3 player I even discovered my whole NextCloud 'drive' is there again: /run/user/1000/doc/by-app/org.strawberrymusicplayer.strawberry/51b78f5c/N

Searching: Looking for answers I read these, but couldnt make sense of it.

Puzzled:

  • Is this folder some RAM drive so my disk doesnt show anything strange? Because this folder doesnt even show up at the root level.
  • Are these even real? Because the size of it (aprox 370 GB) is even bigger then my disksize (screenshot).

Any tips about course of (in)action appreciated.

you are viewing a single comment's thread
view the rest of the comments
[–] crony@lemmy.cronyakatsuki.xyz 62 points 8 months ago* (last edited 8 months ago) (1 children)

Never touch anything in /run directory.

[–] joeldebruijn@lemmy.ml 18 points 8 months ago (1 children)

Thanks! And I will remove it from my search index to restrain from "decluttering". 👌👍

[–] nottelling@lemmy.world 26 points 8 months ago (2 children)

Don't "declutter" manually. Use your package manager.

[–] joeldebruijn@lemmy.ml 8 points 8 months ago* (last edited 8 months ago) (2 children)

I learned a lot in these comments but in this specific context:

  • a flatpak app uses a base directory (mp3 player).
  • I set it to my NextCloud folder.
  • Now run/usr/1000 is "filled" with all my thousands of pdf from personal archive, several times per file (because multiple flatpaks).

These don't need decluttering I learned, but aren't managed by package managers either.

[–] nottelling@lemmy.world 11 points 8 months ago

Flatpak is itself a file manager.

That duplicate of your folder in /run is due to filesystem links (or more likely a fuse mount, I've never actually looked into how flatpak works). But either way, they aren't copies of the data.

[–] corsicanguppy@lemmy.ca -1 points 8 months ago

Don't use flatpak. It encourages dependency hell and ruins validation.

[–] Laser@feddit.de 3 points 8 months ago

The search index isn't managed by you package manager, is it?