linux

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

bizdelnick, (edited ) in Reminder to clear your ~/.cache folder every now and then

You don’t have to clean your ~/.cache every now and then. You have to figure out which program eats so much space there, ensure that it is not misconfigured and file a bugreport.

redd,
@redd@discuss.tchncs.de avatar

So OP’s headline should be saying instead: Reminder to CHECK your ~/.cache folder every now and then

cupcakezealot,
@cupcakezealot@lemmy.blahaj.zone avatar

just symlink ~/.cache to /dev/null

Amends1782,

Lmao some malicious ass advise here

KSPAtlas,
@KSPAtlas@sopuli.xyz avatar

Cache exists for a reason, that sounds like itd break programs, a safer method is probably having it be a ramdisk

qaz,
bizdelnick,

Check? Why?


<span style="color:#323232;">% du -sh ~/.cache
</span><span style="color:#323232;">1,6G    /home/bizdelnick/.cache
</span>

I don’t remember if I ever cleaned it up. Probably a couple years ago when I moved my old HDD to new PC with freshly installed OS. It does not grow accidentally. Only in some very rare cases. As well as some other dirs under ~ and var. If it is a critical system, set up monitoring of free filesystem space. If not, you will notice if it becomes full (I can’t remember when this happened to me last time, maybe ~15 years ago when some log file started to grow because of endless error messages).

redd, (edited )
@redd@discuss.tchncs.de avatar

Because some users experienced accidential grows like OP had 160 Gbyte. So general advice for linux users can be stated as: Check your ~/.cache every now and then

Critical systems/servers shall better be monitored as you suggest.

bizdelnick,

Some users experienced accidential growth of /var/log. Some users experienced accidential growth of /var/cache. Some users experienced accidential growth of /var/lib. Some users experienced accidential growth of ~/.xsession-errors. Shall I continue?

Does every user need to begin his day checking all that places? No, he does not. It is waste of time. Such situations are extremely rare. If you are paranoid, check df to see if you have enough free space, and only if it unpredictably shrinked begin to ivestigate which directory has grown.

redd,
@redd@discuss.tchncs.de avatar

I don’t get your point. Why should somebody do this every day?

As the experience from other users in this thread, it seems not extremely rare to have an overgrown ~/.cache/ folder. So checking it from time to time is a good advice. If we all do this for a time, and create bug tickets for software which is not cleaning up. Then this problem will hopefully go away with future software releases.

Holzkohlen, in One of these 6 will become Plasma 6. Wallpaper Which one do you prefer?

Imma set bot right and never ever touch it again. I’m good as long as it’s not too bright. Don’t particularly like to flashbang myself on accident.

tetris11,
@tetris11@lemmy.ml avatar

You and me are chillin’ buddies

princessnorah,
@princessnorah@lemmy.blahaj.zone avatar

The dark mode variant of that one is truly beautiful, and shouldn’t flashbang you:

https://lemmy.blahaj.zone/pictrs/image/72f2b2f2-04b8-4ce7-a3f5-34087f280515.jpeg

llothar, in Switching from Linux Mint to OpenSuSE Tumbleweed very soon. Any advice?

Consider OpenSuse Aeon if you want to dip into immutable systems.

GravitySpoiled,

I’m on immutable fedora and the experience has been great. Aeon is similar, I can recommend it any day over a traditional install

ksynwa,
@ksynwa@lemmy.ml avatar

What’s the upside of immutable distributions?

llothar,

They are very difficult to break. Even if there is a problematic update that would normalny kill your install you can just roll back too the previous working version.

Great for systems that you need to ‘simply work’.

Holzkohlen, in How far away is GIMP 3 from GIMP 4?

Who cares? I am fine with the way it is, I am just going to be annoyed with the UI being updated anyways. I am still annoyed by the thunderbird update cause now dark reader takes a second to give me dark mode emails.

Pantherina,

Dark reader works? I am using dark background light text and that doesnt work, also some addons are not yet in the Thunderbird store. I can recommend ublock origin with custom *.zip *.mov filters, essential

Thunderbird got better, even though advanced filters are now gone? Not sure when.

But modern Toolkits are important especially for Wayland support

deliriousn0mad,

Ok I admit I never thought about using ublock on thunderbird but it sounds interesting, could you explain what advantages it and those filters give? As far as I know TB already blocks some elements within emails for security and privacy purposes

Pantherina,

Yes Adblocking is often not needed and may slow down your TB. But people putting filenames with *.mov and *.zip in them would mean you click them and actually open URLs, as these are now registered TLDs. A very stupid idea of Google

