Skip to content
Snippets Groups Projects
  1. Jun 26, 2014
  2. Jun 22, 2014
  3. Jun 16, 2014
    • Carl Simonson's avatar
      Use a reasonable step value for keyboard brightness · eec71db4
      Carl Simonson authored
      
      Some keyboard brightness controllers have different ranges for levels.
      Some have a few discreet values. Others are more like a percent. This
      change uses a step based on the maximum level. If less than 20, use 1.
      Else, divide by 20.
      
      This logic is the same as used in gnome-settings-daemon. It comes from
      the BRIGHTNESS_STEP_AMOUND macro in plugins/power/gpm-common.h.
      
      Signed-off-by: default avatarEric Koegel <eric.koegel@gmail.com>
      eec71db4
  4. Jun 06, 2014
  5. Jun 04, 2014
  6. Jun 03, 2014
    • Eric Koegel's avatar
      Add -DUPOWER_ENABLE_DEPRECATED to makefile (Bug 10931) · c0d9ea83
      Eric Koegel authored
      Xfpm requires the UPOWER_ENABLE_DEPRECATED symbol to be present
      for suspend/hibernate to still work on upower versions 0.9.8 thru
      0.9.23. Adding it for later versions of upower won't do anything,
      so there's no harm in just adding it.
      Thanks to Samuli Suominen for reporting and finding the correct
      fix for this.
      c0d9ea83
  7. Jun 02, 2014
  8. Jun 01, 2014
  9. May 31, 2014
  10. May 30, 2014
    • Eric Koegel's avatar
      Break dpms power loop · 35c1387b
      Eric Koegel authored
      dpms depended on power which depended on dpms which depended on
      power which ... Break this loop by making power tell dpms directly
      when it should be inhibited (presentation mode) and when it goes
      on/off battery. This fixes at least one known xfpm startup issue.
      35c1387b
  11. May 28, 2014
  12. May 27, 2014
  13. May 26, 2014
  14. May 23, 2014
  15. Apr 29, 2014
    • Eric Koegel's avatar
      Warn when no lock tool succeeded (Bug 6413) · 73ed5e36
      Eric Koegel authored
      This patch now pops up a dialog when locking the screen fails
      either from a lock on lid-close or when going to suspend. If from
      suspend it will allow the user to choose wether to continue with
      the suspend operation.
      73ed5e36
    • Eric Koegel's avatar
      Fix uninitialized pointer read · 61894403
      Eric Koegel authored
      The tip pointer could be used uninitialized when the device state
      is unknown. Also tooltips are now shown for all device types rather
      than just UPS and battery (i.e. for the mouse/keyboard icons). This
      should prevent some confustion over what the other icons represent.
      61894403
  16. Apr 28, 2014
  17. Apr 13, 2014
  18. Apr 08, 2014
    • Eric Koegel's avatar
      Use the online docs for help · 5add232a
      Eric Koegel authored
      Point to the online docs for xfpm's help. This also fixes it where
      the help button was causing the preferences dialog to quit. Now
      xfpm will also display the help page when plugged into the settings
      dialog. This patch removes the old local docs as well.
      5add232a
    • Eric Koegel's avatar
      Update xfce4-session lock-screen setting · bed10b80
      Eric Koegel authored
      When xfpm changes it's lock-screen setting, it will also attempt
      to update xfce4-session. Additionally, xfpm will watch session's
      lock-screen setting and update its own. This way there is one
      single setting for both programs in the future, however xfpm will
      continue to function stand-alone.
      bed10b80
    • Stefan Seyfried's avatar
      xfpm-battery: do not show an icon for HID devices · f8cbc326
      Stefan Seyfried authored
      
      my bluetooth mouse always shows up as a second battery which is not too
      useful -- ignore devices starting with "hid-"
      TODO: check if this affects UPSs.
      
      Signed-off-by: default avatarEric Koegel <eric.koegel@gmail.com>
      f8cbc326
    • Stefan Seyfried's avatar
      xfpm-power-info: add current percentage of batteries · 12a68385
      Stefan Seyfried authored
      
      a bluetooth mouse's battery might not have any Energy* properties (all
      zero), but a Percentage property, so it might be useful to show that.
      
      Signed-off-by: default avatarEric Koegel <eric.koegel@gmail.com>
      12a68385
    • Mikhail Efremov's avatar
    • Sonal Santan's avatar
      Add support for keyboard backlight control (Bug 10470) · 1d33e3eb
      Sonal Santan authored
      I have enhanced xfce4-power-manager to support backlit keyboard brightness
      control through keyboard brightness keys. It uses
      org.freedesktop.UPower.KbdBacklight interface for increasing or decreasing
      the keyboard backlight brightness and binds with keys
      XF86XK_KbdBrightnessUp and XF86XK_KbdBrightnessDown.
      
      This feature is useful when the firmware does not handle the keyboard
      brightness control automatically. For example MacBook Pro leaves it to the
      OS to control the keyboard brightness through special keys. With this
      change, I can light up the keyboard on MacBook Pro and control its
      brightness through the special keys.
      
      I have also tested this on Lenovo X1 Carbon where the keyboard brightness
      is automatically handled by the firmware and this enhancement steps aside
      without interfering.
      1d33e3eb
    • Eric Koegel's avatar
      Fix status icon for devices other than battery and ups (Bug 8188) · 30ce194f
      Eric Koegel authored
      xfpm_battery_refresh_icon incorrectly adds an additional dash to
      the icon prefix when the device is not a battery or a ups.
      
      Additionally, this patch correctly shows the icon when the device
      reports that it is charging.
      
      This patch only combines the patches submitted by
      Daniel Schubert and Dean Montgomery.
      30ce194f
Loading