Results 1 to 4 of 4

Thread: Airplane Mode not persisting / deactivating itself after wake-from-sleep

  1. #1
    Join Date
    Sep 2013
    Beans
    85

    Exclamation Airplane Mode not persisting / deactivating itself after wake-from-sleep

    Hello ,


    noticed this undesired behaviour on my Thinkpad Laptop running 22.04 or 24.04 LTS <


    have WiFi disabled, and after disabling additionally Bluetooth, the #AirplaneMode gets activated<


    so far,so good.

    however, after resuming the laptop from sleep, every time Bluetooth is found activated, although prior to putting laptop to sleep , the Airplane Mode is active.


    Please provide a solution,
    thanks.

  2. #2
    Join Date
    Aug 2016
    Location
    Wandering
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Airplane Mode not persisting / deactivating itself after wake-from-sleep

    Please try:
    Code:
    systemctl disable bluetooth
    It should prompt you to enter your password

    Also you could try:
    Code:
     systemctl stop --now bluetooth
    That should persist through out your session

    EDIT After using my suggestions above, I needed to reboot to see the changes made.
    Code:
     systemctl status bluetooth 
    ○ bluetooth.service - Bluetooth service
         Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; disabled; prese>
         Active: inactive (dead)
           Docs: man:bluetoothd(8)
    I also have a script i use on Arch and it should work on Ubuntu as well.
    Code:
     #!/bin/bash
    wifi="$(nmcli r wifi | awk 'FNR = 2 {print $1}')"
    if [ "$wifi" == "enabled" ]; then
        rfkill block all &
        notify-send 'Mode avion: actif'
    else
        rfkill unblock all &
        notify-send 'Mode avion: inactif'
    fi
    Last edited by 1fallen; 2 Weeks Ago at 03:54 PM. Reason: add to
    With realization of one's own potential and self-confidence in one's ability, one can build a better world.
    Dalai Lama>>
    Code Tags | System-info | Forum Guide lines | Arch Linux, Debian Unstable, FreeBSD

  3. #3
    Join Date
    Sep 2013
    Beans
    85

    Re: Airplane Mode not persisting / deactivating itself after wake-from-sleep

    hello , i was hoping for a simple solution

    HTML Code:
    systemctl disable bluetooth
    Synchronizing state of bluetooth.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
    Executing: /usr/lib/systemd/systemd-sysv-install disable bluetooth
    update-rc.d: error: Permission denied
    thanks

    edit>
    HTML Code:
    rich@rich-ThinkPad-A475:~$  systemctl stop --now bluetooth
    yields no change.
    Last edited by csae2608; 1 Week Ago at 05:37 PM.

  4. #4
    Join Date
    Aug 2016
    Location
    Wandering
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Airplane Mode not persisting / deactivating itself after wake-from-sleep

    I filed a bug-report here: https://bugs.launchpad.net/ubuntu/+s...d/+bug/2064869

    Feel free to add yourself to it, helps with grabbing their attention
    With realization of one's own potential and self-confidence in one's ability, one can build a better world.
    Dalai Lama>>
    Code Tags | System-info | Forum Guide lines | Arch Linux, Debian Unstable, FreeBSD

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •