https://wiki.archlinux.org/api.php?action=feedcontributions&user=Jujojujo+2003&feedformat=atomArchWiki - User contributions [en]2024-03-29T00:56:44ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=E17&diff=237156E172012-11-28T10:28:48Z<p>Jujojujo 2003: </p>
<hr />
<div>[[Category:Desktop environments]]<br />
[[cs:E17]]<br />
[[es:E17]]<br />
[[fr:E17]]<br />
[[it:E17]]<br />
[[lt:E17]]<br />
[[pl:E17]]<br />
[[ru:E17]]<br />
[[zh-CN:E17]]<br />
{{Article summary start}}<br />
{{Article summary text|The Enlightenment project provides useful libraries, a graphical environment and other applications as well as development tools for creating such applications. This article covers its installation, configuration, and troubleshooting.}}<br />
{{Article summary text|E17 uses the [[Elementary]] toolkit.}}<br />
{{Article summary heading|Overview}}<br />
{{Article summary text|{{Graphical user interface overview}}}}<br />
{{Article summary heading|Related}}<br />
{{Article summary wiki|Enlightenment}}<br />
{{Article summary end}}<br />
<br />
From the [http://trac.enlightenment.org/e/wiki/Enlightenment Enlightenment wiki]:<br />
<br />
:''The Enlightenment desktop shell provides an efficient yet breathtaking window manager based on the Enlightenment Foundation Libraries along with other essential desktop components like a file manager, desktop icons and widgets. It boasts a unprecedented level of theme-ability while still being capable of performing on older hardware or embedded devices.''<br />
<br />
E17 is the development release 17 (DR17) of the [[Enlightenment]] [[Desktop Environment]]. It comprises both the Enlightenment [[window manager]] and Enlightenment Foundation Libraries (EFL), which provide additional desktop environment features such as a toolkit, object canvas, and abstracted objects. E17 has been under development since 2005, but in February 2011 the core EFLs saw their first stable 1.0 release. Enlightenment the window manager is still in the beta stages, but is already quite usable. Many people currently use E17 as a day-to-day desktop environment without problems.<br />
<br />
== Installing E17 ==<br />
<br />
=== From the extra repository ===<br />
<br />
To install e17:<br />
pacman -S enlightenment17<br />
<br />
You might also want to install additional [[Fonts]]. You need at least 1 True Type Font.<br />
<br />
If you need/want an e17 package which is not (yet) available in [extra], see if it is available in the [[AUR]].<br />
<br />
=== Compiling and packaging with ArchE17 script ===<br />
<br />
You can build your own Arch Linux e17 packages with a small python script called [http://dev.archlinux.org/~ronald/e17.html ArchE17].<br />
<br />
=== Compiling with easy_e17.sh ===<br />
<br />
{{ic|easy_e17.sh}} compiles E17 from source and installs it in {{ic|/opt/e17}}. It does not create packages and therefore does not install dependencies automatically.<br />
<br />
# Get it from the [[AUR]]: {{AUR|easy-e17}}.<br />
# Edit {{ic|/etc/easy_e17.conf}} if you want.<br />
# Run it as user, so it downloads to ~/e17_src and builds as user, to install E17 (the script will immediately ask for your password so it can install in the end): {{bc|# easy_e17.sh -i}}{{Warning|This will install the latest svn version. For a stable result add the <nowiki>--srcrev=</nowiki> parameter with the latest stable revision. For beta 3 use 55246 as argument. For the revision with the 1.0 release of the core libraries, use 56361, and for the 1.1 release use 65800 ([http://enlightenment.org/p.php?p&#61;news/show&l&#61;en&news_id&#61;37 2 Dec. 2011]).}}<br />
# Put {{ic|/opt/e17/bin}} in your {{ic|PATH}} by editing {{ic|/etc/profile}}. For example, you can add this line at the end of the file: {{bc|1=PATH="$PATH:/opt/e17/bin"}}<br />
# If, after completing the install, xinitrc complains that it cannot find enlightenment upon starting, you may need to add these lines to the end of /etc/profile as well:{{bc|1=PYTHONPATH=":$PYTHONPATH"}}{{bc|1=LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/opt/e17/lib"}}<br />
<br />
If you encounter any errors while trying to install E17, first check to make sure it is not a dependency problem. If it is, install the dependency and continue installing e17.<br />
<br />
To update E17 without using the program mentioned below, run this command as root:<br />
# easy_e17.sh -u<br />
<br />
==== Update_e17.sh ====<br />
<br />
{{ic|update_e17.sh}} is a zenity script which is made to accompany {{ic|easy_e17.sh}}. It makes several aspects of updating e17 easier as it can backup and restore your E17 svn tree (in case there is breakage), as well as roll it back to a specific revision (again, in case of breakage) or even let you know when a new revision has come around on E17's svn tree. See [http://cafelinux.org/OzOs/content/how-administer-your-ozos-e17-desktop this page] for more information on this optional component. You can get it from the [[AUR]]: {{AUR|oz-e17-tools}}.<br />
<br />
== Starting E17 ==<br />
=== startx ===<br />
If you use {{ic|startx}} or a simple [[Display Manager]] like XDM or [[SLiM]], add or uncomment the following command in [[xinitrc]]:<br />
exec enlightenment_start<br />
<br />
=== Entrance ===<br />
Nowadays E17 has a new display manager called Entrance, you can download it from AUR {{AUR|entrance-svn}}.<br />
Elsa is quite sophisticated and its configuration is controlled by {{ic|/etc/entrance.conf}}.<br />
To start Elsa add the following line to your {{ic|/etc/inittab}}<br />
x:5:respawn:/usr/sbin/entrance<br />
and change your default runlevel to 5.<br />
<br />
=== Other ===<br />
More advanced display managers like [[GDM]] and [[KDM]] will automatically detect E17 thanks to the {{ic|/usr/share/xsessions/enlightenment.desktop}} file provided by the {{ic|e-svn}} package.<br />
<br />
== Configuring the Network ==<br />
<br />
=== ConnMan ===<br />
<br />
E17's preferred network manager is [[Connman|ConnMan]]. It is available from the [community] repository as the {{Pkg|connman}} package. To interface with E17's default Network module, you must also install EConmman (available in AUR as {{AUR|econnman-svn}}) and it's associated dependencies.<br />
<br />
Finally, configure systemd to start the ConnMan daemon at startup:<br />
<br />
systemctl enable connman.service<br />
<br />
ConnMan loads very quickly and appears to handle DHCP quite nicely. If you have installed [[Wpa_supplicant]], ConnMan latches onto that shows all available wireless connections.<br />
<br />
=== NetworkManager ===<br />
<br />
You can also use {{Pkg|networkmanager}} to manage your network connections.<br />
<br />
pacman -S networkmanager<br />
<br />
Follow the instructions on [[NetworkManager]] to do the configuration. You may also need {{Pkg|network-manager-applet}} to help with your settings.<br />
<br />
pacman -S network-manager-applet<br />
<br />
You may want to add it to the start up programs so every time your E17 starts it appears on systray.<br />
<br />
Settings -> Settings Panel -> Apps -> Startup Applications -> System -> Network<br />
<br />
== Installing Themes ==<br />
<br />
More themes to customize the look of e17 are available from:<br />
* [http://exchange.enlightenment.org/ exchange.enlightenment.org], for which you can use the {{AUR|e17-themes}} [[AUR]] package<br />
* [http://www.e17-stuff.org e17-stuff.org]<br />
<br />
You can install the themes (coming in .edj format) from the configuration dialog. During 2010 there was a change in how themes work, so for older themes you may need to do the following:<br />
edje_convert <theme>.edj<br />
<br />
{{Note|The edje_convert binary has been "dropped" by upstream developers... see: [http://trac.enlightenment.org/e/changeset/56156 trac.enlightenment.org]}}<br />
<br />
You can also change the theme for the etk toolkit (the one which is used by exhibit). You can start the dialog to change the etk toolkit by starting {{ic|etk_prefs}}.<br />
<br />
== Modules and Gadgets ==<br />
;Module:Name used in enlightenment to refer to the "backing" code for a gadget. <br />
;Gadget:Front-end or user interface that should help the end users of [[E17]] do something.<br />
<br />
Many Modules provide Gadgets that can be added to your desktop or on a shelf. Some Modules (such as CPUFreq) only provide a single Gadget while others (such as Composite) provide additional features without any gadgets. Note that certain gadgets such as Systray can only be added to a shelf while others such as Moon can only be loaded on the desktop. <br />
<br />
=== Compositing ===<br />
E17 offers two modules for compositing, '''''Composite''''' and '''''Ecomorph''''', depending on your hardware and preference.<br />
<br />
==== Composite ====<br />
The ''Composite'' module is the standard compositing manager provided in enlightenment. It provides some minimal compositing effects such as transparency, fade and shadow. Composite provides the more stable module and is supported on a lot hardware through either OpenGL or compositing software rendering.<br />
<br />
==== Ecomorph ====<br />
The ''Ecomorph'' module is a full-featured compositing manager which was ported from [[Compiz]] for E17. It can be downloaded from AUR {{AUR|ecomorph-git}}. Some experience instability with Ecomorph while others use it without a problem. Ecomorph requires 3D acceleration, while Composite does not. <br />
<br />
=== Places ===<br />
From the current source code [http://trac.enlightenment.org/e/browser/trunk/E-MODULES-EXTRA/places/README README] for Places:<br />
;Places module:''This module manage the volumes device attached to the system.''<br />
<br />
In other words, Places is a gadget that will help you browse files on various devices you might plug into your computer, like phones, cameras, or other various storage devices you might plug into the usb port.<br />
<br />
=== Scale Windows ===<br />
The ''Scale Windows'' module, which requires compositing to be enabled, shrinks all open windows and brings them all into view. It can be added to the desktop as a gadget or set as a key binding. <br />
<br />
Some people like to change the standard window selection key binding {{ic|ALT + Tab}} to use Scale Windows to select windows. To change this setting, you navigate to {{ic|Menu > Settings > Settings Panel > Input > Keys}}. From here, you can set any key binding you would like. <br />
<br />
To replace the window selection key binding functionality with Scale Windows, scroll through the left panel until you find the "ALT" section and then find and select {{ic|ALT + Tab}}. Then, scroll through the right panel looking for the "Scale Windows" section and choose either {{ic|Select Next}} or {{ic|Select Next (All)}} depending on whether you would like to see windows from only the current desktop or from all desktops and click "Apply" to save the binding.<br />
<br />
== Troubleshooting ==<br />
<br />
If you find some unexpected behavior, there are a few things you can do:<br />
# try to see if the same behavior exists with the default theme<br />
# backup {{ic|~/.e}} and remove it (e.g. {{ic|mv ~/.e ~/.e.back}}).<br />
<br />
If you are sure you found a bug please report it directly upstream. http://trac.enlightenment.org/e/report<br />
<br />
=== Cursors ===<br />
<br />
If X complains about X cursors not being available, install the {{Pkg|libxcursor}} package.<br />
<br />
=== Screen unlocking does not work ===<br />
<br />
If screenlock does not accept your password add the following to {{ic|/etc/pam.d/enlightenment}}:<br />
auth required pam_unix_auth.so<br />
<br />
=== Unreadable fonts ===<br />
<br />
If fonts are too small and your screen is unreadable, be sure the right font packages are installed:<br />
pacman -S ttf-dejavu ttf-bitstream-vera<br />
<br />
=== udisks vs. HAL ===<br />
Modules may need to use underlying libraries or daemons to interact with various devices connected to your computer. Currently there are at least two choices for these underlying libraries or daemons to interact with connected devices. The two that will be considered here are udisks and HAL. At the time of this entry the [[HAL]] page says:<br />
:''HAL (Hardware Abstraction Layer) is a daemon that allows desktop applications to readily access hardware information, to locate and use such hardware regardless of bus or device type. In this way a desktop GUI can present all resources to its user in a seamless and uniform manner. HAL has become deprecated in favor of udev, udisks, upower, etc. and is no longer developed. Currently, a small number of programs still rely on and use HAL, though development is heading toward utilizing udev as a replacement.''<br />
<br />
So, apparently [[E17]] now tries to use udisks instead of [[HAL]]. But some of the modules and gadgets, such as Places, have not been updated to use udisks yet.<br />
<br />
=== Places does not work ===<br />
If the Places gadget look something like a blank grey area with no Gadget in it and not detecting new device, it may because the Places is still trying to use [[HAL]]. Here is the procedure to get the HAL daemon running:<br />
<br />
Install {{AUR|hal-info}} and {{AUR|hal-git}} from the [[Arch User Repository]]. Note that {{AUR|hal-info}} is a dependency for {{AUR|hal-git}}, so you may want to install it with [[pacman]]'s {{ic|--asdeps}} flag.<br />
<br />
Start the hal daemon:<br />
<br />
{{bc|# systemctl start hal}}<br />
<br />
Now you must remove the "Places" gadget from my shelf, and unload the Places module from menu {{ic|settings -> modules -> Places -> unload}}<br />
<br />
Restart enlightenment, reload the Places module and add the Places gadget to my shelf. Then Places will work normally.<br />
<br />
=== Failure in mounting internal partitions ===<br />
Check if user is in storge group:<br />
{{bc|# groups <user>}}<br />
<br />
If user is not in storage group:<br />
{{bc|# groupadd storage <br />
# gpasswd -a <user> storage}}<br />
<br />
Then create this file as root:<br />
{{bc|# nano /etc/polkit-1/localauthority/50-local.d/10-storage-group-mount-override.pkla}}<br />
<br />
And write into the file:<br />
<br />
[storage group mount override]<br />
Identity=unix-group:storage<br />
Action=org.freedesktop.udisks2.filesystem-mount-system<br />
ResultAny=yes<br />
ResultInactive=yes<br />
ResultActive=yes<br />
<br />
For more information, see:<br />
http://bbs.archbang.org/viewtopic.php?id=2720<br />
<br />
== External Links ==<br />
<br />
* [http://exchange.enlightenment.org/ exchange.enlightenment.org]<br />
* [http://e17-stuff.org/ e17-stuff.org]<br />
* [http://www.bodhilinux.com/e17guide/e17guideEN/ Bodhi Guide to Enlightenment]</div>Jujojujo 2003