Enlightenment

From shankerbalan.net
Jump to: navigation, search

Contents

Enlightenment DR17

Enlightenment is a very artistic opensource window manager for UNIX systems. DR17 is the next version of Enlightenment which is under heavy development and available only via CVS as of now (July 2005).

See the DR17 pages for more information.

What works?

Almost all the modules work on FreeBSD 5.3.

  • e17/libs/edb
  • e17/libs/eet
  • e17/libs/evas
  • e17/libs/embryo
  • e17/libs/edje
  • e17/libs/epeg
  • e17/libs/esmart
  • e17/libs/etox
  • e17/libs/engrave
  • e17/libs/ecore
  • e17/libs/ewl
  • e17/libs/epsilon
  • e17/libs/emotion
  • e17/apps/e
  • e17/apps/e_utils
  • e17/apps/iconbar
  • e17/apps/entice
  • e17/apps/entrance
  • e17/apps/e_modules
  • e17/apps/elicit
  • e17/apps/examine
  • e17/apps/eclair
  • misc/engage
  • misc/equate
  • misc/elapse
  • misc/erss

And these dont compile

  • misc/embrace
  • misc/enotes
  • misc/eke

Installing From CVS

Checkout e17 from CVS. I use $HOME/cvs/enlightenment to keep CVS sources.

autogen.sh

Start with the latest version of the following auto* packages else you will end up with autogen.sh errors as below.

checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
./ltconfig: ./ltconfig: No such file or directory
configure: error: libtool configure failed
[buffy] /usr/local/bin> ls -l autoconf automake aclocal autoheader libtoolize libtool
lrwxr-xr-x  1 root  wheel   9 Feb 25 11:14 aclocal -> aclocal19
lrwxr-xr-x  1 root  wheel  11 Feb 25 11:14 autoconf -> autoconf259
lrwxr-xr-x  1 root  wheel  13 Feb 25 11:15 autoheader -> autoheader259
lrwxr-xr-x  1 root  wheel  10 Feb 25 11:14 automake -> automake19
lrwxr-xr-x  1 root  wheel   9 Feb 28 11:25 libtool -> libtool15
lrwxr-xr-x  1 root  wheel  12 Feb 28 11:25 libtoolize -> libtoolize15


FreeBSD 5.x

Install e17 to /usr/e17 so that it does not clutter up /usr/local.

  • Environment Variables (tcsh)
[buffy] ~> setenv CFLAGS "-I/usr/local/include -I/usr/X11R6/include -L/usr/X11R6/lib -L/usr/local/lib
-I/usr/e17/include -L/usr/e17/lib"
[buffy] ~> setenv ACLOCAL_FLAGS "-I /usr/local/share/aclocal"
  • ./autogen.sh --prefix=/usr/e17

Fedora Core

The autogen.sh procedure is the same as in FreeBSD except that there is no need to set any environment varibles.

Starting e17

[buffy] ~> cat .xinitrc
PATH=$PATH:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/usr/e17/bin
exec /usr/e17/bin/enlightenment # cvs e17

$ startx

See xinitrc

Configuration

Keybindings

[buffy] ~> enlightenment_remote -binding-key-list
[buffy] ~> enlightenment_remote -binding-key-add ANY a WIN 0 exec "aumix"
[buffy] ~> enlightenment_remote -binding-key-add ANY f WIN 0 exec "firefox"
[buffy] ~> enlightenment_remote -binding-key-add ANY g WIN 0 exec "gaim"
[buffy] ~> enlightenment_remote -binding-key-add ANY o WIN 0 exec "linux-opera"
[buffy] ~> enlightenment_remote -binding-key-add ANY m WIN 0 exec "Eterm -D 0 -g 104x73 -e mutt"
[buffy] ~> enlightenment_remote -binding-key-add ANY r WIN 0 exec "rhythmbox"
[buffy] ~> enlightenment_remote -binding-key-add ANY x WIN 0 exec "xlock"

Desktop Name

[buffy] ~> enlightenment_remote -desktop-name-add 0 0 0 0 Mail
[buffy] ~> enlightenment_remote -desktop-name-add 0 0 1 0 Web
[buffy] ~> enlightenment_remote -desktop-name-add 0 0 2 0 Wterm
[buffy] ~> enlightenment_remote -desktop-name-add 0 0 3 0 Player

Edge Flip

The default edge flip of 0.250ms is too quick, I find 0.6ms quiet comfortable. Avoids accidental flips

[buffy] ~> enlightenment_remote -edge-flip-timeout-set 0.6

Modules

Disabling Modules
# disable batt, cpufreq and temp - not useful on the desktop. Temp on FreeBSD does not work as systcl hw.acpi b0rked
# on my HP h/w
[buffy] ~> enlightenment_remote -module-disable battery
[buffy] ~> enlightenment_remote -module-disable cpufreq
[buffy] ~> enlightenment_remote -module-disable temperature
Weather
  • Note: Currently, this module is blocking due to the use of wget. Leave it disabled for the moment till its updated to use the ecore file download APIs. (July 2005)
[buffy] ~> enlightenment_remote -module-load weather
[buffy] ~> enlightenment_remote -module-list
REPLY <- BEGIN
REPLY: "start" ENABLED 1
REPLY: "ibar" ENABLED 1
REPLY: "dropshadow" ENABLED 1
REPLY: "clock" ENABLED 1
REPLY: "battery" ENABLED 0
REPLY: "cpufreq" ENABLED 0
REPLY: "temperature" ENABLED 0
REPLY: "pager" ENABLED 1
REPLY: "weather" ENABLED 1
REPLY <- END

Do "Edit the URL file" from the module menu option and add the below URL for Bangalore weather:

http://www.weather.com/outlook/travel/businesstraveler/local/INXX0012

Entrance

Entrance is the Enlightenment login manager similar to GDM or KDM, except way too cooler. Install e17/apps/entrance like the other e17 applications on Fedora Core. Am yet to try it on FreeBSD. Also, dont use the OpenGL engine, it did not work for me too well. Hung the system quiet cold actually.Might be a problem with the ATI firegl drivers which I use on the laptop since r300.sf.net DRI drivers are not part of Xorg yet.

prefdm

Set /etc/X11/prefdm to run /usr/e17/sbin/entranced.

# Run preferred X display manager
preferred=/usr/e17/sbin/entranced

PAM Configuration

The default pam.d/entrance file does not work well with Fedora Core - the device permissions don't get set correctly on login. Instead copy over pam.d/gdm to pam.d/entrance.

$ sudo cp /etc/pam.d/gdm /etc/pam.d/entrance

Remember to do this after every CVS install else you will end up wondering why sound stopped working all of a sudden.

Notes

  • BSD make wont work. Use gmake instead.
Personal tools