51
37
submitted 5 days ago* (last edited 5 days ago) by wesker@lemmy.sdf.org to c/linux@lemmy.ml

There's no mpv community to share this to, so I figured the next best place was here.

I wrote a script that does two things:

  • Saves the watch_later file for the currently playing file every X seconds, if the file is not currently paused.
  • Saves a "watched" dummy file when the currently playing file exceeds a certain percentage of watch time.

Normally mpv saves the watch_later file for the currently playing file only if you gracefully quit. This isn't reliable enough for my tastes, so this timer makes better sure my last position is saved.

The second addition is purely for the benefit of additional scripting, inside or outside of mpv. The mpv-created watch_later files are intended to be impermanent, and I believe depending on settings are automatically removed once a file is played to 100%. I personally still want to keep track that I watched a specific video, even when the watch_later file is reset.

It probably goes without saying, but this script has only been tested in Linux.

52
54
submitted 5 days ago by corvus@lemmy.ml to c/linux@lemmy.ml

I'm having trouble to find a bluetooth dongle at least 3.0 that needs no propietary firmware. It's easy to find dongles advertised as linux compatible or users that claim that an specific brand works fine in linux, but the problem is that many of them are using propietary firmware without their users being aware because their distributions have already installed propietary drivers or firmwares, or ask users to install them and they just do it. I use debian main repository (without non-free software) in which I failed to make work a couple of linux compatible advertised dongles because debian ask me to install a propietary firmware. So if anyone knows for certain that some brand that needs no such a software in linux I'll apreciate your help.

53
14
submitted 4 days ago by Ezek@sopuli.xyz to c/linux@lemmy.ml

My parents are fed up with windows 11 slowing down their old HP desktop to near unusable levels. It is so bad that the right click menu can take up to 6 seconds to load. Anyway I created a free 900GB ext4 partition that I want to install to but how do I get the fedora KDE installer to detect that free space (sda6)?

54
47
submitted 5 days ago by that_leaflet@lemmy.world to c/linux@lemmy.ml
55
10
submitted 4 days ago by CkrnkFrnchMn@lemmy.ca to c/linux@lemmy.ml

Hey there, As per title while in Advanced mode prior the step "Install Base System" I cannot access the terminal. Instead, it goes straight to install.

It did work before...did I somehow corrupt the iso..?

56
41
submitted 5 days ago by that_leaflet@lemmy.world to c/linux@lemmy.ml
57
40
submitted 6 days ago by 52fighters@lemmy.sdf.org to c/linux@lemmy.ml

Solus is a stable rolling distro, making it somewhat special in the world of Linux. A new ISO just dropped.

58
82
submitted 6 days ago by petsoi@discuss.tchncs.de to c/linux@lemmy.ml
59
59
submitted 6 days ago* (last edited 6 days ago) by evasync@lemmy.world to c/linux@lemmy.ml

Im giving a go fedora silverblue on a new laptop but Im unable to boot (and since im a linux noob the first thing i tried was installing it fresh again but that didnt resolve it).

its a single drive partitioned to ext4 and encrypted with luks (its basically the default config from the fedora installation)

any ideas for things to try?

60
55
submitted 6 days ago by Aatube@kbin.melroy.org to c/linux@lemmy.ml

Ventoy is a tool to make a USB with multiple ISOs bootable, letting you select which ISO to use on boot. Another newly-created account claims to be the dev's friend and translator and has received no contact from the maintainer.

61
42
Blender Survey 2024 (www.blender.org)
submitted 6 days ago by JRepin@lemmy.ml to c/linux@lemmy.ml
62
19
submitted 6 days ago by Quail4789@lemmy.ml to c/linux@lemmy.ml

I noticed Debian does this by default and Arch wiki recommends is citing improved security and upstream.

I don't get why that's more secure. Is this assuming torrents might be infected and aims to limit what a virus may access to the dedicated user's home directory (/var/lib/transmission-daemon on Debian)?