neonred, (edited ) in Reminder to clear your ~/.cache folder every now and then

Because of excessive RAM I symlink ~/.cache to /tmp. Additionally installing zramswap helps for this scenario.

Benefits are faster access, automatc purging between reboots and no wear to the NMVe drive.

Yes, this is a single user scenario.

Secret300,

Once I get more than 16GB of ram I’ll definitely try that

glibg10b,

This seems like a filename conflict waiting to happen. Why not just mount a tmpfs there?

neonred,

Like I said it’s a cheap solution for a single user system. Ofc tmpfs would be better but has to be done for every user again

glibg10b,

You: It’s a single user system
Also you: Tmpfs would have to be done for every user

And a /tmp/ symlink would have to be created for every user too, so I don’t get your point

Tmpfs is just as easy as making a symlink, but without the filename conflicts between files in ~/.config/ and /tmp/. You just need to add a line to /etc/fstab

tslnox, (edited )

/usr/local/sbin/adduser.local

One line in there and you can make it add a new line with appropriate /home/userX/.cache tmpfs line to fstab.

Or, maybe a cleaner way, you might make a init/systemd service that, when booting, would run something like

for each dir in /home do
mount dir/.tmp -type tmpfs
done

I’m not at the computer now and I’m lazy to Google it, so this above is just a pseudo code and probably won’t run.

glibg10b, (edited )

Neat, thanks for sharing

Here’s the above pseudocode in bash:


<span style="color:#323232;">find /home/ -mindepth 1 -maxdepth 1 -type d -exec mount none {}/.cache/ -t tmpfs -o size=16G </span><span style="color:#0086b3;">;
</span>

for doesn’t work here because it uses spaces to delimit strings, which could cause issues with filenames that contain spaces

You can also create a systemd user service, which is useful if you don’t have root access. The above mount command requires root, but the following doesn’t and is more robust than symlinking to /tmp/:


<span style="color:#323232;">ln -s $(mktemp -dp /var/tmp/) ~/.config/
</span>
danielquinn,
@danielquinn@lemmy.ca avatar

Isn’t most of what’s in there just filters downloaded from the internet? Python packages, browser cache, etc? Your system confirms you to redownloading everything all the time, no?

library_napper,
@library_napper@monyet.cc avatar

Thats not very secure. /tmp/ is usually 777

zephr_c, in I use linux for the same reason I wear fuzzy socks and sweaters

I get that Windows is kinda boring, but it’s still like a thousand times more interesting and customizable than anything Apple makes. I find the whole Apple aesthetic to be painfully boring and restrictive. I get that it’s more fashionable or whatever. I just hate it.

The_Grinch,

I’ve haven’t spent much time on mac OS but doesn’t it allow you to run your own desktop environments? I’ve seen things that look like tiling window managers on mac OS.

8Bitz0,

No, custom desktop environments and window managers can’t be used. What you’re referring to are applications which simply modify window geometry automatically, which emulates a tiling window manager.

The_Grinch,

That’s a shame. I’d probably be content using Mac OS if there was a switch somewhere that put it in “developer mode” or something which would allow you to do that.

Swaywm on Mac OS would be neat.

elbarto777,

I’m still mad about this whole “minimalist icons” thing. And both windows and macos (and Android and iOS) are guilty of this.

Now we have to play the “is this clickable?” game.

siipale,

Which things do you find boring and restrictive about it? I think it’s rather nice although I don’t like some of the changes after Catalina like moving from skeuomorphic icons to more symbolic ones.

Other than aesthetics I think editing and writing is fast on macOS even when not using vim. I even changed my PCs to use mac keyboard layout because it’s better. Of course when using vim, editing should work same on any system at least in theory.

MiddledAgedGuy, in I use linux for the same reason I wear fuzzy socks and sweaters

I appreciate the not your office OS commentary. I have the use Windows for work. I do this mostly via RDP to a work provided laptop, as well as a win10 VM for MS Teams. And I take great pleasure in shutting those down at the end of the work day.

The last tolerable version of Windows for me was XP. I find myself fond of Windows 98, but that’s probably just nostalgia speaking.

baconicsynergy, in Very low resources but reliable Wayland Desktop?

This was in development but its about a year stale: gitlab.com/cubocore/paper/paperde

nayminlwin, in Noob question: what to arrange before switching to linux

You should make a detailed check list of things you do on windows. Down to every details as much as you can, so that there’s very little surprise when you switch to linux.

For example, if you use MS Office Excel and you tend to use specific formula or expect something specific when you export to PDF or print things out. So that you can test these out on Libre Calc to see if it works for you.

We tens to gloss over these tiny details when switching to linux and sometimes it makes or breaks adoption.

Will also work to just dual boot and trybto do everything in linux. Might be tedious at first. Try to resist booting into windowsif you’re stuck for a while.

Papanca,

Thanks, i already did that. Also, i don’t use MS Office, i use LibreOffice, so no surprises there :-)

kurwa, in I use linux for the same reason I wear fuzzy socks and sweaters

What are you referring to exactly by “suits at home” in terms of OSes? I always thought that using Linux is about doing whatever you want / whatever feels most comfortable to you.

ThisIsAManWhoKnowsHowToGling,
@ThisIsAManWhoKnowsHowToGling@lemmy.dbzer0.com avatar

Microsoft is the suits. Suits are for office work. Microsoft is for office work.

kurwa,

Ah right okay. I definitely agree with you, aside from work, I try to use Windows as little as possible. I honestly wish I could use Linux at work too lol.

The problem is, like you said, the suits won, and everyone sees Windows as the default OS. Its preinstalled with most home computers, and that’s what most people know how to use.

If more home computers were installed with an easy flavor of Linux, there would definitely be more users.

tsonfeir,
@tsonfeir@lemm.ee avatar

So what does macOS wear?

lordnikon, (edited )

Basically MacOS is high end fashion wear that is only workable on a runway and is outrageously expensive. It’s worn as status not for function. You wear it like the designer thinks it should be worn not how you want it otherwise your wearing it wrong.

Zorque,

A button down shirt and jeans, according to Justin Long.

BeigeAgenda,
@BeigeAgenda@lemmy.ca avatar

Don’t forget the turtle neck sweater.

tsonfeir,
@tsonfeir@lemm.ee avatar

looks at closet

looks at macbook

Sounds about right.

xilliah, in I use linux for the same reason I wear fuzzy socks and sweaters

Love your analogy. However I must say windows looks terrible. Then again so do suits, so it holds up. I had to run a win10 VM a while back in order to flip the developer bit on the oculus (don’t even get me started on that PoS). Hadn’t used it in years. Felt like some kind of money grab freak show. I couldn’t even mount an iso without having to visit several pushy sites and use one of those creepy installers. That’s when it hit me how digitally spoiled I truly am.

beforan,
@beforan@lemm.ee avatar

While I too like the analogy, and agree that Windows is becoming increasingly money grabby, I feel the need to be fair: as an OS it has supported native ISO mounting since Win7, just right click an ISO file and choose “Mount”…

xilliah,

Neat!

user224,
@user224@lemmy.sdf.org avatar

True. But as I found out, the ISO file needs to be stored on a partition formatted with NTFS for that to work.

beforan,
@beforan@lemm.ee avatar

Ha! Good to know

embed_me,
@embed_me@programming.dev avatar

I don’t know when it was added, but you can mount ISOs directly now

mdk_, (edited ) in One of these 6 will become Plasma 6. Wallpaper Which one do you prefer?

Top right seems to be the best.

The others:

  • Top left: Mystery tongue coming from or going somewhere
  • Middle left: Much to bright, hard edges make finding icons difficult
  • Middle right: Too many dark areas
  • Bottom left: Might be okay as well
  • Bottom right: Too bright and might not fit the mood as this seems to be an anime inspired background
kerneltux, (edited ) in Switching from Linux Mint to OpenSuSE Tumbleweed very soon. Any advice?

I second raptir’s note about running zypper dup in the terminal to do system updates. Zypper’s a bit slow because it lacks parallel downloads, but it provides good info if there are any issues.

If you plan to use flatpaks, add the flathub repo with the --user option, and use that one to install. If I didn’t go that route, it prompted me to enter my password for every flatpak app with an update. I’m also a deplorable Plasma user 😜, I don’t know if the same behavior happens with Gnome software, it may be a weird Discover thing (shrugs).

Also, if you need the non-free multimedia codecs, run the following commands:

zypper install opi

opi codecs

Automates adding the Packman repo & switching the relevant packages.

Those are the main quirks I learned with Tumbleweed.

neo,
@neo@lemmy.comfysnug.space avatar

flatpak goes system level unless you explicitly add the repo as a user no matter the DE you use, in my experience

PseudoSpock, in Made the switch to KDE
@PseudoSpock@lemmy.dbzer0.com avatar

Sokath, his eyes open.

13617, in One of these 6 will become Plasma 6. Wallpaper Which one do you prefer?

LEGO wallpaper for fortnite collab

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #