Re: Sharing literki work

2011-10-18 Thread Timo Jyrinki
2011/10/17 Neil Jerram n...@ossau.homelinux.net:
 Yes.  My idea about that is that I'd like the Input Method (IM) system to
 tell a small server program (which is pretending to be an IM engine) when
 keyboard input is needed, and then that program could run literki and make
 sure that it is on top.  Do you think that might work?

Well, yes if it implies mostly that existing literki is found and made
to be on top. Although, I feel that at least for FreeRunner purposes
ibus might be preetty heavy. Not sure though, and it is nice if
someone does things actually in a right way. For myself personally,
I'd just probably continue my poor hack approach of
https://github.com/tjyrinki/tihos and make literki to be on top every
time an application switch is done :) When I looked at it the last
time, and it was probably almost a year ago, I just didn't find the
literki from X resources, ie. it's not shown in the same list I
happened to find the other running X apps from. I don't know anything
about X so my approach is blind guessing around functions found in X
documentation or the (few) examples found on the web ;)

-Timo

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


Re: Sharing literki work

2011-10-18 Thread Michał Brzozowski
On Mon, Oct 17, 2011 at 5:49 PM, Neil Jerram n...@ossau.homelinux.net wrote:
 I used IceWM, and I remember hacking it to put
 windows with override_redirect bit on the top.

 You mean you had to change IceWM's code for this?

Yes. I also fixed some bugs in it connected with screen orientation
events. After that IceWM was pretty nice and usable for the FR.


 That wouldn't surprise me, because I think override_redirect just means
 don't decorate me and don't mess with my size or position.  I don't think
 it normally implies being always on top.

I guess then that I interpreted it wrong.

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


Re: Sharing literki work

2011-10-17 Thread Timo Jyrinki
2011/10/16 Neil Jerram n...@ossau.homelinux.net:
 Hi there.  I'm doing some incremental work with literki, and wanted to share
 that in case it's of interest to more than just me.

Yes! I still found literki the most interesting keyboard around, which
is why I packaged it in Debian (some patches at [1], probably not
interesting if not the 03). If only I could find out how to force it
to stay on top on my setup so that I wouldn't need to restart it every
time I switch a window and want to write something... (I have a button
for that in my tihos program).

-Timo

[1] 
http://anonscm.debian.org/gitweb/?p=pkg-fso/literki.git;a=tree;f=debian/patches;h=76282552a74781095cb65e8330a4383eea5df808;hb=debian

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


Re: Sharing literki work

2011-10-17 Thread Davide Scaini
Interesting!
d
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Sharing literki work

2011-10-17 Thread Neil Jerram

On Mon, 17 Oct 2011 10:34:12 +0300, Timo Jyrinki wrote:


Yes! I still found literki the most interesting keyboard around,


Me too.  Its code is nicely organised and easy to read and modify.  I 
like the transparent overlay approach, and its target of being 
finger-usable, and the hide/show control by swiping.  And the touchpad 
idea...


My only reservation is that I've found it not to look very beautiful.  
Plus I'm interested at the moment in optimising for a landscape UI.  
Those are the motivations for my current work.



which
is why I packaged it in Debian (some patches at [1], probably not
interesting if not the 03).


I have those already, apart from 02, because I started from the Debian 
package.  I've independently implemented something like 02.



If only I could find out how to force it
to stay on top on my setup so that I wouldn't need to restart it 
every
time I switch a window and want to write something... (I have a 
button

for that in my tihos program).


Yes.  My idea about that is that I'd like the Input Method (IM) system 
to tell a small server program (which is pretending to be an IM engine) 
when keyboard input is needed, and then that program could run literki 
and make sure that it is on top.  Do you think that might work?


I believe that ibus is the most modern and actively developed IM 
system, so I've installed that and am looking at its doc, but haven't 
got far yet with working out the detail of what would be needed.


Regards,
   Neil


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


Re: Sharing literki work

2011-10-17 Thread Neil Jerram

On Mon, 17 Oct 2011 09:55:36 +0200, Davide Scaini wrote:

Interesting!
d


Thanks.  I've popped up another screenshot - but only showing a little 
more incremental change - at http://www.screenshots.cc/show/50531/frk2a.


Neil


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


Re: Sharing literki work

2011-10-17 Thread Michał Brzozowski
On Mon, Oct 17, 2011 at 2:46 PM, Neil Jerram n...@ossau.homelinux.net wrote:

 Me too.  Its code is nicely organised and easy to read and modify.  I like 
 the transparent overlay approach, and its target of being finger-usable, and 
 the hide/show control by swiping.  And the touchpad idea...

I'm glad to hear it!


 If only I could find out how to force it
 to stay on top on my setup so that I wouldn't need to restart it every
 time I switch a window and want to write something... (I have a button
 for that in my tihos program).

 Yes.  My idea about that is that I'd like the Input Method (IM) system to 
 tell a small server program (which is pretending to be an IM engine) when 
 keyboard input is needed, and then that program could run literki and make 
 sure that it is on top.  Do you think that might work?


What setup do you have? I used IceWM, and I remember hacking it to put
windows with override_redirect bit on the top. That gives the user
total control over hiding the keyboard. Some WMs seem to respect this
bit, and it maybe can be considered a bug if the don't.

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


Re: Sharing literki work

2011-10-17 Thread Neil Jerram

On Mon, 17 Oct 2011 17:03:56 +0200, Michał Brzozowski wrote:

On Mon, Oct 17, 2011 at 2:46 PM, Neil Jerram
n...@ossau.homelinux.net wrote:


Me too.  Its code is nicely organised and easy to read and modify. 
 I like the transparent overlay approach, and its target of being 
finger-usable, and the hide/show control by swiping.  And the touchpad 
idea...


I'm glad to hear it!


Hi Michał, thanks for commenting on this thread.


What setup do you have?


OpenBox at the moment; but I can change if something else is better.


I used IceWM, and I remember hacking it to put
windows with override_redirect bit on the top.


You mean you had to change IceWM's code for this?

That wouldn't surprise me, because I think override_redirect just means 
don't decorate me and don't mess with my size or position.  I don't 
think it normally implies being always on top.



That gives the user
total control over hiding the keyboard. Some WMs seem to respect this
bit, and it maybe can be considered a bug if the don't.


I doubt it can be considered a bug.  It seems to me that a WM needs to 
take specific action in order to implement always on top for a window, 
and the (normal) overall sense of override_redirect is more WM, please 
just leave me alone.


Regards,
Neil


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


Sharing literki work

2011-10-15 Thread Neil Jerram
Hi there.  I'm doing some incremental work with literki, and wanted to 
share that in case it's of interest to more than just me.


I've pushed my changes (starting from the current Debian package) to 
gitorious at 
https://gitorious.org/stuff-for-openmoko-freerunner/literki-work.  I've 
also uploaded a couple of screenshots at 
http://www.screenshots.cc/show/50482/akgaz and 
http://www.screenshots.cc/show/50483/1ecqm.


Regards,
   Neil


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