Re: [E-devel] e17 cvs - mount module
Laurence, Yes, you will need a users option in your fstab to make that work. Pamconsole may be cleaner, but not everyone has pam installed on their system. devilhorns Laurence Vanek wrote: I havent had much joy with this module I think its because Fedora Core 4 uses the following line in /etc/fstab to mount my cd drive: == /dev/hdd /media/cdrecorder auto pamconsole,exec,noauto,managed 0 0 == (hdd, not hdc, is my cd drive label) It looks like Fedora looks to the pamconsole for permissions. README file for the mount module indicates that I need users in the options. Wouldnt the pamconsole be cleaner? Maybe its an issue with other distros if use pamconsole. --- 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://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel --- 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://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] Re: E CVS: mem devilhorns
Well, thats really nice. But I use quite small gadgets of the size 52x52. But then, the text goes out from the gadget rectangle. Is it possible to fit into gadget size ? regards aleksej On 2/21/06, enlightenment-cvs@lists.sourceforge.net enlightenment-cvs@lists.sourceforge.net wrote: Enlightenment CVS committal Author : devilhorns Project : e_modules Module : mem Dir : e_modules/mem Modified Files: e_mod_main.c Log Message: At morlenxus's request, Add total memory/used memory === RCS file: /cvsroot/enlightenment/e_modules/mem/e_mod_main.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- e_mod_main.c20 Feb 2006 18:23:28 - 1.2 +++ e_mod_main.c21 Feb 2006 12:36:08 - 1.3 @@ -16,7 +16,7 @@ static void _mem_face_cb_menu_edit (void *data, E_Menu *mn, E_Menu_Item *mi); static void _mem_face_cb_menu_configure (void *data, E_Menu *mn, E_Menu_Item *mi); static int _mem_face_update_values (void *data); -static void _mem_face_get_mem_values(Mem_Face *cf, int *real, int *swap); +static void _mem_face_get_mem_values(Mem_Face *cf, int *real, int *swap, int *total_real, int *total_swap); static int mem_count; @@ -408,19 +408,19 @@ _mem_face_update_values(void *data) { Mem_Face *cf; - int real, swap; + int real, swap, total_real, total_swap; Edje_Message_String_Set *msg; char real_str[100]; char swap_str[100]; cf = data; - _mem_face_get_mem_values(cf, real, swap); + _mem_face_get_mem_values(cf, real, swap, total_real, total_swap); real = real / 1024; swap = swap / 1024; - snprintf(real_str, sizeof(real_str), %d MB, real); - snprintf(swap_str, sizeof(swap_str), %d MB, swap); + snprintf(real_str, sizeof(real_str), %d/%d MB, total_real, real); + snprintf(swap_str, sizeof(swap_str), %d/%d MB, total_swap, swap); msg = malloc(sizeof(Edje_Message_String_Set) - sizeof(char *) + (1 + sizeof(char *))); msg-count = 2; @@ -433,7 +433,7 @@ } static void -_mem_face_get_mem_values(Mem_Face *cf, int *real, int *swap) +_mem_face_get_mem_values(Mem_Face *cf, int *real, int *swap, int *total_real, int *total_swap) { FILE *pmeminfo = NULL; int cursor = 0; @@ -506,5 +506,7 @@ *real = mtotal - mfree; *swap = stotal - sfree; + *total_real = mtotal / 1024; + *total_swap = stotal / 1024; return; } --- 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://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs -- Aleksej Struk Master Degree Student Free University of Bozen-Bolzano Faculty of Computer Science phone: +39-0471-061749 cell phone: +39-3204627049 [EMAIL PROTECTED] [EMAIL PROTECTED] - http://www. --- 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://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Re: E CVS: mem devilhorns
Aleksej, I'll look into that for ya :) devilhorns Aleksej Struk wrote: Well, thats really nice. But I use quite small gadgets of the size 52x52. But then, the text goes out from the gadget rectangle. Is it possible to fit into gadget size ? regards aleksej On 2/21/06, enlightenment-cvs@lists.sourceforge.net enlightenment-cvs@lists.sourceforge.net wrote: Enlightenment CVS committal Author : devilhorns Project : e_modules Module : mem Dir : e_modules/mem Modified Files: e_mod_main.c Log Message: At morlenxus's request, Add total memory/used memory === RCS file: /cvsroot/enlightenment/e_modules/mem/e_mod_main.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- e_mod_main.c20 Feb 2006 18:23:28 - 1.2 +++ e_mod_main.c21 Feb 2006 12:36:08 - 1.3 @@ -16,7 +16,7 @@ static void _mem_face_cb_menu_edit (void *data, E_Menu *mn, E_Menu_Item *mi); static void _mem_face_cb_menu_configure (void *data, E_Menu *mn, E_Menu_Item *mi); static int _mem_face_update_values (void *data); -static void _mem_face_get_mem_values(Mem_Face *cf, int *real, int *swap); +static void _mem_face_get_mem_values(Mem_Face *cf, int *real, int *swap, int *total_real, int *total_swap); static int mem_count; @@ -408,19 +408,19 @@ _mem_face_update_values(void *data) { Mem_Face *cf; - int real, swap; + int real, swap, total_real, total_swap; Edje_Message_String_Set *msg; char real_str[100]; char swap_str[100]; cf = data; - _mem_face_get_mem_values(cf, real, swap); + _mem_face_get_mem_values(cf, real, swap, total_real, total_swap); real = real / 1024; swap = swap / 1024; - snprintf(real_str, sizeof(real_str), %d MB, real); - snprintf(swap_str, sizeof(swap_str), %d MB, swap); + snprintf(real_str, sizeof(real_str), %d/%d MB, total_real, real); + snprintf(swap_str, sizeof(swap_str), %d/%d MB, total_swap, swap); msg = malloc(sizeof(Edje_Message_String_Set) - sizeof(char *) + (1 + sizeof(char *))); msg-count = 2; @@ -433,7 +433,7 @@ } static void -_mem_face_get_mem_values(Mem_Face *cf, int *real, int *swap) +_mem_face_get_mem_values(Mem_Face *cf, int *real, int *swap, int *total_real, int *total_swap) { FILE *pmeminfo = NULL; int cursor = 0; @@ -506,5 +506,7 @@ *real = mtotal - mfree; *swap = stotal - sfree; + *total_real = mtotal / 1024; + *total_swap = stotal / 1024; return; } --- 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://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs -- Aleksej Struk Master Degree Student Free University of Bozen-Bolzano Faculty of Computer Science phone: +39-0471-061749 cell phone: +39-3204627049 [EMAIL PROTECTED] [EMAIL PROTECTED] - http://www. --- 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://sel.as-us.falkag.net/sel?cmd=kkid3432bid#0486dat1642 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel --- 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://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] discussion: desktop lock functionality
Hello raster, Thanks for a great tutorial how to implement a desktop locking windows. However, it is already exists. It was really easy!. Moreover I learned edje interfaces as well. :) Now I have the following question. First of all I decided to create a possibility to set a personilized desktop locking password. However, I want to implement it through a config dialog. I want to put some options in this dialog that will allow to enter the password. Since, everybody would like to have this passwd permanent, I thinkg to store int inside E configuration. More precisely in e_config datastructure. How I understand, I have to insert a new field into this structure(e_config.h). Moreover, as I remmember, after changing the config structure, E required to redo my desktop config, since the version of configuration file was increased. My question is : if I insert new data fields into config, should I increase a version number of config ? or I can leave everything as it is ? Second, after I finish with personal desktop lock password I will step to sys wide auth through the pam. However my idea is to have both auth possibilities. However, I think to introduce some sort of auth precedence. So, if the personal passwd is set, then pam is not used. And vice versa, if personal passwd is not set, then pam will be used. regards, aleksej // NB: this is from the view of doing an e17 module. // // you can create a fullscreen window using e_popup and then just fill it with // some edje object. check the e_popup.h for api. you can create an input only // window and grab the mouse and keyboard to that window alone - this way you have // taken control of all input devices and sent their input to a particular window // (see e_exebuf.c or e_winlist.c for examples). they both do this trick and ONLY // process keybindings selectively themseleves, if they desire. now u have stolen // they keybo9ard and mouse, overlayed the screen with a big popup (just use a // very high layer like 1 for the popup layer) so you can't see anything // (remember - you probably want to go thru the list of all managers, then each // container per manager, then each zone per container (each of these list their // sub-components so u can just walk this list easily), you want to create a popup // PER zone that exists and maybe only put a blank or disabled object on all // zones except 1 where you will accept some unlock mechanism (for now i suggest // you just put a button u press and wait for a signal from teh edje object when // the thing is unlocked, also just handle the Escape key to abort)). now u have // the basics of snarfing control of the screen - ALL screens (dont forget that - // there may be multiple managers, multilple containers per manager and multiple // zones per container), you have the NEXT stage - how do you unlock? well - u // need a way to accept some authorization. youc an do this 2 ways. 1. traditional // password entry - you will need a working entry box (in fact you can just do // this yourself with key down events - see e_exebuf.c for an example) and just // display * chars instead of what was actually typed (for texting you are going // to want to see the thigns u type though). now u have a password - you will need // to authenticate this using pam - this is where the nastiness comes in - dealing // with pam. see entrance code :) 2. DIY userspace. don't use the users password // but implement another system - the user can set a SPECIAL unlock password or // pin # e stores it in its own files and just matches it. its much simpler than // pam - and you will need a way for the user to SET it - but maybe this would be // a good first cut (just open ~/.elockpw file thats a text file with your // unlock/lock password). --- 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://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] discussion: desktop lock functionality
On 2/21/06, Aleksej Struk [EMAIL PROTECTED] wrote: Hello raster, Thanks for a great tutorial how to implement a desktop locking windows. However, it is already exists. It was really easy!. Moreover I learned edje interfaces as well. :) Now I have the following question. First of all I decided to create a possibility to set a personilized desktop locking password. However, I want to implement it through a config dialog. I want to put some options in this dialog that will allow to enter the password. Since, everybody would like to have this passwd permanent, I thinkg to store int inside E configuration. More precisely in e_config datastructure. How I understand, I have to insert a new field into this structure(e_config.h). Moreover, as I remmember, after changing the config structure, E required to redo my desktop config, since the version of configuration file was increased. My question is : if I insert new data fields into config, should I increase a version number of config ? or I can leave everything as it is ? Second, after I finish with personal desktop lock password I will step to sys wide auth through the pam. However my idea is to have both auth possibilities. However, I think to introduce some sort of auth precedence. So, if the personal passwd is set, then pam is not used. And vice versa, if personal passwd is not set, then pam will be used. regards, aleksej // NB: this is from the view of doing an e17 module. // // you can create a fullscreen window using e_popup and then just fill it with // some edje object. check the e_popup.h for api. you can create an input only // window and grab the mouse and keyboard to that window alone - this way you have // taken control of all input devices and sent their input to a particular window // (see e_exebuf.c or e_winlist.c for examples). they both do this trick and ONLY // process keybindings selectively themseleves, if they desire. now u have stolen // they keybo9ard and mouse, overlayed the screen with a big popup (just use a // very high layer like 1 for the popup layer) so you can't see anything // (remember - you probably want to go thru the list of all managers, then each // container per manager, then each zone per container (each of these list their // sub-components so u can just walk this list easily), you want to create a popup // PER zone that exists and maybe only put a blank or disabled object on all // zones except 1 where you will accept some unlock mechanism (for now i suggest // you just put a button u press and wait for a signal from teh edje object when // the thing is unlocked, also just handle the Escape key to abort)). now u have // the basics of snarfing control of the screen - ALL screens (dont forget that - // there may be multiple managers, multilple containers per manager and multiple // zones per container), you have the NEXT stage - how do you unlock? well - u // need a way to accept some authorization. youc an do this 2 ways. 1. traditional // password entry - you will need a working entry box (in fact you can just do // this yourself with key down events - see e_exebuf.c for an example) and just // display * chars instead of what was actually typed (for texting you are going // to want to see the thigns u type though). now u have a password - you will need // to authenticate this using pam - this is where the nastiness comes in - dealing // with pam. see entrance code :) 2. DIY userspace. don't use the users password // but implement another system - the user can set a SPECIAL unlock password or // pin # e stores it in its own files and just matches it. its much simpler than // pam - and you will need a way for the user to SET it - but maybe this would be // a good first cut (just open ~/.elockpw file thats a text file with your // unlock/lock password). --- 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://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel Doesn't it need to implement too XScreenSaver extension into ecore ? -- Beber [EMAIL PROTECTED] --- 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://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642
Re: [E-devel] e17 cvs - mount module
Christopher Michael wrote: Laurence, Yes, you will need a users option in your fstab to make that work. Pamconsole may be cleaner, but not everyone has pam installed on their system. devilhorns Laurence Vanek wrote: I havent had much joy with this module I think its because Fedora Core 4 uses the following line in /etc/fstab to mount my cd drive: == /dev/hdd /media/cdrecorder auto pamconsole,exec,noauto,managed 0 0 == (hdd, not hdc, is my cd drive label) It looks like Fedora looks to the pamconsole for permissions. README file for the mount module indicates that I need users in the options. Wouldnt the pamconsole be cleaner? Maybe its an issue with other distros if use pamconsole. Final question: Isnt e17 distro aware? If so can mount module use this awareness? --- 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://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] XGL
Whats this? Looks like a seperate composite manager can handle 3d effekts in this modell?! http://fedoraproject.org/wiki/RenderingProject/aiglx On Fri, 2006-02-17 at 18:48 +0100, Michel Briand wrote: Hi you certainly have noticed this link: http://linux.slashdot.org/article.pl?sid=06/02/08/0624253 and watch this movie: http://www.freedesktop.org/~davidr/xgl-demo1.xvid.avi What is the status of 3D in E17 ? Does the ever changing EFL would be stable enough one day to begin hack some nice features? No :p, I'm joking, sorry. Regards, Michel --- 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://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Greetings, Christian Holzberger [EMAIL PROTECTED] --- 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://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] Re: E CVS: apps/e e-taro
The following commit was related to an email that came in from Jerome Pinot on the e-intl list - See the text of Jerome's email below. Regards! David Dir : e17/apps/e/data/input_methodsModified Files: Makefile.amAdded Files:iiimf.imcLog Message:Jerome Pinot's new iiimf.imc file for im-sdk Hi, I did a new default imc file for input using the iiim framework of openi18n: http://www.openi18n.org/modules.php?op=modloadname=Sectionsfile=indexreq%20=viewarticleartid=30page=1 [EMAIL PROTECTED]:/tmp$ enlightenment_imc -list iiimf.imc Config File List: Config Version: 1 Config Name: iiimf Command Line: iiimx gtk_im_module: iiim qt_im_module: iiimqcf xmodifiers: @im=htt Makes my .xinitrc cleaner :-) I don't like binary patch so I just send the EET file, hope you'll deal with this. Regards, -- Jerome Pinot
Re: [E-devel] XGL
And you dont have to depend on OpenGL On Wed, 2006-02-22 at 00:11 +0100, Christian Holzberger wrote: Whats this? Looks like a seperate composite manager can handle 3d effekts in this modell?! http://fedoraproject.org/wiki/RenderingProject/aiglx On Fri, 2006-02-17 at 18:48 +0100, Michel Briand wrote: Hi you certainly have noticed this link: http://linux.slashdot.org/article.pl?sid=06/02/08/0624253 and watch this movie: http://www.freedesktop.org/~davidr/xgl-demo1.xvid.avi What is the status of 3D in E17 ? Does the ever changing EFL would be stable enough one day to begin hack some nice features? No :p, I'm joking, sorry. Regards, Michel --- 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://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Greetings, Christian Holzberger [EMAIL PROTECTED] --- 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://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel