linux

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

bizdelnick, (edited ) in is there a foss project to automatically sort files

Such AI can be coded in <100 lines shell script. One of simplest implementations:


<span style="color:#323232;">#!/bin/bash
</span><span style="color:#323232;">
</span><span style="color:#323232;">find . -type f -print0 | while IFS= read -d $'
haui_lemmy,

Thats pretty much how I‘d do it. Now I need to sort through a decade of old backups and deduplicate them. Also need to distinguish between „loose“ files and program/website structures which usually have different file types inside. Probably need to auto archive them into tar.gz or something.

halm, (edited ) in is there a foss project to automatically sort files
@halm@leminal.space avatar

This requires no “AI”, just some simple rule-based automation, at most some algorithmic sorting.

  • Android (or some custom branded Android versions?) automatically save downloaded files in folders by Pictures, Documents, etc unless you tell them.not to.
  • Office365 offers the PowerAutomate function, but knowing Microsoft they probably overcomplicated things a bunch. [Edit: obviously this isn’t FLOSS, just a hint at what to look for alternatives to…]

This approach never appealed to me as I want to know where things are rather than where some subroutine thinks it belongs, but I’m certain you will find plenty of software that offers an auto sorting feature.

linuxPIPEpower, in Fully featured tilling window managers (like DEs) for lazy people

I do not understand the mystique of applications that don’t come with a reasonable working config. I don’t want to invest hours just to try something and see if it is vaguely suitable. Anyone who wants to delete the default config can easily do so.

I guess people get pulled with sunk costs because by the time you get it working you’ve spent so much time on it.

BlanK0,

Could be the case 🤔, I think if there was a more accessible WM with no tinkering in config files needed we might see a bigger adoption to the WM workflow (cause it really is more productive)

Scipitie,

When “reasonable” deviates on every major setting then it’s not possible to provide a sane default. Both i3 and hyprland have example configurations - I have yet to see two identical configs in the wild.

You have it the other way around: it is aimed at people for whom there can’t be a sane default because of the highly individual wants.

If you don’t intend to adjust your environment to your workflow that’s fine - there’s KDE and gnome for a reason.

Flyswat, in Use YAD/Zenity dialogues to populated variables in a bash script?

If you fill both fields the output in the terminal is file|this is some text|

Wouldn’t it be easy to get them using awk by defining | as a field separator?

linuxPIPEpower,

It is the only solution I found. I described it in the post but put it behind a “spoiler” “What doesn’t work” to make the post shorter.

This seems unmanageable because adding a new field or failing to provide input for a field will both change the output order of every subsequent value. It’s way too fragile.

Kristof12, in Arch-Based Endeavour OS Updates ISO With Linux 6.7 Kernel, Mesa 23.3.3
@Kristof12@lemmy.ml avatar

Kernel 6.7 on ISO, noice

flubba86, in is there a foss project to automatically sort files

Every single file on my computer is saved under ~/Downloads why would I want to sort it somewhere else when I already know exactly where it is?

somethingsomethingidk, in Use YAD/Zenity dialogues to populated variables in a bash script?

I have an array based solution but it doesn’t solve the cases of changing the order or empty fields.

bizdelnick, (edited ) in Use YAD/Zenity dialogues to populated variables in a bash script?

Try something like IFS=‘|’ read f1 f2 < <(zenity <…>) where f1, f2 etc. are variable names.

linuxPIPEpower,

If you leave some of the field blank will it be able to skip assigning the respective variable? That’s one problem with the positional values.

Gingernate, in Help with Bluetooth on Pop!_OS

Ok you switched back to fedora, were you able to downgrade bluez? Also, is this a new popos install? Have you updated your system using “sudo apt update” and “sudo apt upgrade”? If the bluez fixed the issue on fedora I bet it will fix it on popos

rambos, in Help with Bluetooth on Pop!_OS

Im using anker soundcore bluetooth speaker on desktop PC. It was acting weird on windows, then I switched to PopOS and it became super smooth for more than a year. Turning on PC then speaker or the other way around it would always pair flawlesly. But since some update around a month ago its not always pairing automatically and sometimes I have to connect manually to get it working. Its not a big deal, but throwing it here in case someone knows a fix and even better if the same fix can help with OPs issue

qjkxbmwvz, in Help with fedora i3 spin power settings

Is this useful?

github.com/rodlie/powerkit

Not affiliated and haven’t used it, but its tagline of “Desktop Independent Power Manager” seems like it fits the bill.

Shape4985,
@Shape4985@lemmy.ml avatar

Thankyou. I will have a look at this and possibly test it in a vm first to see how it works

db2, in The 9 Smallest Linux Distros That Are Super Lightweight

tl;dr:

ArchBang
Tiny Core Linux
Absolute Linux
Porteus
Puppy Linux
SliTaz
antiX Linux
Bodhi Linux
Linux Lite

LeFantome, (edited )

I was impressed with antiX as a light-weight system. If you are ok with a tiling window manager, ArchBang is good too.

They are essentially stripped-down Debian and Arch respectively.

Montagge,
@Montagge@kbin.earth avatar

I didn't care for PuppyLinux as it didn't run well with even just Firefox open. I also didn't care for the updating structure that seemed to be the idea that you just don't update packages between releases. I could be wrong on that, but that was what I got from reading on how to keep things up to date. I did like how small it is and how it loads into memory on boot.

AntiX wouldn't let me install any packages or update. It would keep telling me I needed to wait a few hours to access the repos. I did like how you could swap between several desktop environments easily.

BrianTheeBiscuiteer,

The lack of systemd was something I couldn’t get over. I mean the alternative service managers are good but a few apps I really need have a strong dependency on systemd and the adapter packages just weren’t working. Otherwise I highly recommend AntiX. It made my old netbook feel useful again.

kanzalibrary, (edited )

AntiX wouldn’t let me install any packages or update. It would keep telling me I needed to wait a few hours to access the repos. I did like how you could swap between several desktop environments easily.

Just manual change the repo and problem solved…

And I need to clarify this because AntiX IMO, under category Permacomputing for low power consumption without too much sacrificing the function than others [in my experiment].

Montagge,
@Montagge@kbin.earth avatar

Change the repo to what?

kanzalibrary,

Mirror repo

Montagge,
@Montagge@kbin.earth avatar

Gotcha! I've never done that before so it didn't occur to me to do it.

Luckily Xubuntu did the trick on that old laptop

faintwhenfree,

Tiny core Linux ftw

Voytrekk, in GNOME Sees Progress On Variable Refresh Rate Setting, Adding Battery Charge Control
@Voytrekk@lemmy.world avatar

The lack of VRR in GNOME is what had me change to KDE. I prefer GNOME in many ways, but I was tired of having to use the vrr patches to keep the functionality.

warmaster,

This. As soon as GNOME gets VRR & HDR, I think I’m going back. Also, I’ve read Steam has great integration with KDE, does anyone know how exactly?

bitwolf,

I don’t think in any way that would lose an advantage over gnome.

Having a Steam Deck, the only integration I see is the “Return to Steam” shortcut and a change to the logo.

When you run the Steam Deck gaming mode it bypasses KDE entirely and uses its own game scope compositor.

warmaster,

According to GloriousEggroll it goes way beyond that. I just don’t know what it does.

ReakDuck, (edited )

I thought its an entire different desktop. Especially itd not possible to run gamescope while a X11 Desktop is running so I guess you are wrong with “bypassing”. Its just switching to gamescope. Its a Wayland compositor. It does even less than a Window Manager (is this right?)

warmaster,

I run GameScope for CS2. The rest of the desktop runs Wayland.

ReakDuck,

Yeah, this setting is possible as your underlying desktop uses Wayland

warmaster,

Yup. Gamescope doesn’t work without Wayland.

bitwolf,

Bypass is maybe a poor choice of words. Both gamescope and Kwin are compositors so you can use one or the other.

An advantage of making gamescope is that they can add features like VRR or HDR without having to wayiting for KWin to implement it

ReakDuck,

I assume as this is a Gaming mode, its purpose is not to avoid waiting for features. But close the entire desktop which may use up to 1GB RAM and a by of CPU. Which definetly impacts the game by some fraction. Doesnt matter how tiny, its just what gaming modes are having as focus I assume.

The next thing I would never see on a desktop is FSR which gamescope has.

KarnaSubarna,
@KarnaSubarna@lemmy.ml avatar

If you are using Arch, it can be enabled (though it’s still experimental) [1]

[1] wiki.archlinux.org/title/Variable_refresh_rate#GN…

jodanlime,
@jodanlime@midwest.social avatar

Have you tried it? How is stability?

KarnaSubarna, (edited )
@KarnaSubarna@lemmy.ml avatar

My monitor is old, doesn’t support VRR 😕

aport, in GNOME Sees Progress On Variable Refresh Rate Setting, Adding Battery Charge Control

I find GNOME’s “must be perfect” approach to accepting new code counterintuitive.

One of the largest benefits of having a clean architecture is increased velocity and extensibility. What’s the point in nitpicking over perfection when it takes literally years to merge a feature, arguably one considered basic and essential by today’s standards?

KDE is on the other side of this pendulum, integrating everything and resulting in a disjointed, buggy disaster.

Where’s the middle way? It used to be XFCE. What is it now?

maness300,

KDE is very stable.

aport,

Lol

possiblylinux127,

Only on Debian Stable

KarnaSubarna,
@KarnaSubarna@lemmy.ml avatar

Quality control is important for a project that is going to be supported for long time, and used by many. Slow but steady is a right approach for open source project, IMO.

TheGrandNagus, (edited )

I definitely get what you mean, and sometimes agree, but tbh I’m glad Gnome is an option for those who want a DE that is uncompromisingly UX-focused and straight up won’t accept changes until they’re damn sure it’ll be production-ready.

And while they’ve been relatively slow in getting adaptive refresh working, they’ve been very quick with some other things. Idk why it took them this long to sort out the cursor occasionally becoming out of sync with displayed content’s refresh rate, but there must be a reason for it.

Gnome was at the forefront with Wayland, PulseAudio, they’ve been the biggest pusher of Portals, pretty much all of their GTK4 apps have been designed to also be compatible with mobile devices. Accessibility features on Gnome are also pretty great for a Linux DE.

As a general rule, I’d say their development process works well, despite there being the occasional holdup.

And while Plasma obviously isn’t nearly as bug-free as Gnome, it’s come a long way since the Plasma 4/early Plasma 5 days. I still don’t feel I can depend on it the same as I could for Gnome or Cinnamon (compositor crashes bringing down all open apps is a big issue in particular - and is finally due to be fixed in Plasma 6), but don’t underestimate their progress — since like 5.15/5.16 they’ve improved leaps and bounds.

And with 6 it looks like they’ve learned from the mistakes of 4 and 5’s launches.

badlilbean, in The 9 Smallest Linux Distros That Are Super Lightweight

I guess Damn Small Linux is discontinued

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