Re: [E-devel] desklock softlock feature

2007-04-22 Thread Stark, Thomas
Hi again,

attached a new version of the softlock patch which applies against
current cvs.

Maybe somebody find it useful too.

Bye,
Thomas


Am Samstag, den 17.03.2007, 13:43 +0100 schrieb Stark, Thomas:
 Hi,
 
 attached a little patch which delays the password input after the
 screensaver timeout locks your screen. I found it helpful when I didn't
 create any input event awhile and the timed out screensaver force me to
 enter my password while sitting in front of the computer.
 
 The patch only applies correctly after applying the desklock config
 dialog fix I send before.
 
 Bye,
 Thomas
 
 
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___ enlightenment-devel mailing 
 list enlightenment-devel@lists.sourceforge.net 
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
-- 
 Stark, Thomas [EMAIL PROTECTED]
diff -Nur cvs/e17/apps/e/src/bin/e_config.c build/e17/apps/e/src/bin/e_config.c
--- cvs/e17/apps/e/src/bin/e_config.c	2007-04-15 12:12:40.0 +0200
+++ build/e17/apps/e/src/bin/e_config.c	2007-04-21 14:18:25.0 +0200
@@ -490,6 +490,7 @@
E_CONFIG_VAL(D, T, desklock_autolock_screensaver, INT);
E_CONFIG_VAL(D, T, desklock_autolock_idle, INT);
E_CONFIG_VAL(D, T, desklock_autolock_idle_timeout, DOUBLE);
+   E_CONFIG_VAL(D, T, desklock_softlock_timeout, DOUBLE);
E_CONFIG_VAL(D, T, desklock_use_custom_desklock, INT);
E_CONFIG_VAL(D, T, desklock_custom_desklock_cmd, STR);
E_CONFIG_VAL(D, T, display_res_restore, INT);
@@ -1386,6 +1387,10 @@
e_config-border_fix_on_shelf_toggle = 0;
IFCFGEND;

+   IFCFG(0x0117);
+   e_config-desklock_softlock_timeout = 0;
+   IFCFGEND;
+
e_config-config_version = E_CONFIG_FILE_VERSION;   
  
 #if 0 /* example of new config */
@@ -1474,6 +1479,7 @@
E_CONFIG_LIMIT(e_config-desklock_autolock_screensaver, 0, 1);
E_CONFIG_LIMIT(e_config-desklock_autolock_idle, 0, 1);
E_CONFIG_LIMIT(e_config-desklock_autolock_idle_timeout, 1.0, 5400.0);
+   E_CONFIG_LIMIT(e_config-desklock_softlock_timeout, 0, 60);
E_CONFIG_LIMIT(e_config-desklock_use_custom_desklock, 0, 1);
E_CONFIG_LIMIT(e_config-display_res_restore, 0, 1);
E_CONFIG_LIMIT(e_config-display_res_width, 1, 8192);
diff -Nur cvs/e17/apps/e/src/bin/e_config.h build/e17/apps/e/src/bin/e_config.h
--- cvs/e17/apps/e/src/bin/e_config.h	2007-04-15 12:12:40.0 +0200
+++ build/e17/apps/e/src/bin/e_config.h	2007-04-21 14:18:25.0 +0200
@@ -54,7 +54,7 @@
 /* increment this whenever a new set of config values are added but the users
  * config doesn't need to be wiped - simply new values need to be put in
  */
-#define E_CONFIG_FILE_GENERATION 0x0116
+#define E_CONFIG_FILE_GENERATION 0x0117
 #define E_CONFIG_FILE_VERSION((E_CONFIG_FILE_EPOCH  16) | E_CONFIG_FILE_GENERATION)
 
 #define E_EVAS_ENGINE_DEFAULT  0
@@ -233,6 +233,7 @@
int desklock_autolock_screensaver; // GUI
int desklock_autolock_idle; // GUI
double  desklock_autolock_idle_timeout; // GUI
+   double  desklock_softlock_timeout; // GUI
int desklock_use_custom_desklock; // GUI
const char *desklock_custom_desklock_cmd; // GUI

diff -Nur cvs/e17/apps/e/src/bin/e_desklock.c build/e17/apps/e/src/bin/e_desklock.c
--- cvs/e17/apps/e/src/bin/e_desklock.c	2007-04-21 14:16:25.0 +0200
+++ build/e17/apps/e/src/bin/e_desklock.c	2007-04-21 14:18:25.0 +0200
@@ -60,7 +60,9 @@
 static Ecore_Exe *_e_custom_desklock_exe = NULL;
 static Ecore_Event_Handler *_e_custom_desklock_exe_handler = NULL;
 static Ecore_Timer *_e_desklock_idle_timer = NULL;
+static Ecore_Timer *_e_desklock_softlock_timer = NULL;
 static int _e_desklock_user_idle = 0;
+static int _e_desklock_softlock_enabled = 0;
 
 /***/
 
@@ -71,6 +73,7 @@
 static int _e_desklock_cb_mouse_move(void *data, int type, void *event);
 static int _e_desklock_cb_custom_desklock_exit(void *data, int type, void *event);
 static int _e_desklock_cb_idle_timer(void *data);
+static int _e_desklock_cb_softlock_timer(void *data);
 
 static void _e_desklock_passwd_update();
 static void _e_desklock_backspace();
@@ -104,6 +107,17 @@
 EAPI int
 e_desklock_shutdown(void)
 {
+   if (_e_desklock_idle_timer)
+ {
+ecore_timer_del(_e_desklock_idle_timer);
+_e_desklock_idle_timer = NULL;
+ }
+   if (_e_desklock_softlock_timer)
+ {
+ecore_timer_del(_e_desklock_softlock_timer);
+_e_desklock_softlock_timer = NULL;
+ }
+
e_desklock_hide();
if (e_config-desklock_background)
  e_filereg_deregister(e_config-desklock_background);
@@ 

Re: [E-devel] desklock config dialog fix

2007-03-17 Thread Christopher Michael
Stark, Thomas wrote:
 Hi,
 
 attached a patch which corrects the mapping of the configuration dialog
 options to the e_config variables. Wondering why nobody recognized it?
 It also adjust slightly the ordering of some code lines for better
 reading.
 
 Bye,
 Thomas
 
Thanks :) Not sure how I overlooked that...

dh

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Desklock triggers crash...

2006-04-13 Thread David Stevenson
On 13/04/06, Ramkumar R [EMAIL PROTECTED]
 wrote:
Hi!After returning from a locked desktop, any command executed as anaction (keyboard shortcut - exec cmd) seems to trigger a crash. Cananyone confirm this behaviour? I can't reproduce this here.
my steps: 1) ctrlalt + L to lock the screen2) enter my password to unlock the screen3) ctrlalt + Ins, which does `exec Eterm`This doesn't crash here. Am I following the right steps?
David


Re: [E-devel] Desklock triggers crash...

2006-04-13 Thread Ramkumar R
 I can't reproduce this here.
 my steps:
 1) ctrlalt + L to lock the screen
 2) enter my password to unlock the screen
 3) ctrlalt + Ins, which does `exec Eterm`

 This doesn't crash here. Am I following the right steps?

yeah... strange... i have the following modules loaded and enabled:
dropshadow, clock, pager, ibox... use my login password and locked
screen shows on all zones (i have only one neway :) ) i am leaving for
a place with no net conn... i am probably get a backtrace when i get
back tomorrow or the day after...

Ramkumar.

--
April 1: This is the day upon which we are reminded of
what we are on the other three hundred and sixty-four.
  -- Mark Twain, Pudd'nhead Wilson's Calendar


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Desklock triggers crash...

2006-04-13 Thread Aleksej Struk
I think, that crash happens because of some modules, for example
devian. I tried to reproduce the crash in the same way as David did =
and I have no crash at all.

Alex

On 4/13/06, Ramkumar R [EMAIL PROTECTED] wrote:
  I can't reproduce this here.
  my steps:
  1) ctrlalt + L to lock the screen
  2) enter my password to unlock the screen
  3) ctrlalt + Ins, which does `exec Eterm`
 
  This doesn't crash here. Am I following the right steps?

 yeah... strange... i have the following modules loaded and enabled:
 dropshadow, clock, pager, ibox... use my login password and locked
 screen shows on all zones (i have only one neway :) ) i am leaving for
 a place with no net conn... i am probably get a backtrace when i get
 back tomorrow or the day after...

 Ramkumar.

 --
 April 1: This is the day upon which we are reminded of
 what we are on the other three hundred and sixty-four.
   -- Mark Twain, Pudd'nhead Wilson's Calendar


 ---
 This SF.Net email is sponsored by xPML, a groundbreaking scripting language
 that extends applications into web and mobile media. Attend the live webcast
 and join the prime developer group breaking into this new coding territory!
 http://sel.as-us.falkag.net/sel?cmdlnkkid0944bid$1720dat1642
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel



--
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 xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] desklock and triple head issues

2006-03-06 Thread The Rasterman
On Fri, 24 Feb 2006 19:31:31 +0100 (CET) Alexander Griesser
[EMAIL PROTECTED] babbled:

 Hi all!
 
 I love the new desklock functionality but it has one small limitation for me:
 It's only displayed on the first of my three displays.
 
 A few days ago I fixed this issue in the CVS version by adding a '*3' to the
 width calculation of the desklock window in e_desklock.c, but in todays
 CVS snapshot the calculation gets done in some other manner and so I
 changed all occurences of zone-w to zone-w * 3.
 
 But that is not a real solution. Is there a way to get the number of xinerama
 heads that also works for fake-xinerama?
 Or is there a function to make the desklock window fit to fullscreen?
 
 I looked at the entrance source and found out, that there is a function
 called
 ecore_evas_fullscreen_set to set the fullscreen flag for this application,
 but using that function does (of course) not work for desklock.
 
 And another strange thing occured.
 When the mouse pointer is on the first display while hitting CTRL-ALT-l,
 everything works fine.
 When it is on the second display, only the third display gets the
 desklock background, display 1 and 2 don't change.
 And so on.

it should all be working now ? right?

 best regards and many thanks for your great work,
 -- 
 |   .-.  |Alexander Griesser -- [EMAIL PROTECTED] | .''`. |
 |   /v\   \  http://www.tuxx-home.at/ / : :' : |
 | /(   )\  |  GPG-KeyID: 0xA2949B5A  |  `. `'  |
 |  ^^ ^^   `-'`-   |
 
 
 
 
 ---
 This SF.Net email is sponsored by xPML, a groundbreaking scripting language
 that extends applications into web and mobile media. Attend the live webcast
 and join the prime developer group breaking into this new coding territory!
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
裸好多
Tokyo, Japan (東京 日本)


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Desklock

2006-03-06 Thread Eric Sandall

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, 2 Mar 2006, Carsten Haitzler wrote:

On Wed, 1 Mar 2006 13:38:16 -0800 (PST) Eric Sandall [EMAIL PROTECTED] 
babbled:

On Wed, 1 Mar 2006, Carsten Haitzler wrote:

On Tue, 28 Feb 2006 10:59:27 -0800 (PST) Eric Sandall [EMAIL PROTECTED]
babbled:

On Tue, 28 Feb 2006, Aleksej Struk wrote:

The feature is still under development. Actually, the unlocking
through the user system wide password will be implemented too.
For now, the personal desklock password is, more or less, a temporal
feature.

snip

As I'm not the one coding this I probably don't have much input ;),
but IMO the only password allowed should be the already setup user
password, not Yet Another Password that the user has to define and
remember (though they could use the same password as their account
password, but then that opens up 'security' issues with who gets
access to where this password is stored, is it encrypted, etc.).


the problem is - to handle the user password is a massive pain in the
arse. you need to use PAM or getpwent() and this presents some serious
problems. what if your user account details live in an ldap db? sure - pam
wraps this and handles it, but now we bind ourselves to pam - which is a
bit problematic to use in a portable way even between linux distributions.

also note - this is no worse than leaving your desktop unlocked and someone
walking by and going rm -rf ~/* in a terminal. if you walk away from your
machine and leave it unlocked - it's fair game for ANYTHING. someone
locking it with a pw u don't know is fairly harmless compared to other
things they can do.


Shouldn't desklock just use xscreensaver then? That would take care of
all the authentication (unix, PAM, KRB5, etc.) for us as well as
providing various backgrounds (as mentioned in the other thread)
through the screensavers. It'd also save duplicating a lot of work,
IMO.


u can bind this to a key and exec xscreensaver to lock already - u have been 
able to do that ever since. e's lock is separate and independent of 
xscreensaver.


I thought DeskLock was just wanting to lock the screen for you, which
is what xscreensaver does well already, that is why I mentioned it.
One could have DeskLock optionally depend on xscreensaver for the
system user accounts (LDAP, unix, etc.) is what I was trying to say,
rather than having to reinvent the wheel.

- -sandalle

- --
Eric Sandall |  Source Mage GNU/Linux Developer
[EMAIL PROTECTED]  |  http://www.sourcemage.org/
http://eric.sandall.us/  |  SysAdmin @ Inst. Shock Physics @ WSU
http://counter.li.org/  #196285  |  http://www.shock.wsu.edu/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.1 (GNU/Linux)

iD8DBQFEDQGoHXt9dKjv3WERAvyiAKCvaqPeNtwXQdm0qrjSIPuz2r/CGQCgxW6K
yE/YoSAFCAaKCn44CVwXlzw=
=V7lm
-END PGP SIGNATURE-


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Desklock

2006-03-06 Thread The Rasterman
On Mon, 6 Mar 2006 19:44:38 -0800 (PST) Eric Sandall [EMAIL PROTECTED] 
babbled:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On Thu, 2 Mar 2006, Carsten Haitzler wrote:
  On Wed, 1 Mar 2006 13:38:16 -0800 (PST) Eric Sandall [EMAIL PROTECTED]
  babbled:
  On Wed, 1 Mar 2006, Carsten Haitzler wrote:
  On Tue, 28 Feb 2006 10:59:27 -0800 (PST) Eric Sandall [EMAIL PROTECTED]
  babbled:
  On Tue, 28 Feb 2006, Aleksej Struk wrote:
  The feature is still under development. Actually, the unlocking
  through the user system wide password will be implemented too.
  For now, the personal desklock password is, more or less, a temporal
  feature.
  snip
 
  As I'm not the one coding this I probably don't have much input ;),
  but IMO the only password allowed should be the already setup user
  password, not Yet Another Password that the user has to define and
  remember (though they could use the same password as their account
  password, but then that opens up 'security' issues with who gets
  access to where this password is stored, is it encrypted, etc.).
 
  the problem is - to handle the user password is a massive pain in the
  arse. you need to use PAM or getpwent() and this presents some serious
  problems. what if your user account details live in an ldap db? sure - pam
  wraps this and handles it, but now we bind ourselves to pam - which is a
  bit problematic to use in a portable way even between linux distributions.
 
  also note - this is no worse than leaving your desktop unlocked and
  someone walking by and going rm -rf ~/* in a terminal. if you walk away
  from your machine and leave it unlocked - it's fair game for ANYTHING.
  someone locking it with a pw u don't know is fairly harmless compared to
  other things they can do.
 
  Shouldn't desklock just use xscreensaver then? That would take care of
  all the authentication (unix, PAM, KRB5, etc.) for us as well as
  providing various backgrounds (as mentioned in the other thread)
  through the screensavers. It'd also save duplicating a lot of work,
  IMO.
 
  u can bind this to a key and exec xscreensaver to lock already - u have
  been able to do that ever since. e's lock is separate and independent of
  xscreensaver.
 
 I thought DeskLock was just wanting to lock the screen for you, which
 is what xscreensaver does well already, that is why I mentioned it.
 One could have DeskLock optionally depend on xscreensaver for the
 system user accounts (LDAP, unix, etc.) is what I was trying to say,
 rather than having to reinvent the wheel.

e's dependencies are set in stone - this would be a large lump of dependency 
for a very small feature. you have a choice - use xcsreensaver, or use e's 
lock. e's lock can't use your system password (yet).

 - -sandalle
 
 - --
 Eric Sandall |  Source Mage GNU/Linux Developer
 [EMAIL PROTECTED]  |  http://www.sourcemage.org/
 http://eric.sandall.us/  |  SysAdmin @ Inst. Shock Physics @ WSU
 http://counter.li.org/  #196285  |  http://www.shock.wsu.edu/
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.2.1 (GNU/Linux)
 
 iD8DBQFEDQGoHXt9dKjv3WERAvyiAKCvaqPeNtwXQdm0qrjSIPuz2r/CGQCgxW6K
 yE/YoSAFCAaKCn44CVwXlzw=
 =V7lm
 -END PGP SIGNATURE-
 


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
裸好多
Tokyo, Japan (東京 日本)


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] DeskLock and VMWare, VMWare keeps keyboard input

2006-03-03 Thread The Rasterman
On Fri, 3 Mar 2006 16:58:01 -0600 Marc McGarry [EMAIL PROTECTED]
babbled:

 I'm having an issue with desklock and VMWare.
 
 I have VMWare setup to grab keyboard and mouse focus using VMWare
 Tools. Basically, when I move the mouse into the VMWare window, it
 gets key+mouse control and when I mouse out of it, it loses the focus
 and E17 then gets key+mouse control.
 
 Now, when the DeskLock screensaver kicks in and locks the screen, it
 isn't getting the keyboard access if my mouse was last in VMWare.

mmm - good point.

 I don't know if this can be worked around using DeskLock or if it's
 just something I'm going to have to live with when using VMWare. Would
 it be possible to add a setting to force mouse and key focus to a
 specific window or desk area? Or move the mouse to 0,0 of the current
 window before locking?

well we cant BREAK the existing grab (vmware literally grabs the mouse and 
keyboard - it doesn't just allow normal focus and mouse events to work in this 
situation) without:

1. unmapping (hiding) the window that has the grab
OR
2. literally killing the x client (or destroying the window) that has the grab.

problem is... x doesn't provide a way to find out what window has the keyboard 
or mouse grab. desklock needs to try do this:

1. actually try hide all windows (unmap them) which will (hopefully) break any 
existing keyboard and mouse grabs
2. actually check if the keyboard and mouse grabs fail or succeed - if they 
fail try a few times in a row (with small pauses) to get them - if this fails 
display an error dialog and don't lock.

this should mean your desktop doesn't become locked up at any rate.

 I believe the problem is that the lock is occurring and cannot get
 keyboard control because VMWare has it, but it DOES get mouse control,
 resulting in a disconnect preventing VMWare from giving up keyboard
 control.
 
 Thanks and great work with the desk lock stuff!
 
 --Marc
 
 
 ---
 This SF.Net email is sponsored by xPML, a groundbreaking scripting language
 that extends applications into web and mobile media. Attend the live webcast
 and join the prime developer group breaking into this new coding territory!
 http://sel.as-us.falkag.net/sel?cmd___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
裸好多
Tokyo, Japan (東京 日本)


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] desklock and triple head issues

2006-03-01 Thread Eric Sandall

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, 27 Feb 2006, Aleksej Struk wrote:

Hi,

Actually, this is still under developing. However, it was my idea to
have login boxes on each screen. Maybe it is not a very good idea.
Anyway, I'm going to update a config dialog, where it will be possible
to set up the following:

a) on which screen(s) to have a login box.
b) or to place it automatically in the middle screen.
c) maybe something else.

However, I do not know why, yet, the mouse pointer is tripled in your
case. During my tests
with faked xinerama screens I did not have such problems.

Anyway, now I'm just working on theming options for desklock. After I
finish this, I will check what can be done with login box.

snip

Perhaps I'm misunderstanding, but shouldn't the login box show up on
whichever screen is 'active' not not an arbitrary screen (e.g. I lock
the display on screen #6, then press a key to let it know I'd like to
use it again, if the login box is set for screen #1 I'd have to know
that and change to that screen).

Feel free to correct me if I missed the boat. :)

- -sandalle

- --
Eric Sandall |  Source Mage GNU/Linux Developer
[EMAIL PROTECTED]  |  http://www.sourcemage.org/
http://eric.sandall.us/  |  SysAdmin @ Inst. Shock Physics @ WSU
http://counter.li.org/  #196285  |  http://www.shock.wsu.edu/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.1 (GNU/Linux)

iD8DBQFEBhPcHXt9dKjv3WERAiTXAKC0AD6Xp1k6ny672tLnBsphgONQwwCeIZkC
TV5GwmHqZwWg95B0nvRxCU4=
=VW6v
-END PGP SIGNATURE-


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Desklock

2006-03-01 Thread Eric Sandall

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, 1 Mar 2006, Carsten Haitzler wrote:

On Tue, 28 Feb 2006 10:59:27 -0800 (PST) Eric Sandall [EMAIL PROTECTED] 
babbled:

On Tue, 28 Feb 2006, Aleksej Struk wrote:

The feature is still under development. Actually, the unlocking
through the user system wide password will be implemented too.
For now, the personal desklock password is, more or less, a temporal
feature.

snip

As I'm not the one coding this I probably don't have much input ;),
but IMO the only password allowed should be the already setup user
password, not Yet Another Password that the user has to define and
remember (though they could use the same password as their account
password, but then that opens up 'security' issues with who gets
access to where this password is stored, is it encrypted, etc.).


the problem is - to handle the user password is a massive pain in the arse. 
you need to use PAM or getpwent() and this presents some serious problems. what if your 
user account details live in an ldap db? sure - pam wraps this and handles it, but now we 
bind ourselves to pam - which is a bit problematic to use in a portable way even between 
linux distributions.

also note - this is no worse than leaving your desktop unlocked and someone walking by 
and going rm -rf ~/* in a terminal. if you walk away from your machine and 
leave it unlocked - it's fair game for ANYTHING. someone locking it with a pw u don't 
know is fairly harmless compared to other things they can do.


Shouldn't desklock just use xscreensaver then? That would take care of
all the authentication (unix, PAM, KRB5, etc.) for us as well as
providing various backgrounds (as mentioned in the other thread)
through the screensavers. It'd also save duplicating a lot of work,
IMO.

- -sandalle

- --
Eric Sandall |  Source Mage GNU/Linux Developer
[EMAIL PROTECTED]  |  http://www.sourcemage.org/
http://eric.sandall.us/  |  SysAdmin @ Inst. Shock Physics @ WSU
http://counter.li.org/  #196285  |  http://www.shock.wsu.edu/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.1 (GNU/Linux)

iD8DBQFEBhRLHXt9dKjv3WERAibxAJ0ct5axGIKatsGpY/Wa7r14k7e7ewCfX3/3
g4Jz97PDLEEaSyfXA2WHdOg=
=NF0W
-END PGP SIGNATURE-


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] desklock and triple head issues

2006-03-01 Thread Aleksej Struk
//  Perhaps I'm misunderstanding, but shouldn't the login box show up on
//  whichever screen is 'active' not not an arbitrary screen (e.g. I lock
//  the display on screen #6, then press a key to let it know I'd like to
//  use it again, if the login box is set for screen #1 I'd have to know
//  that and change to that screen).
// 
//  Feel free to correct me if I missed the boat. :)
// 
// 
// I think you're confusin virtual desktops with physical screens
// IIRC this problem was about actual physical screens (e.g. xinerama).

exactly.


// 
// --
// Justin Patrin

-- 

Aleksej Struk
Master Degree Student
Free University of Bozen-Bolzano
Faculty of Computer Science
phone: +39-0471-061749
cell phone: +39-3204627049 +370-61278908
[EMAIL PROTECTED] [EMAIL PROTECTED] - http://www.


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] desklock and triple head issues

2006-03-01 Thread Aleksej Struk

Basically, I do not understand what you want to say by your example.
In my opinion, you want to have a login box exactly on that screen which
is active in the moment? right ? Then if you change your active screen,
the login box shoul go to that screen ?

Actually, the talk was about look and feel - on which screen to place
login box to have a nice view. Now it does not matter on wich screen
you are. In any case you will be able to unlock.

// Perhaps I'm misunderstanding, but shouldn't the login box show up on
// whichever screen is 'active' not not an arbitrary screen (e.g. I lock
// the display on screen #6, then press a key to let it know I'd like to
// use it again, if the login box is set for screen #1 I'd have to know
// that and change to that screen).
// 
// Feel free to correct me if I missed the boat. :)
// 
// - -sandalle
// 
// - --
// Eric Sandall |  Source Mage GNU/Linux Developer
// [EMAIL PROTECTED]  |  http://www.sourcemage.org/
// http://eric.sandall.us/  |  SysAdmin @ Inst. Shock Physics @ WSU
// http://counter.li.org/  #196285  |  http://www.shock.wsu.edu/
// -BEGIN PGP SIGNATURE-
// Version: GnuPG v1.4.2.1 (GNU/Linux)
// 
// iD8DBQFEBhPcHXt9dKjv3WERAiTXAKC0AD6Xp1k6ny672tLnBsphgONQwwCeIZkC
// TV5GwmHqZwWg95B0nvRxCU4=
// =VW6v
// -END PGP SIGNATURE-

-- 

Aleksej Struk
Master Degree Student
Free University of Bozen-Bolzano
Faculty of Computer Science
phone: +39-0471-061749
cell phone: +39-3204627049 +370-61278908
[EMAIL PROTECTED] [EMAIL PROTECTED] - http://www.


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Desklock

2006-03-01 Thread Aleksej Struk
On Wed, Mar 01, 2006 at 11:48:53PM +0100, Fran?ois Chenais wrote:
// Eric Sandall wrote:
// -BEGIN PGP SIGNED MESSAGE-
// Hash: SHA1
// 
// On Wed, 1 Mar 2006, Carsten Haitzler wrote:
// 
// On Tue, 28 Feb 2006 10:59:27 -0800 (PST) Eric Sandall 
// [EMAIL PROTECTED] babbled:
// 
// On Tue, 28 Feb 2006, Aleksej Struk wrote:
// 
// The feature is still under development. Actually, the unlocking
// through the user system wide password will be implemented too.
// For now, the personal desklock password is, more or less, a temporal
// feature.
// 
// snip
// 
// As I'm not the one coding this I probably don't have much input ;),
// but IMO the only password allowed should be the already setup user
// password, not Yet Another Password that the user has to define and
// remember (though they could use the same password as their account
// password, but then that opens up 'security' issues with who gets
// access to where this password is stored, is it encrypted, etc.).
// 
// 
// the problem is - to handle the user password is a massive pain in 
// the arse. you need to use PAM or getpwent() and this presents some 
// serious problems. what if your user account details live in an ldap 
// db? sure - pam wraps this and handles it, but now we bind ourselves to 
// pam - which is a bit problematic to use in a portable way even between 
// linux distributions.
// 
// also note - this is no worse than leaving your desktop unlocked and 
// someone walking by and going rm -rf ~/* in a terminal. if you walk 
// away from your machine and leave it unlocked - it's fair game for 
// ANYTHING. someone locking it with a pw u don't know is fairly harmless 
// compared to other things they can do.
// 
// 
// Shouldn't desklock just use xscreensaver then? That would take care of
// all the authentication (unix, PAM, KRB5, etc.) for us as well as
// providing various backgrounds (as mentioned in the other thread)
// through the screensavers. It'd also save duplicating a lot of work,
// IMO.
// 
// That meens it doesn't work without xscrennsaver ?
// 
// 
// 
// 
// Juste for fun, a Mini HOWTO lock screen with xscreensaver under e17 :-P
// 
// 1) create a startup action to run xscreensaver
// 
// 2) In key binding settings.
// 
//   2.1) remove desktop lock key binding
// 
//   2.2) add a User Defined Action
// 
// Binding context : Any
// Key Binding : Alt l
// Action  : exec
// Params  : /usr/bin/xscreensaver-command -lock
// 
// 
//my 2 cts
// 
//  Fran?ois

Good for you :) you can use it as well. You also can use it if you work
in KDE, although KDE presents its own desktop lockin mechanism. :)

It is actually the same as to have entrance instead of xdm.
Same crap. Or to have twm instead of E. 

I personaly do not like standard xlock or xscreensaver. I like to to
have nice desktop locking screen, where I can choose what I want to have
on my locked screens. That is the reason I do this staff.


Have a nice evening.


// 
// 
// - -sandalle
// 
// - --
// Eric Sandall |  Source Mage GNU/Linux Developer
// [EMAIL PROTECTED]  |  http://www.sourcemage.org/
// http://eric.sandall.us/  |  SysAdmin @ Inst. Shock Physics @ WSU
// http://counter.li.org/  #196285  |  http://www.shock.wsu.edu/
// -BEGIN PGP SIGNATURE-
// Version: GnuPG v1.4.2.1 (GNU/Linux)
// 
// iD8DBQFEBhRLHXt9dKjv3WERAibxAJ0ct5axGIKatsGpY/Wa7r14k7e7ewCfX3/3
// g4Jz97PDLEEaSyfXA2WHdOg=
// =NF0W
// -END PGP SIGNATURE-
// 
// 
// ---
// This SF.Net email is sponsored by xPML, a groundbreaking scripting language
// that extends applications into web and mobile media. Attend the live 
// webcast
// and join the prime developer group breaking into this new coding territory!
// http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
// ___
// enlightenment-devel mailing list
// enlightenment-devel@lists.sourceforge.net
// https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
// 
// 
// 

-- 

Aleksej Struk
Master Degree Student
Free University of Bozen-Bolzano
Faculty of Computer Science
phone: +39-0471-061749
cell phone: +39-3204627049 +370-61278908
[EMAIL PROTECTED] [EMAIL PROTECTED] - http://www.


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] desklock and triple head issues

2006-03-01 Thread Justin Patrin
On 3/1/06, Eric Sandall [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On Mon, 27 Feb 2006, Aleksej Struk wrote:
  Hi,
 
  Actually, this is still under developing. However, it was my idea to
  have login boxes on each screen. Maybe it is not a very good idea.
  Anyway, I'm going to update a config dialog, where it will be possible
  to set up the following:
 
  a) on which screen(s) to have a login box.
  b) or to place it automatically in the middle screen.
  c) maybe something else.
 
  However, I do not know why, yet, the mouse pointer is tripled in your
  case. During my tests
  with faked xinerama screens I did not have such problems.
 
  Anyway, now I'm just working on theming options for desklock. After I
  finish this, I will check what can be done with login box.
 snip

 Perhaps I'm misunderstanding, but shouldn't the login box show up on
 whichever screen is 'active' not not an arbitrary screen (e.g. I lock
 the display on screen #6, then press a key to let it know I'd like to
 use it again, if the login box is set for screen #1 I'd have to know
 that and change to that screen).

 Feel free to correct me if I missed the boat. :)


I think you're confusin virtual desktops with physical screens
IIRC this problem was about actual physical screens (e.g. xinerama).

--
Justin Patrin


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Desklock

2006-03-01 Thread The Rasterman
On Thu, 2 Mar 2006 00:02:58 + Aleksej Struk [EMAIL PROTECTED] babbled:

 On Wed, Mar 01, 2006 at 11:48:53PM +0100, Fran?ois Chenais wrote:
 // Eric Sandall wrote:
 // -BEGIN PGP SIGNED MESSAGE-
 // Hash: SHA1
 // 
 // On Wed, 1 Mar 2006, Carsten Haitzler wrote:
 // 
 // On Tue, 28 Feb 2006 10:59:27 -0800 (PST) Eric Sandall 
 // [EMAIL PROTECTED] babbled:
 // 
 // On Tue, 28 Feb 2006, Aleksej Struk wrote:
 // 
 // The feature is still under development. Actually, the unlocking
 // through the user system wide password will be implemented too.
 // For now, the personal desklock password is, more or less, a temporal
 // feature.
 // 
 // snip
 // 
 // As I'm not the one coding this I probably don't have much input ;),
 // but IMO the only password allowed should be the already setup user
 // password, not Yet Another Password that the user has to define and
 // remember (though they could use the same password as their account
 // password, but then that opens up 'security' issues with who gets
 // access to where this password is stored, is it encrypted, etc.).
 // 
 // 
 // the problem is - to handle the user password is a massive pain in 
 // the arse. you need to use PAM or getpwent() and this presents some 
 // serious problems. what if your user account details live in an ldap 
 // db? sure - pam wraps this and handles it, but now we bind ourselves to 
 // pam - which is a bit problematic to use in a portable way even between 
 // linux distributions.
 // 
 // also note - this is no worse than leaving your desktop unlocked and 
 // someone walking by and going rm -rf ~/* in a terminal. if you walk 
 // away from your machine and leave it unlocked - it's fair game for 
 // ANYTHING. someone locking it with a pw u don't know is fairly harmless 
 // compared to other things they can do.
 // 
 // 
 // Shouldn't desklock just use xscreensaver then? That would take care of
 // all the authentication (unix, PAM, KRB5, etc.) for us as well as
 // providing various backgrounds (as mentioned in the other thread)
 // through the screensavers. It'd also save duplicating a lot of work,
 // IMO.
 // 
 // That meens it doesn't work without xscrennsaver ?
 // 
 // 
 // 
 // 
 // Juste for fun, a Mini HOWTO lock screen with xscreensaver under e17 :-P
 // 
 // 1) create a startup action to run xscreensaver
 // 
 // 2) In key binding settings.
 // 
 //   2.1) remove desktop lock key binding
 // 
 //   2.2) add a User Defined Action
 // 
 // Binding context : Any
 // Key Binding : Alt l
 // Action  : exec
 // Params  : /usr/bin/xscreensaver-command -lock
 // 
 // 
 //my 2 cts
 // 
 //Fran?ois
 
 Good for you :) you can use it as well. You also can use it if you work
 in KDE, although KDE presents its own desktop lockin mechanism. :)
 
 It is actually the same as to have entrance instead of xdm.
 Same crap. Or to have twm instead of E. 
 
 I personaly do not like standard xlock or xscreensaver. I like to to
 have nice desktop locking screen, where I can choose what I want to have
 on my locked screens. That is the reason I do this staff.

and don't get discouraged by people saying not to do it. this is a useful 
feature. sure - it's not perfect, and there are problems doing things certain 
ways - BUT - it's good and useful. its a small snippet of code that means u 
dont NEED xlock or xscreensaver even installed.

 
 Have a nice evening.
 
 
 // 
 // 
 // - -sandalle
 // 
 // - --
 // Eric Sandall |  Source Mage GNU/Linux Developer
 // [EMAIL PROTECTED]  |  http://www.sourcemage.org/
 // http://eric.sandall.us/  |  SysAdmin @ Inst. Shock Physics @ WSU
 // http://counter.li.org/  #196285  |  http://www.shock.wsu.edu/
 // -BEGIN PGP SIGNATURE-
 // Version: GnuPG v1.4.2.1 (GNU/Linux)
 // 
 // iD8DBQFEBhRLHXt9dKjv3WERAibxAJ0ct5axGIKatsGpY/Wa7r14k7e7ewCfX3/3
 // g4Jz97PDLEEaSyfXA2WHdOg=
 // =NF0W
 // -END PGP SIGNATURE-
 // 
 // 
 // ---
 // This SF.Net email is sponsored by xPML, a groundbreaking scripting
 language // that extends applications into web and mobile media. Attend the
 live // webcast
 // and join the prime developer group breaking into this new coding
 territory! //
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 //
 ___
 // enlightenment-devel mailing list
 // enlightenment-devel@lists.sourceforge.net
 // https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 // 
 // 
 // 
 
 -- 
 
 Aleksej Struk
 Master Degree Student
 Free University of Bozen-Bolzano
 Faculty of Computer Science
 phone: +39-0471-061749
 cell phone: +39-3204627049 +370-61278908
 [EMAIL PROTECTED] [EMAIL PROTECTED] - http://www.
 
 
 ---
 This SF.Net email is sponsored by xPML, a groundbreaking scripting language
 that extends applications into web and mobile 

Re: [E-devel] desklock and triple head issues

2006-03-01 Thread The Rasterman
On Wed, 1 Mar 2006 23:05:55 + Aleksej Struk [EMAIL PROTECTED] babbled:

 
 Basically, I do not understand what you want to say by your example.
 In my opinion, you want to have a login box exactly on that screen which
 is active in the moment? right ? Then if you change your active screen,
 the login box shoul go to that screen ?
 
 Actually, the talk was about look and feel - on which screen to place
 login box to have a nice view. Now it does not matter on wich screen
 you are. In any case you will be able to unlock.

imho - take a look at e_init.c. there are 2 init edje designs. w for the 
active' screen and 1 for all other screens. e will display boot status on 1 
screen only and the others are just filled with an edje design. ALL you need to 
do is instead of just choosing screen #0 for the login edje (as lock has now), 
just chose the zone retunred by:

E_Zone *zone;

zone = e_util_zone_current_get(e_manager_current_get());

that will tell u which zone is current (or NULL if it has no idea what zone 
is current), then on THAT zone do the login edje, others just a blank 
pointless edje design to fill the space :)

 // Perhaps I'm misunderstanding, but shouldn't the login box show up on
 // whichever screen is 'active' not not an arbitrary screen (e.g. I lock
 // the display on screen #6, then press a key to let it know I'd like to
 // use it again, if the login box is set for screen #1 I'd have to know
 // that and change to that screen).
 // 
 // Feel free to correct me if I missed the boat. :)
 // 
 // - -sandalle
 // 
 // - --
 // Eric Sandall |  Source Mage GNU/Linux Developer
 // [EMAIL PROTECTED]  |  http://www.sourcemage.org/
 // http://eric.sandall.us/  |  SysAdmin @ Inst. Shock Physics @ WSU
 // http://counter.li.org/  #196285  |  http://www.shock.wsu.edu/
 // -BEGIN PGP SIGNATURE-
 // Version: GnuPG v1.4.2.1 (GNU/Linux)
 // 
 // iD8DBQFEBhPcHXt9dKjv3WERAiTXAKC0AD6Xp1k6ny672tLnBsphgONQwwCeIZkC
 // TV5GwmHqZwWg95B0nvRxCU4=
 // =VW6v
 // -END PGP SIGNATURE-
 
 -- 
 
 Aleksej Struk
 Master Degree Student
 Free University of Bozen-Bolzano
 Faculty of Computer Science
 phone: +39-0471-061749
 cell phone: +39-3204627049 +370-61278908
 [EMAIL PROTECTED] [EMAIL PROTECTED] - http://www.
 
 
 ---
 This SF.Net email is sponsored by xPML, a groundbreaking scripting language
 that extends applications into web and mobile media. Attend the live webcast
 and join the prime developer group breaking into this new coding territory!
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
裸好多
Tokyo, Japan (東京 日本)


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Desklock

2006-02-28 Thread Aleksej Struk
The feature is still under development. Actually, the unlocking
through the user system wide password will be implemented too.
For now, the personal desklock password is, more or less, a temporal
feature.

cheers

On Tue, Feb 28, 2006 at 10:26:32AM -0500, John Altobelli wrote:
// Hey guys,
// 
// I'm a college student, so sometimes other people are using my
// computer.  Therefore, I see this desklock feature as a possible way
// for them to lock me out of my computer and any work I may be doing
// (either by accident or through a practical joke).  Therefore, could
// there be either a way to disable desklock, or could the user password
// be used as a secondary way to unlock the computer.  Personally I'd
// prefer the last option because I think it would allow for people to
// use the feature without setting a new password or having their user
// password visible (if they choose that as their password).
// 
// Thanks,
// John
// 
// 
// ---
// This SF.Net email is sponsored by xPML, a groundbreaking scripting language
// that extends applications into web and mobile media. Attend the live webcast
// and join the prime developer group breaking into this new coding territory!
// http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
// ___
// enlightenment-devel mailing list
// enlightenment-devel@lists.sourceforge.net
// https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

-- 

Aleksej Struk
Master Degree Student
Free University of Bozen-Bolzano
Faculty of Computer Science
phone: +39-0471-061749
cell phone: +39-3204627049 +370-61278908
[EMAIL PROTECTED] [EMAIL PROTECTED] - http://www.


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Desklock

2006-02-28 Thread Eric Sandall

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, 28 Feb 2006, Aleksej Struk wrote:

The feature is still under development. Actually, the unlocking
through the user system wide password will be implemented too.
For now, the personal desklock password is, more or less, a temporal
feature.

snip

As I'm not the one coding this I probably don't have much input ;),
but IMO the only password allowed should be the already setup user
password, not Yet Another Password that the user has to define and
remember (though they could use the same password as their account
password, but then that opens up 'security' issues with who gets
access to where this password is stored, is it encrypted, etc.).

- -sandalle

- --
Eric Sandall |  Source Mage GNU/Linux Developer
[EMAIL PROTECTED]  |  http://www.sourcemage.org/
http://eric.sandall.us/  |  SysAdmin @ Inst. Shock Physics @ WSU
http://counter.li.org/  #196285  |  http://www.shock.wsu.edu/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.1 (GNU/Linux)

iD8DBQFEBJ2SHXt9dKjv3WERAkNSAKCouVgMARVApIH2R8WI455QcjSCSACgjAWI
1WCJpaXPE9G4+7YWsbLZVio=
=RAQ8
-END PGP SIGNATURE-


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Desklock

2006-02-28 Thread The Rasterman
On Tue, 28 Feb 2006 10:59:27 -0800 (PST) Eric Sandall [EMAIL PROTECTED] 
babbled:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On Tue, 28 Feb 2006, Aleksej Struk wrote:
  The feature is still under development. Actually, the unlocking
  through the user system wide password will be implemented too.
  For now, the personal desklock password is, more or less, a temporal
  feature.
 snip
 
 As I'm not the one coding this I probably don't have much input ;),
 but IMO the only password allowed should be the already setup user
 password, not Yet Another Password that the user has to define and
 remember (though they could use the same password as their account
 password, but then that opens up 'security' issues with who gets
 access to where this password is stored, is it encrypted, etc.).

the problem is - to handle the user password is a massive pain in the arse. 
you need to use PAM or getpwent() and this presents some serious problems. what 
if your user account details live in an ldap db? sure - pam wraps this and 
handles it, but now we bind ourselves to pam - which is a bit problematic to 
use in a portable way even between linux distributions.

also note - this is no worse than leaving your desktop unlocked and someone 
walking by and going rm -rf ~/* in a terminal. if you walk away from your 
machine and leave it unlocked - it's fair game for ANYTHING. someone locking it 
with a pw u don't know is fairly harmless compared to other things they can do.

 - -sandalle
 
 - --
 Eric Sandall |  Source Mage GNU/Linux Developer
 [EMAIL PROTECTED]  |  http://www.sourcemage.org/
 http://eric.sandall.us/  |  SysAdmin @ Inst. Shock Physics @ WSU
 http://counter.li.org/  #196285  |  http://www.shock.wsu.edu/
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.2.1 (GNU/Linux)
 
 iD8DBQFEBJ2SHXt9dKjv3WERAkNSAKCouVgMARVApIH2R8WI455QcjSCSACgjAWI
 1WCJpaXPE9G4+7YWsbLZVio=
 =RAQ8
 -END PGP SIGNATURE-
 
 
 ---
 This SF.Net email is sponsored by xPML, a groundbreaking scripting language
 that extends applications into web and mobile media. Attend the live webcast
 and join the prime developer group breaking into this new coding territory!
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
裸好多
Tokyo, Japan (東京 日本)


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] desklock and triple head issues

2006-02-27 Thread Aleksej Struk
Hi,

already done, and in cvs ;)

sn


On Mon, Feb 27, 2006 at 02:26:53PM +0900, Carsten Haitzler wrote:
// On Sat, 25 Feb 2006 11:55:56 + Aleksej Struk [EMAIL PROTECTED] babbled:
// 
//  Hi,
//  
//  Thanks for the comments. The problems you listed are really known for
//  me, since I'm actually writing this code.  
//  
//  However, I only have a single monitor machine. So, I was not able to
//  test it with xinerama yet. Now, I'm looking for this. Since the main code
//  is written, and only thing I have to do is to place a desklock window
//  on all the monitors. 
// 
// yes. walk the manager list, the containers in each manager, then the zone in 
each container and place it there :)
// 
//  Please be patient. However, if you can suggest to me how can I visually
//  have e+xinerama on a single monitor machine, you'll really help. ;)
// 
// xnest @ 1600x600 on :1
// 
// then
// 
// enlightenment \
// -display :1 \
// -fake-xinerama-screen 800x600+0+0 \
// -fake-xinerama-screen 800x600+800+0
// 
// :)
// 
//  sn
//   
//  
//  // A few days ago I fixed this issue in the CVS version by adding a '*3' to
//  the // width calculation of the desklock window in e_desklock.c, but in 
todays
//  // CVS snapshot the calculation gets done in some other manner and so I
//  // changed all occurences of zone-w to zone-w * 3.
//  // 
//  // But that is not a real solution. Is there a way to get the number of
//  xinerama // heads that also works for fake-xinerama?
//  // Or is there a function to make the desklock window fit to fullscreen?
//  // 
//  // I looked at the entrance source and found out, that there is a function
//  // called
//  // ecore_evas_fullscreen_set to set the fullscreen flag for this
//  application, // but using that function does (of course) not work for
//  desklock. // 
//  // And another strange thing occured.
//  // When the mouse pointer is on the first display while hitting CTRL-ALT-l,
//  // everything works fine.
//  // When it is on the second display, only the third display gets the
//  // desklock background, display 1 and 2 don't change.
//  // And so on.
//  // 
//  // best regards and many thanks for your great work,
//  // -- 
//  // |   .-.  |Alexander Griesser -- [EMAIL PROTECTED] | .''`. |
//  // |   /v\   \  http://www.tuxx-home.at/ / : :' : |
//  // | /(   )\  |  GPG-KeyID: 0xA2949B5A  |  `. `'  |
//  // |  ^^ ^^   `-'`-   |
//  // 
//  // 
//  // 
//  // 
//  // ---
//  // This SF.Net email is sponsored by xPML, a groundbreaking scripting 
language
//  // that extends applications into web and mobile media. Attend the live
//  webcast // and join the prime developer group breaking into this new coding
//  territory! //
//  http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 //
//  ___ // enlightenment-devel
//  mailing list // enlightenment-devel@lists.sourceforge.net
//  // https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
//  
//  -- 
//  
//  Aleksej Struk
//  Master Degree Student
//  Free University of Bozen-Bolzano
//  Faculty of Computer Science
//  phone: +39-0471-061749
//  cell phone: +39-3204627049 +370-61278908
//  [EMAIL PROTECTED] [EMAIL PROTECTED] - http://www.
//  
//  
//  ---
//  This SF.Net email is sponsored by xPML, a groundbreaking scripting language
//  that extends applications into web and mobile media. Attend the live 
webcast
//  and join the prime developer group breaking into this new coding territory!
//  http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
//  ___
//  enlightenment-devel mailing list
//  enlightenment-devel@lists.sourceforge.net
//  https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
//  
// 
// 
// -- 
// - Codito, ergo sum - I code, therefore I am --
// The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
// ?$BMg9%B?
// Tokyo, Japan (?$BEl5~ ?$BF|K\)

-- 

Aleksej Struk
Master Degree Student
Free University of Bozen-Bolzano
Faculty of Computer Science
phone: +39-0471-061749
cell phone: +39-3204627049 +370-61278908
[EMAIL PROTECTED] [EMAIL PROTECTED] - http://www.


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] desklock and triple head issues

2006-02-27 Thread Aleksej Struk
Hi,

Actually, this is still under developing. However, it was my idea to
have login boxes on each screen. Maybe it is not a very good idea.
Anyway, I'm going to update a config dialog, where it will be possible
to set up the following:

a) on which screen(s) to have a login box.
b) or to place it automatically in the middle screen.
c) maybe something else.

However, I do not know why, yet, the mouse pointer is tripled in your
case. During my tests
with faked xinerama screens I did not have such problems.

Anyway, now I'm just working on theming options for desklock. After I
finish this, I will check what can be done with login box.

ciao.
sn

On 2/27/06, Alexander Griesser [EMAIL PROTECTED] wrote:
 Aleksej Strukwrote:
  already done, and in cvs ;)

 Thanks for the quick update, but it doesn't work as expected...
 Now I have the same image on all three screens which also means,
 that there are three password boxes and everything but the mouse is
 being mirrored trice.

 But now I am able to press CTRL-L on any screen and it works, hurray :)

 Maybe you could have a look at the entrance-client code, there it is
 implemented correctly because entrace stretches above all displays and
 centers the login-field on the middle head.

 ciao,
 --
 |   .-.  |Alexander Griesser -- [EMAIL PROTECTED] | .''`. |
 |   /v\   \  http://www.tuxx-home.at/ / : :' : |
 | /(   )\  |  GPG-KeyID: 0xA2949B5A  |  `. `'  |
 |  ^^ ^^   `-'`-   |





---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] desklock and triple head issues

2006-02-27 Thread The Rasterman
On Mon, 27 Feb 2006 16:35:20 + Aleksej Struk [EMAIL PROTECTED] babbled:

 Hi,
 
 Actually, this is still under developing. However, it was my idea to
 have login boxes on each screen. Maybe it is not a very good idea.
 Anyway, I'm going to update a config dialog, where it will be possible
 to set up the following:
 
 a) on which screen(s) to have a login box.
 b) or to place it automatically in the middle screen.

or just in the zone where the mouse is currently :)

 c) maybe something else.
 
 However, I do not know why, yet, the mouse pointer is tripled in your
 case. During my tests
 with faked xinerama screens I did not have such problems.
 
 Anyway, now I'm just working on theming options for desklock. After I
 finish this, I will check what can be done with login box.

i fixed up the theme a bit already. it's currently adequate i think - not 
fancy, but adequate. :) we could do with signals for init and shutdown (so the 
theme may want to do some fade-in or fade-out thing) but really that's about it 
:)

 ciao.
 sn
 
 On 2/27/06, Alexander Griesser [EMAIL PROTECTED] wrote:
  Aleksej Strukwrote:
   already done, and in cvs ;)
 
  Thanks for the quick update, but it doesn't work as expected...
  Now I have the same image on all three screens which also means,
  that there are three password boxes and everything but the mouse is
  being mirrored trice.
 
  But now I am able to press CTRL-L on any screen and it works, hurray :)
 
  Maybe you could have a look at the entrance-client code, there it is
  implemented correctly because entrace stretches above all displays and
  centers the login-field on the middle head.
 
  ciao,
  --
  |   .-.  |Alexander Griesser -- [EMAIL PROTECTED] | .''`. |
  |   /v\   \  http://www.tuxx-home.at/ / : :' : |
  | /(   )\  |  GPG-KeyID: 0xA2949B5A  |  `. `'  |
  |  ^^ ^^   `-'`-   |
 
 
 
 
 
 ---
 This SF.Net email is sponsored by xPML, a groundbreaking scripting language
 that extends applications into web and mobile media. Attend the live webcast
 and join the prime developer group breaking into this new coding territory!
 http://sel.as-us.falkag.net/sel?cmd___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
裸好多
Tokyo, Japan (東京 日本)


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] desklock and triple head issues

2006-02-25 Thread David Stevenson
On 2/25/06, Aleksej Struk [EMAIL PROTECTED] wrote:
Hi,Thanks for the comments. The problems you listed are really known forme, since I'm actually writing this code.However, I only have a single monitor machine. So, I was not able totest it with xinerama yet. Now, I'm looking for this. Since the main code
is written, and only thing I have to do is to place a desklock windowon all the monitors.Please be patient. However, if you can suggest to me how can I visuallyhave e+xinerama on a single monitor machine, you'll really help. ;)

Is this suitable?

$ enlightenment -fake-xinerama-screen WxH+X+Y


Add a FAKE xinerama screen (instead of the real ones)

given the geometry. Add as many as you like. They all

replace the real xinerama screens, if any. This can
 be used to simulate xinerama.
Regards!
David