Xfce4: Difference between revisions
Add status section and re-format each section to be uniform with other UI pages |
Gave ideas to improve touch-friendliness their own section. Replaced photos of phones with running screenshots. Other light re-wording and punctuation. |
||
Line 17: | Line 17: | ||
== 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> | ||
sudo nano /etc/udev/rules.d/90-android-touch-dev.rules | sudo nano /etc/udev/rules.d/90-android-touch-dev.rules | ||
Line 30: | Line 30: | ||
</pre> | </pre> | ||
== | == Display Power Management == | ||
To control display from a terminal first set DISPLAY environment variable | To control display from a terminal, first set DISPLAY environment variable: | ||
<source lang="shell"> | <source lang="shell"> | ||
export DISPLAY=:0.0 | export DISPLAY=:0.0 | ||
</source> | </source> | ||
<B>xset</B> command can be used to turn diplay on and off or set a display timeout value | The <B>xset</B> command can be used to turn diplay on and off, or set a display timeout value. | ||
<source lang="shell"> | <source lang="shell"> | ||
xset dpms force off # To turn off display | xset dpms force off # To turn off display | ||
Line 43: | Line 43: | ||
</source> | </source> | ||
==Improving Touchscreen-Friendliness== | |||
[[File:Scrot4.png|thumb|200px|Example configuration with matchbox-keyboard running on [[Samsung_Galaxy_SII_(samsung-i9100)|Galaxy SII]]]] | |||
In <code>Window Manager</code> settings, changing the theme to <code>Default-hdpi</code> or <code>Default-xhdpi</code> will make window buttons and title bars larger. A font size of about 16 can work well with these themes. | |||
In <code>Panel</code> settings, increasing panel height, and setting panels to hide <code>Intelligently</code>, will make them easier to interact with, without losing effective screen real estate. | |||
This results in something like the right. The only obvious problem is the large, permanent, title bars. | |||
[[Category:Interface]] | [[Category:Interface]] |
Revision as of 22:24, 31 March 2018
![]() 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]
- Add
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"
Display Power Management
To control display from a terminal, first set DISPLAY environment variable:
export DISPLAY=:0.0
The 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
Improving Touchscreen-Friendliness

In Window Manager
settings, changing the theme to Default-hdpi
or Default-xhdpi
will make window buttons and title bars larger. A font size of about 16 can work well with these themes.
In Panel
settings, increasing panel height, and setting panels to hide Intelligently
, will make them easier to interact with, without losing effective screen real estate.
This results in something like the right. The only obvious problem is the large, permanent, title bars.