[shr-testing] no screen lock

2009-04-27 Thread Robin Paulson
since i upgraded to shr-testing from april 23rd, there's no longer a
screen lock. if i press the aux button, nothing happens. if i press
the power button and then hit lock, it tells me "No PAM support was
built in to Enlightenment, desk locking is disabled"

any suggestions how to fix this?

cheers

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [shr-testing] no screen lock

2009-04-27 Thread Robin Paulson
2009/4/27 Jakob :
> you can bind the aux button to "Desktop Simple Lock".
> open the wrench --> input --> keybindings
>

cheers, got that sorted. problem is, i get the same error message
about PAM support not built into enlightenment

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [shr-testing] no screen lock

2009-04-27 Thread Helge Hafting
Jakob wrote:
> you can bind the aux button to "Desktop Simple Lock".
> open the wrench --> input --> keybindings
> 
Configurability is nice, but how about having "Desktop Simple Lock" set 
up as default in the shipped image? Unless SHR is planning another 
default use for the AUX button, that is.

Helge Hafting

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [shr-testing] no screen lock

2009-04-27 Thread Jakob
you can bind the aux button to "Desktop Simple Lock".
open the wrench --> input --> keybindings

On 4/27/09, Robin Paulson  wrote:
> since i upgraded to shr-testing from april 23rd, there's no longer a
> screen lock. if i press the aux button, nothing happens. if i press
> the power button and then hit lock, it tells me "No PAM support was
> built in to Enlightenment, desk locking is disabled"
>
> any suggestions how to fix this?
>
> cheers
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [shr-testing] no screen lock

2009-04-27 Thread KaZeR



Helge Hafting wrote:
> 
> Configurability is nice, but how about having "Desktop Simple Lock" set 
> up as default in the shipped image? Unless SHR is planning another 
> default use for the AUX button, that is.
> 
> Helge Hafting
> 

I second that. It was the default behavior until recently, and it was very
convenient. 
One could then extend the use of the aux button with siglaunchd (like
rotating the screen, i like the idea).
-- 
View this message in context: 
http://n2.nabble.com/-shr-testing--no-screen-lock-tp2723596p2725403.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [shr-testing] no screen lock

2009-04-27 Thread Biagio Marino
Hi,
on the Neo (not ssh) you can try:
enlightenment_remote -binding-key-del ANY "Keycode-177" NONE 1 "simple_lock" ""

and:
enlightenment_remote -binding-key-add ANY "Keycode-177" NONE 1 "simple_lock" ""

To have a sample screen lock.

icp.

Il giorno lun, 27/04/2009 alle 08.45 +, Robin Paulson ha scritto:
> since i upgraded to shr-testing from april 23rd, there's no longer a
> screen lock. if i press the aux button, nothing happens. if i press
> the power button and then hit lock, it tells me "No PAM support was
> built in to Enlightenment, desk locking is disabled"
> 
> any suggestions how to fix this?
> 
> cheers
> 
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community


signature.asc
Description: Questa รจ una parte del messaggio firmata digitalmente
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [shr-testing] no screen lock

2009-04-27 Thread KaZeR



KaZeR wrote:
> 
> 
> Now, short press lock screen, 1s press rotate the screen. Useful to
> quickly switch to landscape mode for navit for example. 
> 
> I tried omrotate in the past, but i didn't like auto-rotation. If the
> phone was started in a position where it should be rotated, display was
> borked until reboot.
> 
> 

In fact, i made some more tests, and with this solution touchscreen gets
buggy (doesn't clic where it is supposed to) until you go back to xrandr -o
0.

Anyone has a solution?
-- 
View this message in context: 
http://n2.nabble.com/-shr-testing--no-screen-lock-tp2723596p2725507.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [shr-testing] no screen lock

2009-04-27 Thread KaZeR



icp wrote:
> 
> Hi,
> on the Neo (not ssh) you can try:
> enlightenment_remote -binding-key-del ANY "Keycode-177" NONE 1
> "simple_lock" ""
> 
> and:
> enlightenment_remote -binding-key-add ANY "Keycode-177" NONE 1
> "simple_lock" ""
> 
> To have a sample screen lock.
> 
> icp.
> 

Thanks for the tip! When flashing a new SHR, it's one of the settings i
always had to do manually until now. You will save me time, thanks a lot :)
I'll try to find also if there are equivalent calls for lowering the FPS and
removing animations.
Unless somebody knows them already..


-- 
View this message in context: 
http://n2.nabble.com/-shr-testing--no-screen-lock-tp2723596p2725523.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [shr-testing] no screen lock

2009-04-27 Thread KaZeR



KaZeR wrote:
> 
> 
> 
> Helge Hafting wrote:
>> 
>> Configurability is nice, but how about having "Desktop Simple Lock" set 
>> up as default in the shipped image? Unless SHR is planning another 
>> default use for the AUX button, that is.
>> 
>> Helge Hafting
>> 
> 
> I second that. It was the default behavior until recently, and it was very
> convenient. 
> One could then extend the use of the aux button with siglaunchd (like
> rotating the screen, i like the idea).
> 

Here's the script for siglaunchd :
 #!/bin/sh
 
 # First, guess if we already are rotated
 xrandr |grep "default connected 480x640+0+0 (normal left inverted right x
axis y axis) 0mm x 0mm" > /dev/null
 IS_ROTATED=$?
 
 if [[ $IS_ROTATED -gt 0 ]]; then
#Switch back to default mode
xrandr -o 0
else
#Switch to rotated mode
xrandr -o 1
fi

And the siglaunchd rule (amazing tool, btw) :


"/usr/local/bin/aux_rotate.sh"=org.freesmartphone.Device.Input;org.freesmartphone.oeventsd;/org/freesmartphone/Device/Input;Event;arg[0]=AUX,arg[1]=released,arg[2]>0

Now, short press lock screen, 1s press rotate the screen. Useful to quickly
switch to landscape mode for navit for example. 

I tried omrotate in the past, but i didn't like auto-rotation. If the phone
was started in a position where it should be rotated, display was borked
until reboot.

-- 
View this message in context: 
http://n2.nabble.com/-shr-testing--no-screen-lock-tp2723596p2725453.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Re: [shr-testing] no screen lock

2009-04-27 Thread jeffrey . ratcliffe

On Apr 27, 2009 11:09am, Jakob  wrote:

you can bind the aux button to "Desktop Simple Lock".
open the wrench --> input --> keybindings


Thanks for the tip, but the window is larger than the screen. How can I  
scroll it left and right?
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Re: [shr-testing] no screen lock

2009-04-27 Thread Robin Paulson
2009/4/27  :
> On Apr 27, 2009 11:09am, Jakob  wrote:
>> you can bind the aux button to "Desktop Simple Lock".
>> open the wrench --> input --> keybindings
>
> Thanks for the tip, but the window is larger than the screen. How can I
> scroll it left and right?

it's not great, but you don't need to

it's fiddly, but if you use a stylus or similar, you can drag the
right-hand list (the one i assume you're having problems with) around
just like any other element, so you can see the entire list of
commands available. or try the 'Rotator' app, to get landscape mode

i assume someone will be working on this in future to get it fitting
on a low-res screen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Re: Re: [shr-testing] no screen lock

2009-04-27 Thread jeffrey . ratcliffe

On Apr 27, 2009 11:27am, Robin Paulson  wrote:

commands available. or try the 'Rotator' app, to get landscape mode


Ah, yes. That did the trick. Now what I would really like to do is to bind  
the AUX key to a script that switched between portrait and landscape modes,  
or maybe pulled up the keyboard - things that weren't on the list. How can  
you add actions to the list?
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community