Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

Entrance - configure users

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
13 posts • Page 1 of 1
Author
Message
marxinsoho
n00b
n00b
User avatar
Posts: 9
Joined: Mon Jun 13, 2005 5:32 pm
Location: Storming the barricades.

Entrance - configure users

  • Quote

Post by marxinsoho » Mon Jun 13, 2005 5:47 pm

Does anyone know how to to configure user accounts in Entrance? The Entrance documentation isn't very helpful with this - it tells me user accounts will automatically be created after one logs in for the first time. This did not happen. Any help would be appreciated!
Ya Basta!
Top
grzewho
l33t
l33t
User avatar
Posts: 626
Joined: Tue Dec 31, 2002 12:30 pm
Location: /home/g

  • Quote

Post by grzewho » Thu Jun 23, 2005 10:50 am

edit the config script in /usr/share/entrance, run it and place in /etc

Code: Select all

USE="freedom -software_patents" emerge --deep --update world
Top
erikedin
n00b
n00b
User avatar
Posts: 40
Joined: Sun Mar 16, 2003 12:48 pm
Location: Stockholm
Contact:
Contact erikedin
Website

  • Quote

Post by erikedin » Wed Jul 20, 2005 10:35 am

After trying for quite some time I finally looked through the source code for entrance and discovered how to make those user lists. The automatic generation of this list did not work for me either.

As previously mentioned, this is to be configured in the config file. However, I never found a reference to the actual (correct) keys to add to the config file. The keys that need to be changed/created are:

Code: Select all

/entrance/user/count 2
if you want 2 users.
The keys

Code: Select all

/entrance/user/0/user "myusername"
/entrance/user/0/icon "myusername.edj"
/entrance/user/0/session "Enlightenment"
/entrance/user/1/user "secondusername"
/entrance/user/1/icon "secondusername.edj"
/entrance/user/1/session "Enlightenment"
specify in turn username, icon to be displayed in user list, and session to be used, respectively, for each user. The icon file myusername.edj should be located in

Code: Select all

/usr/share/entrance/users
and can be a .jpg file, and possibly .png file, too.

Anyway, here is the build_config.sh that I used to create the entrance config file. This should already be located in

Code: Select all

/usr/share/entrance
. Note that I have changed the database to point to

Code: Select all

/etc/entrance_config.db
so this will overwrite any config file you had previously. The part pertaining to the user list is located at the bottom.

Code: Select all

#!/bin/sh -e
DB="/etc/entrance_config.db"
rm -f $DB

# set auth to 1 for pam, 2 for shadow
edb_ed $DB add /entrance/auth int 1

# uncomment the below to enable experimental OpenGL hardware acceleration
edb_ed $DB add /entrance/engine int 1
#edb_ed $DB add /entrance/xinerama/screens/w int 1
#edb_ed $DB add /entrance/xinerama/screens/h int 1
#edb_ed $DB add /entrance/xinerama/on/w int 1
#edb_ed $DB add /entrance/xinerama/on/h int 1
edb_ed $DB add /entrance/theme str "taillights.edj"
edb_ed $DB add /entrance/date_format str "%A %B %e, %Y"
edb_ed $DB add /entrance/time_format str "%l:%M:%S %p"
#edb_ed $DB add /entrance/fonts/count int 2
#edb_ed $DB add /entrance/fonts/0/str str "/usr/share/fonts/truetype/"
#edb_ed $DB add /entrance/fonts/1/str str "/usr/X11R6/lib/X11/fonts/Truetype/"
edb_ed $DB add /entrance/greeting/before str "Welcome to "
edb_ed $DB add /entrance/greeting/after str ""
edb_ed $DB add /entrance/session/count int 8
edb_ed $DB add /entrance/session/0/session str "default"
edb_ed $DB add /entrance/session/0/title str "Default"
edb_ed $DB add /entrance/session/0/icon str "default.png"
edb_ed $DB add /entrance/session/1/icon str "enlightenment.png"
edb_ed $DB add /entrance/session/1/title str "Enlightenment"
edb_ed $DB add /entrance/session/1/session str "Enlightenment"
edb_ed $DB add /entrance/session/2/session str "kde"
edb_ed $DB add /entrance/session/2/title str "KDE"
edb_ed $DB add /entrance/session/2/icon str "kde.png"
edb_ed $DB add /entrance/session/3/session str "gnome"
edb_ed $DB add /entrance/session/3/title str "Gnome"
edb_ed $DB add /entrance/session/3/icon str "gnome.png"
edb_ed $DB add /entrance/session/4/session str "blackbox"
edb_ed $DB add /entrance/session/4/title str "Blackbox"
edb_ed $DB add /entrance/session/4/icon str "blackbox.png"
edb_ed $DB add /entrance/session/5/session str "sawfish"
edb_ed $DB add /entrance/session/5/title str "Sawfish"
edb_ed $DB add /entrance/session/5/icon str "default.png"
edb_ed $DB add /entrance/session/6/session str "xfce"
edb_ed $DB add /entrance/session/6/title str "XFce"
edb_ed $DB add /entrance/session/6/icon str "xfce.png"
edb_ed $DB add /entrance/session/7/session str "failsafe"
edb_ed $DB add /entrance/session/7/title str "Failsafe"
edb_ed $DB add /entrance/session/7/icon str "failsafe.png"
edb_ed $DB add /entrance/system/reboot int 1
edb_ed $DB add /entrance/system/halt int 1
edb_ed $DB add /entrance/user/remember int 1
edb_ed $DB add /entrance/user/remember_n int 5
edb_ed $DB add /entrance/autologin/mode int 0
#edb_ed $DB add /entrance/autologin/user str "atmos"

