[-] boredsquirrel@slrpnk.net 4 points 2 hours ago

I love my phone for that.

Write it down, now!

[-] boredsquirrel@slrpnk.net 1 points 2 hours ago

Dont know it, possibly not supported on Jerboa.

Show me how?

[-] boredsquirrel@slrpnk.net 5 points 7 hours ago* (last edited 7 hours ago)

It supports more devices than GrapheneOS i.e. nonpixels. That is where I would totally use it.

my Pixel 4a still gets GrapheneOS updates, so that is a tie.

GrapheneOS is great at security, privacy but also reliability and good detection and de-hardening mechanisms. Like, if I want I can disable most of it and even run full Google Apps.

DivestOS has sandboxed microG though, which sounds interesting. Would love to use UnifiedNLP, as an avid contributor to OpenCellID through "TowerCollector". I still just use A-GPS which sucks battery like hot chocolate. Like, 1h navigation and my device is empty.

Stock Android and iOS have location always enabled and still manage over a day battery life!

The real solution would be a UnifiedNLP app, running without user privileges. But that doesnt exist, and sounds a bit complex to me.

81
[-] boredsquirrel@slrpnk.net 31 points 14 hours ago* (last edited 14 hours ago)

@petsoi@discuss.tchncs.de you might want to add that warning to the post.

They also tried to submit the app to Flathub, but had way too broad permissions with no explanation why. "Users expect filesystem access" etc. In the end it was rejected and they publish a .flatpak file themselves.

https://github.com/flathub/flathub/pull/5233

The other points are far worse though.

[-] boredsquirrel@slrpnk.net 3 points 2 days ago* (last edited 2 days ago)

Honestly as a guy with ADHD in a small company this really is a gift

I am also pretty hyper-social nowadays

[-] boredsquirrel@slrpnk.net 6 points 2 days ago

Plasma 6 got a ton better. Like remarkably.

Still some bugs though.

[-] boredsquirrel@slrpnk.net 3 points 2 days ago

I thought Bigscreen was abandoned?

[-] boredsquirrel@slrpnk.net 3 points 3 days ago

I guess uBlues main images are. I use Fedora Atomic Kinoite, which is not ready at all.

[-] boredsquirrel@slrpnk.net 5 points 3 days ago* (last edited 3 days ago)

It has pros and cons. You fully trust the developer and also most often Github. For a reasonable experience you need a Github account and Token to avoid a fast rate limit.

Also, F-Droid is a really simple application, which doesnt support a lot of things, reducing attack surface a lot.

I use Obtainium and get most apps from releases, some from F-Droid. I would say, if it isnt known, prefer F-Droid.

[-] boredsquirrel@slrpnk.net 29 points 5 days ago

Wtf is that screenshot

32
submitted 1 week ago* (last edited 1 week ago) by boredsquirrel@slrpnk.net to c/linux@programming.dev

Should be a very common issue

KeepassDX + KeepassXC, Android to Linux.

Synced with Syncthing.

I do a change on the password manager on one device and on another, Android killed Syncthing again so now I have 2 files, one called "sync conflict".

Both files have some new change, I need to keep both.

When using the import feature in KeepassXC, I think everything is duplicated. This would be the best place to do this.

Any idea how to merge them or at least show the diffs?

Displaying all entries, without folders, sorted by date, could also already help.

kinda-solution

In KeepassXC, bottom left, "all entries". Alternatively, search for "*".

Then sort by date.

This helps to compare the most recent changes, and copy them over to the want-to-keep version of the file.

12
submitted 1 week ago* (last edited 1 week ago) by boredsquirrel@slrpnk.net to c/linux@programming.dev

This is a combo of 2 tricks.

Based off this german guide, a bit outdated and not suited for the Flatpak

Goal

a signature like

Firstname Lastname
Role
_____
<fancy logo>
Company name
Contact info including website and mail

This is probably really easy in Outlook, and kinda linux-y (bundling together parts that only make sense if you are a programmer) on Thunderbird.

1. The Sandbox

When attaching an image, Thunderbird Flatpak needs to have permanent access to that location.

By default it uses portals, so if you use "attach image" it will use some /run/doc/... folder that is gone after restarting the app.

For some reason, using the KDE Plasma Flatpak settings or Flatseal, granting the app access to a certain location, doesnt work, even if you use the real location of the image.

So instead:

  1. Create a directory in the internal Flatpak's folder

mkdir ~/.var/app/org.mozilla.thunderbird/SIGNATURE

  1. Copy the attachment image there (company logo etc.)
  2. Copy the path to the image (for example in KDE Dolphin, no idea about GNOME)

2. The HTML Signature

Just write a new mail (Ctrl+N) and write exactly your signature in there.

You dont need the

--

As that is automatically inserted below the last line.

Add the picture, but replace the path with the real path, not the /run/doc/... one of the portal.

Then the image is inserted, you can resize it.

Now instead of sending, in the menu under "File" use "Save to..." and instead of .eml use .html.

If you want to add a clickable mail address, in the mail compose toolbar, behind the "picture icon" there is a menu, select the "link" icon.

You can add a normal http/https link there. But using mailto:name@server.com you can make it a clickable mail link!

(Whoever needs that in a mail)

3. Sandbox again.

Save that file to the same ~/.var/app/org.mozilla.thunderbird/SIGNATURE folder.

4. Account settings

Navigate to these settings, in the first page of your account, instead of writing your signature, use "use HTML file".

Select the file or paste the exact ~/.var/app/... location in there, again, dont use the portal.


Done!

Once figured out it makes sense. That directory in the Flatpaks storage will not be deleted or interrupt anything. So this is a clean way.

flatpak remove --delete-data thunderbird would purge that entire folder and all it's contents.

34

!kaufempfehlungen@feddit.org

15
submitted 1 week ago* (last edited 1 week ago) by boredsquirrel@slrpnk.net to c/linux@programming.dev

Using "rum" and a custom version by "ElementalWarrior" of WINE, compiled yourself.

Should also work in a Distrobox container

21
85
127
submitted 2 weeks ago* (last edited 2 weeks ago) by boredsquirrel@slrpnk.net to c/linux@programming.dev

I dont even know how to summarize that machine 😄

It is absolutely awesome.

Turris is a company by the czech TLD registrar CZ.NIC, which is ran as a nonprofit and invests a ton in open source network software.

The Origin

This talk summarizes it well:

https://www.youtube.com/watch?v=cB5OG_V3aSE

They wanted to build a device to analyze hacking attacks on the people in Czechia.

The device should be as close to the network as possible (i.e. a router) and have compelling and understandable hardware that could be upgraded over time.

So... they made a router. Originally using PowerPC, now on ARMv7 (poorly only their mobile MOX already is on ARMv8).

Where to get it

Originally they gave the devices away for free, under the agreement that the users contributed the Sentinel analysis data.

Then they opened an indiegogo campain, which far exceeded their expected amount of funding.

Afterwards they had their own webshop, which is now discontinued.

Instead, these stores are available:

Note: they sent me an additional Tshirt, ethernet cable and tube scarf, which is... interesting, but could be considered waste.

Tbh, I use the tube scarf daily :D

Poorly they didnt add any stickers!

Also, they dont have a good system to determine the recipient country, so I have an additional power supply cable for another country.

They also included a wall mount, with a set of perfectly fitting, longer screws.

All screws have regular phillips heads.

Software

They took OpenWRT, but extended it a ton. As they have 8GB of storage and 2GB of RAM, they can do stuff way above the minimum hardware requirements of OpenWRT.

They have a graphical package manager in the WebUI, and use BTRFS snapshots for atomic updates. Which is totally cool!

That was over 10 years ago and the first router they made is still supported with updates.

Hardware

The data sheet can be obtained here.

The "Omnia Wifi6" I got uses a bit outdated hardware, similar to my Thinkpad T430. They will very likelybswitch to m.2 slots and ARMv8, so you may want to wait for such a revised model.

The current Omnia has 3 mini-PCIe Slots, 2 USB-3 ports and a ton of pins accessible from the inside.

Picture of a disassembled Omnia Router

  • The left one supports USB, and below you can plug in a SIM card and use an 3G/4G/5G card. With an additional package, this can be used to automatically fallback to cell network, when the regular connection fails.
  • The middle one is just mini-PCIe
  • The right one supports mSATA so with a simple adapter you can use SATA SSDs for near-native speed. (I want to do that, but it may need an additional power supply)

Article picture of a mSATA to SATA adapter

And, of couse in the front it has fancy RGB LEDs. They are used as indicators for the running state, and for the action you do by pressing the "Reset" button.

In the back it has 4 ethernet sockets, 1 WAN ethernet socket to connect to the internet, one SFP socket for a fiber connection, a multi-purpose button and a power socket.

The button in combo with the LEDs is used for various things like reboot, reset, update, update from local file, update from internet.

Setup

To set it up, connect it to power and with one of the LAN (not WAN) sockets to a Laptop, using ethernet.

Right, before setup it doesnt open a wireless connection! This was confusing for me but really make sense.

In the browser enter http://192.168.1.1 and a very nice graphical WebUI guides you through the setup.

If you use it over LAN, accept the self-signed TLS certificate in your browser, then HTTPS should work.

Applications

It runs a highly extended variant of OpenWRT. There is a huge amount of software. It varies from preinstalled installable through packages, from Foris WebUI integrated to advanced, requiring the normal OpenWRT LuCI or requiring configuration through the terminal.

An incomplete and chaotic overview:

  • file server: SMB, DLNA, encrypted storage, mdadm
  • Transmission bittorrent client
  • OpenVPN server & client
  • Wireguard (advanced)
  • Nextcloud, Syncthing (both have acessible login pages from the main WebUI)
  • Tor
  • Adblock
  • Dynamic firewall
  • haas: honeypot as a service (needs a public forwarded IPv4 address)
  • Turris Sentinel: security data collection service, analyze incoming threats (the use they originally intended)
  • Librespeed: lightweight network speed test
  • support for LXC containers to run your favourite Linux distro
  • schnapps to manipulate BTRFS snapshots
  • LAN monitoring with PaKon and Morce

NOTE: the data collection service "Sentinel" is opt-in and disabled by default.

DNS

The DNS Server is not set, I used nic.cz with DNSSEC, other providers like Cloudflare and Quad9 are also available, just like manual setup.

DNSSEC works with a single button press, without any issues!

Configuration

You can configure things with a config file, that you insert over a USB stick.

Storage

You can plug in an external drive (USB of course, but I want to try mSATA to SATA) and it formats it and moves all data on there.

It sets up different RAID systems, I dont know if encryption is supported.

So, you have over 7 different ways to host a fileserver on there, up to a full instance of Nextcloud. This is crazy!

Wifi Routing

You can open 2 Wifis (no idea how that works) and each can also have a separated Guest network.

Security:

  • By default, WPA3 with WPA2 fallback is used. I changed it to WPA3-only, as WPA2 is vulnerable to attacks (see this video on how to sniff passwords with Kali Linux, which requires a custom kernel driver)
  • 2 Guest networks possible, I highly recommend to use those for everyone apart from Admins
  • VLANs are also supported, and need to be enabled.
  • Reminder: before first configuration, no Wifi is enabled. There is no initial password set.
  • you can have different passwords for the admin WebUI and ssh.

The reach is great, but roughly equal to the modern Fritzbox we already have, which only has a single, hidden antenna.

The time to connect to the Wifi is a bit longer than at the FritzBox.

Community & Support

Their code is all hosted on the CZ.NIC Gitlab.

The Turris team can be contacted via email and they respond pretty quickly.

The same contact is used for repairs.

They also have a Discourse Forum for a long time, where people can exchange bugs, issues, software and hardware mods, adapters etc.

Other fun stuff

The founder of Turris has a Blog

51

https://spirallinux.github.io/

BTRFS, GUI Flatpak manager, Theming, nonfree codecs etc., printer support, timeshift preconfigured

Their goal is to make vanilla debian usable, with only debian tech. It is just a config, no "small distro dies and users need to switch"

Might not be the most secure (loose printer configs, preinstalled drivers for random stuff that is not normally a problem)

15

I got a Turris Omnia Router, which I want to use as a NAS.

I also really like SATA SSDs, they are abundant (I have too many), never overheat (take that, NVME crap) etc.

The router is pretty tight, a SATA SSD fits in, but I need a cable to have the adapter 90° and a bit upwards.

Now I wonder, what adapter do I need? On AliExpress I find one with 1 or 2 SATA connections, 1 is probably best for sanity and reliability.

This one looks more sketchy, as it has 2 SATA sockets.

6
submitted 2 weeks ago* (last edited 2 weeks ago) by boredsquirrel@slrpnk.net to c/linux@programming.dev

Additionally:

  • a ton of ISO downloads, ARM and RISC-V support
  • Local AI integration for detecting images, searching through docs, finding stuff and writing emails.
  • Wayland support.
  • A new UI which is a mix of MacOS, Windows 11 and KDE Plasma.
  • Atomic updates.
  • A new containerized package format (linglong) competing with Flatpak, with some improvements over it.
13
view more: next ›

boredsquirrel

joined 4 months ago