From ceb7af01d485e5e6f841ecaad763ce1160546335 Mon Sep 17 00:00:00 2001 From: varialus Date: Thu, 7 Aug 2014 18:44:20 +0000 Subject: [PATCH] Added Enlightenment install and config walkthrough --- varialus/index.mdwn | 137 ++++++++++++++++++++++++++++++++++---------- 1 file changed, 108 insertions(+), 29 deletions(-) diff --git a/varialus/index.mdwn b/varialus/index.mdwn index e0b9df61..da878c36 100644 --- a/varialus/index.mdwn +++ b/varialus/index.mdwn @@ -6,14 +6,14 @@ 1. **Featured** -* Walkthrough of MATE Installation and Configuration -* Walkthrough of DragonFly BSD Installation and Configuration -* (In Progress) Walkthrough of Enlightenment Installation and Configuration -* (In Progress) Walkthrough of KDE Installation and Configuration -* (In Progress) Walkthrough of Xfce Installation and Configuration -* (In Progress) Walkthrough of LXDE Installation and Configuration -* (In Progress) Walkthrough of Applications Installation and Configuration -* (Not Yet Started) Walkthrough of C and Go Development Environment Installation and Configuration +* Short Walkthrough of **Enlightenment** Installation and Configuration +* Long Walkthrough of **MATE** Installation and Configuration +* Long Walkthrough of **DragonFly BSD** Installation and Configuration +* (In Progress) Short Walkthrough of **Applications** Installation and Configuration +* (In Progress) Short Walkthrough of **KDE** Installation and Configuration +* (In Progress) Short Walkthrough of **Xfce** Installation and Configuration +* (In Progress) Short Walkthrough of **LXDE** Installation and Configuration +* (Not Yet Started) Short Walkthrough of **C** and **Go** Development Environment Installation and Configuration 2. **Tidbits** @@ -55,17 +55,96 @@ ## Featured -**Walkthrough of MATE Installation and Configuration** +### Short Walkthrough of Enlightenment Installation and Configuration + +This walkthrough describes how I install and configure the Enlightenment desktop environment on DragonFly BSD. You should customize your installation as you see fit. This walkthrough is being run on DragonFly BSD as installed and configured in "Long Walkthrough of DragonFly BSD Installation and Configuration" by Varialus. + +Enlightenment currently has a great balance of stability, features, and performance compared to other desktop environments on DragonFly BSD. I plan on using Enlightenment for personal use until MATE on DragonFly BSD has improved significantly. When currently installed and configured as described in this walkthrough, Enlightenment works but has the following issues. + +* DPorts has Enlightenment E17 0.17.5 but Enlightenment E18 0.18.8 is the current stable release. I prefer that the Enlightenment version not be updated until the current stable release works at least as well as the version currently in DPorts. +* The splash screen significantly slows down the desktop from being displayed. This walkthrough disables the splash screen but the user has to wait for it during the first login. +* The Enlightenment initial graphical configuration of keyboard layouts doesn't include the Dvorak keyboard layout. +* The System > Restart and System > Power Off menu options don't work unless the Composite module is unloaded. + +I hope this walkthrough will make it easier for developers to properly fix these issues. + +1. From DPorts install the following packages and their dependencies. + + * xorg + * xdm + * enlightenment + * e17-modules. + +2. Add the following line to /etc/rc.conf and save the change to disk. + + dbus_enable="YES" + +3. Skim through /etc/ttys to find the following line. + + ttyv8 "/usr/local/bin/xdm -nodaemon" xterm off secure + + Then edit the previous line to match the following line and save the change to disk. + + ttyv8 "/usr/local/bin/xdm -nodaemon" xterm on secure + +4. Skim through /usr/local/lib/X11/xdm/Xsetup_0 to find the following line. + + xconsole -geometry 480x130-0-0 -daemon -verbose -fn fixed -exitOnFail + + Then edit the previous line to match the following line and save the change to disk. + + #xconsole -geometry 480x130-0-0 -daemon -verbose -fn fixed -exitOnFail + +5. If you use the Dvorak keyboard layout instead of the QWERTY keyboard layout, add the following line to /usr/local/lib/X11/xdm/Xsetup_0 and save the change to disk. + + setxkbmap dvorak + +6. Skim through /usr/local/lib/X11/xdm/xdm-config to find the following line. + + DisplayManager*authorize: true + + Then edit the previous line to match the following line and save the change to disk. + + DisplayManager*authorize: false + +7. If it doesn't already exist, create the file /home/user/.xsession then add the following line to it and save the change to disk. + + exec enlightenment_start + +8. Set the SUID bit with execute permission on /usr/local/lib/enlightenment/utils/enlightenment_sys by running the following command. "WARNING: this program might be vulnerable so do not set suid bit if do not trust all users of this machine." + + sudo chmod u+s /usr/local/lib/enlightenment/utils/enlightenment_sys + +9. Restart DragonFly BSD and log in as user. + +10. The Enlightenment initial graphical configuration will be displayed. Select the following options. + +* Language: English +* Keyboard: English (US) +* Profile: Computer (Standard Enlightenment) +* Sizing: 1.2 Title +* Window Focus: Click +* Updates: Enable update checking +* Taskbar: Enable Taskbar + +11. The Enlightenment desktop will be displayed but only after a significant delay from the splash screen. This step disables the splash screen so you'll only have to wait for it this one time. After the desktop is finally displayed, click on the left side of the desktop and select Settings > All > Look > Startup, then disable the option "Show Splash Screen on Login" and click OK. + +12. If you use the Dvorak keyboard layout instead of the QWERTY keyboard layout, click on the left side of the desktop and select Settings > All > Input > Keyboard, then click Add > English (US) (us) > Variant > dvorak (English (Dvorak)) > OK > us (default, basic) > Remove > OK. + +13. Click on the left side of the screen and select either System > Reboot or System > Power Off. If DragonFly BSD does not reboot or power off, then click on the left side of the desktop and select Settings > Modules, click Look > Composite > Unload > Close. + +### Long Walkthrough of MATE Installation and Configuration + +This walkthrough describes how I install and configure the MATE desktop environment on DragonFly BSD. You should customize your installation as you see fit. This walkthrough is being run on DragonFly BSD as installed and configured in "Long Walkthrough of DragonFly BSD Installation and Configuration" by Varialus. -This walkthrough describes how I install and configure the MATE desktop environment on DragonFly BSD. You should customize your installation as you see fit. This walkthrough is being run on DragonFly BSD as installed and configured in "Walkthrough of DragonFly BSD Installation and Configuration" by Varialus. - MATE is my favorite desktop environment. When currently installed and configured as described in this walkthrough, MATE works but has the following issues. - + * DPorts has MATE 1.6.1 but MATE 1.8 is the current stable release. * DPorts currently does not include the MATE meta package. * Enabling hald prevents applications from launching via the MATE menu. * Many non-fatal errors are logged in the /home/user and /var/log directories. -* The process console-kit has high CPU utilization. +* The console-kit-daem command in the CLI program top has high CPU utilization. +* One of the post installation messages mentions devstat, but devstat is not in DPorts. I hope this walkthrough will make it easier for developers to properly fix these issues. @@ -161,12 +240,12 @@ I hope this walkthrough will make it easier for developers to properly fix these > sudo ee /etc/rc.conf ... -**Add the following two lines.** +*Add the following two lines.* hald_enable="NO" dbus_enable="YES" -**Press Esc or Ctl-[** +*Press Esc or Ctl-[* ... a) leave editor @@ -177,15 +256,15 @@ I hope this walkthrough will make it easier for developers to properly fix these Password: ... -**Find the following line.** +*Find the following line.* ttyv8 "/usr/local/bin/xdm -nodaemon" xterm off secure -**Edit the previous line to match the following line.** +*Edit the previous line to match the following line.* ttyv8 "/usr/local/bin/xdm -nodaemon" xterm on secure -**Press Esc or Ctl-[** +*Press Esc or Ctl-[* ... a) leave editor @@ -195,19 +274,19 @@ I hope this walkthrough will make it easier for developers to properly fix these > sudo ee /usr/local/lib/X11/xdm/Xsetup_0 ... -**Find the following line.** +*Find the following line.* xconsole -geometry 480x130-0-0 -daemon -verbose -fn fixed -exitOnFail -**Edit the previous line to match the following line.** +*Edit the previous line to match the following line.* #xconsole -geometry 480x130-0-0 -daemon -verbose -fn fixed -exitOnFail -**Add the following line.** +*Add the following line.* setxkbmap dvorak -**Press Esc or Ctl-[** +*Press Esc or Ctl-[* ... a) leave editor @@ -217,11 +296,11 @@ I hope this walkthrough will make it easier for developers to properly fix these > ee .xsession ... -**Add the following line.** +*Add the following line.* exec mate-session -**Press Esc or Ctl-[** +*Press Esc or Ctl-[* ... a) leave editor @@ -232,15 +311,15 @@ I hope this walkthrough will make it easier for developers to properly fix these Password: ... -**Find the following line.** +*Find the following line.* DisplayManager*authorize: true -**Edit the previous line to match the following line.** +*Edit the previous line to match the following line.* DisplayManager*authorize: false -**Press Esc or Ctl-[** +*Press Esc or Ctl-[* ... a) leave editor @@ -254,9 +333,9 @@ I hope this walkthrough will make it easier for developers to properly fix these Password: ... -The MATE desktop will be displayed.** +The MATE desktop will be displayed. -**Walkthrough of DragonFly BSD Installation and Configuration** +### Long Walkthrough of DragonFly BSD Installation and Configuration This walkthrough describes how I install and configure DragonFly BSD. You should customize your installation as you see fit. The walkthrough is being run on VirtualBox which in turn is running on a recent MacBook with plenty of memory. -- 2.41.0