edb_ed $DB add /entrance/user/count int 2
edb_ed $DB add /entrance/user/0/user str "erik"
edb_ed $DB add /entrance/user/0/icon str "erik.jpg"
edb_ed $DB add /entrance/user/0/session str "Enlightenment"
edb_ed $DB add /entrance/user/1/user str "someoneelse"
edb_ed $DB add /entrance/user/1/icon str "default.edj"
edb_ed $DB add /entrance/user/1/session str "Enlightenment"

#5273
<erno> hm. I've lost a machine.. literally _lost_. it responds to ping, it works completely, I just can't figure out where in my apartment it is.
- bash.org
Top
JoeG
Apprentice
Apprentice
User avatar
Posts: 179
Joined: Wed Jul 30, 2003 4:42 pm
Location: Kentucky, USA

  • Quote

Post by JoeG » Wed Jul 27, 2005 12:37 am

I'm having a bit of a problem getting entrance to start e17. Gnome and enlightenment (e16) work just fine. I'm probably doing something wrong. I edited /usr/share/entrance/build_config.sh to my liking, ran it, and copied the resulting entrance_config.db to /etc. I modified my /etc/rc.conf to use entrance as the login manager. Then I restarted xdm. Entrance works beautifully. Problem is, if I select E17 as my session and log in, the screen blanks out and xdm just restarts. E17 works fine from a GDM login. Can anyone grep through my build and tell me if anything jumps out at you?

/etc/rc.conf (snipped to show only the relevant stuff)

Code: Select all

# What display manager do you use ?  [ xdm | gdm | kdm | entrance ]
#DISPLAYMANAGER=gdm
DISPLAYMANAGER=entrance

# XSESSION is a new variable to control what window manager to start
# default with X if run with xdm, startx or xinit.  The default behavior
# is to look in /etc/X11/Sessions/ and run the script in matching the
# value that XSESSION is set to.  The support scripts is smart enouth to
# look in all bin directories if it cant find a match in /etc/X11/Sessions/,
# so setting it to "enligtenment" can also work.  This is basically used
# as a way for the system admin to configure a default system wide WM,
# allthough it will work if the user export XSESSION in his .bash_profile, etc.
#
# NOTE:  1) this behaviour is overridden when a ~/.xinitrc exists, and startx
#           is called.
#        2) even if a ~/.xsession exist, if XSESSION can be resolved, it will
#           be executed rather than ~/.xsession, else KDM breaks ...
#
# Defaults depending on what you install currently include:
#
# Gnome - will start gnome-session
# kde-<version> - will start startkde (ex: kde-3.0.2)
# Xsession - will start a terminal and a few other nice apps

#XSESSION="Gnome"
XSESSION="e17"
/usr/share/entrance/build_config.sh

Code: Select all

#!/bin/sh -e
DB="./entrance_config.db"
rm -f $DB

# set auth to 1 for pam, 2 for shadow
edb_ed $DB add /entrance/auth int 2

# uncomment the below to enable experimental OpenGL hardware acceleration
edb_ed $DB add /entrance/engine int 1
#edb_ed $DB add /entrance/xinerama/screens/w int 1
#edb_ed $DB add /entrance/xinerama/screens/h int 1
#edb_ed $DB add /entrance/xinerama/on/w int 1
#edb_ed $DB add /entrance/xinerama/on/h int 1
edb_ed $DB add /entrance/theme str "darkrock.edj"
edb_ed $DB add /entrance/date_format str "%A %B %e, %Y"
edb_ed $DB add /entrance/time_format str "%l:%M:%S %p"
edb_ed $DB add /entrance/fonts/count int 2
edb_ed $DB add /entrance/fonts/0/str str "/usr/share/fonts/truetype/"
edb_ed $DB add /entrance/fonts/1/str str "/usr/X11R6/lib/X11/fonts/Truetype/"
edb_ed $DB add /entrance/greeting/before str "Welcome to "
edb_ed $DB add /entrance/greeting/after str ""
edb_ed $DB add /entrance/session/count int 8
edb_ed $DB add /entrance/session/0/session str "default"
edb_ed $DB add /entrance/session/0/title str "Default"
edb_ed $DB add /entrance/session/0/icon str "default.png"
edb_ed $DB add /entrance/session/1/icon str "enlightenment.png"
edb_ed $DB add /entrance/session/1/title str "Enlightenment"
edb_ed $DB add /entrance/session/1/session str "Enlightenment"
edb_ed $DB add /entrance/session/2/session str "/usr/bin/enlightenment-0.17"
edb_ed $DB add /entrance/session/2/title str "DR17"
edb_ed $DB add /entrance/session/2/icon str "enlightenment.png"
edb_ed $DB add /entrance/session/3/session str "gnome"
edb_ed $DB add /entrance/session/3/title str "Gnome"
edb_ed $DB add /entrance/session/3/icon str "gnome.png"
edb_ed $DB add /entrance/session/4/session str "fluxbox"
edb_ed $DB add /entrance/session/4/title str "fluxbox"
edb_ed $DB add /entrance/session/4/icon str "blackbox.png"
#edb_ed $DB add /entrance/session/5/session str "sawfish"
#edb_ed $DB add /entrance/session/5/title str "Sawfish"
#edb_ed $DB add /entrance/session/5/icon str "default.png"
#edb_ed $DB add /entrance/session/6/session str "xfce"
#edb_ed $DB add /entrance/session/6/title str "XFce"
#edb_ed $DB add /entrance/session/6/icon str "xfce.png"
#edb_ed $DB add /entrance/session/7/session str "failsafe"
#edb_ed $DB add /entrance/session/7/title str "Failsafe"
#edb_ed $DB add /entrance/session/7/icon str "failsafe.png"
edb_ed $DB add /entrance/system/reboot int 1
edb_ed $DB add /entrance/system/halt int 1
edb_ed $DB add /entrance/user/remember int 1
edb_ed $DB add /entrance/user/remember_n int 5
edb_ed $DB add /entrance/autologin/mode int 0
#edb_ed $DB add /entrance/autologin/user str "atmos"

#edb_ed $DB add /entrance/user/count int 2
#edb_ed $DB add /entrance/user/0/user str "jgreen"
#edb_ed $DB add /entrance/user/0/icon str "robbie.png"
#edb_ed $DB add /entrance/user/0/session str "e17"
#edb_ed $DB add /entrance/user/1/user str "root"
#edb_ed $DB add /entrance/user/1/icon str "default.edj"
#edb_ed $DB add /entrance/user/1/session str "Enlightenment"
any and all help definitely appreciated.

JoeG

[UPDATE] I've found that if I plug in my username and password and then select my E17 session, it works. Go figure.
Linux User#226477
Top
mikegpitt
Advocate
Advocate
User avatar
Posts: 3224
Joined: Sat May 22, 2004 6:49 pm

  • Quote

Post by mikegpitt » Thu Jul 28, 2005 2:13 am

Did you ever get the username working in entrance? I'm having problems getting a username with icon to appear.

I am trying entrance with the Nebulous theme, since it appears to have a window in it where it is suppose to display users.

I added the keys as shown above, and checked with edb_gtk_ed to make sure they were added, but no luck. I also tried to delete the keys, and try the login method (logging into entrance once). This added the keys, but it still doesn't show any icon.

Can someone give me some help?

EDIT: I seemed to get the user list working with the taillights theme. No idea why it works here...
Top
pavkb
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 90
Joined: Tue Jan 20, 2004 9:05 pm
Location: USA

  • Quote

Post by pavkb » Thu Aug 04, 2005 4:18 pm

JoeG wrote:E17 works fine from a GDM login.
Can you please tell me how did you get E17 work with GDM. I have been looking for documentation on this ever since i was abel to build E17.
thanks
Top
JoeG
Apprentice
Apprentice
User avatar
Posts: 179
Joined: Wed Jul 30, 2003 4:42 pm
Location: Kentucky, USA

  • Quote

Post by JoeG » Thu Aug 04, 2005 10:11 pm

pavkb wrote:Can you please tell me how did you get E17 work with GDM. I have been looking for documentation on this ever since i was abel to build E17.
thanks
No prob, pavkb. It's a snap! Happy Gentoo'ing!

JoeG
Linux User#226477
Top
pavkb
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 90
Joined: Tue Jan 20, 2004 9:05 pm
Location: USA

  • Quote

Post by pavkb » Thu Aug 04, 2005 11:50 pm

thanks. will do that.
nice icon (avatar) by the way.
Top
pavkb
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 90
Joined: Tue Jan 20, 2004 9:05 pm
Location: USA

  • Quote

Post by pavkb » Fri Aug 05, 2005 12:01 am

i see the following in /usr/share/xsessions/

Code: Select all

ls -l /usr/share/xsessions/
total 16
-rw-r--r--  1 root root  181 Jul 19 22:52 enlightenment.desktop
-rwxr-xr-x  1 root root 4777 Jun 15 17:52 gnome.desktop
-rwxr-xr-x  1 root root 1607 Jul 14 07:29 xfce.desktop
So i look into enlightenment.desktop there & see the following

Code: Select all

[Desktop Entry]
Encoding=UTF-8
Name=Enlightenment
Comment=Log in using Enlightenment (Version 0.16.999.011)
Type=XSession
Exec=/usr/bin/enlightenment
TryExec=/usr/bin/enlightenment
because of emerge of e17 the /usr/bin/enlightenment was removed.
so i do this

Code: Select all

ls -l /usr/bin/enlightenment
lrwxrwxrwx  1 root root 27 Jul 19 23:39 /usr/bin/enlightenment -> /usr/bin/enlightenment-0.17
restart my xdm, X complains that it cannot find the executable named enlightenment when i pick it in gdm.

now i am planning to add a new .desktop entry for e17 there to see what happens.

thanks
Top
pavkb
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 90
Joined: Tue Jan 20, 2004 9:05 pm
Location: USA

  • Quote

Post by pavkb » Fri Aug 05, 2005 12:03 am

while i was re-reading my own post i noticed that the /usr/share/xsessions/enlightenment.desktop doesn't have the executable bit set as it is set for the other .desktop files there.
would this be a problem.
before i emerged e17 my 16 was working though.
Top
JoeG
Apprentice
Apprentice
User avatar
Posts: 179
Joined: Wed Jul 30, 2003 4:42 pm
Location: Kentucky, USA

  • Quote

Post by JoeG » Fri Aug 05, 2005 12:55 am

pavkb wrote:nice icon (avatar) by the way.
Thanks. I was messing around in gimp and that's what I came up with. :wink:
pavkb wrote:while i was re-reading my own post i noticed that the /usr/share/xsessions/enlightenment.desktop doesn't have the executable bit set as it is set for the other .desktop files there.
would this be a problem.
Shouldn't be. My permissions for /etc/X11/Sessions/e17 are 644 and it works while the others are 755. I'd just follow my last post and make sure that it's in /etc/X11/Sessions.
Linux User#226477
Top
pavkb
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 90
Joined: Tue Jan 20, 2004 9:05 pm
Location: USA

  • Quote

Post by pavkb » Fri Aug 05, 2005 7:52 pm

Well, i add a new enlightenment entry & it works. :lol:
thanks a lot.
not sure if this a proper thread to ask few enlightenment related questions.
in e16 i used to see that the menu used to move along with the mouse if they are going off the screen.
but it doesn't do that with e17.
Top
JoeG
Apprentice
Apprentice
User avatar
Posts: 179
Joined: Wed Jul 30, 2003 4:42 pm
Location: Kentucky, USA

  • Quote

Post by JoeG » Sat Aug 06, 2005 1:20 pm

pavkb wrote: in e16 i used to see that the menu used to move along with the mouse if they are going off the screen.
but it doesn't do that with e17.
Sure it does. Just direct your mouse toward the part of the menu that's cut off and the entire menu tree should scoot back toward the center of the screen. Glad to see that e17 is working for you. This is really cool software.
Linux User#226477
Top
Post Reply

13 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic