LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-24-2005, 11:58 AM   #1
richone
LQ Newbie
 
Registered: Aug 2003
Posts: 1

Rep: Reputation: 0
Fedora Core 3 Enlightenment e17 Integration Guide


Start by installing the e17 rpms from the yum respository. What? There is an e17 yum repository. Sure, right here:

hxxp://sps.nus.edu.sg/~didierbe/

replace the hxxp with http

Now let's integrate Enlightenment (e17) and Entrance into our environment.

I made the following change to /etc/X11/xdm/Xsession:
Code:
# now, we see if xdm/gdm/kdm has asked for a specific environment
case $# in
1)
    if [ -x "$SWITCHDESKPATH/Xclients.$1" ]; then
       exec -l $SHELL -c "$SWITCHDESKPATH/Xclients.$1";
    fi;

    case "$1" in
    failsafe)
       exec -l $SHELL -c "xterm -geometry 80x24-0-0"
       ;;
    gnome)
       exec -l $SHELL -c "$DBUS_LAUNCH gnome-session"
       ;;
# Added this line, the capital E in Enlightenment is important
    Enlightenment)
       exec -l $SHELL -c "$DBUS_LAUNCH enlightenment"
       ;;
# end of changes
    kde|kde1|kde2)
       exec -l $SHELL -c "$DBUS_LAUNCH $SWITCHDESKPATH/Xclients.kde"
       ;;
    twm)
        # fall back to twm
       exec -l $SHELL -c "$DBUS_LAUNCH $SWITCHDESKPATH/Xclients.twm"
       ;;
    *)
       # GDM provies either a command line as the first argument or
       # provides 'failsafe', 'default' or 'custom'.  KDM will do the
       # same at some point
       if [ "$1" != "default" -a "$1" != "custom" ]; then
           exec -l $SHELL -c "$DBUS_LAUNCH $1"
       fi
       ;;
    esac
esac
This change will allow Enlightenment to run from any login manager, but you are running e17 and want the whole ride. So let's configure the Entrance Login Manager as well:

I made these changes to /etc/X11/prefdm:
Code:
# Run preferred X display manager
preferred=
if [ -f /etc/sysconfig/desktop ]; then
        . /etc/sysconfig/desktop
        if [ "$DISPLAYMANAGER" = GNOME ]; then
                preferred=gdm
        elif [ "$DISPLAYMANAGER" = KDE ]; then
                preferred=kdm
        elif [ "$DISPLAYMANAGER" = XDM ]; then
                preferred=xdm
# Changed Start Here the E17 can be anything you want but needs to match the /etc/sysconfig/desktop file as well
        elif [ "$DISPLAYMANAGER" = E17 ]; then
                preferred="/usr/sbin/entranced -nodaemon"
# End of changes
        fi
fi
shopt -s execfail

[ -n "$preferred" ] && exec $preferred $* >/dev/null 2>&1

# Fallbacks, in order
# This makes Entrance also the default
exec /usr/sbin/entranced -nodaemon $* >/dev/null 2>&1
# End of changes
exec gdm $* >/dev/null 2>&1
exec kdm $* >/dev/null 2>&1
exec xdm $* >/dev/null 2>&1
And then change /etc/sysconfig/desktop to have just this line:
Code:
DESKTOP="E17"
Reboot and you should be good. If these changes cause any problems, you can back out easily by booting into runlevel 3 via grub. When grub shows up, edit the kernel you want to boot into (press 'e') and modify the kernel boot line removing the 'rhgb quiet' and replacing it with '3'. This change is not permanent, just for this session. Do not modify the grub.conf, you can do this change within the grub bootloader. The backout of the change made above and reboot of 'init 5'.
 
Old 04-03-2005, 04:29 AM   #2
t3gah
Member
 
Registered: Dec 2004
Distribution: SuSE, RedHat, ubuntu, Debian
Posts: 734

Rep: Reputation: 30
Coool.

You should put this in the Linux Tutorials section here at LQ.org.

Look at the Main Menu panels for the link.........
 
Old 04-29-2005, 02:05 PM   #3
stevsmit
LQ Newbie
 
Registered: Apr 2005
Posts: 4

Rep: Reputation: 0
lost sound with Entrance

Thanks for the help.

Used the guidance to get E17 Entrance working on RHEL 4. Entrance works fine, but with a couple of quickly identified problems.

1) I now have to be logged in as su to mount usb devices (hard drive, pendrive) and /dev/cdrom and

2) have to be logged in as su to use xmms and gmplayer.

Starting xmms from a terminal as normal user produces the following error:

** WARNING **: alsa_get_mixer(); Attaching to mixer hw:0 failed: Permission denied

trying to play a file results in

** WARNING ** : alsa_setup(): Failed to open pcm device (default): Permission denied

Starting gmplayer as normal user provides the following:

Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup

Everything works fine without Entrance. I appears that Entrance 'changes' some permissions???? I am at a loss. Any help out there would be appreciated.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SMB Nautilus integration - sometimes behaves oddly (Fedora Core 2) paulecoyote Linux - Newbie 6 10-20-2006 10:08 AM
upgrade slackware build e17 enlightenment phatbastard Slackware 1 12-03-2005 05:11 PM
Trouble installing Enlightenment E17 on FC3 nathan plemons Linux - Software 9 06-05-2005 10:12 PM
Problems installing Enlightenment on Fedora Core 2 adgrimes Linux - Software 11 09-05-2004 04:14 PM
Enlightenment problem on Fedora core 2 0x0000h Linux - Software 0 08-01-2004 07:30 AM


All times are GMT -5. The time now is 09:22 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration