- Write down GUID for sda6
- copy sda5 contents somewhere
- dd sda6 to sda2
- delete sda6
- change the GUID for sda2 to the one written down
- fsck sda6 to fix size
- make sda1’s type EFI
- copy sda5 contents to sda1
- delete sda5
- you can now resize whatever is left (if your partition tool doesn’t have resize, just delete and recreate with the same starting sector, again you have to keep GUID for root and fsck it to fix size)
moved from us instance
- 0 Posts
- 21 Comments
diaphragmwp@discuss.tchncs.deto
Linux@lemmy.ml•What's your favourite "just works, day after day" Linux software?English
3·3 days agoI love how little of the projects mentioned here are truly Linux specific.
“Firefox” lol.
Anyways, MUSL.
diaphragmwp@discuss.tchncs.deto
Linux@lemmy.ml•Energy-efficient distro recommendations?English
1·7 days agoI don’t know how your monitor is this efficient, mine consumes around that exact amount (40 watts) according to “displayspecifications.com”.
Anyways, with my laptop eDP panel instead (driven by sway), external keyboard, external mouse, I have running:
- systemd, glibc, NetworkManager, all that evil ass background crap
- mpv playing a .ogg to headphones
- Firefox with this website, typing rn
- weechat connected to 3 servers
- toxic
- claws mail
- Tor daemon
- Wi-Fi through 2 walls
Let’s look at
upower -d:energy: 35,926 Wh energy-empty: 0 Wh energy-full: 35,926 Wh energy-full-design: 53,049 Wh (...) energy-rate: 5,64 W time to empty: 6,3 hours (...) capacity: 67,7223% technology: lithium-ionroflmao (no, I don’t know why my battery is already this dead, or at least is counted as such)
EDIT: before anyone mentions how a laptop is cheating, mini PCs all have laptop CPUs/APUs anyway
diaphragmwp@discuss.tchncs.deto
Linux@lemmy.ml•Energy-efficient distro recommendations?English
51·7 days agoYes, but the user doesn’t want it. To quote them:
I have a capable desktop, and I mean to push it
Also, Raspberry are greedy bastards, shit’s overpriced. May as well use another SBC for a much smaller price. Or one of the Chromebooks that would otherwise be e-waste.
diaphragmwp@discuss.tchncs.deto
Linux@lemmy.ml•Energy-efficient distro recommendations?English
11·7 days agoInterpreting arguments as being negative; no thank you.
diaphragmwp@discuss.tchncs.deto
Linux@lemmy.ml•Energy-efficient distro recommendations?English
10·7 days agoI was writing a really long answer but it disappeared, fuck me.
Anyways, I guess I am going to skip the scientific explanation, but CachyOS’s optimizations most of the time mean energy efficiency. Most of the time. It’s not a hard guarantee, could make things much worse depending on what’s running.
Now, as for distributions. Load one of the following with a copy of sway-git or hyprland (or if your box is old enough to have 2D acceleration, better use TWM, DWM…).
If you want a “traditional” distribution, like when you can just run some random binary from the interwebs and meet most of it’s assumptions to let it “just run”, I suggest Arch Linux (yes, really) with a thing called “ALHP.go” (basically repos that provide optimized packages just like CachyOS, except that this is the original). I don’t know of anything like CachyOS and ALHP elsewhere anywhere, so this may be the most performing option.
If you are fine with having to run a container for the unity shovelware friends send you, look into Adelie Linux and Alpine. They are energy efficient, but for the wrong reasons: lighter weight component alternatives just means less work to do. In Alpine, the packages are also optimized for storage rather than performance, which has a side effect that your CPU can load whole chunks of programs into cache and use RAM less. If you are fine with a virtual machine on non-Linux, you probably wouldn’t need this advice, but there’s midnightBSD and OpenBSD and such. OpenBSD is meant for security and not performance (even blocks multi threading by default), but it comes with the side effect of being very small and thus energy efficient.
Technically, a source distribution like T2 or Gentoo would be the most performant AND energy efficient, but you need to burn quite a lot of electricity to get there first and to install updates. Using clang instead of GCC makes this a bit less painful but still. UNLESS you just rent a server and offload everything there with something like distcc.
Now, a few little remarks:
- What the other person said about the web is true, the modern web sucks balls. You could use browsers like Chawan, Netsurf (git since last release is old) and Dillo (git), then play videos with mpv + yt-dlp and stuff. However, you will eventually run into one of the abominations of websites that have 3 language translations on top of each other and require the latest of technologies. Also, you would be locked out of most Lemmy instances (some have JSless old.{domain} but not mine :/). Now, ALHP has optimized Firefox, but most of the most important routines have been turned into hand crafted assembly for each generation of CPU (yes, really), so the performance (and energy) impact isn’t as good as you would expect. Your web browser will be using the most power regardless. Although you can make it slightly better with UBlock Origin and decentraleyes (both included in Arch repos)… I’ve heard the Firefox people are starting to upstream a native adblock engine which means it will be faster, though it’s not quite there yet.
- Sometimes, the Linux kernel will set the minimum CPU frequency above the actual minimum and I couldn’t find a proper reason for it. My workaround is running this script in a few places on startup as root:
echo "1" | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_min_freq. - Avoid running flatpak, snapd…
- Disable daemons you don’t need (like Avahi).
- Avoid running web browser wrappers (Element, Discord, Jitsi meet…), just use your default browser. When you need them (Steam, Signal), stop them after you are done.
- You may have luck turning off devices physically with “acpi_call”.
You can also make scripts like this (example is for Arch):
scripts
minimize_network_services.sh#!/bin/sh sudo systemctl stop snowflake-proxy sudo systemctl stop i2pd sudo systemctl stop [email protected] sudo systemctl stop zerotier-one sudo systemctl stop gnunet sudo systemctl stop tor akonadictl stop pkill -9 akonadi pkill -9 Telegram pkill -9 signal-desktop pkill -9 steamno_network_services.sh#!/bin/sh . ./minimize_network_services.sh sudo systemctl stop NetworkManager sudo rfkill block wlan sudo systemctl stop ntpdmin_network_services.sh#!/bin/sh sudo rfkill unblock wlan sudo systemctl start NetworkManager sudo systemctl start ntpdyes_network_services.sh#!/bin/sh . ./min_network_services.sh sudo systemctl start snowflake-proxy sudo systemctl start i2pd sudo systemctl start gnunet systemctl --user start ipfs
diaphragmwp@discuss.tchncs.deto
Linux@lemmy.ml•Energy-efficient distro recommendations?English
11·7 days agoDepends on which governor
Default one.
Android
That’s also bad, but there’s a difference: developers on Android know about this and do workarounds like keeping a notification open. Because Android is Android, it always has this. No existing program elsewhere is designed around this.
Turn down the frequency
Kernel already does.
Clean up unused programs
??? So it would close my IRC client when I look away? Fuck that.
diaphragmwp@discuss.tchncs.deto
Linux@lemmy.ml•Why are so many Linux projects on Microsoft GitHub? Shouldn't they all move to Codeberg?English
1·15 days agoI am not talking about the git provider, I am talking about “Linux project”. I know we are kind of on “@[email protected]”, but how many tools you use do you think are truly Linux specific? Even some long time linuxisms like libinput and DRM have been ported over to BSDs for example.
diaphragmwp@discuss.tchncs.deto
Steam Hardware@sopuli.xyz•The Steam Frame Will Have An Enthusiast Kit With A Hot-Swappable Battery
1·16 days agoSorry if it wasn’t clear enough, I am talking about having a cult over a multi billion dollar company
diaphragmwp@discuss.tchncs.deto
Linux@lemmy.ml•Why are so many Linux projects on Microsoft GitHub? Shouldn't they all move to Codeberg?English
15·17 days agoBeen on this post before but just noticed you mentioned “Linux project” as if everything open source (or even source available) is Linux. Quite the ignorance…
diaphragmwp@discuss.tchncs.deto
Steam Hardware@sopuli.xyz•The Steam Frame Will Have An Enthusiast Kit With A Hot-Swappable BatteryEnglish
311·17 days ago“steamdeckhq.com”??? This is like that “insideEVs” site that does nothing but write about Elon Musk all day even if it’s nothing to do with EVs
diaphragmwp@discuss.tchncs.deto
Linux@lemmy.ml•Why are so many Linux projects on Microsoft GitHub? Shouldn't they all move to Codeberg?
5·17 days agoThat’s kind of the point of git
diaphragmwp@discuss.tchncs.deto
Linux@lemmy.ml•Commodore announces Linux-based flip phone with ‘no social media, no browser’ — the Callback 8020 will be available in five retro colorways starting at $499, runs 99% of Android appsEnglish
9·20 days agono social media, no browser
marketing material: social media in a glorified browser
diaphragmwp@discuss.tchncs.deto
Linux@lemmy.ml•Commodore announces Linux-based flip phone with ‘no social media, no browser’ — the Callback 8020 will be available in five retro colorways starting at $499, runs 99% of Android apps
1·20 days ago*in America
Where I am from, there are still basic 2G MediaTek MAUI phones with no application platform being pooped out to street markets. With more sophisticated models doing J2ME (yes, really) and KaiOS + 3G. Lots of brands tho the most popular is literally called “Sigma Mobile”.
If you use a feature complete Wayland compositor and compare it to equivalents (RIP velox), then Wayland basically offers more consistent pen and multitouch support and stuff, while being faster.
There’s no 2D acceleration in Wayland and that’s by design, it’s made for new GPUs that don’t have 2D anyway anymore. Programs either draw pixels or start up 3D.
XLibre is trying the opposite and is actually merging various 2D drivers for old and niche hardware, like ct65550 as found in the Toshiba Libretto 50ct among others. Most of these originate from distribution forks (NetBSD in this case). T2 Linux also maintains a patch to bring back lots of more ancient 2D drivers that were removed in 2012.
diaphragmwp@discuss.tchncs.deto
Linux@lemmy.ml•How do I check if a Brother printer is compatible with Linux Mint?English
1·23 days agothat’s why I don’t like port 80 and that damn “dns” cia project
diaphragmwp@discuss.tchncs.deto
Steam Hardware@sopuli.xyz•Got my Steam Controller guys! Ain't she a beaut 🤩English
1·29 days agoHuh, mandela effect or whatever then…
diaphragmwp@discuss.tchncs.deto
Steam Hardware@sopuli.xyz•Got my Steam Controller guys! Ain't she a beaut 🤩English
1·30 days agoThe SNES layout depends on region.
mb, updated