Jump to content

Xfce4

From postmarketOS Wiki
Revision as of 17:24, 31 March 2018 by Sagethesagesage (talk | contribs) (Replace device-specific descriptions with generics, and link to UI's page)

Xfce4 is a GTK-based desktop environment aiming to be fast and lightweight.

i9100 running XFCE

Installation

  • pmbootstrap init
  • User interface: xfce4
  • Extra packages: xf86-video-vesa mesa-egl
    • Add matchbox-keyboard to get an on-screen keyboard [1]

Calibrate the touchscreen

If you rotate the screen change/add a value in this file:

sudo nano /etc/udev/rules.d/90-android-touch-dev.rules
ENV{ID_INPUT}="1", ENV{ID_INPUT_TOUCHSCREEN}="1", \
# default			ENV{LIBINPUT_CALIBRATION_MATRIX}="1 0 0 0 1 0"
# Left - 90 degree clockwise	ENV{LIBINPUT_CALIBRATION_MATRIX}="0 -1 1 1 0 0"
# 180 degree clockwise		ENV{LIBINPUT_CALIBRATION_MATRIX}="-1 0 1 0 -1 1"
# Right - 270 degree clockwise	ENV{LIBINPUT_CALIBRATION_MATRIX}="0 1 0 -1 0 1"
# reflect along y axis		ENV{LIBINPUT_CALIBRATION_MATRIX}="-1 0 1 1 0 0"

Controlling display power management

To control display from a terminal first set DISPLAY environment variable like:

export DISPLAY=:0.0

xset command can be used to turn diplay on and off or set a display timeout value

xset dpms force off    # To turn off display
xset dpms force on     # To turn the display back on
xset q                 # Prints current display status info

applications| settings| windowmanager Default-xhdpi Font ... 16?

settings|panels, panel1, hide panel inteligently, 53 pixels. settings|panels, panel2, hide panel inteligently.

With configuration above, you get this. Only obvious problem is waste of space at top of the screen.

Simple status window without decorations can be put there. Plan is to display battery / signal status there: