maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   yet another osk: xvkbd (because it's good to have a choice! :) (https://talk.maemo.org/showthread.php?t=18621)

KotCzarny 2008-04-02 08:27

yet another osk: xvkbd (because it's good to have a choice! :)
 
1 Attachment(s)
ok, i have managed to hack xvkbd enough to be usefull, enjoy and comment!

installation:
wget -O/usr/local/bin/xvkbd.gz http://mrrau.dyndns.org:23280/n800/xvkbd/xvkbd.gz
gzip -d /usr/local/bin/xvkbd.gz
chmod +x /usr/local/bin/xvkbd
wget -O/usr/share/applications/hildon/xvkbd.desktop http://mrrau.dyndns.org:23280/n800/xvkbd/xvkbd.desktop

ps. why another osk? because xkbd is a little unstable right now and i wanted something more reliable
ps2. international layouts aren't included for now (because it's too late and i will package whole thing properly soon)
ps3. [update 2015-12-20] links are inactive, i've attached the files to this post

Benson 2008-04-02 14:16

Re: yet another osk: xvkbd (because it's good to have a choice! :)
 
For the record, xkbd (with no special layout) has been working quite well; but there's a trick! You connect a BT input device (kbd or mouse), then start xkbd. Clearly, I should determine what runs on connection to fix this, then just run that; but too lazy.

Benson 2008-04-02 14:27

Re: yet another osk: xvkbd (because it's good to have a choice! :)
 
I'm getting invalid magic on the .gz; probably b/c I don't have wget, and Microb thinks it's an html. If someone could zip them and attach it, I'd be grateful.

ArnimS 2008-04-02 14:55

Re: yet another osk: xvkbd (because it's good to have a choice! :)
 
Quote:

Originally Posted by Benson (Post 163871)
I'm getting invalid magic on the .gz; probably b/c I don't have wget, and Microb thinks it's an html. If someone could zip them and attach it, I'd be grateful.

Hmm, zip attachments limited to < 100kB...

http://pupnik.de/xvkbd_kot_001.zip

When i hit minimize, it shifts xvkbd to the right (mostly offscreen), but doesn't minimize and i don't see a maximize button.

I expect that'll be fixed soon? :)

(edit2) you'll probably need to install
libxmu6 (apt-get install libxmu6)

and unpack libXaw3d.tgz to /usr/lib and run ldconfig
(edit: btw, wget is available for the tablets)

Benson 2008-04-02 15:37

Re: yet another osk: xvkbd (because it's good to have a choice! :)
 
I know wget's available, but right now I have broken my apt, so I didn't feel like going after it... (I don't even know if it's in a repo or just a deb, and I know that you can manually pull debs out of repos and dpkg them, but I just don't care enough, since I'm reflashing (and this time putting OS on SD, etc.) in a couple days, when I know I'll have time for re-installing everything I need.)

Yeah, I'm lazy. Thanks anyway!

KotCzarny 2008-04-02 18:20

Re: yet another osk: xvkbd (because it's good to have a choice! :)
 
btw. 'hide button also works as 'unhide' but i didn't wanted to make that button too wide, also it works as expected, because it doesn't show in the nav-bar so after real minimizing it will be gone (unless you also use my kcinconsbox or some other util :). i have thought to test how well 'minimize by moving mostly offscreen works' and i'm happy about the result, it's fast and doesn't require recreating window :)

Addison 2008-04-02 19:45

Re: yet another osk: xvkbd (because it's good to have a choice! :)
 
Could I see a screenshot of this?

Also, is it possible to change the layout and position of the keyboard?

If so, where's a good place to find documentation on how to do so?

Thanks!

KotCzarny 2008-04-02 20:21

Re: yet another osk: xvkbd (because it's good to have a choice! :)
 
4 Attachment(s)
ok, here are some, and yes, layout is flexible, but i only added 'hide' button because it's fine for me :)
as for documentation, probably looking at example layout files. they're in the source package, i have put some of them in the same place as binary, for example german layout:

mkdir /etc/X11/app-defaults/
wget -O/etc/X11/app-defaults/XVkbd-german http://mrrau.dyndns.org:23280/n800/x...Vkbd-german.ad

then you will have it selectable as a runtime menu option :)

Addison 2008-04-02 21:45

Re: yet another osk: xvkbd (because it's good to have a choice! :)
 
Holy Crap!

That's beautiful!

Good job dude!

delaroca 2008-04-03 06:04

Re: yet another osk: xvkbd (because it's good to have a choice! :)
 
Quote:

Originally Posted by KotCzarny (Post 163784)
ok, i have managed to hack xvkbd enough to be usefull, enjoy and comment!

installation:
wget -O/usr/local/bin/xvkbd.gz http://mrrau.dyndns.org:23280/n800/xvkbd/xvkbd.gz
gzip -d /usr/local/bin/xvkbd.gz
chmod +x /usr/local/bin/xvkbd
wget -O/usr/share/applications/hildon/xvkbd.desktop http://mrrau.dyndns.org:23280/n800/xvkbd/xvkbd.desktop

Need additionally to install the libraries libxmu6 and libxpm4 -- which I fetched from pupnik.de.

I tried launching xvbkd from within an xterm and see,

Code:

~ $ xvkbd
Warning: Cannot convert string
"-*-lucidatypewriter-bold-r-*-*-12-*-*-*-*-*-iso8859- 1" to type FontStruct
Warning: Cannot convert string
"-*-helvetica-bold-r-*-*-12-*-*-*-*-*-iso8859-1" to t ype FontStruct
Warning: Cannot convert string
"-*-helvetica-medium-r-*-*-12-*-*-*-*-*-iso8859-1" to  type FontStruct
Warning: Cannot convert string
"-*-helvetica-medium-r-*-*-10-*-*-*-*-*-iso8859-1" to  type FontStruct
xvkbd: Mode_switch not available as a modifier
xvkbd: AltGr can't be used
Warning: Cannot convert string "-*-lucida-bold-i-*-*-14-*-*-*-*-*-iso8859-1"
to type  FontStruct
~ $

The Mode-switch... / AltGr... messages only happen on the first invocation... subsequent invocations only elicit the font warning messages.

-- Denis


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

vBulletin® Version 3.8.8