63
26
submitted 6 days ago* (last edited 5 days ago) by HumanPerson@sh.itjust.works to c/linux@lemmy.ml

This happened at a very inopportune time so apologies for the text being a bit bad. background: framework laptop 13 with 7640 u running fedora 40. ran great for a few months. issue: played some games on battery power. battery health went from mid 90's to 43. i know playing on battery is bad for it but that is more what i'd expect if I took a hammer to it. what i've tried: rebooted, cleared upower history, removed 90% charge limit in bios then shut down and charged.

Any thoughts would be appreciated.

Edit: I ran it out of battery while on the bios screen then charged it to full before powering it on. Battery health is now showing 91%. I'll see if it lasts, but I'm glad I didn't just go out and buy a battery without troubleshooting first.

64
13
submitted 6 days ago by that_leaflet@lemmy.world to c/linux@lemmy.ml
65
4
submitted 6 days ago by that_leaflet@lemmy.world to c/linux@lemmy.ml
66
60
67
37
submitted 1 week ago by IanTwenty@lemmy.world to c/linux@lemmy.ml

Can anyone recommend a tool to manage photos at the cmdline? I just want to move photos into dirs based on their metadata (YYYY/DD), occasionally fix up metadata (adjust dates), rename photo filenames to match a template and/or query my photos for certain things. It doesn't need to be a gallery or image touch-up tool, I have other things for that.

I'm aware of exiftool and ImageMagick, perhaps they can do the job but they seem quite low level, really need to build scripts around them - I'd like something that operates at a slightly higher level so I don't have to do too much scripting.

A quick search turned up chee (GPLv3) which can:

  • search photos using a simple query language
  • manage named queries (called collections)
  • copy/symlink images into a custom folder structure

...but it's not had an update in a few years (maybe it's feature complete tho!) Any other suggestions? Thanks.

68
32
submitted 1 week ago* (last edited 6 days ago) by maliciousonion@lemmy.ml to c/linux@lemmy.ml

This laptop has one hard disk with two partitions. One of them has a bunch of data. I can't delete the data at all, dolphin(the file manager) gives a "not enough permissions error". When I try to delete stuff with rm it displays this:

rm: cannot remove 'filename': Read-only file system

What do I do?

EDIT: I backed up the data and reformatted the partition. This completely broke my install and fedora wouldn't open at all. I popped in a live USB, backed up some other stuff and I am reinstalling fedora right now (writing this from the live installer :P)

69
72
submitted 1 week ago* (last edited 1 week ago) by ColdWater@lemmy.ca to c/linux@lemmy.ml

Because I hate Electron

70
313
submitted 1 week ago by petsoi@discuss.tchncs.de to c/linux@lemmy.ml
71
74
submitted 1 week ago by LuuTuyen@lemmy.world to c/linux@lemmy.ml
72
32

I don't really understand how ostree works from a use standpoint. What I am looking to do is create a custom immutable Linux where I make a filesystem image and then devices can pull the image if I make changes upstream I'm looking for a way to update a local image.

So basically I'm wanting to create some sort of OStree repo. I know rpm-ostree exists but I want something that is more distro agnostic. (I want to use Debian and maybe gentoo as the base)

73
67
submitted 1 week ago by christos@lemmy.world to c/linux@lemmy.ml

cross-posted from: https://lemmy.world/post/20819143

https://gitlab.com/christosangel/animatrix

This program written in C will create some basic animation of ascii-art loaded from a txt file, while rendering the matrix effect in the terminal window.


video


74
461
submitted 1 week ago by that_leaflet@lemmy.world to c/linux@lemmy.ml
75
156
submitted 1 week ago by sirico@feddit.uk to c/linux@lemmy.ml

I don't run a lot of extensions on Gnome, but this one is a great way to add some customisation to the desktop.

view more: ‹ prev next ›

Linux

47795 readers
1004 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS