maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   osso-xterm w/ overlayed transparent keyboard (https://talk.maemo.org/showthread.php?t=10348)

johnkzin 2007-10-20 19:26

Re: osso-xterm w/ overlayed transparent keyboard
 
Quote:

Originally Posted by dnastase (Post 81583)
Colors, in general, are "de gustibus" (depend on one's taste). The optimal color is also highly dependent on the background color. So this one should be configurable.

Having seen a lot of subtitled movies, in which this is a similar problem, I'd say that the best result is:

White character, with a black halo (slight outline around the character). To achieve that, you wont be able to just use text, you'll probably have to make bitmaps/pixmaps of each character, with a 1 or 2 pixel black outline ... but it allows the white to stand out on light backgrounds.

Just my $.02

formal 2007-10-25 16:40

Re: osso-xterm w/ overlayed transparent keyboard
 
Using canoe I wasn't able to copy the osso-xterm file to /usr/bin/ Is this something I can do from xterm? I didn't think it would be a good idea to try to replace the xterm files while using it. Sorry if this is a simple question.

Benson 2007-11-01 00:16

Re: osso-xterm w/ overlayed transparent keyboard
 
Second the call for source; I'd like to tinker with this!
One obvious enhancement: it'd be great if backspace had repeat.

As it is, this is making sshing into my cygwin box to run GNU Octave much more feasible. Thanks!
A little OT, but the N800 does awesome VNCing into a 1024x768 display. By rotating it, the 768 leaves just enough room for a scrollbar. (That's how I view plots from Octave.)

dnastase 2008-03-19 04:09

Re: osso-xterm w/ overlayed transparent keyboard
 
Since I have a N810 now I don't really have the motivation to work on the transparent keyboard xterm.
Before I got it though I was working on a really transparent version (using cairo), which allowed for external creation of the way the keyboard was looking.
Unfortunately the N770 was too slow for real transparency.
Now that you threatened with the FSF :) I got the impulse I needed to at least see how fast it is on the N810.

So I installed the Chinook and tried to build the xterm. Unfortunately it's not just a matter of rebuilding with the new SDK. Since apparently the API changed, some porting will be necessary. Hopefully in a day or two I'll be done with it.

Daniel

gl00my 2008-03-19 05:58

Re: osso-xterm w/ overlayed transparent keyboard
 
Thanx! Will try this too. But, anyway, why not upload sources???
I am always afraid use softwate w/o sources... :)
Do you plan release them?

P.S. Oh, do not work on OS2008... So, sources are really needed... :)

dnastase 2009-01-19 03:29

Re: osso-xterm w/ overlayed transparent keyboard
 
First of all I want to apologize for the delay in releasing the sources. Outside of my control an almost year long interruption happened and by now probably nobody needs this anymore. Sorry.

But now I finally finished the OS2008 build. Please check: www.dnastase.info/nokia_tablet/os2008/index.htm.

I hope it's still useful to somebody.

Daniel

dgec 2009-01-19 14:15

Re: osso-xterm w/ overlayed transparent keyboard
 
Nobody needs this anymore? Are you kidding? All of us N800 people still need it!

I'd love to see this functionality replace the regular full-screen thumb-board in fact.
Chat & Pidgin for example, email, just about anything in fact.

belanger 2009-01-19 14:27

Re: osso-xterm w/ overlayed transparent keyboard
 
Quote:

Originally Posted by dgec (Post 258610)
Nobody needs this anymore?

I haven't tried it yet, but I've been wanting this since I heard about it a while ago. So thanks many times over!

qwerty12 2009-01-19 15:40

Re: osso-xterm w/ overlayed transparent keyboard
 
Thanks a million for this! I've diffed your changes and applied them to the modded xterm I did (which seems to be a higher version :/ but smaller in function compared to this) and the keyboard works beautifully!

My script to disable the hildon keyboard on N800 helps though :) :

Quote:

#!/bin/sh

GC=`gconftool-2 --get /system/osso/af/keyboard-attached`

if [ x$GC = xfalse ]; then
gconftool-2 --set -t bool /system/osso/af/keyboard-attached true
else
gconftool-2 --set -t bool /system/osso/af/keyboard-attached false
fi
http://qwerty12.maemobox.org/screenshot04.png
http://qwerty12.maemobox.org/screenshot05.png

dnastase 2009-01-19 16:16

Re: osso-xterm w/ overlayed transparent keyboard
 
Excellent! I'm glad you're using my changes, I won't have too much time to maintain this.
Two things:
- I have also sound support in my changes but it was commented out. The current executable on my website has it enabled. Not the sources though but it's just a matter of commenting in 3 function defs and a fn call. Pls tell me if you cant' figure it out.
- From your nice snapshots it looks like the transparency could be a little bit more.
I've posted on my website another tkbd.png file which is more transparent. Could you pls give it a try. (I mostly tested on white background, on black it seems a diff story)

