• 274 Posts
  • 122 Comments
Joined 2 years ago
cake
Cake day: June 14th, 2023

help-circle


  • The ffmpeg from Flathub is a “runtime” package, intended to be used by other flatpak apps. It’s not meant for CLI use.

    Flatpak apps are not added to your $PATH. They’re run with flatpak run appID. Though again, ffmpeg is not an app so it cannot be run this way. Though technically you could use it for CLI use by doing something like flatpak run --command=sh org.mozilla.firefox. This will open a shell inside the flatpak environment, which can use the ffmpeg flatpak runtime.

    Though now that I think about it, it would be fun to create my own flatpak package for ffmpeg for CLI use. Should be pretty simple, it would just be a mostly empty package that relies on the ffmpeg-full flatpak runtime. Edit: and I did

    Screenshot of my ffmpeg flatpak

    The manifest is simply

    id: my.custom.ffmpeg
    runtime: org.freedesktop.Platform
    runtime-version: '24.08'
    sdk: org.freedesktop.Sdk
    add-extensions:
      org.freedesktop.Platform.ffmpeg-full:
        directory: lib/ffmpeg
        version: '24.08'
        add-ld-path: .
    command: ffmpeg
    modules:
      - name: ffmpeg-wrapper
        buildsystem: simple
        build-commands:
          - mkdir -p /app/lib/ffmpeg
          - install -Dm755 ffmpeg.sh /app/bin/ffmpeg
        sources:
          - type: script
            dest-filename: ffmpeg.sh
            commands:
              - /usr/bin/ffmpeg "$@"
    finish-args:
        - --filesystem=host
    








  • I’m not sure what you mean with the update tooling having some “clear separation of OS from these packages”, but maybe you want to try and expand on that a bit

    On FreeBSD and OpenBSD, OS upgrades are handled by the freebsd-update and syspatch commands respectively. User package installs are handled by the pkg and pkg_* commands respectively.

    The pkg tools do not touch the base OS. That also helps avoiding issues like uninstalling critical system packages and makes it easier to wipe the system to a “clean” state, undoing user modifications.

    It’s hard to succinctly describe the difference between BSD and Linux, but essentially, in BSD the OS is everything: kernel, tools, extensions…etc

    It also certainly helps that neither FreeBSD or OpenBSD comes with desktop environments by default. That muddies the water of what is an OS package and what is a user package. If desktop environments were treated as OS packages, then it would not be possible for the users to uninstall the DE apps.





  • I can’t understand this logic.

    Assume as stated that a website is a copyrighted and protected. Sure, that means I can’t redistribute it to others without permission or a license. But I can’t see how me locally, privately modifying the site would be against the law. Should Crayola be sued because their crayons can be used to modify a copyrighted art piece? Is it illegal for me to watch a movie with a blue-light filter on because it modifies how the content is displayed?





  • We have to wait and see if it’s really mediocre. Gnome Web certainly has performance issues, but those may be due to WebkitGTK.

    Orion is not using WebkitGTK, despite using GTK and Libadwaita. Their port may not have the same performance issues.

    And when I say performance issues, I don’t mean benchmarks. Gnome Web actually does pretty decent on benchmarks, but things like scrolling with a mouse just don’t feel smooth (but do with a trackpad).












  • Fedora Flatpaks are better in this regard. They are built entirely from Fedora rpms. When an rpm gets updated in the Fedora repos, rebuilding the flatpak will automatically pull in that updated rpm. And with flatpak’s deduplication feature, any reused vendored dependency should be perfectly deduplicated since the input is exactly the same (the rpm).

    The problem just is that the repo is small, it’s affected by Fedora’s risk-averseness (so no codecs), and people don’t like them.










  • TPM unlocking FDE is complicated for me. I fully understand measured boot and support it, but it seems less secure to me than manually unlocking the disk.

    Once the disk is unlocked and you’re put onto the display manager, I feel like there are many more vulnerabilities that could be exploited to gain access to your data.

    With manually entering the disk password, the data is locked. You either need to brute force it or use the XKCD wrench method.

    So I feel TPM+Pin is the best for security. Unfortunately Aeon, which is based on OpenSUSE and implements TPM, doesn’t support TPM+Pin. I think it’s mainly due to how poor and widespread TPM support is. It could lock you out entirely.


  • Leaflet@lemmy.worldtoLinux@lemmy.mlSlower with more power (Youtux)
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    2 months ago

    There’s still plenty of inefficiencies to criticize.

    • Electron apps bundle an entire browser dedicated just to running the app. That takes up storage space and requires loading multiple instances of electron in memory if you’re running multiple electronic apps. Would be better if these apps could all share the same dynamically linked Chromium instance to run. Web apps are a decent alternative, but can lack desktop integration.
    • Rise of interpreted languages like JavaScript, though this is mitigated by JIT compilation.