Using a new laptop with a confirmed healthy battery, do you typically need to do battery calibration after a fresh distro install? Or is that only used when replacing a battery on an existing system?...
There’s two things you might be talking about here:
The old way of making sure nickel cadmium batteries didn’t degrade, which was to discharge them all the way and charge them back up all the way. Your new laptop is almost certainly using lithium ion batteries which are chemically “damaged” more through that process than just leaving them plugged up all the time.
You could be talking about the old way of dealing with charge controllers, where the controller relied on the bios or os to tell it what to do and didn’t “know” how to respond to batteries at different stages of charge. This hasn’t been the situation for like fifteen years. Nowadays charge controllers go “yup, ready to go boss, 12345mah of charge, 90%” when some bios or os polls them.
You don’t even need to manually keep your battery in the 20-80 range nowadays since almost every charge controller automatically monitors temperature and adjusts charging parameters to not damage the battery. It’s not like the old days where the charge controller was just an ic controlling a fet acting as a slucegate between the battery and the power brick.
Heck, lithium ion batteries nowadays last longest the longer they’re plugged in. Running them to <10% every charge cycle actually diminishes battery life!
While you’re right that going all the way up to the 4.2v that the battery is rated for is worse than if it just stayed at 4v, by not discharging to half or more you’re reducing the charge cycles which directly correlates to longer life.
Ultimately in lieu of a charge controller or os that does that for you, the easiest way for a user to extend battery life without going psycho mode is to charge they phone, eat hot chip and lie.
I know all the macs and iphones have that predictive charging thing where if you’re always leaving your phone or computer or phone plugged in overnight they’ll keep it around 80% or so till about an hour before you wake up and charge the rest of the way then.
Windows computers have something called smart charging but I don’t have any experience with it.
Theres a bunch of different ways to control charging in Linux.
It really seems like this is a solved problem and I’m glad to not be worrying about plugging and unplugging my phone to maximize my battery life.
hardware is a nuked MacBook Pro, Intel Core i5-4278U @ 2.60GHz, model A1502 (EMC 2875), Retina Mid-2014 13" with debian 12.5 live xfce installed (I couldn’t fully install any of the netinst candidates)....
If your old core processor is slow, open the laptop up, remove and clean the fan, remove the heatsink and clean it and the processor die with isopropyl alcohol and apply new thermal grease before you put it all back together.
If you have bad I/o with an ssd of some sort, do a spinrite level 2 scan of the drive. It reads and then rewrites all the blocks, which fixes the problem.
I used this exact model for years and idk what your expectation is but I found it to be right fast.
Don’t bother benchmarking a laptop unless you’ve cleaned the dust out, regreased the cpu and run a lvl2 scan on the ssd. All you’ll have is a number that tells you “yep, it’s slow.” And someone like me will say exactly what I just did.
Imagine your friend that does not know anything about linux, don’t you think this would make them not install the firefox flatpak and potentially think that linux is unsafe?...
I’m double checking this myself now, but there are plenty of tools (debsum) they’re just not part of the default implementation as of last time I looked.
i’m almost 100% that debsums on apt stuff and the --verify flag in rpm distros do what sfc did. (kinda, debsums and --verify check against a list of checksums from the repo, i’m pretty sure sfc cracks open an actual known version of the files and compares em with whats on disk)
Someone else wrote that you’re overwriting straight into your device. Here’s how to figure out how to do it right:
Find out what block devices are available: lsblk
Lsblk will list the block devices on the computer. You can see from it weather or not the computer sees your usb and what filesystems are available on it. You might say “well of course the computer can see the usb, it booted from it!” But when you’re using a live environment the question isn’t did the computer see the usb, but does it currently see the usb.
Once you confirmed that the computer can see the usb, use df -h to find out if and where it’s mounted.
The df command shows disk filesystems and it’ll tell you which ones are mounted and where. If you see your disks file system, make note of where and skip ahead to output handling! The -h makes this command human readable by saying 32G instead of 32000000000B.
If you don’t have the file system you wanna put your output in mounted, make a directory with mkdir <directoryname> and mount the file system in it with mount /dev/<file system device> <directoryname>.
The spaces in the mount command separate the different arguments like <command> <source> <target>. You’ll be able to know your file system device from the lsblk command earlier. The mount command puts a block device somewhere in the running computers file system. Think of it like bolting something to a beam or hanging a picture on a wall.
Verify that you have access to the newly mounted file system by looking at it with ls <directoryname>. What do you see? What should you see? I don’t know.
Like I said, someone already told you that you shouldn’t overwrite directly to a device, but you can do it even better! Use the | character to send output to the tee command and give it a file as an argument like lspci | tee <directoryname>/output.txt
Tee sends output to a file in addition to the terminal as opposed to instead of the terminal window. It’s useful!
Hopefully that gets you going.
I have installed Linux on several of these laptops that need wl and as much as it’s nice to be able to do it without internet access, the easiest way is to plug up a wire and let the package manager figure out that it needs wl every time it upgrades the kernel.
I am working on a simple static website that gives visitors basic information about myself and the work I do. I want this as a way use to introduce myself to potential clients, collaborators, etc., rather than rely solely on LinkedIn as my visiting card....
If you’re currently running a rpm distro, you can make it easier on yourself by using the duke nukem forever command to make a list of your installed programs: dnf list installed.
Once that’s outputting an appropriate format, dump it into a text file with | oldprogs.txt.
On your new computer, that same duke nukem forever command can be used to install from the list with something like dnf install << oldprogs.txt
I bet you can come up with a way to stuff all that into a neat little one liner that’ll provide error handling, output teeing and everything else!
There’s gentoo options for a lot of older architectures. I even got it running on a 32bit power machine.
Back in the day gentoo meant compiling everything from source, but nowadays there’s precompiled binaries.
If you’re doing the evanescence routine on older hardware, check to see if there’s cheap ram and ssds available that work with its interfaces. Usually the trick with pata is to use old cf to sata adapters because cf is pin compatible with the little pata interfaces they’d put on laptops.
Consider cleaning and reapplying thermal paste to the cpu. You won’t even need to take it out of the socket, just don’t dump isopropyl all over the board while cleaning.
If your old computer has a cool old sound card there’s never been a better time to use a tracker that takes advantage of its built in synthesizer!
If you still have the card those came off of you can put it back in a galaxy (or any android device?) and export them. Pretty sure the phone uses some kind of error correction scheme to deal with failing sd cards.
Hey. Well I’ve got a thinkpad running with fedora 40. I wanted to plug the TV in, with HDMI, but nothing happened. So how do I activate it? Its a Lenovo T470
I use Debian and rhel. That’s basically the two things you’ll see in the world and the two toolsets that familiarity with is useful.
There’s some little computers running weird shit like 9front or gentoo but if you wanna branch out from Debian stable but not get weird I recommend learning rhel.
Of course, if your backup laptop is really a backup, install stable on it and be done.
on my last post I wrote device is a redmi 9c. Turns out it’s a redmi 10c and the custom ROM I wanted to install xdaforums.com/…/rom-13-unofficial-lineageos-20-0-… won’t work....
usually monitors can be freely rotated. if yours can’t, the back usually has a square vesa mount on the back and you can just take out the four screws and reattach it the way you like.
Git repos have lots of write protected files in the .git directory, sometimes hundreds, and the default rm my_project_managed_by_git will prompt before deleting each write protected file. So, to actually delete my project I have to do rm -rf my_project_managed_by_git....
Whenever AI is mentioned lots of people in the Linux space immediately react negatively. Creators like TheLinuxExperiment on YouTube always feel the need to add a disclaimer that “some people think AI is problematic” or something along those lines if an AI topic is discussed. I get that AI has many problems but at the same...
Hey, I wanna know your preferred laptops, used is better and to run Linux on it. Something with at least 16gb and 512 SSD is good. Budget range. Thank you!
I have an older Intel laptop that has a 1600x900 display, and I find that if I put the machine to sleep, connect an external monitor with a higher resolution, and then turn it back on, the login screen doesn’t adjust to the new resolution and it reveals what I had open (see photo)....
I mean, it absolutely could if stuff like ext_session_lock weren’t incredibly insecure.
There’s a thread on the maintainer of xscreensavers website that talks extensively about this and it got me trying to get just some stubs hooked into several wayland environments, seeing how the sausage is made and putting Wayland back on the shelf.
None of the desktop environments like xscreensaver because it breaks their window decorations and input handling. It does this for security purposes because its job is first and foremost to be as secure as possible then once that’s done go ahead and make pretty pictures.
If it sounds crazy that input and window decorations would be insecure, peruse the maintainers webpage and be horrified.
Wayland needs infinite workarounds to get xscreensaver working because the way you’d do it under the Wayland framework is with a weird method called uhh ext_session_lock (I reference it in another comment but I’m not sure that’s the right one now.) which at least as of about a year ago let screen locking programs handle passwords directly!
I think it’s an artifact of open source software being maintained by people who are on the payroll of companies that rely on the software.
CSS are used to establish whose phone (the therefore who) is in a location and whose phone (and therefore whomst) sent and received data at what times.
That information is what police will use as probable cause to get warrants against the services you use if not your person or home.
Edit: Last night, I used the “Fix MergeList problems” option in the maintenance tab of software sources and at least for now, it seems to be working. So I probably wont need help with this anymore, hopefully....
I tired Linux a few times in the past, but didn’t really start using seriously until 2019. I love poking around old OSs and distros, and I want to spin a few up in some VMs my next free evening....
Just had this idea pop up in my mind. Instead of relying on volunteers mirroring package repositories all around the world, why not utilise BitTorrent protocol to move at the very least some some load unto the users and thus increase download speeds as well as decrease latency?
This is the laptop in question. It has an x86 processor so basically any distro should work on it. However, it is still a Chromebook which likely means Google fuckery in the BIOS. But it’s great value for the money (can get it $300 off at Costco) and if I can plop Linux on to it then I’d love it.
I recently dual booted linux mint on my laptop, and I came across the infinite squashfs error (an infinite amount of “SQUASHFS error: Unable to read page” and "SQUASHFS error: Unable to read data counting up, I think because I took out the usb and pressed enter too quickly) I couldn’t do anything, so I shut down and...
No, you’re fine. You just yanked the install media before it was done putting itself away. Depending on how it was made, the install media might not even be damaged.
The thing is like this: I have a windows laptop I use for work, and a Linux desktop machine. I have a single screen keyboard etc. and I switch between the two using a docking station. But, I wonder if there is a way for me to “cut the middle man” and just plug/unplug my linux machine....
Op has a Linux desktop with a usbc hub attached to it. The hub has all their shit plugged in so when they wanna use their laptop they just unplug the hub from the desktop and plug it into the laptop.
Op wants to get rid of the hub and just plug their laptop into their desktop (or into the hub or something) and get access to the desktops resources like keyboard, mouse, monitor and Ethernet.
Did I get that right?
If so, You Can’t Do That.
You actually can, but it’s a huge insane headache! Resource sharing that just works is a plan9 thing, not a windows or Linux thing.
Some possible workarounds:
Put the Ethernet on the hub. Get a usb network adapter with Linux and windows support and use that.
Get a little Ethernet switch and a couple of wires instead and then you have Ethernet when you put the laptop on the desk.
Get a little switch and some wires instead, and use something like barrier (the fork of synergy) for keyboard and mouse sharing.
I’m planning to put Debian-based operating system onto my Surface Laptop Gen 1, following the guide (linux-surface). Any good Debian-based Linux recommendations? For now I’m considering AntiX (lightweight debian) and normal Debian....
I’ve had LMDE6 installed since it’s release day and everything has been fine. For the past week it’s been dropping my wifi card randomly. It is not recognized by rfkill nor lspci after it happens. Only reboot helps....
You may have noticed a distinct lack of return2ozma. This is due to their admitting, in a public comment, that their engagement here is in bad faith:...
Mostly right there with you. It’s disturbing to see mods just publicly admitting their process is capricious and wack expecting to be congratulated and lauded for openness.
I never thought I’d be posting AMAB next to a lib.
I’m not saying this to start a fight, but as a person who used btrfs for a situation it was not suited for: there need to be some tools for migrating off btrfs here.
Not that I was aware of a couple of years ago. I ended up copying to a different media, reformatting and copying back and accepting the loss of the snapshots.
Is battery calibration necessary on a fresh distro install?
Using a new laptop with a confirmed healthy battery, do you typically need to do battery calibration after a fresh distro install? Or is that only used when replacing a battery on an existing system?...
what commands can I use to benchmark my cpu?
hardware is a nuked MacBook Pro, Intel Core i5-4278U @ 2.60GHz, model A1502 (EMC 2875), Retina Mid-2014 13" with debian 12.5 live xfce installed (I couldn’t fully install any of the netinst candidates)....
I was looking at the firefox flatpak on flathub. Won't this warning make a non tech-savy user anxious? This might make them think they'll get a virus or something like that. (programming.dev)
Imagine your friend that does not know anything about linux, don’t you think this would make them not install the firefox flatpak and potentially think that linux is unsafe?...
What is your favourite shell to use
What’s your favourite to use? Mine is Fish due to its ease of use and user friendly approach....
US bans Kaspersky software, citing security risk with Russia (www.theregister.com)
Systemd 256.1 Maintenance Release Fixes Home Directory Deletion Bug (debugpointnews.com)
I'm trying to lspci > /sdc1 lspci.txt on recovery mode. What am I doing wrong? + help installing broadcom BCM4360 802.11ac network controller on debian
hardware is a nuked MacBook Pro, Intel Core i5-4278U @ 2.60GHz, model A1502 (EMC 2875), Retina Mid-2014 13"...
Stonehenge sprayed with paint by environmental protesters (www.dw.com)
The prehistoric megalithic structure in England has been targeted by activists spraying orange powder paint, social media footage showed....
Is there a simple way to severly impede webscraping and LLM data collection of my website?
I am working on a simple static website that gives visitors basic information about myself and the work I do. I want this as a way use to introduce myself to potential clients, collaborators, etc., rather than rely solely on LinkedIn as my visiting card....
GOP senator blocks Democratic bill to ban bump stocks after Supreme Court ruling (www.cbsnews.com)
Biden's Middle East Policy Is Horrific. Trump's Would Be Even Worse (www.commondreams.org)
how to move to a new computer?
I just bought a new computer. I’ll install fedora silverblue. Do I just need to copy the home directory? And crontab. What else do I need to move?
Linux distro for an ancient Pentium PC
I need some help finding a distro for a very old machine....
KDE login theme cannot be loaded. Please help I'm a Linux noob and just want my login screen to be pretty.
Solved: Problems viewing files with JPEG extension on Linux
Solved: The files are encrypted, see stackoverflow...
HDMi port om Fedora 40
Hey. Well I’ve got a thinkpad running with fedora 40. I wanted to plug the TV in, with HDMI, but nothing happened. So how do I activate it? Its a Lenovo T470
what linux OS should I install on a backup notebook if my main one is debian?
I’m your regular end user. I use my computers to edit text, audio and video, watch movies, listen to music, post and bank on the internet…...
Is there any way to brute delete stock firmware on a redmi 10c with debian? do you know of any compatible foss OS I could install on this device?
on my last post I wrote device is a redmi 9c. Turns out it’s a redmi 10c and the custom ROM I wanted to install xdaforums.com/…/rom-13-unofficial-lineageos-20-0-… won’t work....
How can I fix this rotation issue? (lemdro.id)
I’m using EndeavourOS with KDE....
Can I remove a git repo without resorting to `rm -rf` ?
Git repos have lots of write protected files in the .git directory, sometimes hundreds, and the default rm my_project_managed_by_git will prompt before deleting each write protected file. So, to actually delete my project I have to do rm -rf my_project_managed_by_git....
The anti-AI sentiment in the free software communities is concerning. (lemmy.world)
Whenever AI is mentioned lots of people in the Linux space immediately react negatively. Creators like TheLinuxExperiment on YouTube always feel the need to add a disclaimer that “some people think AI is problematic” or something along those lines if an AI topic is discussed. I get that AI has many problems but at the same...
Which are your preferred laptops?
Hey, I wanna know your preferred laptops, used is better and to run Linux on it. Something with at least 16gb and 512 SSD is good. Budget range. Thank you!
Found a security bug in LMDE6, need some help (i.imgur.com)
I have an older Intel laptop that has a 1600x900 display, and I find that if I put the machine to sleep, connect an external monitor with a higher resolution, and then turn it back on, the login screen doesn’t adjust to the new resolution and it reveals what I had open (see photo)....
[Question] Using DD to make a backup of an OS drive?
Would this work or would I have problems:...
The Next Generation of Cell-Site Simulators is Here. Here’s What We Know. (www.eff.org)
Bootloader equivalent to Rufus
I’ve been trying to find a linux programming similar to Rufus to flash images of OSes on a thumb drive....
Is Linux Mint's package repository having issues or is the problem on my end? (Solved, I think)
Edit: Last night, I used the “Fix MergeList problems” option in the maintenance tab of software sources and at least for now, it seems to be working. So I probably wont need help with this anymore, hopefully....
Nostalgic Distros?
I tired Linux a few times in the past, but didn’t really start using seriously until 2019. I love poking around old OSs and distros, and I want to spin a few up in some VMs my next free evening....
Why does no distro utilise BitTorrent to distribute packages?
Just had this idea pop up in my mind. Instead of relying on volunteers mirroring package repositories all around the world, why not utilise BitTorrent protocol to move at the very least some some load unto the users and thus increase download speeds as well as decrease latency?
Would it be possible to install Linux on this HP Chromebook Plus?
This is the laptop in question. It has an x86 processor so basically any distro should work on it. However, it is still a Chromebook which likely means Google fuckery in the BIOS. But it’s great value for the money (can get it $300 off at Costco) and if I can plop Linux on to it then I’d love it.
Should I reinstall linux mint (error during installation)
I recently dual booted linux mint on my laptop, and I came across the infinite squashfs error (an infinite amount of “SQUASHFS error: Unable to read page” and "SQUASHFS error: Unable to read data counting up, I think because I took out the usb and pressed enter too quickly) I couldn’t do anything, so I shut down and...
Is there any way to turn my Linux machine into a docking station?
The thing is like this: I have a windows laptop I use for work, and a Linux desktop machine. I have a single screen keyboard etc. and I switch between the two using a docking station. But, I wonder if there is a way for me to “cut the middle man” and just plug/unplug my linux machine....
Any good Debian-based OS for a laptop?
I’m planning to put Debian-based operating system onto my Surface Laptop Gen 1, following the guide (linux-surface). Any good Debian-based Linux recommendations? For now I’m considering AntiX (lightweight debian) and normal Debian....
Israeli military rescues four hostages alive from Gaza, including Noa Argamani (www.nbcnews.com)
LMDE6 started to drop Realtek wifi card
I’ve had LMDE6 installed since it’s release day and everything has been fine. For the past week it’s been dropping my wifi card randomly. It is not recognized by rfkill nor lspci after it happens. Only reboot helps....
A quick note on the return2ozma ban:
You may have noticed a distinct lack of return2ozma. This is due to their admitting, in a public comment, that their engagement here is in bad faith:...
List of useful BTRFS tools
Hi, I want to do an “awesome things” list with BTRFS tools...