Attached is an alternative script which sends KEY_WLAN, which does trigger Airplane Mode, as expected.
** Attachment added: "wlan.py" https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1740894/+attachment/5030182/+files/wlan.py -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1740894 Title: KEY_RFKILL is not passed to userspace To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1740894/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs