Linux

5090 readers
57 users here now

A community for everything relating to the linux operating system

Also check out !linux_memes@programming.dev

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 1 year ago
MODERATORS
451
452
453
454
455
456
457
458
459
460
461
 
 

cross-posted from: https://discuss.tchncs.de/post/16975333

Hi everyone,

as I don't need to do extensive video manipulation but simple cutting/compression of videos as well as extraction from every "nth" video frame to save as picture. I've been using avidemux and VirtualDub in the past for this purpose. However, both avidemux and VirtualDub are last updated in 2012/2023 and thus not up-to-date anymore. Thus, I am now looking for a linux-ready, FOSS, and up-to-date solution to do the same. Shotcut, Kdenlive and OpenShot are much too extensive in features for the simple things that I am looking for it to do. Does anyone here have good recommenations?

Thanks for your help! Temperche

462
 
 

Sounds easy? Well, it should have been. I'm not talking about a "Hello, World!" (although it is more or less on the same level for me). The goal was to write a set of three MQTT clients that properly talk with each other and interact nicely.

So I had to learn Python and MQTT on the same day. Should not be an issue after 40 years of programming. But it quickly turned out that the Python library/package for MQTT on Ubuntu was heavily outdated (1.6), and did not supply all the functions the documentation and examples (2.0) asked for. Using pip3 didn't work, as it complained that the package structure was maintained by the OS. In the end, I had to virtualize the python3 system and pip3 the 2.0 package there and run it.

After about three hours, I had the clients working as they should. Yes, I think MQTT is a good base for the next project.

463
 
 

cross-posted from: https://lemmy.one/post/15446601

The video offers a practical example of using Ubuntu for web development, reminiscent of the Rails screencasts popular two decades ago. Back then, many software developers I met still believed the iBook G4 was primarily for desktop publishing, not software development.

464
 
 

Thunderbird is great, but very complex and possibly insecure and not private.

Threat model is an important key word here. Imagine you would write Mails over Tor/Tails only and need a secure Mail client.

(Btw I can recommend Carburetor Flatpak for that).

Because of this, the thunderbird hardening user.js, similar to the Arkenfox project exists.

But it is a bit too strict for most threat models. Also settings might change or break, and this has no automatic updating mechanism.

(I should upstream the updater)

The user.js is also just a template, so a ton of mostly not needed configs will stay there.

This project makes the setup of the hardening user.js easy.

Once setup, the script is placed in ~/.local/bin and a user systemd service runs it every once in a while.

You can comment out lines if you want to keep certain settings.

465
 
 

TL;DW

# find with grep
# + concatinates results and runs the command once, faster
find . -name "*.txt" -exec grep -l "somename" '{}' '+'

# run a command for each result individually
find . -name "*.txt" -exec basename '{}' \';' |  column

# case insensitive
find -iname "SoMeNaMe.TxT

# file or dir
find -type f
find -type d

# define file owner
find -user Bob

# define file group
find -group wheel

# by permission
find -perm 777

# find by size
find -size +1G
466
467
468
 
 

I just had extreme pain with this.

Apart from broken PDF tools, GIMP 2.99.x is already really nice. I recommend the Flatpak from flathub-beta.

The 2 big browsers dont seem to support arithmetic coded JPEG at least in PDF!

They will simply display blank pages!

Example PDF

Lets do a list

Tools that are broken

Linux

  • Firefox / Librewolf (RPM)
  • likely Chromium (see below)
  • Scrivano (Flatpak)
  • QPDF Tools (Flatpak) (and I suppose qpdf too)
  • Rescribe OCR (Flatpak)
  • JPEG2PDF (Flatpak, displays correctly but broken image pipe)
  • Arianna (Flatpak, not sure if supports PDF)
  • NightPDF (Electron/Chromium, Flatpak)

(I dont recommend that software but it works for that purpose. See my list of recommended Flatpak apps here)

Android

  • Mull (Firefox Android)
  • GrapheneOS PDF, Cuprum PDF, MJ PDF (Chromium Webview)
  • SavPDF (maybe also Webview)

Web

  • pdf24.org (webservice)
  • StirlingPDF (Docker/Podman container)

IOS

  • Safari PDF viewer (iOs 16.7.2)

Software that works

Linux, Flatpak (likely also native package)

  • KDE Okular
  • GNOME Evince (Document Viewer)
  • Inkscape
  • Libreoffice Draw
  • PDF Arranger (libqpdf 11.9.0, pikepdf 8.15.1)
  • Bookworm 1.1.2
  • KOReader
  • Sioyek
  • CorePDF
  • gImageReader

Android

  • muPDF
  • Collabora Office
  • KOReader, Librera, Orion Viewer (all dont support modern filesystem permissions)

Lets report some issues?

469
470
 
 

Change Proposal

Short: fwupd users download small but in total too much metadata over the internet. This is a beginning of something important, and the tech can be used for local updates and a lot more.

A solution for local distribution is needed. IPFS is too slow, Bittorrent is immediately suspicious on many Networks.

Passim is a new protocol for this purpose, users can opt out, it is secure and the metadata is hashed, and the hashes still downloaded over the internet for verification.

471
 
 

A while ago I was looking for a list of available Flatpak repositories but didnt find one, so I made my own.

Note that most developers put everything stable onto Flathub. But there are a ton of other remotes I found, most are for development, beta and nightly things, but there is also a Firefox ESR remote and more interesting stuff to find.

I want this list to be complete so if you know any more please open a PR or Issue!

(I used this list to include a few more tutorials like Flathub subsections)

472
 
 

I found the talk really interesting, especially how CentOS-Stream means SIGs can fork the hell out of it.

The Hyperscale SIG highly modifies it, by backporting tons of packages, shipping modern Kernel, systemd and more.

They also ship btrfs-kmod to use BTRFS like an out-of-tree driver on regular RHEL/CentOS.

They enable livepatching for the Kernel.

And a lot more!

PS: if you are looking for the official LTS Linux kernel, built for Fedora, CentOS & RHEL, check out this COPR

473
 
 

Current prerelease is 1.2.5

1.2.4 is the first to introduce experimental Wayland support. Especially on KDE Plasma there are supposed to be some issues.

Lets test!

Why?

Regular RDP/VNC programs are hard to use in real scenarios, as they rely on IP addresses. RustDesk is easier as it uses a Rendezvouz server that can also be selfhostet or reimplemented.

474
475
view more: ‹ prev next ›