Phuah Yee Keat wrote: > Morten Nilsen wrote: > >> Phuah Yee Keat wrote: >> >>> Hi, >>> >>> Yeah, there's no attachments to this email, because I have a 74k >>> tar.gz file and a 10k .patch file. Should I sent to this list and >>> flood everybody? >> >> >> >> if you can, put the file on a web-server and link it :) >> >> I don't really care, but I suspect other might.. > > > > Here you go: > http://www.geocities.com/kiwlm/entrance_xsession_additional.tar.gz > (with whatever bandwidth limit geocities have) > > this should be untarred under e17/entrance > > 1. I have copied the .desktop files from kdm verbatim, and install them > under PACKAGE_DATA_DIR > > 2. Entrance will now only have a configuration to where to look for > those .desktop files, currently they are stored in a comma separated > path list as '/entrance/sessions/dir'. Being a comma separated value > makes updates to this value harder though, maybe considering > '/entrance/sessions/dir/1', '/entrance/sessions/dir/2'? > > 3. I have added some defaults (from my own consensus) and also the > location that enlightenment would install its enlightenment.desktop if > enlightenment is using the same --prefix as entrance is. I have found > nothing from google about where these XSession .desktop files should > reside, Application .desktop files should go into > /usr/share/applications though... > > 4. Entrance would try to look for the executable as specified in TryExec > in the desktop file, in the PATH environment variable, as KDM would have > done it. > > 5. Since KDM's .desktop files does not have "Icon" parameters, none of > the entries have default Icons, so I made an addition to check if > entrance have the icon files installed, kde.png, enlightenment.png, > gnome.png... > > 6. Now that the sessions are auto determined, I explicitely added a > "Default" session so that Entrance would go thru Xsession. > > 7. I have removed all of session/%d/xxx stuffs from build_config.sh.in > and the entrance_config.c. > > 8. I have only tested compile on my slackware box. No idea whether these > would compile under Fedora/Mandrake/Debian/FreeBSD. > > Feedback welcomed. :) > > Cheers, > Phuah Yee Keat >
Sorry ... missed this earlier. If I understand correctly, this patch was written for Slackware? If so I can't take it...what we would want is a script that at least covers most of the major distros (Debian, Mandriva, Fedora, Ubuntu, Gentoo, Slackware) and understands how each of them stores X sessions. For example, Mandriva does not use .desktop files to store sessions - it keeps entries under /etc/X11/wmsession.d/. This is probably much better done as a script that determines the system's linux distribution, obtains the X sessions accordingly, and outputs a session list that can then be compiled into the configuration at build time. -- Ibukun Olumuyiwa http://xcomputerman.com "I will stand upon my watch, and set me upon the tower, and will watch to see what he will say unto me, and what I shall answer when I am reproved." ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel