[MeeGo-dev] can't overrride virtual keyboard
Yoon, Youngsik
youngsik.yoon at intel.com
Wed Mar 9 17:11:01 PST 2011
Hi,
Please run that command as root.
And to apply your change, you need to restart gconf daemon or reboot.
Thanks,
Yoon
-----Original Message-----
From: Yuvaraj.Ragupathi at tieto.com [mailto:Yuvaraj.Ragupathi at tieto.com]
Sent: Wednesday, March 09, 2011 6:58 PM
To: Yuvaraj.Ragupathi at tieto.com; Yoon, Youngsik
Cc: meego-dev at meego.com
Subject: RE: [MeeGo-dev] can't overrride virtual keyboard
Hi,
When i am changing the gconf properties its giving following error.
#gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type string --set /meegotouch/inputmethods/plugins/onscreen "my plugin name"
None of the resolved addresses are writable;saving configuration settings will not be possible
Error setting value: Can't overwrite existing read-only value: value for /meegotouch/inputmethods/plugins/onscreen' set in a read only source at the front of your configuration path
Thanks
Yuvaraj R
________________________________________
From: Ragupathi Yuvaraj
Sent: Monday, February 28, 2011 5:37 PM
To: Yoon, Youngsik
Cc: meego-dev at meego.com
Subject: RE: [MeeGo-dev] can't overrride virtual keyboard
Hi,
I compiled default virtual keyboard and invoked with
gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type string --set /meegotouch/inputmethods/plugins/onscreen MeegoKeyboard
But same thing is happening.
My images are
File system - meego-handset-armv7l-n900-1.1.90.2.20110209.4-mmcblk0p.raw.bz2
Kernel - meego-handset-armv7l-n900-devel-1.1.90.2.20110209.4-vmlinuz-2.6.37-6.2-adaptation-n900
Note: before doing modifications I seen default virtual keyboard. Problem is occurred after excuting "gconftool-2" command
How do I restart meego-im-uiserver?
Thanks
Yuvaraj R
-----Original Message-----
From: Yoon, Youngsik [mailto:youngsik.yoon at intel.com]
Sent: Monday, February 28, 2011 3:58 PM
To: Ragupathi Yuvaraj
Cc: meego-dev at meego.com
Subject: RE: [MeeGo-dev] can't overrride virtual keyboard
Hi,
I don't know which version you are using...
But It seems that you need to check this bug.
https://bugs.meego.com/show_bug.cgi?id=13893(VKB doesn't launch and HWKB doesn't work)
I recommend that you should build development environment that default virtual keyboard works fine first.
And then replace default keyboard with your custom keyboard for test.
Thanks,
Yoon
-----Original Message-----
From: Yuvaraj.Ragupathi at tieto.com [mailto:Yuvaraj.Ragupathi at tieto.com]
Sent: Monday, February 28, 2011 1:44 PM
To: Yoon, Youngsik
Cc: meego-dev at meego.com
Subject: RE: [MeeGo-dev] can't overrride virtual keyboard
Hi Youngsik
I invoked my virtual keyboard plugin by
gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type string --set /meegotouch/inputmethods/plugins/onscreen mypluginname.
After that I tried to type something in input filed of sms. But I didn't get any virtual keyboard there (not able to type through hard keyboard also).
Then again invoked default virtual keyboard through
gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type string --set /meegotouch/inputmethods/plugins/onscreen MeegoKeyboard. Didn't get default virtual keyboard UI.
Please correct if I am going anywhere wrong.
Thanks
Yuvaraj R
-----Original Message-----
From: meego-dev-bounces at meego.com [mailto:meego-dev-bounces at meego.com] On Behalf Of Yuvaraj.Ragupathi at tieto.com
Sent: Friday, February 25, 2011 4:41 PM
To: youngsik.yoon at intel.com
Cc: meego-dev at meego.com
Subject: Re: [MeeGo-dev] can't overrride virtual keyboard
Hi
I followed your steps. But I am not getting my UI there. Just I over written the show () and hide () method in MKeyboardHost.cpp file.
Sample stubs
MWidget myUI(sceneWindow);
void MKeyboardHost::show()
{
myUI.show();
}
Void MKeyboardHost::hide()
{
myUI.hide();
}
Thanks
Yuvaraj R
-----Original Message-----
From: Yoon, Youngsik [mailto:youngsik.yoon at intel.com]
Sent: Friday, February 25, 2011 9:44 AM
To: Ragupathi Yuvaraj
Cc: meego-dev at meego.com
Subject: RE: [MeeGo-dev] can't overrride virtual keyboard
Did you implement plugin class something like MKeyboardPlugin?
Or you are just using MKeyboardPlugin class as is from meegotouch-inputmethodkeyboard package?
If the former, you need to set exactly the same value in gconf as what you set in MInputMethodPlugin::name().
If the latter, you can just replace /usr/lib/meego-in-plugin/libmeego-keyboard.so with your libxxx.so. And test it.
(it means that you just use the same plugin name as default named "MeegoKeyboard". don't need to set plugin name in gconf.)
Thanks,
Yoon
-----Original Message-----
From: Yuvaraj.Ragupathi at tieto.com [mailto:Yuvaraj.Ragupathi at tieto.com]
Sent: Friday, February 25, 2011 12:30 PM
To: Yoon, Youngsik
Cc: meego-dev at meego.com
Subject: RE: [MeeGo-dev] can't overrride virtual keyboard
Hi Youngsik
To override default virtual keyboard, followed below steps
1) Created my own plugin (as library)
Sample code:
class MKeyboardHost: public MAbstractInputMethod
{
Q_OBJECT
private:
QWidget wid;
public:
MKeyboardHost(MAbstractInputMethodHost *imHost, QObject *parent = 0):MAbstractInputMethod(imHost, parent)
{
scene =new MSceneWindow;
scene->setManagedManually(true);
MPlainWindow::instance()->sceneManager()->appearSceneWindow(scene);
}
virtual ~MKeyboardHost()
{
//Destructor
}
void show()
{
wid.show();
}
void hide()
{
wid.hide();
}
};
Step2:
Copied plugin to /usr/lib/meego-in-plugins
Step3:
Restarted meego-im-uiserver
Please correct, if I am doing anything wrong here
Thanks
Yuvaraj R
-----Original Message-----
From: Yoon, Youngsik [mailto:youngsik.yoon at intel.com]
Sent: Friday, February 25, 2011 5:18 AM
To: Ragupathi Yuvaraj; michael at taschenorakel.de
Cc: meego-dev at meego.com
Subject: RE: [MeeGo-dev] can't overrride virtual keyboard
I think it should not be library name like xxx.so.
It should be your plugin name setting in MInputMethodPlugin::name().
Thanks,
Yoon
-----Original Message-----
From: meego-dev-bounces at meego.com [mailto:meego-dev-bounces at meego.com] On Behalf Of Yuvaraj.Ragupathi at tieto.com
Sent: Thursday, February 24, 2011 8:53 PM
To: Yuvaraj.Ragupathi at tieto.com; michael at taschenorakel.de
Cc: meego-dev at meego.com
Subject: Re: [MeeGo-dev] can't overrride virtual keyboard
Hi
I executed gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type string --set /meegotouch/inputmethods/plugins/onscreen libmylibrary.so.
But no changes happened. How can I verify whether meego-im-uiserver is running or not?
Thanks
Yuvaraj R
-----Original Message-----
From: Ragupathi Yuvaraj
Sent: Wednesday, February 23, 2011 9:18 AM
To: 'Michael Hasselmann'
Cc: meego-dev at meego.com
Subject: RE: [MeeGo-dev] can't overrride virtual keyboard
Hi
Thanks for your reply. I will try and let you know
Thanks
Yuvaraj R
-----Original Message-----
From: Michael Hasselmann [mailto:michael at taschenorakel.de]
Sent: Tuesday, February 22, 2011 6:04 PM
To: Ragupathi Yuvaraj
Cc: meego-dev at meego.com
Subject: Re: [MeeGo-dev] can't overrride virtual keyboard
On Tue, 2011-02-22 at 11:47 +0200, Yuvaraj.Ragupathi at tieto.com wrote:
> Hi
>
> I have developed one small widget to override the default virtual
> keyboard and kept my lib @ /usr/lib/meego-im-plugins location. I
> didn't see any updates on virtual keyboard.
Current VKB plugin is determined through GConf. Youngsik Yoon found out
how to change those "read-only" values:
# gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type string --set /meegotouch/inputmethods/plugins/onscreen "xxxxx"
where xxxxx is the name of your plugin. If the meego-im-uiserver is
running while changing this value, it should switch the plugin
immediately.
regards,
Michael
_______________________________________________
MeeGo-dev mailing list
MeeGo-dev at meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines
_______________________________________________
MeeGo-dev mailing list
MeeGo-dev at meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines
More information about the MeeGo-dev
mailing list