Hi, everybody Recently, a guy noticed that I was using it and asked why? For me it because in Linux many things are done through the terminal because Linux has many different desktop environments...
Alt TextA screenshot of a file manager preview window for my ~/.cache folder, which takes up 164.3 GiB and has 246,049 files and 15,126 folders. The folder was first created about 1.75 years ago with my system
I’ve never seen any of my ~/.cache directories get more than a few GB either and I never bother to clean them.
I am curious what OP was doing that used that much space though. That’s certainly not typical.
You could have a cronjob run something like find /home/user/.cache -type f -atime +30 -delete, which would find files that haven’t been accessed in the last 30 days and delete them. Make sure your home partition is not mounted with the noatime option though.
Timeshift works best if you use BTRFS for your root partition because snapshots can be taken instantly. I have mine setup to automatically take a snapshot every day.
A dedicated GPU will mean reduced battery life. If you are only going to edit video at your desk, I would suggest getting a laptop with a thunderbolt 3 or USB 4 port and an external GPU. Make sure the port provides 4 PCIe lanes, not all of them do.
I have been distro hopping for about 2 weeks now, there’s always something that doesn’t work. I thought I would stick with Debian and now I haven’t been able to make my printer work in it, I think I tried in another distro and it just worked out of the box, but there’s always something that’s broken in every distro....
n00b question, sorry. If I had a desktop that could hold 4 HD and 2 SSD, could I turn it into a NAS? Could someone point me in the right direction if this makes sense?
Power consumption is the main issue. If it’s an old, power hungry desktop and you live somewhere with expensive electricity, it can be quite costly to run. If you have an energy efficient desktop or have cheap power then it will be fine. Just make sure it has a good quality power supply if it’s going to run 24/7.
I still get over 12 hours of web browsing or video playback with the backlight around 30% on mine even though my internal battery is down to 60% capacity and my external is around 90%. Standby drains about 10% overnight. I am running Linux Mint on mine and I set up TLP. Undervolting can increase the runtime quite a bit, but I haven’t bothered with that yet.
I’ve gotten both of my thinkpads used, so none of that money went to Lenovo or Microsoft. The laptops that come with Linux are expensive and are rarely available used.
The T480 and T580 are some of the last ones they made with swapable batteries. Everything works out of the box in Linux except the fingerprint scanner which needs some additional configuration.
I have a T480 with an integrated GPU and the largest battery. It runs for a long time on a charge and there are lots of spare parts available.
You’re probably not going to find a tablet with modular RAM, but 4GB will barely run a web browser these days. You will be using swap a lot and that will put a lot of wear on the non replacable SSD.
It could be resized too. 5120x1440 is way too big for a website banner. There’s no reason to go more than double the size it will actually be displayed at. That would bring it down to a couple hundred KB.
I got an external hard drive enclosure for the purpose of recovering some of the files from my old laptops hard drive. The hard drive and all of it’s partitions show up in both disks and gparted but it wont mount. When I tried to mount it manually, it gave the error message stating that it can’t read the superblock. I’ve...
The hard drive should be connected by SATA or eSATA when making the image. Connecting over USB is just asking for more trouble when the drive is not working correctly.
I recently was gifted a raspberry pi 5 and was looking at domains to buy to host my own instance. What happens to my instance if the domain expires?...
I’m learning about electronic components. I believe this is the part which has broken and made this heating pad unsafe to use. Well, unusable, not just unsafe lol.
MELF stands for Metal Electrode Leadless Face although anyone who has had the pleasure of working with them will tell you it stands for Most End up Lying on the Floor.
Since MOSFETs have a gate capacitance you’d want to limit the inrush of current from the output of a microcontroller to prevent it from getting damaged prematurely. That’s what gate resistors are usually good for....
For something that’s not switching at a high frequency, slow rise and fall times are fine as long as you are staying within the safe operating area of your MOSFET. A 10K gate resistor could certainly work, but it will depend on your MOSFET and load.
I got these TP4056 modules from an AliExpress vendor and fail to understand how the protection circuit works or if it’s just typical Ali shovelware. It could be my limited understanding of electronics....
The MOSFETs are in series, but in opposite polarities. Two MOSFETs are needed to block current in both directions.
The DW01 uses the voltage drop across the MOSFETS to measure the current. The overcurrent threshold voltage is fixed at 150mV. Using a larger MOSFET that has a lower RDS(on) will increase the current limit.
The drains in the 8205 MOSFET are connected together internally. In a DW01 circuit, they are not connected to anything else.
One MOSFET stops the battery from charging and the other stops it from discharging.
Hello altogether, I guess everybody has some USB-C cables lying around, but wonder if it’s 3A, 5A, 3.0, TB… Anybody able to recomment a device able to determine that? Maybe also something that can be combined with a load tester.
There are simple testers like this. It’s rather overpriced for what it is, but it would be trivial to make one yourself. That will only do a continuity check though. If you want to know what the current or speed ratings are, you will need to read the chip in the cable.
I picked this little scope up from the Seapac swap meet a week and a half ago for $3. It turns out that all it needed was some contact cleaner to get it working again....
Microsoft says a Copilot key is coming to keyboards on Windows PCs starting this month (www.cnbc.com)
Why do you use the terminal?
Hi, everybody Recently, a guy noticed that I was using it and asked why? For me it because in Linux many things are done through the terminal because Linux has many different desktop environments...
Reminder to clear your ~/.cache folder every now and then (lemmy.world)
Alt TextA screenshot of a file manager preview window for my ~/.cache folder, which takes up 164.3 GiB and has 246,049 files and 15,126 folders. The folder was first created about 1.75 years ago with my system
Friendly reminder
This is your annual reminder to do a snapshot (timeshift or whatever you prefer) before doing relatively minor changes to your system....
New laptop
Hi everyone!...
I'm so frustrated rn.
I have been distro hopping for about 2 weeks now, there’s always something that doesn’t work. I thought I would stick with Debian and now I haven’t been able to make my printer work in it, I think I tried in another distro and it just worked out of the box, but there’s always something that’s broken in every distro....
Can I build a NAS out of a desktop? [Request]
n00b question, sorry. If I had a desktop that could hold 4 HD and 2 SSD, could I turn it into a NAS? Could someone point me in the right direction if this makes sense?
Laptop with long runtime
I’m looking to buy a new laptop. I recently switched to Linux (Fedora) and would like to stay with it (Not necessarily Fedora though)....
Surface Go 2 with 4GB Ram and 4425Y worth it?
Hi! There’s no Surface on Linux Lemmy community (yet), but I didn’t feel like asking on reddit, so I thought that this community is my best bet....
why does the poster image of c/linux have 3.8mb? (programming.dev)
This is the link to the image. It has 3.8mb. In my opinion that is way too much.
Debian 12: how do I get Gnome Files to display preview thumbnails/icons for large video files? Right now it just shows generic icons (lemmy.world)
What would be the best way for me to recover data from my old laptop's hard drive, which seems to have a bad superblock?
I got an external hard drive enclosure for the purpose of recovering some of the files from my old laptops hard drive. The hard drive and all of it’s partitions show up in both disks and gparted but it wont mount. When I tried to mount it manually, it gave the error message stating that it can’t read the superblock. I’ve...
[Resolved] Why does the font on Lemmy.world look like an eyesore? (lemmy.world)
I just switched from Ubuntu 23.10 to Debian 12 (using X11) if that helps. I didn’t have this problem in Ubuntu.
What happens to my instance if my domain expires?
I recently was gifted a raspberry pi 5 and was looking at domains to buy to host my own instance. What happens to my instance if the domain expires?...
Is this a fuse? If so, what kind? if not, what is it? (beehaw.org)
I’m learning about electronic components. I believe this is the part which has broken and made this heating pad unsafe to use. Well, unusable, not just unsafe lol.
MOSFET gate resistor
Since MOSFETs have a gate capacitance you’d want to limit the inrush of current from the output of a microcontroller to prevent it from getting damaged prematurely. That’s what gate resistors are usually good for....
TP4056 useless protection circuit? (discuss.tchncs.de)
I got these TP4056 modules from an AliExpress vendor and fail to understand how the protection circuit works or if it’s just typical Ali shovelware. It could be my limited understanding of electronics....
USB Cable check
Hello altogether, I guess everybody has some USB-C cables lying around, but wonder if it’s 3A, 5A, 3.0, TB… Anybody able to recomment a device able to determine that? Maybe also something that can be combined with a load tester.
I got another oscilloscope from a ham fest. (discuss.tchncs.de)
I picked this little scope up from the Seapac swap meet a week and a half ago for $3. It turns out that all it needed was some contact cleaner to get it working again....