From: Felix B. <fe...@fb...> - 2005-02-18 16:37:30
|
On Thu, 17 Feb 2005 20:10:47 +0100 Emanuele Cecchi <ema...@sp...> wrote: > I 've followed the instructions on officila sites and not officlas but > I not able to make visible all my wm to entrance. > I got everithing set up in config like /etc/X11/Session , in > /etc/rc-conf etc , the problem is that I can't figure to edit out the > entrance session with edb_gtk_ed /etc/entrance. > In fact I added fvwm2 and e17 but when I start Entrance I got no list > of them. I am having a similar problem: Even though I have set up everything correctly, afaict, entrance won't launch any of the sessions I put in /etc/X11/Sessions. Also, entrance does not produce any usable debugging output/error messages. So: Please point me to the relevant part of entrance's sourcecode, where the session scripts/files are located/loaded/started etc. Thanks, Felix |
From: Felix B. <fe...@fb...> - 2005-02-21 19:59:04
|
On Fri, 18 Feb 2005 17:56:00 +0000 Corfizz <fee...@co...> wrote: > I have it working, and this is what I did: (you may have already done some of this, I suppose) > -Add shell scripts (as root) to /etc/X11/Sessions that dictate which window managers to start; for example, I have one called e17 whose content is: > #!/bin/sh > /usr/local/bin/enlightenment > > -I then did chmod a+x e17 to make the script executable. > > -As root, type: 'edb_gtk_ed /etc/entrance_config.db' (without the quotes). > > -Following the model already in this database, add an entry called /entrance/session/x/title where x is the next number in the sequence of sessions. Change the 'type' to 'String' and type a name for the session. Do the same for the 'icon' entry and the 'session' entry, for which you should type the name of the file that you created in /etc/X11/Sessions. All of these are string entries. > > For example, my e17 entries are: > str /entrance/session/1/session e17 > str /entrance/session/1/title e17 > str /entrance/session/1/icon default.png > > -Finally, change the all-too-vital key called '/entrance/session/count' so that it reflects the total number of sessions you have configured. Since there is a session 0, this will be one more than the last session key number you input. > > -Press Save. Press Quit. Log out and test. > Hope that helps. Thank you, Corfizz, for your guide, but I have done all of the above already. And still, I can't start any session. (All I get is a black screen, and then I am back at entrance.) I believe, I will have to hunt this problem down by looking at the code. So: Could anybody knowledgeable out there point me to the relevant code lines, *please*? I would like to know: * In what part of the code are the session files loaded? * In what part of the code is the session started? Thank you, Felix |
From: Nigel B. <nig...@ro...> - 2005-02-21 20:27:25
|
The relevent code is here: http://cvs.sourceforge.net/viewcvs.py/enlightenment/e17/apps/entrance/src= /client/entrance_session.c?rev=3D1.67&view=3Dauto void entrance_session_start_user_session(Entrance_Session * e) but I would think that it has to be a permission problem, does everybody have read and exec access to the scripts? > On Fri, 18 Feb 2005 17:56:00 +0000 > Corfizz <fee...@co...> wrote: > >> I have it working, and this is what I did: (you may have already done >> some of this, I suppose) >> -Add shell scripts (as root) to /etc/X11/Sessions that dictate which >> window managers to start; for example, I have one called e17 whose >> content is: >> #!/bin/sh >> /usr/local/bin/enlightenment >> >> -I then did chmod a+x e17 to make the script executable. >> >> -As root, type: 'edb_gtk_ed /etc/entrance_config.db' (without the >> quotes). >> >> -Following the model already in this database, add an entry called >> /entrance/session/x/title where x is the next number in the sequence o= f >> sessions. Change the 'type' to 'String' and type a name for the sessio= n. >> Do the same for the 'icon' entry and the 'session' entry, for which yo= u >> should type the name of the file that you created in /etc/X11/Sessions= . >> All of these are string entries. >> >> For example, my e17 entries are: >> str /entrance/session/1/session e17 >> str /entrance/session/1/title e17 >> str /entrance/session/1/icon default.png >> >> -Finally, change the all-too-vital key called '/entrance/session/count= ' >> so that it reflects the total number of sessions you have configured. >> Since there is a session 0, this will be one more than the last sessio= n >> key number you input. >> >> -Press Save. Press Quit. Log out and test. >> Hope that helps. > > > Thank you, Corfizz, for your guide, but I have done all of the above > already. And still, I can't start any session. (All I get is a black > screen, and then I am back at entrance.) I believe, I will have to hunt > this problem down by looking at the code. So: > > Could anybody knowledgeable out there point me to the relevant code > lines, *please*? > > I would like to know: > > * In what part of the code are the session files loaded? > * In what part of the code is the session started? > > Thank you, > Felix > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users= . > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=3D6595&alloc_id=3D14396&op=3Dclick > _______________________________________________ > enlightenment-devel mailing list > enl...@li... > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > |