Need anyone to give me the default settings of Power Management

Hello guys,

I fucked up with my power manager settings while trying to disable the automatic screen lock while being on plug, but I fucked up with the settings.

Can anyone give me screenshots of his current default settings, so I can copy?

It’s really dumb I know, but thanks to anyone who will do it. System Tools > Power Manager

Not really Qubes OS specific.

(user@dom0 ~)$ sudo find / -name "*power-manager.xml*"
/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml.qubes
/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml.xfce4
/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml
/home/user/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml

If you remove the user config file, you will have the default values (need logout to take effect).

rm /home/user/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml

Xfce4 settings are managed by Xfconf-query.
https://docs.xfce.org/xfce/xfconf/xfconf-query
You could also use the -r, --reset and -R, --recursive options.

(user@dom0 ~)$ xfconf-query -h
Usage:
  xfconf-query [OPTION…] - Xfconf commandline utility

Help Options:
  -h, --help            Show help options

Application Options:
  -V, --version         Version information
  -c, --channel         The channel to query/modify
  -p, --property        The property to query/modify
  -s, --set             The new value to set for the property
  -l, --list            List properties (or channels if -c is not specified)
  -v, --verbose         Verbose output
  -n, --create          Create a new property if it does not already exist
  -t, --type            Specify the property value type
  -r, --reset           Reset property
  -R, --recursive       Recursive (use with -r)
  -a, --force-array     Force array even if only one element
  -T, --toggle          Invert an existing boolean property
  -m, --monitor         Monitor a channel for property changes
1 Like