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