Power Consumption on Suspend
#7
Wifi toggle:

Code:
#!/bin/bash
if [ "$(nmcli radio wifi)" == "enabled" ]
then
    notify-send -i /usr/share/icons/hicolor/scalable/actions/close-symbolic.svg "WIRELESS DISABLED" -t 2
    nmcli radio wifi off
else
    notify-send -i /usr/share/icons/HighContrast/scalable/status-extra/nm-signal-100.svg "WIRELESS ENABLED" -t 2
    nmcli radio wifi on
fi
exit 0

With Manjaro Phosh at least, notify-send has issues (gxmessage works better), but notify-send is just window dressing in this case, and xfce has its own notifications.

I run xfce on everything so I've learned to live with keystroking rather than touch-screening. I'm always amazed that it works so well. Just got box86 running so Word 97 and my favorite database program (HanDBase) are available, and I even use x-86 npopUK for my email since I can't stand geary and tbird is so slow. The x-86 programs can take a while to load, but once minimized, they consume very little cpu.

Good to know about Gnome3 success.
  Reply


Messages In This Thread
Power Consumption on Suspend - by JudgeFudge - 07-17-2023, 03:00 PM
RE: Power Consumption on Suspend - by JudgeFudge - 07-24-2023, 08:28 AM
RE: Power Consumption on Suspend - by jakfish - 07-25-2023, 01:52 PM
RE: Power Consumption on Suspend - by JudgeFudge - 07-26-2023, 06:31 AM
RE: Power Consumption on Suspend - by jakfish - 07-26-2023, 12:23 PM
RE: Power Consumption on Suspend - by JudgeFudge - 07-27-2023, 08:48 AM
RE: Power Consumption on Suspend - by jakfish - 07-28-2023, 08:55 AM
RE: Power Consumption on Suspend - by JudgeFudge - 07-29-2023, 06:24 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Mobian, Suspend, and Audio Playback biketool 0 450 12-11-2024, 12:56 AM
Last Post: biketool
  Suspend functionality broken? grump_fiddle_reinstall 4 689 12-05-2024, 08:03 PM
Last Post: Kevin Kofler
  Unable to wake up from suspend xavi92 6 3,597 07-28-2024, 02:48 PM
Last Post: dchang0
  Suspend on ram user641 2 1,572 09-25-2023, 01:44 PM
Last Post: user641
  System won't suspend due to suspention notification user641 6 3,319 09-24-2023, 05:47 AM
Last Post: user641
  Chatty does not work after suspend mode user641 4 3,351 07-18-2023, 10:43 AM
Last Post: alaraajavamma
  Screen stay black unless power key pressed short freelectro 0 1,071 06-24-2023, 01:55 PM
Last Post: freelectro
  suspend inhibit no longer working jsch 3 3,054 10-23-2022, 09:20 AM
Last Post: LibrePhoneUser
  Suspend broken on the pp user641 0 1,202 04-08-2022, 04:18 PM
Last Post: user641
  Screen/display gets switched on by itself / Phone wakes up from suspend Anna 5 5,675 01-04-2022, 01:24 PM
Last Post: pothos

Forum Jump:


Users browsing this thread: 1 Guest(s)