| View previous topic :: View next topic |
| Author |
Message |
theBlackDragon l33t


Joined: 23 Nov 2002 Posts: 756 Location: Gent (Belgium)
|
Posted: Wed Nov 17, 2004 9:28 pm Post subject: Removing sessions from entrance |
|
|
I had been toying with some kde pre-releases which consequently showed up in entrance, all those old versions have now been removed but the entries in entrance still remain, so I edited entrance_config_db and removed the offending entries, instead of ignoring the now removed entries entrance displays "Doesn't matter" in the sessions menu and segfaults when you click on one of those doesn't matters.
The obvious solution would be to rename my other entries "/entrance/session/6/icon" etc to "/entrance/session/4/icon" and so on. But that doesn't appear to be possible, at least, not with edb_gtk_ed...is there any other way of doing this, besides re-adding entries 4 and 5 by hand? _________________ Fvwm|Fvwm forum|Fvwm Wiki |
|
| Back to top |
|
 |
iamlarryboy Guru


Joined: 25 Jan 2003 Posts: 480 Location: Prince George, BC, Canada
|
Posted: Wed Nov 17, 2004 11:20 pm Post subject: |
|
|
I am not familiar with entrance. However try looking in
/etc/X11/Sessions _________________ Esteem : Essays, Fiction, and News Commentary. |
|
| Back to top |
|
 |
theBlackDragon l33t


Joined: 23 Nov 2002 Posts: 756 Location: Gent (Belgium)
|
Posted: Sat Nov 20, 2004 8:34 pm Post subject: |
|
|
Apparently entrance/X just bails out when trying to start a session from my handmade config... I don't see what the problem is as the session values have been taken from /etc/X11/Sessions and correspond to the values in my old, working config...
Here's my build_config.sh:
| Code: | #!/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 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.eet"
edb_ed $DB add /entrance/date_format str "%A, %e %B %Y"
edb_ed $DB add /entrance/time_format str "%k:%M:%S"
#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 7
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 "Fvwm 2"
edb_ed $DB add /entrance/session/2/title str "fvwm2"
edb_ed $DB add /entrance/session/2/icon str "default.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 "kde-3.3.1"
edb_ed $DB add /entrance/session/4/title str "KDE"
edb_ed $DB add /entrance/session/4/icon str "kde.png"
edb_ed $DB add /entrance/session/5/session str "lookingglass"
edb_ed $DB add /entrance/session/5/title str "Lookingglass"
edb_ed $DB add /entrance/session/5/icon str "default.png"
edb_ed $DB add /entrance/session/6/session str "failsafe"
edb_ed $DB add /entrance/session/6/title str "Failsafe"
edb_ed $DB add /entrance/session/6/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/0/icon "default.eet"
edb_ed $DB add /entrance/user/0/session "fvwm2"
edb_ed $DB add /entrance/user/0/user "theblackdragon"
edb_ed $DB add /entrance/user/count 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" |
Thanks for any advice you can give _________________ Fvwm|Fvwm forum|Fvwm Wiki |
|
| Back to top |
|
 |
ixion l33t


Joined: 16 Dec 2002 Posts: 708
|
Posted: Tue Nov 23, 2004 8:47 pm Post subject: |
|
|
I just edited mine by using edb_gtk_ed to edit /etc/entrance_config.db so I could change the order in which they appear. You should be able to just delete sessions from there. There's 3 lines per session: icon, session, title. Make sure to delete all 3.
I hope this helps.. _________________ only the paranoid survive |
|
| Back to top |
|
 |
theBlackDragon l33t


Joined: 23 Nov 2002 Posts: 756 Location: Gent (Belgium)
|
Posted: Tue Nov 23, 2004 9:30 pm Post subject: |
|
|
| ixion wrote: | I just edited mine by using edb_gtk_ed to edit /etc/entrance_config.db so I could change the order in which they appear. You should be able to just delete sessions from there. There's 3 lines per session: icon, session, title. Make sure to delete all 3.
I hope this helps.. |
If I just delete those lines from entrance it displays those "doesn't matter" that just make it segfault, I then tried to just rebuild the entrance_config_db with the script provided in the distribution, but that didn't work out very well, I think the latest entrance cvs checkout in portage is just plain broken...
On my desktop it just crashes when I try to long, on my laptop it always logs me in into the default session even though my session variables are correct of which I'm 100% certain. So I'm just waiting for the next CVS checkout in portage as getting it from Enlightenment CVS isn't much of an option as Rasterman is reordening things in there, which broke about everything in there...
*sigh*
Thanks anyway  _________________ Fvwm|Fvwm forum|Fvwm Wiki |
|
| Back to top |
|
 |
|