linux

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

shekau, in Vivaldi Is Available on Flathub – Brno Hat

I use Mull Browser from Mullvad as my primary browser, but before Mull Browser I’ve been using FF.

megrania, in Video editor for Linux?

For whatever reason, many of the editors mentioned here never worked for me … like OpenShot, ShotCut or PiTiVi were really unstable the last time I tried (might be a distro or DE thing). Also I found it hard to cut precisely when they worked. Lightworks, Da Vinci, Cinelerra, I had a hard time getting them to run. Maybe that changed in the meantime.

I ultimately stuck with Kdenlive, which is stable enough and allows for reasonably precise cutting.

d3Xt3r, in Intel or AMD for ffmpeg?

You can see the results for this here: openbenchmarking.org/…/x265&eval=3361398242e5…

luthis, in Easiest way to switch distros

How did you get on with this? I was looking to do this myself.

It’s that one step closer to having a customised disposable distro

nik282000, in Switching to Debian on my gaming pc
@nik282000@lemmy.ca avatar

Late to the thread but I would say yeah, Debian is good for gaming. The only place I have issued is with VR, otherwise it’s been smooth sailing for the past 3 years.

lemmyvore, in Switching to Debian on my gaming pc

Linux Mint Debian Edition (LMDE 6) might also be a good fit for you.

recarsion, (edited ) in My Experience Of Linux Gaming (Switching from Windows)

Assetto Corsa works? I haven’t managed to get it running at all yet (unlike ACC which works beautifully), did you do any tweak?

Ultimatenab,

I only launched the vanilla version but I haven’t installed connect manager and the near 200gb of as ones yet.

doctorn, in Switching to Debian on my gaming pc
@doctorn@r.nf avatar

Last time I tried this myself I could play a lot, but never the ones I wanted and ended up switching back anyway. Ever since I’ve just always been running a linux and a windows PC, each to its best use.

I must stress however this experience of mine was over a decade ago and I have heard there’s been a lot of improvement on the subject, with steamdeck becoming a thing and alike, so I have no up-to-date experience in what runs and what doesn’t anymore. What I cán tell you however is that whichever Windows-only game did play (using Wine back then, dunno how it’s done these days) always played at least 2-5x better than on the actual Windows it was made for. 😅

So good luck and I would love some information as to your eventual result!

possiblylinux127, in Video editor for Linux?

Kdenlive is what I used a while back when I was editing a video. You also can do it with ffmpeg from the command line if your a real chad

possiblylinux127, in Easiest way to switch distros

I’m pretty sure there’s a easier way. I don’t know what that way is but you likely don’t need Ansible

Contend6248, in Easiest way to switch distros

I LOVE how portable flatpaks are, other than some lines from fstab i just want to set the rest of the system new anyway.

Thank fuck i don’t use anything super complicated, so switching is a breeze for me.

thayer, (edited ) in Bluetooth dongle recommendation

It seems that BT 5.3 in USB format is a challenge to find, let alone support under Linux. If 5.0 is acceptable, the TP Link UB500 uses an RTL8761B chipset which has been supported since around kernel 5.16.

I have a few UB500 and UB400 adapters and both have worked OOTB without issue under Fedora.

Pantherina, in Easiest way to switch distros

I would try the Distro on an external SSD first maybe?

PopOS is way more modern that Mint, so you may have negative effects from switching

flashgnash, (edited ) in Easiest way to switch distros

If you want to automate your system install Nix is a good one to look at, nowadays when I use a new system/wipe an existing one I can just install NixOS drop my config, sign into the things that need signing into and go

Obviously doesn’t work as well if you’re trying other distros but you can still use it on them

Pantherina, in Privacy DNS Chooser Script v1.0 "Snow Breeze"

Cool project! Do you know Captive portals? Because there you need to use DHCP DNS a lot, and turn off dnssec and dot afaik

Baritone5371, (edited )

Hello! That's something that I should keep an eye on! When speaking about Captive Portals, I just assume everyone uses 4G/5G (which doesn't require these portals to be used) instead of open networks. My script already has DNSSEC disabled since it has caused some problems during testing. BTW, just a question : Are these portals very common? I haven't seen one since years now.

Pantherina,

In Germany every public wifi, train (ICE windows block cell internetand they are currently lasering small waves in them), hotels, cafes, private wifis even if you are a guest.

Because of “data protection” everyone needs to accept TOS so every network has them.

No idea where you live but cell data is often expensive.

I just use the MullvadVPN app, my systemd-resolved is plain and insecure and Mullvad does all the secure DNS stuff. Obviously sucks and is not scalable at all.

Systemd implementing a switch that could then be integrated into GUIs, like KDE6’s captive portal opener, is crucial. So for the portals you would make the DNS insecure, log in and secure it again. Best automatically.

progandy, (edited )

No need for a systemd switch. It should work with a dedicated “portal” browser that bypasses the global dns and has a built-in resolver using the dns from dhcp.

Pantherina, (edited )

Yes if that works for sure. Problem here is that GNOME and KDE use different webengines, so yay no standards. Firefox doesnt support that I think?

I use a seperate firefox profile with a shortcut like


<span style="color:#323232;">blabla desktop entry
</span><span style="color:#323232;">Name=Captive Portal
</span><span style="color:#323232;">Exec=mullvad-exclude firefox -P captive http://captive.kuketz.de
</span>

I wanted to do something with mullvad-exclude but that didnt work for some reason, as when excluding it I think it had no internet?

Baritone5371, (edited )

Ok. I will see that! If you have a GitHub account. You can make an issue right now, so tracking the issue would be better for me. Or I could do that myself.

Edit : I have made a prototype that I could release it soon as an alpha. When it gets released, your goal is to test in a place where captive portals are present. Sadly, the script won't be automatic but requires user interaction.

Edit 2 : it is now available as alpha on the releases page.

Pantherina,

Cool!

_s10e,

Have you looked into how existing software handles captive portals. I believe, both Ubuntu (or Gnome or Network-Manager) and Firefox do check for such portals and detect real internet access. (They simple poll some URL detectportal.vendor.com and check for the expected return code. Portals usually redirect.)

Now I’m thinking, what if this check could trigger a change to the DNS configuration. That is use DoT when internet is available, otherwise fall back to DHCP announced DNS

Pantherina,

That is neat! It is a specific response so it should work.


<span style="color:#323232;">#!/bin/bash
</span><span style="color:#323232;">
</span><span style="color:#323232;"># Function to set insecure DNS
</span><span style="color:#323232;">function insecure-dns() {
</span><span style="color:#323232;">  # Backup the original resolved.conf file
</span><span style="color:#323232;">  cp /etc/systemd/resolved.conf /etc/systemd/resolved.conf.bak
</span><span style="color:#323232;">
</span><span style="color:#323232;">  # Modify resolved.conf to disable custom DNS, DoT, and DNSSEC
</span><span style="color:#323232;">  sed -i 's/^DNS=.*/#DNS=/; s/^Domains=.*/#Domains=/; s/^DNSOverTLS=.*/#DNSOverTLS=/; s/^DNSSEC=.*/#DNSSEC=/' /etc/systemd/resolved.conf
</span><span style="color:#323232;">
</span><span style="color:#323232;">  # Restart systemd-resolved
</span><span style="color:#323232;">  systemctl restart systemd-resolved
</span><span style="color:#323232;">}
</span><span style="color:#323232;">
</span><span style="color:#323232;"># Function to set secure DNS
</span><span style="color:#323232;">function secure-dns() {
</span><span style="color:#323232;">  # Restore the original resolved.conf file
</span><span style="color:#323232;">  mv /etc/systemd/resolved.conf.bak /etc/systemd/resolved.conf
</span><span style="color:#323232;">
</span><span style="color:#323232;">  # Restart systemd-resolved
</span><span style="color:#323232;">  systemctl restart systemd-resolved
</span><span style="color:#323232;">}
</span><span style="color:#323232;">
</span><span style="color:#323232;">while true; do
</span><span style="color:#323232;">  response=$(curl -sI captive.test.com | head -n 1 | cut -d' ' -f2)
</span><span style="color:#323232;">
</span><span style="color:#323232;">  if [ "$response" == "200" ]; then
</span><span style="color:#323232;">    insecure-dns
</span><span style="color:#323232;">    xdg-open captive.test.com
</span><span style="color:#323232;">    sleep 30
</span><span style="color:#323232;">    # something to wait until window is closed, otherwise spam!
</span><span style="color:#323232;">  else
</span><span style="color:#323232;">    secure-dns
</span><span style="color:#323232;">  fi
</span><span style="color:#323232;">
</span><span style="color:#323232;">  sleep 5
</span><span style="color:#323232;">done
</span>

This should work. What would be needed is to track the process of the login and only continue when the window is closed again.

_s10e,

That was also my question. A broader question is how to access services on the local network that are announced through local DNS? Like your router’s web interface or any similar device.

Can you have split routing? Most queries go to our preferred DNSoverTLS endpoint, but some go to DNS53 on the local network.

This would also solve the captive portal if the host used to detect captive portals is always resolved locally.

Pantherina,

Yes I think you can exclude local IPs in systemd-resolved

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