There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

linux

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

awwsom , in nofi: An interruption-free notification system for Linux
@awwsom@beehaw.org avatar

I am building a new rice on hyprland. I’ll try this one out.

mundane , in Distro hoppers, how do you manage your config files?

I keep my files in a repo on gitlab and use yadm to sync them.

Yadm is a wrapper around git, so you have all the standard git commands plus some extra to work with templating and encryption etc.

Nuuskis9 , in Distro hoppers, how do you manage your config files?

I use usb stick with Ventoy. I copy it into .config and add a line for aliassrc into .bashrc and I’m all set.

fluxx , in How to accurately measure laptop battery life in Linux?

Can’t help you directly, but powertop can be used to monitor/tweak momentary power usage.

czak OP ,

Thanks, I do like powertop. I think it’s pretty good for short measurements, e.g. over 30 seconds:

<pre style="background-color:#ffffff;">
<span style="color:#323232;">% sudo powertop --time=30
</span><span style="color:#323232;">
</span><span style="color:#323232;">The battery reports a discharge rate of 4.17 W
</span><span style="color:#323232;">The energy consumed was 125 J
</span><span style="color:#323232;">The estimated remaining time is 11 hours, 4 minutes
</span>

But in the real world I will not be getting 11 hours of runtime. The moment I start a browser or play a video, power consumption goes way up.

l3mming , (edited )

If you’re technically inclined, a simple bash script with a for loop could dump the time and discharge rate to a text file every minute. Then you could copy/paste that into LibreOffice calc and do yourself some pretty graphs, or whatever.

edit: just found a tool called powerstat which looks like it does sampling over longer intervals.

sudo apt install powerstat

czak OP ,

Interesting, hadn’t heard of powerstat. I’ll be checking that, thanks!

Atemu ,
@Atemu@lemmy.ml avatar

Well, no program can accurately predict how you are going to use your laptop in the next hours. The best you can do is sample a given reference period and assume it’ll be the same but you have already noted the problem with that.

I’d recommend you monitor total power draw while using your laptop. It’s inversely proportiaonal to battery life: If you could reach 10h at 5W, you’d only reach 5h at 10W, 2.5h at 20W and so on; you can think of it as a metric for battery drain.

czak OP ,

Agreed, that sounds like the way to go. I was hoping there was already something to do the monitoring for me :)

Andy , in What's the best debian/ubuntu based distro featuring KDE?
@Andy@programming.dev avatar

Siduction is worth a try.

Pussyphobic , in What is you backup tool of choice?

Borg backup (via Pika Backup (Libadwaita gnome app) frontend) to one of my physical drive and also to borgbase.com (free tier 10 gb free)

Penguincoder , in Distro hoppers, how do you manage your config files?

Personal git repo with my dotfiles and other aliases/bashrc items.

vredez ,

I use gnu stow (with --no-folding) and track my stow directory in a Git repo. This allows you to easily swap out distro specific differences, like the location of git_prompt.sh or aliases that map to different package managers. Also, you can switch between different window managers or desktop environments with a simple unstow and stow of .xinitrc files.

understandable , in What is you backup tool of choice?

Restic (local repo) which I sync onto a Hetzner Storagebox using rclone.

TheV2 , in What is your go-to Linux distro and why?

I’ve been using Arch Linux as a daily driver for about two years I believe. As with any other distribution, it depends on the user’s preferences, experience and needs, whether or not I’ll recommend them Arch.

What I like the most about Arch is the customization from the ground up, the rich, detailed and yet user-friendly Arch Wiki, the AUR (although one shouldn’t depend on it too much) and that after the installation everything seems more trouble-free than the distributions I’ve tried before. Arch almost never broke for me and even then fixing the issues weren’t a big problem. It’s not as difficult as it is often portrayed.

Nor is it as easy as it is often portrayed. A new user could be comfortable starting with Arch Linux, but it doesn’t hurt to have experienced another distribution that is intended to be user-friendly.

notfromhere ,

Having spent years on Gentoo and done several installs, installing Arch the other day was a wall in the park and felt natural. I had to learn the new tech stack (nmcli, pacman, arch-chroot) but after that it was basically easy mode. You mean I don’t have to define compiler flags and feature flags and I don’t have to wait for it to compile or set up a cross arch compiler farm?

Ew0 ,
@Ew0@lemmy.fmhy.ml avatar

This is how I feel about Gentoo too but I use Void as a daily instead, no systemd and it feels more like what Arch used to be (e.g. Runit is like 5k SLOC whereas systemd is 100s of k’s).

Not bashing but everything seems well engineered with less cruft/bitrot than Gentoo. Of course there’s less customisability xbps-src is pretty decent at doing the job, or just write your own templates :)

wreiner , in What is you backup tool of choice?

Borg backup

mojo , in What developments in the Linux world are you looking forward to the most?

XFCE Wayland would be pretty sweet. Also native night mode whenever they add that.

nomadjoanne , in Does anyone actually like the default GNOME workflow?

I grew up using Macs and so coming to Linux from that perspective, I like it. It has a similar feel to the Mac desktop environment.

I may take the plunge to a window manager at some point, but for now it works for me.

freeman , in What developments in the Linux world are you looking forward to the most?

hot plug for PCIe/eGPU/USB-C/TB4 devices

andruid , in Does anyone actually like the default GNOME workflow?

Gnome does make it feel like I should have like 3 apps open and anything more is a mental burden. I personally really like the overview though! If I could get gnomes overview as my meta key in KDE it would be killer!

Holzkohlen ,

KDE Plasma has an overview. By default it’s a topleft hotcorner thing. It’s just awful cause it mashes all desktops into one. Absolutely useless

TheFrirish , in What is your go-to Linux distro and why?

Well I would have normally said Fedora but with the current RedHat issues I’m thinking of making a switch. but in my opinion Fedora was always rock stable and leading edge. currently looking at an alternative.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines