Difference between revisions of "Enlightenment"

From Gentoo Wiki
Jump to:navigation Jump to:search
m (elsa->entrance name change)
m (Link udisks)
Line 222: Line 222:
 
The previous can be used to login into an E17 session easily without needing any ''middle man'' like {{Package|x11-misc/slim}} depending on tty or console used to log in.
 
The previous can be used to login into an E17 session easily without needing any ''middle man'' like {{Package|x11-misc/slim}} depending on tty or console used to log in.
  
{{Important|You do need the *kits ([[ConsoleKit]] and {{Package|sys-auth/polkit}}) associated to {{Package|lxde-base/lxpolkit}} or {{Package|gnome-extra/polkit-gnome}} or {{Package|sys-auth/polkit-kde}} to get a valid X session (and be able to automount removable devices with {{Package|sys-fs/udisks}}:0. Additionally, you will need the following file).}}
+
{{Important|You do need the *kits ([[ConsoleKit]] and [[polkit]]) associated to {{Package|lxde-base/lxpolkit}} or {{Package|gnome-extra/polkit-gnome}} or {{Package|sys-auth/polkit-kde}} to get a valid X session (and be able to automount removable devices with [[udisks]]. Additionally, you will need the following file).}}
  
 
{{File|/etc/polkit-1/localauthority/50-local.d/11-udisks.pkla||<pre>
 
{{File|/etc/polkit-1/localauthority/50-local.d/11-udisks.pkla||<pre>

Revision as of 09:02, 19 August 2012

Resources

Enlightenment is a light weight and eye candy Desktop Environment. This guide will highlight and go trough installing enlightenment E17 or DR17 or 0.17 version. Although the stable 0.16 version is available in the official tree, I'd advise to make the plunge to install the live version. One of the advantages of E17 is that you can really build what you want/need x11-wm/enlightenment with just enabling or disabling e_modules_$module USE flag which will permit to make a truly light weight and lean DE that nothing could match. LXDE can almost match the light weight and lean side of E17 with the old style or classical DE touch.

Enlightenment is not just a window manager for Linux/X11 and others, but also a whole suite of libraries to help you create beautiful user interfaces with much less work than doing it the old fashioned way and fighting with traditional toolkits, not to mention a traditional window manager. It covers uses from small mobile devices like phones all the way to powerful multi-core desktops (which are the primary development environment).

If you decided to install DR16 version, then go ahead and merge x11-wm/enlightenment and unmask some package if not all, if need be, to get the latest bits of enlightenment development trunk.

From here on, this article will deal with installing E17 using enlightenment overlay maintained by the enlightenment and gentoo developers.

Preparation

To install E17 you will need sys-portage/layman with svn support. And then add enlightenement overlay with layman.

Template:File

root #emerge --ask sys-portage/layman
root #layman -a enlightenment
root #echo "source /var/lib/layman/make.conf" >> /etc/portage/make.conf

With the premises done, we can now move into configuring the installation before merging the DE.

Configuration

If you have an `/etc/portage/package.[accept_]keywords' directory, you can keywords all the base packages with a single line (lazy way).

root #ln -s /var/lib/layman/enlightenment/scripts/package.keywords.snapshots /etc/portage/package.keywords/enlightenment.keywords

Or else you will have to add every necessary package in that file with something like the following.

Template:File

Notice that there are a few package listed above, especially those after the `e17-extras' commented line that are not yet in the official overlay, so you will have to either add them to your local overlay or add another bar-overlay which had them. It's good to be able to get at least a few themes especially those that are supported and hosted on enlightenment trunk. So go ahead and the previous cited overlay if you don't want to make ebuilds.

I will also advise to add a few USE flags as sane default to be able to auto mount removable devices etc.

Template:File

Some USE flag can be set globally like `jpeg png opengl nls gnutls ssl' ... in `/etc/portage/make.conf'.

Installation

If you don't want to undergo the painful manual installation of each package, you'd better use sets, which are supported by portage >=2.1.11. One can add these two sets to /etc/portage/sets/ to ease merging and rebuilding the packages.

Template:File

Template:File

And now one can finish the installation with:

root #emerge --ask @e-base
root #emerge --ask @e-xtra

Tips and Tricks

There are two sets to avoid unnecessary issues implied by the order of merging. Now one can start E17 desktop environment by launching the default display manager.

Or else, one can use simple ~/.{xinitrc,bash_log{in,out}} or zsh version `~/.zlog{in,out}' scheme to avoid unnecessary extra packages to just be able to log into your session. And do not forget to install NetworkManager and gnome-extra/nm-applet to be able to switch to different networks easily because, last time I've checked, net-misc/connman did not work at all despite that there's a E17 module for it.

Template:File

Note
Notice that the E17 session uses ecomp+ecomorph combination, edit `~/.xinitrc' by removing the `.sh' suffix accordingly if not using it.

Template:File A zsh version could be used instead. Template:File Template:File Template:File

The previous can be used to login into an E17 session easily without needing any middle man like x11-misc/slim depending on tty or console used to log in.

Important
You do need the *kits (ConsoleKit and polkit) associated to lxde-base/lxpolkit or gnome-extra/polkit-gnome or sys-auth/polkit-kde to get a valid X session (and be able to automount removable devices with udisks. Additionally, you will need the following file).

Template:File

Additional applications

You may need a good and light weight terminal emulator: x11-terms/rxvt-unicode, you may consider installing a perl module for copy/paste and url handling dev-perl/perl-URxvt.

You may need a burning application: app-cdr/brasero or app-cdr/xfburn or a KDE alternative.

You may need a document viewer: you can try the excellent app-text/evince or kde-base/okular.

You may need color profile application: gnome-extra/gnome-color-manager or kde-base/kgamma or even better x11-misc/xcalib.

You may try www-client/midori or www-client/xxxterm.

You may need a calculator: x11-apps/xcalc or kde-base/kcalc or gnome-extra/gcalctool.

You may need a graphical file manager: try x11-misc/pcmanfm plus sys-fs/udisks:0 for automount or x11-misc/spacefm plus sys-apps/udevil for automount because the file manager module is not that usable/practicable.

Note
efm became more usable and practicable, however, it is still not an advanced file manager.
Important
To get automount support with sys-apps/udevil, a little `~/.config/spacefm/session' edit is necessary. There's no need to edit that file if udevil is merged before spacefm.

Template:File instead of the following for sys-fs/udisks automount support. Template:File

For a complete office suite do no hesitate to merge app-office/libreoffice moloch or the binary package if it's too much for you machine.

Tired of entering again and again your wifi pass and so on? You may look at gnome-base/gnome-keyring or enable gnome-keyring USE flag globally (sys-auth/pambase has that USE flag for example).

etc.

Warning
I'd advise to avoid gtk+:3 apps and mask them to be safe and get something that works without too much hassle. There are many threads in the forums about GNOME3 package.mask lists.