Notices


Reply
Thread Tools
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#31
Excellent!

gVIM is working perfect for me.


Now to figure out how to configure the file correctly to make the layout the way I'd like.

This could take awhile.........

Then depression sets in.


Anyway, thanks for the feedback Arnim!
 
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#32
Hey Arnim.

Listen, I'm having some real difficulty understanding the initial basics to creating my own customized keyboard.

I'm not asking for you to do this whole thing for me, but could you at least get me started and I can finish the rest on my own?

The keyboard should be 160x600 from the top left corner of the screen.

There should be three keys per row but I'm not exactly sure how many rows though.

I think that's all I'm asking for now. The rest I can figure out on my own.

So 160x600, three keys per row, and also the command or option on how to double the size of a key. For example, one row might only have two keys. A double sized large one, say for the space bar, followed by another normal size key on the same row.

Hope that makes sense.

Hope to hear back from ya, I'd really like to get this done by the end of the night.

By the way, did you ever hear back from Dawnmist?

Thanks chief!
 
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#33
Okay.

Turns out that I'm not quite as incompetent as I think I was.

So yeah, I'm just getting started on making my own custom keyboard.

I do have one problem that I really can't find an answer to.

I'd like to have the keyboard on the left side of the screen, the default is for the right.

I can
xkbd -geometry 160x600+1+1
but I can't
xkbd -geometry 160x600+0+0

So it appears that I can't get it flush with the left side of the screen, the best I can do is have it start one pixel over. I don't get that.

Anyway, I'd rather have it automatically start at the top left so all that needs to be typed in is
xkbd

Could someone take the quick time to take a look at my initial attempt and either provide an explanation or an answer to this problem I'm having?

File is attached at the bottom of this post.

Thanks.
Attached Files
File Type: zip x.zip (1.5 KB, 177 views)
 
ArnimS's Avatar
Posts: 1,107 | Thanked: 720 times | Joined on Mar 2007 @ Germany
#34
Originally Posted by Smothermunchie View Post
Okay.
I'd like to have the keyboard on the left side of the screen, the default is for the right.
Hey, nice find - i had no luck with the -geometry prior to this, because i tried using 0 offsets, but something like

xkbd +1+1

works just fine!

Problem is the "minimize" button (>>) shifts the keyboard position by a relative to "minimize" it - needs to use an absolute.

from xkbd.c

if(iMode==1)
{
XResizeWindow(display, win, xkbd_get_width(kb), xkbd_get_height(kb));
XMoveWindow(display,win,xorgpos+worg-xkbd_get_width(kb), yorgpos+horg-xkbd_get_height(kb));
}
else
{
xkbd_resize(kb, an_event.xconfigure.width*0.52*wkbscale, an_event.xconfigure.height*1.2*hkbscale );
worg=xkbd_get_width(kb);
horg=xkbd_get_height(kb);
XResizeWindow(display, win, xkbd_get_width(kb), xkbd_get_height(kb));
if(xorgpos==0 || yorgpos==0)
{
xorgpos=wscr-worg+1;
yorgpos=hscr-horg+1;
}
XMoveWindow(display,win,xorgpos, yorgpos);
xkbd_repaint(kb);
}


Not sure how that'd be fixed - maybe cme can look at it?

Last edited by ArnimS; 2007-11-26 at 11:45. Reason: cme linked
 
Posts: 90 | Thanked: 19 times | Joined on Oct 2007
#35
does this xkbd work on os2008 final ?
 
ArnimS's Avatar
Posts: 1,107 | Thanked: 720 times | Joined on Mar 2007 @ Germany
#36
Since xkbd uses only standard X calls, it should work on any ITOS.

Of course without a N8x0, i can not test this. use dpkg -i to install it and give it a try...
 

The Following User Says Thank You to ArnimS For This Useful Post:
Posts: 90 | Thanked: 19 times | Joined on Oct 2007
#37
thanks, it work ok on os2008 finale
 
Posts: 465 | Thanked: 149 times | Joined on Oct 2007
#38
I had problems with the build on pupnik.de in OS2008; it would always send incorrect keys at some point.

I use matchbox-keyboard or xvkbd instead.
 
Posts: 90 | Thanked: 19 times | Joined on Oct 2007
#39
Originally Posted by dblank View Post
I had problems with the build on pupnik.de in OS2008; it would always send incorrect keys at some point.

I use matchbox-keyboard or xvkbd instead.
where can i download this apps ?

thanks !
 
Posts: 465 | Thanked: 149 times | Joined on Oct 2007
#40
Originally Posted by L0cutus View Post
where can i download this apps ?

thanks !
I'll post some packages soon.
Edit: Here's xvkbd http://maemobox.org/dblank/xvkbd_2.8-1_armel.deb
and matchbox-keyboard
http://maemobox.org/dblank/matchbox-....1-1_armel.deb

note:
xvkbd is fullscreen only, but has a button to hide.
matchbox-keyboard has no hide function, so I just made a .desktop entry to open and close it (and moved it to the top of "My selection") so it only need a couple button presses.

I'm hoping some day a proper programmer will do a better port of matchbox-keyboard, a hide button would make it perfect!

Last edited by dblank; 2008-06-02 at 20:12.
 

The Following User Says Thank You to dblank For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 03:36.