maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] portrait-keyboard: Portrait-friendly system-wide keyboard (https://talk.maemo.org/showthread.php?t=55371)

godofwar424 2010-06-09 05:39

Re: [Announce] portrait-keyboard: Portrait-friendly system-wide keyboard
 
Quote:

Originally Posted by Mentalist Traceur (Post 706334)
Just tried your commands. They do indeedly work. However, something I noticed: I went into X-Term, typed the code to enable the default vkb, ran it, ran killall hildon-input-method, closed the hardware keyboard, and pressed on the screen. Normal keyboard came up fine. Then I hid the keyboard by clicking outside it, opened up the hardware one, and did the code to enable the new portrait compatible one. Upon hitting enter for "killall hildon-input-method", X-Term crashed, saying "Internal Error. Application 'T-Term closed." I reopened X-Term, closed HWK, and pressed the screen, and the new VKB came up - SO, the commands worked perfectly, but I'm wondering if anyone knows why it behaved like that.

Just tried doing ONLY the code to switch to standard keyboard. X-Term crashed at entering "killall hildon-input-method" again. (But it did revert to the virtual keyboard again).

And just tried again with only the code to go back to this portrait compatible one. Same error again. (Keyboard went to the new one just fine.)

And tried "killall hildon-input-method" by itself. X-Term crashed again.

It's not horribly bad, and everything seems to still work, but it's annoying.

(Before hitting submit I rebooted N900 and tested again - no change. X-Term crashed upon "killall hildon-input-method".)

Yhh I have noticed this as well!

Thing is it works and does not harm anything. TBH its hepful because it means you dont need to close xTerm everytime :)

I have made 2 scripts one for Default layout and one for the Portrait layout :)

I have also made two application shortcuts that can be placed on the desktop to switch between each layout by activating the scripts :)

If you want I will upload and link to them? Let me know :)

F2thaK 2010-06-09 05:46

Re: [Announce] portrait-keyboard: Portrait-friendly system-wide keyboard
 
umm.. yes please thank you !! XD

Mentalist Traceur 2010-06-09 07:23

Re: [Announce] portrait-keyboard: Portrait-friendly system-wide keyboard
 
It's helpful unless you're running X-Term with the intent to do something else. But that's neither here nor there.

But do you know why it does this? I would love a technical explanation for what happens at the deeper software level that causes X-Term to crash after the second time running the commands? Do you think it was caused by running both switches in a row in one X-Term session? Or is it something that was initially caused by switching to the new keyboard, and the both-in-one-section thing had nothing to do with it?

jipee296 2010-06-09 15:23

Re: [Announce] portrait-keyboard: Portrait-friendly system-wide keyboard
 
Quote:

Originally Posted by godofwar424 (Post 706608)
Yhh I have noticed this as well!

Thing is it works and does not harm anything. TBH its hepful because it means you dont need to close xTerm everytime :)

I have made 2 scripts one for Default layout and one for the Portrait layout :)

I have also made two application shortcuts that can be placed on the desktop to switch between each layout by activating the scripts :)

If you want I will upload and link to them? Let me know :)

can you give me the link please? thanks!!

godofwar424 2010-06-09 16:25

Re: [Announce] portrait-keyboard: Portrait-friendly system-wide keyboard
 
Alrite uploading them know will update this post when they are online :)


EDIT: Here is the linke to the files! I have included a readme incase you are unsure of what to do. Pm me if you have any problems :)

KeyboardSwitcher.rar

godofwar424 2010-06-09 17:01

Re: [Announce] portrait-keyboard: Portrait-friendly system-wide keyboard
 
Quote:

Originally Posted by Mentalist Traceur (Post 706696)
But do you know why it does this? I would love a technical explanation for what happens at the deeper software level that causes X-Term to crash after the second time running the commands? Do you think it was caused by running both switches in a row in one X-Term session? Or is it something that was initially caused by switching to the new keyboard, and the both-in-one-section thing had nothing to do with it?

I would like to kno why this happens as well :p

I dont have alot of technical knowledge of Maemo :p Im just starting to learn bits and bobs as I have more free time!

jipee296 2010-06-09 17:32

Re: [Announce] portrait-keyboard: Portrait-friendly system-wide keyboard
 
Quote:

Originally Posted by godofwar424 (Post 707446)
Alrite uploading them know will update this post when they are online :)


EDIT: Here is the linke to the files! I have included a readme incase you are unsure of what to do. Pm me if you have any problems :)

KeyboardSwitcher.rar

thanks so much for this.. do i have to reboot everytime i switch keyboard? because when i clicked the default icon, its still on the portrait mode

godofwar424 2010-06-09 17:54

Re: [Announce] portrait-keyboard: Portrait-friendly system-wide keyboard
 
Quote:

Originally Posted by jipee296 (Post 707526)
thanks so much for this.. do i have to reboot everytime i switch keyboard? because when i clicked the default icon, its still on the portrait mode

Nope. No reboot is nesscesary as it performs a killall function :)

Does it open X Terminal and then close it?

because that is how it should function.

It should be:

1. Open app
2. xTerm opens
3. xTerm crashes/closes
4. selected keyboard is enabled

please make sure you have Rootsh installed. It enables the use of the "sudo gainroot" command which is vital for this script.

jipee296 2010-06-09 18:05

Re: [Announce] portrait-keyboard: Portrait-friendly system-wide keyboard
 
it doesnt open xterminal.. it says internal error...

rantom 2010-06-09 19:17

Re: [Announce] portrait-keyboard: Portrait-friendly system-wide keyboard
 
I suppose that you've not seen this yet, since I didn't find any mention about YouTube?

Detailed guide for: How to get Portrait keyboard in Fremantle (Unstable) - With Voice

You may want to enable HTML5 to YouTube, that's the only way I was able to watch this video.

YouTube HTML5 Video Player

If this can be found from the system and fixed from width's, you should be fine, right? I'd prefer this over the T9 (or Opera's over this/T9), since it's very, very slow method of input.


All times are GMT. The time now is 12:07.

vBulletin® Version 3.8.8