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/1722034/+attachment/5030178/+files/wlan.py -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/1722034 Title: org.gnome.Shell.desktop[2331]: Window manager warning: "XF86RFKill" is not a valid accelerator To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1722034/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs