Re: [E-devel] Entrance patch to for obtaining system sessions list

2006-01-03 Thread Ibukun Olumuyiwa
Phuah Yee Keat wrote: Ibukun Olumuyiwa wrote: Does GDM use the same .desktop files that KDM uses? If so then perhaps this is something that can be standardized upon. The lack of a standard way of storing sessions is the reason why this feature isn't there in the first place. Although,

Re: [E-devel] Entrance patch to for obtaining system sessions list

2006-01-02 Thread Phuah Yee Keat
Ibukun Olumuyiwa wrote: Does GDM use the same .desktop files that KDM uses? If so then perhaps this is something that can be standardized upon. The lack of a standard way of storing sessions is the reason why this feature isn't there in the first place. Although, ideally, I would still prefer a

Re: [E-devel] Entrance patch to for obtaining system sessions list

2005-12-27 Thread Ibukun Olumuyiwa
Phuah Yee Keat wrote: Ibukun Olumuyiwa wrote: 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

Re: [E-devel] Entrance patch to for obtaining system sessions list

2005-12-26 Thread Phuah Yee Keat
Ibukun Olumuyiwa wrote: 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.

Re: [E-devel] Entrance patch to for obtaining system sessions list

2005-12-23 Thread Morten Nilsen
Morten Nilsen wrote: 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.

Re: [E-devel] Entrance patch to for obtaining system sessions list

2005-12-19 Thread Andrew Williams
perhaps looking at this on an ecore_config API level, rather than on a ecore_config binary tool parameters level would help. We need generic list handling in ecore_config and it is something I have pondered over much and never come to a satisfactory solution... A On Mon, Dec 19, 2005 at

Re: [E-devel] Entrance patch to for obtaining system sessions list

2005-12-19 Thread Morten Nilsen
Andrew Williams wrote: perhaps looking at this on an ecore_config API level, rather than on a ecore_config binary tool parameters level would help. We need generic list handling in ecore_config and it is something I have pondered over much and never come to a satisfactory solution... that is

Re: [E-devel] Entrance patch to for obtaining system sessions list

2005-12-19 Thread Morten Nilsen
Morten Nilsen wrote: Andrew Williams wrote: perhaps looking at this on an ecore_config API level, rather than on a ecore_config binary tool parameters level would help. We need generic list handling in ecore_config and it is something I have pondered over much and never come to a satisfactory

Re: [E-devel] Entrance patch to for obtaining system sessions list

2005-12-19 Thread Phuah Yee Keat
Morten Nilsen wrote: Andrew Williams wrote: perhaps looking at this on an ecore_config API level, rather than on a ecore_config binary tool parameters level would help. We need generic list handling in ecore_config and it is something I have pondered over much and never come to a satisfactory

Re: [E-devel] Entrance patch to for obtaining system sessions list

2005-12-19 Thread Morten Nilsen
Phuah Yee Keat wrote: I have not gone thru the source of ecore_config yet, but at first I was thinking more of maintaining the current way of making a list, say /entrance/path/0/name /entrance/path/1/name ... for numbered list, as it already is previously for the hardcoded sessions in

Re: [E-devel] Entrance patch to for obtaining system sessions list

2005-12-19 Thread Andrew Williams
These files were old and suitable for human editing, the ecore_config is supposed to be more optimal on space, speed and nice API, not on editing the files by hand! anyhow - that is the old edb stuff, which we have never tried to be compliant with... A On Mon, Dec 19, 2005 at 06:54:12PM +0800,

Re: [E-devel] Entrance patch to for obtaining system sessions list

2005-12-18 Thread Phuah Yee Keat
Morten Nilsen wrote: Phuah Yee Keat wrote: like I already mentioned, why did you choose a non-standard path separator? This is solely following KDM's configuration of separating items in the configuration value, can be changed to the path separator. :) change it, then :) KDM does

Re: [E-devel] Entrance patch to for obtaining system sessions list

2005-12-18 Thread Morten Nilsen
Phuah Yee Keat wrote: I am looking at possibilites (in the future, maybe) of having syntax like ecore_config -c entrance_config.cfg -k /entrance/sessions/path -addstring /etc/X11/xsession. I can see an implementation that does this trick easily enough.. *mocks something up* ./ecore_config -c

Re: [E-devel] Entrance patch to for obtaining system sessions list

2005-12-18 Thread Corey Donohoe
xcomp you should let these guys go in cvs... :) do you guys have sf accts ?On 12/16/05, Morten Nilsen [EMAIL PROTECTED] wrote: Phuah Yee Keat wrote:like I already mentioned, why did you choose a non-standard path separator? This is solely following KDM's configuration of separating items in the

Re: [E-devel] Entrance patch to for obtaining system sessions list

2005-12-18 Thread Phuah Yee Keat
Morten Nilsen wrote: Phuah Yee Keat wrote: I am looking at possibilites (in the future, maybe) of having syntax like ecore_config -c entrance_config.cfg -k /entrance/sessions/path -addstring /etc/X11/xsession. I can see an implementation that does this trick easily enough.. *mocks

Re: [E-devel] Entrance patch to for obtaining system sessions list

2005-12-18 Thread Morten Nilsen
Phuah Yee Keat wrote: I'll clean it up a bit and send it in a little while.. How about this: -addstring /usr/local/e17/applications -removestring /usr/local/share/applications Hehe, this was more like what's on my mind, since the advantage of having a list is the ability to have

Re: [E-devel] Entrance patch to for obtaining system sessions list

2005-12-18 Thread Morten Nilsen
Corey Donohoe wrote: do you guys have sf accts ? I do, actually.. though I've hardly ever used it.. mortenn Cheers, -- Morten :wq --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop!

Re: [E-devel] Entrance patch to for obtaining system sessions list

2005-12-16 Thread Phuah Yee Keat
Morten Nilsen wrote: Phuah Yee Keat wrote: http://www.geocities.com/kiwlm/entrance_xsession_additional.tar.gz (with whatever bandwidth limit geocities have) attached a patch against the tarball 1. I have copied the .desktop files from kdm verbatim, and install them under PACKAGE_DATA_DIR

Re: [E-devel] Entrance patch to for obtaining system sessions list

2005-12-16 Thread Morten Nilsen
Phuah Yee Keat wrote: like I already mentioned, why did you choose a non-standard path separator? This is solely following KDM's configuration of separating items in the configuration value, can be changed to the path separator. :) change it, then :) KDM does something in a non-standard

[E-devel] Entrance patch to for obtaining system sessions list

2005-12-15 Thread Phuah Yee Keat
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? Cheers, Phuah Yee Keat --- This SF.net email is sponsored by: Splunk Inc. Do you grep

Re: [E-devel] Entrance patch to for obtaining system sessions list

2005-12-15 Thread Morten Nilsen
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.. -- Morten

Re: [E-devel] Entrance patch to for obtaining system sessions list

2005-12-15 Thread Phuah Yee Keat
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

Re: [E-devel] Entrance patch to for obtaining system sessions list

2005-12-15 Thread Morten Nilsen
Phuah Yee Keat wrote: 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'. immediate thought, use the standard path delimiter : instead of , *reads on* -- Morten :wq

Re: [E-devel] Entrance patch to for obtaining system sessions list

2005-12-15 Thread Morten Nilsen
Phuah Yee Keat wrote: +static void +tolower_str(char *str) +{ + size_t i; + size_t len = strlen(str); change that to: size_t i, len; len = strlen(str); -- Morten :wq --- This SF.net email is sponsored by: Splunk Inc. Do you grep

Re: [E-devel] Entrance patch to for obtaining system sessions list

2005-12-15 Thread Morten Nilsen
Phuah Yee Keat wrote: + char fullpath[1024] = {0}; PATH_MAX -- Morten :wq --- 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

Re: [E-devel] Entrance patch to for obtaining system sessions list

2005-12-15 Thread Morten Nilsen
Phuah Yee Keat wrote: http://www.geocities.com/kiwlm/entrance_xsession_additional.tar.gz (with whatever bandwidth limit geocities have) attached a patch against the tarball 1. I have copied the .desktop files from kdm verbatim, and install them under PACKAGE_DATA_DIR It is my personal