You are not logged in.
Kernel: 3.12.13-1-MANJARO i686 (32 bit) Desktop: Xfce 4.11.3 X.Org: 1.14.5
Is it possible to edit the right click battery icon menu in the notification area so it would only contain "Normal" and "Presentation", to hide "Close program","About","Help","Suspend" and the other options? It is for my parents who have no experience even with m$windows and I want to make it simple for them, right click on battery icon and left click "Normal" or "Presentation".
Last edited by sh4tr (2014-03-20 18:26:04)
Offline
I don't think you can, its hard-coded.
However, if all you need is to control the mode (I'm assuming you want to temporarily disable all DPMS and screen blanking), then you can fully hide the battery icon (Preferences -> System Tray Icon = "Never Show Icon") and use another method to temporarily disable screen blanking (maybe a launcher toggle?). More info on this can be found at the Display Power Management Signaling Arch wiki article.
Last edited by ToZ (2014-03-20 13:33:21)
Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Yes, I have disabled screen saver blanking and want to temporarily disable dpms sometimes. The battery icon is not needed and can bring confusion or complications since it offers easy access to configuration options which would be best to remain hidden. But I did not find any other way to switch power modes except from it. Is a launcher toggle possible?
Offline
You can use a script like this one:
#!/bin/bash
# DPMS/blanking toggle
# Requires: libnotify gnome-icon-theme
STATUS=$(xset -q | grep DPMS | cut -d' ' -f5 | tail -n1)
if [ "$STATUS" == "Enabled" ]; then
xset -dpms
xset s off
notify-send "DPMS Status" -i non-starred "Disabled"
else
xset +dpms
xset s on
notify-send "DPMS Status" -i starred "Enabled"
fi
Save it somewhere, make it executable and add it as a launcher. It will toggle the dpms and s states and send out a notification when clicked.
Note: This assumes that "xset -dpms; xset s off" in fact disables screen blanking/dpms for you.
Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Thank you very much.
Offline
[ Generated in 0.011 seconds, 7 queries executed - Memory usage: 546.5 KiB (Peak: 547.34 KiB) ]