Skip to content

xfce4-phone: further improvements

Administrator requested to merge xfce4-improvements_phone into master

Changes:

  • Replace "Battery Monitor" by "Power Manager Plugin" (pmaports#1317)
  • Fix the lower panel
  • Change clock format from "1:23" to "01:23"
  • Make font DPI changable for device package post-install scripts (pmaports#293)
  • Reset list of keyboard shortcuts to default
  • Remove brightness-switch properties from configs

Details on the changes:

The "Power Manager Plugin" offers more options than "Battery Monitor", let's replace it (pmaports#1317).

The lower panel currently has a "squeezed" size. When changing the size in the settings, it "jumps" to the correct size. This is because no size is defined yet in the configs. The MR assigns a size rightaway.

Additionally, the first three launchers had a wrong content in the config and therefore appeared as empty lauchers. It is now set to the same lauchers as in original Xfce4 (https://gitlab.xfce.org/xfce/xfce4-panel/-/blob/xfce-4.16/migrate/default.xml.in). With one exception: The terminal launcher starts in maximized mode. On phones this is more convenient.

The clock format "01:23", having a fixed length, seems more appropriate then "1:23" when embedded in the panel surrounded by icons.

Implementing the font DPI in the configs does not change anything actually. However, having the value in the configs allows it to be overwritten by device packages post-install scripts. That way devices with high resolution screens can be assigned a larger text representation on Xfce4 installation (pmaports#293).

The list of keyboard shortcuts in Settings -> Keyboards -> Application Shortcuts was quite reduced. When hitting the "Reset to Default" button, it became much bigger. Let's set it to the defaults at installation. Same for the keyboard shortcuts of the windows manager.

Concering the brightness-switch properties, the value "-1" for brightness-switch-restore-on-exit seemed wrong. However, it's better not to speficy this in the configs, that way the defaults will be used.

Merge request reports

Loading