Re: epdf evince full screen fail

2008-11-03 Thread Bryan DeLuca
On Mon, 3 Nov 2008 09:11:15 +0200
Risto H. Kurppa [EMAIL PROTECTED] wrote:

 On Sun, Nov 2, 2008 at 5:44 PM, Bryan DeLuca [EMAIL PROTECTED] wrote:
  I made a post a few days ago with a solution for this.  I posted a little 
  shell script that you can use to remap AUX when you launch an app.  Then 
  when the app is exited the old mapping of screen lock, or whatever it may 
  have been, will be restored.
 
  You can download my script here:
 
  http://www.bryandeluca.com/OM/functions/omkey_functions
 
 Great, this looks cool!
 
 But the link fails, can you check it?
 

Sorry about that.  That is what I get for just doing it from memory!  

http://www.bryandeluca.com/OM/omkey_functions

Hope this helps!

-- 
Bryan DeLuca [EMAIL PROTECTED]

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


Re: epdf evince full screen fail

2008-11-03 Thread Risto H. Kurppa
On Mon, Nov 3, 2008 at 4:32 PM, Bryan DeLuca [EMAIL PROTECTED] wrote:
 On Mon, 3 Nov 2008 09:11:15 +0200
 Risto H. Kurppa [EMAIL PROTECTED] wrote:

 On Sun, Nov 2, 2008 at 5:44 PM, Bryan DeLuca [EMAIL PROTECTED] wrote:
  I made a post a few days ago with a solution for this.  I posted a little 
  shell script that you can use to remap AUX when you launch an app.  Then 
  when the app is exited the old mapping of screen lock, or whatever it may 
  have been, will be restored.
 
  You can download my script here:
 

 http://www.bryandeluca.com/OM/omkey_functions


I tried it and for some reason it didn't work: AUX still launches the
lock, not fullscreen (changed f5-f11)

see http://pastebin.com/m614715e


r




-- 
| risto h. kurppa
| risto at kurppa dot fi
| http://risto.kurppa.fi

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


Re: epdf evince full screen fail

2008-11-03 Thread Bryan DeLuca
On Mon, 3 Nov 2008 20:29:15 +0200
Risto H. Kurppa [EMAIL PROTECTED] wrote:

 On Mon, Nov 3, 2008 at 4:32 PM, Bryan DeLuca [EMAIL PROTECTED] wrote:
  On Mon, 3 Nov 2008 09:11:15 +0200
  Risto H. Kurppa [EMAIL PROTECTED] wrote:
 
  On Sun, Nov 2, 2008 at 5:44 PM, Bryan DeLuca [EMAIL PROTECTED] wrote:
   I made a post a few days ago with a solution for this.  I posted a 
   little shell script that you can use to remap AUX when you launch an 
   app.  Then when the app is exited the old mapping of screen lock, or 
   whatever it may have been, will be restored.
  
   You can download my script here:
  
 
  http://www.bryandeluca.com/OM/omkey_functions
 
 
 I tried it and for some reason it didn't work: AUX still launches the
 lock, not fullscreen (changed f5-f11)
 
 see http://pastebin.com/m614715e

Hmm, from that output it looks like you might have been executing it from an 
SSH session.  If that is the case then the E_IPC_SOCKET environment variable is 
not set and the script does not know how to talk to Enlightenment. 

If it is not working when launched from within E then could you send me the 
output of:

sh -x evince.sh

That would be very helpful.

Thanks,

-- 
Bryan DeLuca [EMAIL PROTECTED]

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


Re: epdf evince full screen fail

2008-11-03 Thread Risto H. Kurppa
On Tue, Nov 4, 2008 at 5:20 AM, Bryan DeLuca [EMAIL PROTECTED] wrote:
 Hmm, from that output it looks like you might have been executing it from an 
 SSH session.  If that is the case then the E_IPC_SOCKET environment variable 
 is not set and the script does not know how to talk to Enlightenment.

ah, you're right!! Yes, now it works when run from the phone itself :)
Thanks a lot, this is nice and allows me to follow the physics
lectures with nice full screen pdf's :9


r


-- 
| risto h. kurppa
| risto at kurppa dot fi
| http://risto.kurppa.fi

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


Re: epdf evince full screen fail

2008-11-02 Thread Risto H. Kurppa
Evince presentation mode as I said, not evince full screen.
In the presentation mode you see only the slide, no scroll bars or
anything - bigger text, looks a lot better but doesn't work. (yes,
full screen mode is a 'cheap' replacement here :)

And epdf full screen, you can't do anything.

r



-- 
| risto h. kurppa
| risto at kurppa dot fi
| http://risto.kurppa.fi

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


Re: epdf evince full screen fail

2008-11-02 Thread Timo Juhani Lindfors
Risto H. Kurppa [EMAIL PROTECTED] writes:
 Evince presentation: you can click the screen to get to the next page.
 After the last page you get a black screen telling to press esc to
 close the view. This is not possible without a keyboard - and the
 button to launch the keyboard is somewhere there behind the
 presentation. Bugrep: http://bugzilla.gnome.org/show_bug.cgi?id=309364
 - powerdown or kill evince over ssh.

Select View-Toolbar and you will see Leave Fullscreen button while
in fullscreen mode.


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


Re: epdf evince full screen fail

2008-11-02 Thread Bryan DeLuca
On Sun, 2 Nov 2008 11:44:33 +0200
Risto H. Kurppa [EMAIL PROTECTED] wrote:
 Is there anyone who could do something about this?
  - use aux to launch keyboard/home or close the running program ( I
 never lock the keyboard, I suspend..)

I made a post a few days ago with a solution for this.  I posted a little shell 
script that you can use to remap AUX when you launch an app.  Then when the app 
is exited the old mapping of screen lock, or whatever it may have been, will be 
restored.

You can download my script here:

http://www.bryandeluca.com/OM/functions/omkey_functions

Ideally this would be configured by the package maintainer.  Here is the exact 
procedure to implement it on your device after installing the evince package:

1.  Download my library and copy in to /home/root on your Freerunner.
2.  On your Freerunner create a textfile /usr/bin/evince.sh containing the 
following:

#!/bin/sh
. /home/root/omkey_functions
om_key_mod 177 F5

evince $@

om_key_ restore


3.   Set the execution bits:

chmod 755 /usr/bin/evince.sh

4.  Edit the .desktop file at /usr/share/applications/evince.desktop modify the 
line starting with Exec= to:

Exec=evince.sh %U

To make evince show up in the desktop menu edit the line beginning with 
Categories= and remove System; from the list.

Save your changes to /usr/share/applications/evince.desktop

Illume should update the icons on the desktop after you save.  Now you should 
be able to run evince from the desktop icon and use the AUX button to pop in 
and out of presentation mode.  When you exit evince the old xmodmap and 
enlightenment mappings for AUX will be restored.

You can do the same thing for any app that you wish to have this functionality.

Hope this helps,

-- 
Bryan DeLuca [EMAIL PROTECTED]

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


Re: epdf evince full screen fail

2008-11-02 Thread Risto H. Kurppa
On Sun, Nov 2, 2008 at 5:44 PM, Bryan DeLuca [EMAIL PROTECTED] wrote:
 I made a post a few days ago with a solution for this.  I posted a little 
 shell script that you can use to remap AUX when you launch an app.  Then when 
 the app is exited the old mapping of screen lock, or whatever it may have 
 been, will be restored.

 You can download my script here:

 http://www.bryandeluca.com/OM/functions/omkey_functions

Great, this looks cool!

But the link fails, can you check it?


r

-- 
| risto h. kurppa
| risto at kurppa dot fi
| http://risto.kurppa.fi

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


Re: epdf evince full screen fail

2008-11-02 Thread Timo Juhani Lindfors
Bryan DeLuca [EMAIL PROTECTED] writes:
 You can download my script here:

 http://www.bryandeluca.com/OM/functions/omkey_functions

Seems to be 404.

Do you know how to make AUX send nothing? Here if I start cat from
xterm and hit AUX I see ^@. Also if I start elinks I see that AUX
sends ESC which activates the menu of elinks. I would like to have AUX
send nothing. xev says

KeyPress event, serial 29, synthetic NO, window 0xc1,
root 0x3b, subw 0x0, time 1631474757, (394,439), root:(398,463),
state 0x0, keycode 177 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 1 bytes: (00) 
XmbLookupString gives 1 bytes: (00) 
XFilterEvent returns: False

and xmodmap -pk|grep 177 just prints 177 as a sign that 177 is not
bound to any key. Why does it still send ESC?



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