Difference between revisions of "E17"

From ArchWiki
Jump to: navigation, search
(A workaround to get the "Places" gadget to work)
(use wiki markdown and new templates, see Help:Style)
Line 22: Line 22:
 
=== From the community repository (SVN snapshots) ===
 
=== From the community repository (SVN snapshots) ===
  
{{Note|Make sure the [[community repository]] is enabled in your {{Filename|/etc/pacman.conf}}.}}
+
{{Note|Make sure the [[community repository]] is enabled in your {{ic|/etc/pacman.conf}}.}}
  
 
To install e17:
 
To install e17:
Line 42: Line 42:
 
=== Compiling with easy_e17.sh ===
 
=== Compiling with easy_e17.sh ===
  
{{Codeline|easy_e17.sh}} compiles E17 from source and installs it in {{Filename|/opt/e17}}. It does not create packages and therefore does not install dependencies automatically.
+
{{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.
  
# Get it from the [[AUR]]: {{Package AUR|easy-e17}}.
+
# Get it from the [[AUR]]: {{AUR|easy-e17}}.
# Edit {{Filename|/etc/easy_e17.conf}} if you want.
+
# Edit {{ic|/etc/easy_e17.conf}} if you want.
# 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): <pre># easy_e17.sh -i</pre>{{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.}}
+
# 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.}}
# Put {{Filename|/opt/e17/bin}} in your {{Codeline|PATH}} by editing {{Filename|/etc/profile}}. For example, you can add this line at the end of the file: <pre>PATH="$PATH:/opt/e17/bin"</pre>
+
# 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"}}
# 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:<pre>PYTHONPATH=":$PYTHONPATH"</pre><pre>LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/opt/e17/lib"</pre>
+
# 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"}}
  
 
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.
 
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.
Line 57: Line 57:
 
==== Update_e17.sh ====
 
==== Update_e17.sh ====
  
{{Codeline|update_e17.sh}} is a zenity script which is made to accompany {{Codeline|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]]: {{Package AUR|oz-e17-tools}}.
+
{{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}}.
  
 
== Starting E17 ==
 
== Starting E17 ==
 
=== startx ===
 
=== startx ===
If you use {{Codeline|startx}} or a simple [[Display Manager]] like XDM or [[SLiM]], add or uncomment the following command in [[xinitrc]]:
+
If you use {{ic|startx}} or a simple [[Display Manager]] like XDM or [[SLiM]], add or uncomment the following command in [[xinitrc]]:
 
  exec enlightenment_start
 
  exec enlightenment_start
  
 
=== Elsa ===
 
=== Elsa ===
Nowadays E17 has a new display manager called Elsa, you can download it from AUR {{Package AUR|elsa-svn-arch}}.
+
Nowadays E17 has a new display manager called Elsa, you can download it from AUR {{AUR|elsa-svn-arch}}.
Elsa is quite sophisticated and its configuration is controlled by {{Filename|/etc/elsa.conf}}.
+
Elsa is quite sophisticated and its configuration is controlled by {{ic|/etc/elsa.conf}}.
To start Elsa add the following line to your {{Filename|/etc/inittab}}
+
To start Elsa add the following line to your {{ic|/etc/inittab}}
 
  x:5:respawn:/usr/sbin/elsa
 
  x:5:respawn:/usr/sbin/elsa
 
and change your default runlevel to 5.
 
and change your default runlevel to 5.
  
 
=== Other ===
 
=== Other ===
More advanced display managers like [[GDM]] and [[KDM]] will automatically detect E17 thanks to the {{Filename|/usr/share/xsessions/enlightenment.desktop}} file provided by the {{Codeline|e-svn}} package.
+
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.
  
 
== Configuring the Network ==
 
== Configuring the Network ==
Line 78: Line 78:
 
=== NetworkManager ===
 
=== NetworkManager ===
  
You can use {{Package Official|networkmanager}} to manage your network connections.
+
You can use {{Pkg|networkmanager}} to manage your network connections.
  
 
  pacman -S networkmanager
 
  pacman -S networkmanager
  
Then you need to follow the instructions on [[NetworkManager]] to do the configuration. You may also need {{Package Official|network-manager-applet}} to help with your settings.
+
Then you need to follow the instructions on [[NetworkManager]] to do the configuration. You may also need {{Pkg|network-manager-applet}} to help with your settings.
  
 
  pacman -S network-manager-applet
 
  pacman -S network-manager-applet
Line 92: Line 92:
 
=== connman ===
 
=== connman ===
  
Another available network manager is [[Connman]], you can download it from AUR {{Package AUR|connman}}. You do not need to follow any of the other instructions on the [[Connman|Connman wiki page]]. The current build of ConnMan already includes network policy group section (although with only one statement, not three).
+
Another available network manager is [[Connman]], you can download it from AUR {{AUR|connman}}. You do not need to follow any of the other instructions on the [[Connman|Connman wiki page]]. The current build of ConnMan already includes network policy group section (although with only one statement, not three).
  
Next, edit your {{Codeline|/etc/rc.conf}}. Remove '''network''' from your DAEMONS line. Add '''connmand''' (do not forget the '''d''') ''after'' '''dbus''' and '''hal'''.
+
Next, edit your {{ic|/etc/rc.conf}}. Remove '''network''' from your DAEMONS line. Add '''connmand''' (do not forget the '''d''') ''after'' '''dbus''' and '''hal'''.
  
 
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.
 
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.
Line 101: Line 101:
  
 
More themes to customize the look of e17 are available from:
 
More themes to customize the look of e17 are available from:
* [http://exchange.enlightenment.org/ exchange.enlightenment.org], for which you can use the {{Package AUR|e17-themes}} [[AUR]] package
+
* [http://exchange.enlightenment.org/ exchange.enlightenment.org], for which you can use the {{AUR|e17-themes}} [[AUR]] package
 
* [http://www.e17-stuff.org e17-stuff.org]
 
* [http://www.e17-stuff.org e17-stuff.org]
  
Line 109: Line 109:
 
Note: the edje_convert binary has been "dropped" by upstream developers... see: [http://trac.enlightenment.org/e/changeset/56156 trac.enlightenment.org]
 
Note: the edje_convert binary has been "dropped" by upstream developers... see: [http://trac.enlightenment.org/e/changeset/56156 trac.enlightenment.org]
  
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 {{Codeline|etk_prefs}}.
+
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}}.
  
 
== Troubleshooting ==
 
== Troubleshooting ==
Line 115: Line 115:
 
If you find some unexpected behavior, there are a few things you can do:
 
If you find some unexpected behavior, there are a few things you can do:
 
# try to see if the same behavior exists with the default theme
 
# try to see if the same behavior exists with the default theme
# backup {{Filename|~/.e}} and remove it (e.g. {{Codeline|mv ~/.e ~/.e.back}}).
+
# backup {{ic|~/.e}} and remove it (e.g. {{ic|mv ~/.e ~/.e.back}}).
  
 
If you are sure you found a bug please report it directly upstream. http://trac.enlightenment.org/e/report
 
If you are sure you found a bug please report it directly upstream. http://trac.enlightenment.org/e/report
Line 121: Line 121:
 
=== Cursors ===
 
=== Cursors ===
  
If X complains about X cursors not being available, install the {{Package Official|libxcursor}} package.
+
If X complains about X cursors not being available, install the {{Pkg|libxcursor}} package.
  
 
=== Screen unlocking does not work ===
 
=== Screen unlocking does not work ===
  
If screenlock does not accept your password add the following to {{Filename|/etc/pam.d/enlightenment}}:
+
If screenlock does not accept your password add the following to {{ic|/etc/pam.d/enlightenment}}:
 
  auth required pam_unix_auth.so
 
  auth required pam_unix_auth.so
  
Line 134: Line 134:
  
 
=== Modules and gadgets ===
 
=== Modules and gadgets ===
* <b>Module</b>: a name used in enlightenment to refer to the "backing" code for a gadget.
+
;Module:a name used in enlightenment to refer to the "backing" code for a gadget.
* <b>Gadget</b>: a front-end or user interface that should help the end users of [[E17]] do something.
+
;Gadget:a front-end or user interface that should help the end users of [[E17]] do something.
  
 
=== udisks vs. HAL ===
 
=== udisks vs. HAL ===
Often a gadget with the name "Places", for example, will use a corresponding module also named "Places". Also 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,
+
Often a gadget with the name "Places", for example, will use a corresponding module also named "Places". Also 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:
<blockquote>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.</blockquote>
+
:''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.''
  
 
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.
 
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.
  
 
=== What is Places? ===
 
=== What is Places? ===
From the current source code [http://trac.enlightenment.org/e/browser/trunk/E-MODULES-EXTRA/places/README README] for Places:<blockquote>Places module<br />
+
From the current source code [http://trac.enlightenment.org/e/browser/trunk/E-MODULES-EXTRA/places/README README] for Places:
This module manage the volumes device attached to the system.</blockquote>In [http://www.urbandictionary.com/define.php?term=engrish 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.
+
:''Places module''
 +
:''This module manage the volumes device attached to the system.''
 +
In [http://www.urbandictionary.com/define.php?term=engrish 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.
  
 
==== Why doesn't the Places work? ====
 
==== Why doesn't the Places work? ====
Line 158: Line 160:
 
## cd hal-info
 
## cd hal-info
 
## makepkg -s
 
## makepkg -s
## sudo pacman -U hal-info-0.yourBuildDate-1-any.pkg.tar.xz ... <b>NOTE</b>: You may have more dependencies to install here such as the "base-devel" package
+
## sudo pacman -U hal-info-0.yourBuildDate-1-any.pkg.tar.xz ... '''NOTE''': You may have more dependencies to install here such as the "base-devel" package
 
## cd ../hal-git
 
## cd ../hal-git
 
## makepkg -s
 
## makepkg -s

Revision as of 10:40, 9 November 2011

This template has only maintenance purposes. For linking to local translations please use interlanguage links, see Help:i18n#Interlanguage links.


Local languages: Català – Dansk – English – Español – Esperanto – Hrvatski – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Norsk Bokmål – Polski – Português – Slovenský – Česky – Ελληνικά – Български – Русский – Српски – Українська – עברית – العربية – ไทย – 日本語 – 正體中文 – 简体中文 – 한국어


External languages (all articles in these languages should be moved to the external wiki): Deutsch – Français – Română – Suomi – Svenska – Tiếng Việt – Türkçe – فارسی

Template:Article summary start Template:Article summary text Template:Article summary text Template:Article summary heading Template:Article summary text Template:Article summary heading Template:Article summary wiki Template:Article summary end

From the Enlightenment wiki:

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.

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.

Installing E17

From the community repository (SVN snapshots)

Note: Make sure the community repository is enabled in your /etc/pacman.conf.

To install e17:

pacman -S e-svn

To install additional e17 modules and applications:

pacman -S e17-extra-svn

You might also want to install additional Fonts. You need at least 1 True Type Font.

If you need/want an e17 package which is not (yet) available in [community], see if it is available in the AUR.

Warning: As e17 is still alpha software you are encouraged to keep packages of the previous version on your computer, allowing you to downgrade if needed.

Compiling and packaging with ArchE17 script

You can build your own Arch Linux e17 packages with a small python script called ArchE17.

Compiling with easy_e17.sh

easy_e17.sh compiles E17 from source and installs it in /opt/e17. It does not create packages and therefore does not install dependencies automatically.

  1. Get it from the AUR: easy-e17AUR.
  2. Edit /etc/easy_e17.conf if you want.
  3. 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):
    # easy_e17.sh -i
    Warning: This will install the latest svn version. For a stable result add the --srcrev= 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.
  4. Put /opt/e17/bin in your PATH by editing /etc/profile. For example, you can add this line at the end of the file:
    PATH="$PATH:/opt/e17/bin"
  5. 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:
    PYTHONPATH=":$PYTHONPATH"
    LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/opt/e17/lib"

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.

To update E17 without using the program mentioned below, run this command as root:

# easy_e17.sh -u

Update_e17.sh

update_e17.sh is a zenity script which is made to accompany 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 this page for more information on this optional component. You can get it from the AUR: oz-e17-toolsAUR.

Starting E17

startx

If you use startx or a simple Display Manager like XDM or SLiM, add or uncomment the following command in xinitrc:

exec enlightenment_start

Elsa

Nowadays E17 has a new display manager called Elsa, you can download it from AUR elsa-svn-archAUR. Elsa is quite sophisticated and its configuration is controlled by /etc/elsa.conf. To start Elsa add the following line to your /etc/inittab

x:5:respawn:/usr/sbin/elsa

and change your default runlevel to 5.

Other

More advanced display managers like GDM and KDM will automatically detect E17 thanks to the /usr/share/xsessions/enlightenment.desktop file provided by the e-svn package.

Configuring the Network

NetworkManager

You can use networkmanager to manage your network connections.

pacman -S networkmanager

Then you need to follow the instructions on NetworkManager to do the configuration. You may also need network-manager-applet to help with your settings.

pacman -S network-manager-applet

You may want to add it to the start up programs so every time your E17 starts it appears on systray.

Settings -> Settings Panel -> Apps -> Startup Applications -> System -> Network

connman

Another available network manager is Connman, you can download it from AUR connmanAUR. You do not need to follow any of the other instructions on the Connman wiki page. The current build of ConnMan already includes network policy group section (although with only one statement, not three).

Next, edit your /etc/rc.conf. Remove network from your DAEMONS line. Add connmand (do not forget the d) after dbus and hal.

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.

Installing Themes

More themes to customize the look of e17 are available from:

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:

edje_convert <theme>.edj

Note: the edje_convert binary has been "dropped" by upstream developers... see: trac.enlightenment.org

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 etk_prefs.

Troubleshooting

If you find some unexpected behavior, there are a few things you can do:

  1. try to see if the same behavior exists with the default theme
  2. backup ~/.e and remove it (e.g. mv ~/.e ~/.e.back).

If you are sure you found a bug please report it directly upstream. http://trac.enlightenment.org/e/report

Cursors

If X complains about X cursors not being available, install the libxcursor package.

Screen unlocking does not work

If screenlock does not accept your password add the following to /etc/pam.d/enlightenment:

auth required pam_unix_auth.so

Unreadable fonts

If fonts are too small and your screen is unreadable, be sure the right font packages are installed:

pacman -S ttf-dejavu ttf-bitstream-vera

Modules and gadgets

Module
a name used in enlightenment to refer to the "backing" code for a gadget.
Gadget
a front-end or user interface that should help the end users of E17 do something.

udisks vs. HAL

Often a gadget with the name "Places", for example, will use a corresponding module also named "Places". Also 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:

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.

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.

What is Places?

From the current source code README for Places:

Places module
This module manage the volumes device attached to the system.

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.

Why doesn't the Places work?

So, if you load the "Places" module, and then add the Places gadget to, say, your bottom shelf in enlightenment, it may look something like a blank grey area with no Gadget in it because the Places module and Gadget are still trying to use HAL. Not to mention that if you plug a usb device in, the Places module will not detect it. So in order to fix this, here is a "solution":

A workaround that gets Places working

This procedure will attempt to help you get the HAL daemon running and the Places gadget working on your e17 desktop.

  1. install cower from the AUR
  2. install hal-git ...
    1. cower -d -d hal-git
    2. cd hal-info
    3. makepkg -s
    4. sudo pacman -U hal-info-0.yourBuildDate-1-any.pkg.tar.xz ... NOTE: You may have more dependencies to install here such as the "base-devel" package
    5. cd ../hal-git
    6. makepkg -s
    7. sudo pacman -U hal-git-yourBuildDate-1-x86_64.pkg.tar.xz
  3. start the hal daemon ... # /etc/rc.d/hal start
  4. remove the old Places gadget from my shelf ... right click the Places gadget (which is just a blank area) -> Gedget Places -> Remove
  5. unload the Places module ... left click desktop -> settings -> modules -> Places -> unload
  6. restart enlightenment ... left click desktop -> enlightenment -> restart
  7. reload the Places module ... left click desktop -> settings -> modules -> Places -> load
  8. add the Places gadget to my shelf ... left click shelf -> settings -> gadgets -> Places -> add gadget
  9. plug in a usb camera.
  10. watch it appear as a new device on the shelf inside the Places gadget
  11. Right Click Places -> Gadget Places -> Move to -> Desktop

The Places gadget on the desktop should now look like an icon with a camera plugged into a usb port: And when you click on it, it opens a file manager, and shows you the files on your camera ... imagine that. Hope this helps get the Places module working on your desktop.

External Links