Automate Nextcloud account settings

Quick note: occ user:add –display-name=”Foo Bar” –generate-password someuser4occ user:auth-tokens:add -n someuser4This shows something like:lDY7D3nsaZzzQVg8nvs45xwdSPhIIZDzI8QFL2vs7XI6PrpbvZJ15cJyqBCbEQL4sZDGTS9c Add this app password to the kdewallet under Nextcloud:passwords: someuser4:https://nextcloud.example.com/:0 As a cli command, this means: echo lDY7D3nsaZzzQVg8nvs45xwdSPhIIZDzI8QFL2vs7XI6PrpbvZJ15cJyqBCbEQL4sZDGTS9c | kwallet-query -f Nextcloud -w ‘someuser4:https://nextcloud.example.com/:0’ kdewallet Now add a config to ~/.local/Nextcloud/nextcloud.cfg that includes someuser4 as username.

Publish a Thunderbird Calendar in Nextcloud

I have a calendar in Nextcloud that I want to publish. Let’s call it Party. I want this to be a public link and have a readable name. I want it to be read-only. Sharing it directly from within the Calendar app in Nextcloud will unfortunately give users opportunity to use the caldav entity of…

rtf-body.rtf?

While recently getting a rather large mail archive to search through, in PST-format (obviously) some of the mail boxes contained e-mails that had “rtf-body.rtf” for body text. Yeah, Microsoft really likes Linux.

Automatically convert .msg → .eml

Too many folks these days rely on some sort of Cloud hosted e-mail through one of the Big Five. Mail files are thus no longer .eml files, but .msg – a Microsoft Outlook proprietary format. Irony has it, that you will share your mail with 766 (or so) external partners by using Outlook – but…

HomeAssistant network MTU

I’m running HomeAssistant on a virtual PC, HAOS and all, but I’m using a tunnel that doesn’t have a 1500 bytes ethernet MTU. How to change the MTU?

how to export keys; trusted.gpg DEPRECIATION

If you are getting a “Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details” message, this post is for you. Export existing keys to keep using them.