Thursday, August 08, 2019

How to get AirBnB to (really) delete your account (really).

  1. Email their data controller at dpo@airbnb.com asking them to delete your account attaching a scanned copy of some ID (I know, right!). If you are an EU citizen šŸ˜¢ they are obligated to delete your data under the GDPR's right to erasure.
  2. Er, that's it.
Deleting Your AirBnB Account - A Flow Chart

Sunday, May 26, 2019

systemd unit to start a browser/user process on network up

It took me far too long to get this script right. The gottchas:
  1. User units cannot reference or interact with system units.
  2. On my system at least I needed to specifically enable systemd-networkd-wait-online.service to have network-online.target work.
  3. To enable pulse audio from a system process you need to
    1. set XDG_RUNTIME_DIR, which
    2. needs uid, not user name.
[Unit]
Description=Start Firefox
Wants=network-online.target
After=network-online.target

[Service]
User=[USER]
Environment="DISPLAY=:0"
Environment="XAUTHORITY=/home/[USER]/.Xauthority"
Environment="XDG_RUNTIME_DIR=/run/user/[UID]"
ExecStart=/usr/bin/firefox

[Install]
WantedBy=multi-user.target



I haven't looked into using this unit as a template as I'm not sure how to translate the user name into uid for the XDG_RUNTIME_DIR variable. It's a real shame we can't run it as a user process else we'd be able to use %u and %U.