Linux

5385 readers
252 users here now

A community for everything relating to the linux operating system

Also check out [email protected]

Original icon base courtesy of [email protected] and The GIMP

founded 1 year ago
MODERATORS
526
 
 

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

527
 
 

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.

528
 
 

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.

529
 
 

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.

530
 
 

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
531
532
533
 
 

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?

534
535
 
 

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.

536
 
 

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)

537
 
 

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

538
 
 

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.

539
540
541
542
543
544
545
 
 

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

Repost from: https://libreddit.nl/r/linux_gaming/comments/1d8qi81/phoronix_birthday_20_years_of_great_linux_content/

He really seemed downbeat in his announcements regarding the birthday. He really puts a lot of work into the site but having a niche audience of tech literate users is probably the worst place to be with ad sales tanking as they do. If anybody is using adblockers, it's us and people are cheap.

I really hope the guy has a nice birthday and gets lots of love and donations. The phoronix content is always great and I've been a long time reader. (I've donated the same amount as OP - see my screenshot)

546
547
 
 

cross-posted from: https://kbin.run/m/[email protected]/t/471075

Members of openSUSE Project are excited about the launch of Leap 15.6 on June 12 and encourages people to host a Release Party.

If you don’t know how to do this, there is a list of steps below on how to have a successful release party.

If you’re interested in hosting your own Release Party, there’s a handy checklist to help you plan a successful event:

  • Find a Date: A weekend date is usually best, but flexibility is key. Find a common date that works for most people.
  • Find a Place: A café, bar, or Linux group meetup location works great. Whether you opt for a coffee and cake party or a beer and pizza gathering, the key is to have fun.
  • Cake: While not essential, a cake adds to the celebration. You can also bake openSUSE cookies.
  • Pictures: Capture the moment with photos or videos and share them on social media. Tag openSUSE on X, Facebook, Mastodon, BlueSky or more.

There is already a plan to have people to meet virtually in the openSUSE Bar for the launch June 12. The virtual release party will feature members of the release team and community members. Join sometime on June 12 as participants from various countries are encouraged to join and interact with the openSUSE community.

Some will celebration the event in Nuremberg. Certainly people at the openSUSE Conference will highlight the release during the BBQ/Release Party.

These launch parties provide a chance for the community to connect with the people behind the project and to show an appreciation for contributors who make the release of Leap 15.6 possible. It's an excellent opportunity for the community to gather, celebrate and discuss the new release after months of development.

Schedule your release party today on the wiki and have a lot of fun!

More Information about openSUSE:

Official

Fediverse

(Image made with DALL-E)

548
 
 

cross-posted from: https://programming.dev/post/15162087

so, about a month ago i stumbled upon the duckduckgo ai chat feature and wrote an article about how private their APIs are, and a few weeks after, a CLI client.

the thing is in a pretty mature stage now (its not like there is a lot of work to be done there tbh)

its not super private, but it is "private enough". the only thing duckduckgo has is your IP, which is usually not much unless you are on a residential connection with a dedicated IP

549
550
view more: ‹ prev next ›