Difference between revisions of "Lubuntu desktop"

From FriendlyELEC WiKi
Jump to: navigation, search
(updated by API)
 
(7 intermediate revisions by 2 users not shown)
Line 6: Line 6:
 
[[File:Lubuntu-video.png|thumb|Website]]
 
[[File:Lubuntu-video.png|thumb|Website]]
  
'''LUbuntu''' 是一个轻量级的Ubuntu桌面环境,其底层基于LXDE桌面构建,具有如下特点:<br />
+
'''LUbuntu''' is a light-weighted Ubuntu desktop system based on LXDE. It has the following features:<br />
&nbsp;&nbsp;&nbsp;&nbsp;'''轻巧''' - 只需要很少的CPU资源即可执行顺畅,而且当内存容量充足时表现特别出色。<br />
+
&nbsp;&nbsp;&nbsp;&nbsp;'''Light-weighted''' - it consumes relatively less CPU resources than a common desktop system. When a system's RAM is sufficient it can achieve much better performance.<br />
&nbsp;&nbsp;&nbsp;&nbsp;'''省能源''' - 它比其他常见的系统需要较少的资源运行相同的工作。<br />
+
&nbsp;&nbsp;&nbsp;&nbsp;'''Less power consumption''' - it consumes relatively less power or resources than a common desktop system to achieve the same performance.<br />
&nbsp;&nbsp;&nbsp;&nbsp;'''简朴美''' - 借由GTK+ 2,它拥有美观、支持国际化的用户界面。<br />
+
&nbsp;&nbsp;&nbsp;&nbsp;'''Compact & neat''' - its desktop is based on GTK+ 2 and supports multiple languages.<br />
&nbsp;&nbsp;&nbsp;&nbsp;'''使用简单''' - 提供用户如微软Windows般的应用程序列表。<br />
+
&nbsp;&nbsp;&nbsp;&nbsp;'''Easy to use''' - its GUI looks similar to MS Windows'.<br />
&nbsp;&nbsp;&nbsp;&nbsp;'''可自定义性''' - 用户可以轻易自定义LXDE的外观。<br />
+
&nbsp;&nbsp;&nbsp;&nbsp;'''Customizable''' - Users can customize LXDE's GUI.<br />
&nbsp;&nbsp;&nbsp;&nbsp;'''兼容标准''' - 兼容于freedesktop.org标准。<br />
+
&nbsp;&nbsp;&nbsp;&nbsp;'''Compatible''' - it is compatible with freedesktop.org.<br />
用于友善电子S5P4418、S5P6818平台的Lubuntu Desktop已经最佳化了对Mali400的支持,系统中已集成X.org驱动,支持Hardware Cursor、OpenGL图形加速等。<br />
+
The Lubuntu Desktop released for FriendlyElec's S5P4418 and S5P6818 based boards has been optimized for adopting Mali400. It has driver support for X.org and supports Hardware Cursor, OpenGL acceleration and etc.<br />
  
 
===Applicable Platforms & Main Features===
 
===Applicable Platforms & Main Features===
Line 89: Line 89:
 
Save and reboot your board or start the lightdm service to make your change effective.
 
Save and reboot your board or start the lightdm service to make your change effective.
  
==Update Log==
+
===Chromium web browser ===
===Dec-19-2017===
+
Chromium web browser has enabled hardware acceleration by default, supports WebGL, and can view hardware acceleration details by entering the URL chrome://gpu, as shown below:<br />
* Released English Version
+
[[File:Chromium-gpu.png|frameless|400px]]
 +
 
 +
===Select the default audio device ===
 +
To output audio to a 3.5mm jack, or HDMI, modify the configuration file /etc/asound.conf to do this. Here are the settings for output to HDMI:
 +
<syntaxhighlight lang="bash">
 +
defaults.pcm.card 0
 +
defaults.pcm.device 1
 +
</syntaxhighlight>
 +
If you want to output to the 3.5mm jack, set defaults.pcm.device to 0.
 +
 
 +
===Cancel automatic login ===
 +
Edit the file /usr/share/lightdm/lightdm.conf.d/20-lubuntu.conf and delete the line "autologin-user=pi"
 +
 
 +
===Screen saver and auto sleep related settings ===
 +
The screen saver configuration file is /etc/xdg/autostart/xset_command.desktop. The default factory settings are that the screen saver and DPMS are both closed. You can change the configuration by modifying this file.

Latest revision as of 06:11, 29 March 2019

查看中文

1 Introduction

Arduino
Website
Website

LUbuntu is a light-weighted Ubuntu desktop system based on LXDE. It has the following features:
    Light-weighted - it consumes relatively less CPU resources than a common desktop system. When a system's RAM is sufficient it can achieve much better performance.
    Less power consumption - it consumes relatively less power or resources than a common desktop system to achieve the same performance.
    Compact & neat - its desktop is based on GTK+ 2 and supports multiple languages.
    Easy to use - its GUI looks similar to MS Windows'.
    Customizable - Users can customize LXDE's GUI.
    Compatible - it is compatible with freedesktop.org.
The Lubuntu Desktop released for FriendlyElec's S5P4418 and S5P6818 based boards has been optimized for adopting Mali400. It has driver support for X.org and supports Hardware Cursor, OpenGL acceleration and etc.

2 Applicable Platforms & Main Features

CPU OpenGL ES Hardware accelerated video decoding Kernel Version
S5P4418 Yes gstreamer 1.0 4.x
S5P6818 Yes gstreamer 1.0 4.x
Allwinner H3 Yes ffmpeg 3.x

3 FriendlyCore User Account

Regular User Account:

   User Name: pi
   Password: pi

Root:

   User Name: root
   Password: fa

4 Work with OpenGL ES

Open a command line utility and run the following command:

glmark2-es2

Lubuntu-opengles.png

5 Work with USB Camera

Connect a USB camera e.g. Logitech C270 to a board, open the "Other" menu, start the xawtv application you will be able to review with your camera.

6 Rotate Display under Lubuntu Desktop

Firstly remove the "armsoc" configuration file:

sudo rm -f /usr/share/X11/xorg.conf.d/20-armsoc.conf

Create a new file "/etc/X11/xorg.conf":

sudo vi /etc/X11/xorg.conf

Here is the content of a typical xorg.conf file:

Section "Monitor"
    Identifier          "Primary"
    VendorName          "FriendlyARM"
EndSection
 
Section "Device"
    Identifier          "Primary"
    Driver              "fbdev"
    Option              "fbdev" "/dev/fb0"
    Option              "Rotate" "CW"
EndSection

The configuration file sets display to rotate 90 degrees. The rotation angle is defined by "Rotate" which can be set to one of the following values:
CW Rotate 90 degrees
UD Rotate 180 degrees
CCW Rotate 270 degrees
Save and reboot your board or start the lightdm service to make your change effective.

7 Chromium web browser

Chromium web browser has enabled hardware acceleration by default, supports WebGL, and can view hardware acceleration details by entering the URL chrome://gpu, as shown below:
Chromium-gpu.png

8 Select the default audio device

To output audio to a 3.5mm jack, or HDMI, modify the configuration file /etc/asound.conf to do this. Here are the settings for output to HDMI:

defaults.pcm.card 0
defaults.pcm.device 1

If you want to output to the 3.5mm jack, set defaults.pcm.device to 0.

9 Cancel automatic login

Edit the file /usr/share/lightdm/lightdm.conf.d/20-lubuntu.conf and delete the line "autologin-user=pi"

10 Screen saver and auto sleep related settings

The screen saver configuration file is /etc/xdg/autostart/xset_command.desktop. The default factory settings are that the screen saver and DPMS are both closed. You can change the configuration by modifying this file.