Thanks,
Daniel

Benson 2009-01-19 17:05

Re: osso-xterm w/ overlayed transparent keyboard
 
Quote:

Originally Posted by dnastase (Post 258545)
First of all I want to apologize for the delay in releasing the sources. Outside of my control an almost year long interruption happened and by now probably nobody needs this anymore. Sorry.

Nobody needs it?! I need it, that's for sure. And since Faheem's been maintaining a fork/patchset/whatever, and apparently is including this, it'll probably stay awesome into Fremantle and Mer with no further maintenance from you. I'm practically doing somersaults here! :D:D:D:D

In addition to the sshers and hackers, I also expect Addison (and any other rogue-like players) will be enthused. Thanks!

belanger 2009-01-19 17:16

Re: osso-xterm w/ overlayed transparent keyboard
 
It looks like running this should be straightforward, but for some reason this isn't working for me.

From /home/user:
~ $ ls .osso-xterm/
tkbd.lay tkbd.png
~ $ ./osso-xterm

This will bring up a new terminal (which has the same header information as the original keyboard: Busybox v1.6.1 (2008009-18 ...)), but there is no overlayed keyboard. Am I missing something?

qwerty12 2009-01-19 17:21

Re: osso-xterm w/ overlayed transparent keyboard
 
Quote:

Originally Posted by dnastase (Post 258623)
Excellent! I'm glad you're using my changes, I won't have too much time to maintain this.
Two things:
- I have also sound support in my changes but it was commented out. The current executable on my website has it enabled. Not the sources though but it's just a matter of commenting in 3 function defs and a fn call. Pls tell me if you cant' figure it out.
- From your nice snapshots it looks like the transparency could be a little bit more.
I've posted on my website another tkbd.png file which is more transparent. Could you pls give it a try. (I mostly tested on white background, on black it seems a diff story)

Thanks,
Daniel

I'll recompile with sound in a minute, haven't tried out the sound function yet :)

As for your second point, tried your second image and it works very well, thanks!

http://qwerty12.maemobox.org/screenshot07.png

qwerty12 2009-01-19 17:32

Re: osso-xterm w/ overlayed transparent keyboard
 
Yay, recompiled with sound support. Works beautifully, thanks :)

BTW, I don't wish to sound like a prick but using "#if 0" and "#endif" to comment out a huge chunk of code works easier for people who want to uncomment it :)

dnastase 2009-01-19 19:09

Re: osso-xterm w/ overlayed transparent keyboard
 
With all due respect :) when I do stuff I do it mostly for me (selfish...)
And for me, the line commenting is visually telling me that code is commented out.
A '#if 0' 100 lines above isn't helping me much.
Just a matter of style.

And BTW, uncommenting those lines is really easy with vim ;)

dnastase 2009-01-19 19:13

Re: osso-xterm w/ overlayed transparent keyboard
 
Quote:

Originally Posted by belanger (Post 258642)
It looks like running this should be straightforward, but for some reason this isn't working for me.

From /home/user:
~ $ ls .osso-xterm/
tkbd.lay tkbd.png
~ $ ./osso-xterm

This will bring up a new terminal (which has the same header information as the original keyboard: Busybox v1.6.1 (2008009-18 ...)), but there is no overlayed keyboard. Am I missing something?

Strange, did you try to toggle the virt keyb from the menu ? Still doesn't show up ?
Do you have the full files in ~/.osso-xterm ? Do they have the correct permissions ?

Daniel

belanger 2009-01-19 19:51

Re: osso-xterm w/ overlayed transparent keyboard
 
Quote:

Originally Posted by dnastase (Post 258664)
Strange, did you try to toggle the virt keyb from the menu ?

Aha; there was no virt keyb in the menu.
For some reason, it looks as if./osso-xterm wasn't running the binary in my home directory. I copied it to /usr/bin, and now it works fine.

Thanks!

Addison 2009-01-19 21:25

Re: osso-xterm w/ overlayed transparent keyboard
 
Yeah, Benson got it right!

I'm very excited about this!

Of course it would be nice to actually have a numpad featured with this but the layout is great and won't take much in getting used to the design.

Thank you very much! :D

dgec 2009-02-20 13:36

Re: osso-xterm w/ overlayed transparent keyboard
 
Any chance you guys could share the updated version, please???? :-)
I can't get the one posted at dnastase's site to run.

luis 2009-05-31 14:32

Re: osso-xterm w/ overlayed transparent keyboard
 
Sorry, I am certainly doing something stupid, but I downloaded your osso-xterm and cannot install it. I'm getting this:
Code:


[root@Nokia ~]# dpkg -i /media/mmc2/installs/osso-xterm.deb
dpkg-deb: `/media/mmc2/installs/osso-xterm.deb' is not a debian format archive
dpkg: error processing /media/mmc2/installs/osso-xterm.deb (--install):
 subprocess dpkg-deb --control returned error exit status 2
Errors were encountered while processing:
 /media/mmc2/installs/osso-xterm.deb

And: how do people install this in ~/.osso-xterm? Is that the default?

Thanks!!!
L.

Bundyo 2009-05-31 14:36

Re: osso-xterm w/ overlayed transparent keyboard
 
Looks like you need to redownload it.

bunanson 2009-05-31 21:16

Re: osso-xterm w/ overlayed transparent keyboard
 
Quote:

Originally Posted by luis (Post 292382)
Sorry, I am certainly doing something stupid, but I downloaded your osso-xterm and cannot install it. I'm getting this:
Code:


[root@Nokia ~]# dpkg -i /media/mmc2/installs/osso-xterm.deb
dpkg-deb: `/media/mmc2/installs/osso-xterm.deb' is not a debian format archive
dpkg: error processing /media/mmc2/installs/osso-xterm.deb (--install):
 subprocess dpkg-deb --control returned error exit status 2
Errors were encountered while processing:
 /media/mmc2/installs/osso-xterm.deb

And: how do people install this in ~/.osso-xterm? Is that the default?

Thanks!!!
L.

You dl from the thread #1? It is outdated and NOT a .deb file. You go his site, http://www.dnastase.info/nokia_tablet/os2008/index.htm, and dl the .zip file and extract it and follow his instructions. There is NO .deb. file.

bun

luis 2009-06-01 20:14

Re: osso-xterm w/ overlayed transparent keyboard
 
Quote:

Originally Posted by bunanson (Post 292474)
You dl from the thread #1?

Yes...

Quote:

It is outdated and NOT a .deb file. You go his site, http://www.dnastase.info/nokia_tablet/os2008/index.htm, and dl the .zip file and extract it and follow his instructions. There is NO .deb. file.
I see.

Well, I tried, but didn't work. The program works, but I saw no difference between his and the normal osso-xterm, either when executing the new file through the console, or through a (newly generated) .desktop file. The console does not show the "toggle vrt keyb" menu entry.

I sshed into the N800, and run the console by the ssh console, and got the xterm with the virtual keyboard (?), with the "toggle vrt keyb" menu. The virtual keyboard works, but when clicked it opens the normal keyboards...

So, no idea what is happening. :confused:

Thanks,
L.

dnastase 2009-06-01 22:06

Re: osso-xterm w/ overlayed transparent keyboard
 
It seems that you need qwerty12's script to hide the hildon virtual keyboard. I only have an 810 so I didn't use it, maybe an 800 owner can walk you through it.

On the other hand, why don't you use the modded osso-xterm that qwerty12 maintains ? it has the transparent keyboard plus other niceties and it's packaged as a .deb ...

luis 2009-06-02 02:52

Re: osso-xterm w/ overlayed transparent keyboard
 
Quote:

Originally Posted by dnastase (Post 292798)
It seems that you need qwerty12's script to hide the hildon virtual keyboard. I only have an 810 so I didn't use it, maybe an 800 owner can walk you through it.

Oh, I see.

Quote:

On the other hand, why don't you use the modded osso-xterm that qwerty12 maintains ? it has the transparent keyboard plus other niceties and it's packaged as a .deb ...
Not sure which xterm you're referring to, but all the links in this post are broken:

http://talk.maemo.org/showthread.php?t=23291

Do you know if he moved the project anywhere else? The original link to a DEB file works, but it probably has several bugs:

http://www.internettablettalk.com/fo...2&d=1232477106

(the deb is osso-xterm_0.14.mh12_armel.deb)

Thanks a lot!!
L.

qwerty12 2009-06-02 06:20

Re: osso-xterm w/ overlayed transparent keyboard
 
The deb is attached to it - how can that be broken? The way I disable the keyboard is dirty and crap (it affects all applications) but I'm not sure as to actually handle it within xterm as libvte handles the keyboard.

luis 2009-06-02 18:12

Re: osso-xterm w/ overlayed transparent keyboard
 
Quote:

Originally Posted by qwerty12 (Post 292854)
The deb is attached to it - how can that be broken?

Sorry, perhaps I wasn't clear enough. These two links that you posted in the thread are broken:
http://qwerty12.maemobox.org/libvte4...0mh7_armel.deb
http://qwerty12.maemobox.org/osso-xt...14.mh12.tar.gz

Anyway, is the osso-xterm_0.14.mh12_armel.deb the last version?

Quote:

The way I disable the keyboard is dirty and crap (it affects all applications) but I'm not sure as to actually handle it within xterm as libvte handles the keyboard.
I am not sure if I understood, but are you saying that your xterm breaks other apps? Or you have to install a new libvte that breaks them?

It makes sense that the virtual keyword is handled outside the xterm. It would be nice to somehow block the signal that the xterm sends to libvte...

Thanks for your work!
Cheers,
L.


All times are GMT. The time now is 23:33.

vBulletin® Version 3.8.8