Jump to content

Xfce4: Difference between revisions

From postmarketOS Wiki
Replace device-specific descriptions with generics, and link to UI's page
Add status section and re-format each section to be uniform with other UI pages
Line 1: Line 1:
Xfce4 is a GTK-based [[User-Interfaces|desktop environment]] aiming to be fast and lightweight.
{{Infobox interface
[[Image:I9100-xfce.jpeg|thumb|right|[[Samsung Galaxy SII (samsung-i9100)|i9100]] running XFCE]]
| image = File:I9100-xfce.jpeg
| imagecaption = [[Samsung_Galaxy_SII_(samsung-i9100)|Samsung Galaxy SII]] running XFCE
}}


=== Installation ===
Xfce4 is a GTK-based [[User-Interfaces|desktop environment]] aiming to be fast and lightweight.<br>
 
== Status ==
 
It works on most devices with a working display, and runs fine without hardware acceleration.
 
== Installation ==
* <code>pmbootstrap init</code>
* <code>pmbootstrap init</code>
* <code>User interface: xfce4</code>
* <code>User interface: xfce4</code>
Line 8: Line 16:
** Add <code>matchbox-keyboard</code> to get an on-screen keyboard [https://postmarketos.org/static/img/2017-12/xfce4-i9505.jpg]
** Add <code>matchbox-keyboard</code> to get an on-screen keyboard [https://postmarketos.org/static/img/2017-12/xfce4-i9505.jpg]


=== Calibrate the touchscreen ===
== Calibrate the touchscreen ==
If you rotate the screen change/add a value in this file:
If you rotate the screen change/add a value in this file:
<pre>
<pre>
Line 22: Line 30:
</pre>
</pre>


=== Controlling display power management ===
== Controlling display power management ==
To control display from a terminal first set DISPLAY environment variable like:
To control display from a terminal first set DISPLAY environment variable like:
<source lang="shell">
<source lang="shell">

Revision as of 17:47, 31 March 2018

Samsung Galaxy SII running XFCE
Samsung Galaxy SII running XFCE
In postmarketOS
Package postmarketos-ui-xfce4
Status Available

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

Status

It works on most devices with a working display, and runs fine without hardware acceleration.

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: