Hi All, I followed below steps to to invoke my virtual keyboard plugin(default m-keyboard ).
# sudo gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type string --set /meegotouch/inputmethods/plugins/onscreen "my plugin name" After i verified the using # gconftool-2 --get /meegotouch/inputmethods/plugins/onscreen output is MeegoKeyboard, then again # gconftool-2 --type string --set /meegotouch/inputmethods/plugins/onscreen "my plugin name" myplugin is output of default m-Keyboard(no changes made ) # gconftool-2 --get /meegotouch/inputmethods/plugins/onscreen output is "my plugin name" Then i restarted and launched sms application. It ddin't display my plugin UI and didn't accept input from hardware keyboard. If again i switch to default plugin(MeegoKeyboard), it is working. Do i need to follow any other steps? Thanks Yuvaraj R ________________________________________ From: Yoon, Youngsik [[email protected]] Sent: Thursday, March 10, 2011 6:41 AM To: Ragupathi Yuvaraj Cc: [email protected] Subject: RE: [MeeGo-dev] can't overrride virtual keyboard 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: [email protected] [mailto:[email protected]] Sent: Wednesday, March 09, 2011 6:58 PM To: [email protected]; Yoon, Youngsik Cc: [email protected] 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: [email protected] 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:[email protected]] Sent: Monday, February 28, 2011 3:58 PM To: Ragupathi Yuvaraj Cc: [email protected] 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: [email protected] [mailto:[email protected]] Sent: Monday, February 28, 2011 1:44 PM To: Yoon, Youngsik Cc: [email protected] 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: [email protected] [mailto:[email protected]] On Behalf Of [email protected] Sent: Friday, February 25, 2011 4:41 PM To: [email protected] Cc: [email protected] 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:[email protected]] Sent: Friday, February 25, 2011 9:44 AM To: Ragupathi Yuvaraj Cc: [email protected] 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: [email protected] [mailto:[email protected]] Sent: Friday, February 25, 2011 12:30 PM To: Yoon, Youngsik Cc: [email protected] 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:[email protected]] Sent: Friday, February 25, 2011 5:18 AM To: Ragupathi Yuvaraj; [email protected] Cc: [email protected] 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: [email protected] [mailto:[email protected]] On Behalf Of [email protected] Sent: Thursday, February 24, 2011 8:53 PM To: [email protected]; [email protected] Cc: [email protected] 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: [email protected] 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:[email protected]] Sent: Tuesday, February 22, 2011 6:04 PM To: Ragupathi Yuvaraj Cc: [email protected] Subject: Re: [MeeGo-dev] can't overrride virtual keyboard On Tue, 2011-02-22 at 11:47 +0200, [email protected] 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 [email protected] http://lists.meego.com/listinfo/meego-dev http://wiki.meego.com/Mailing_list_guidelines _______________________________________________ MeeGo-dev mailing list [email protected] http://lists.meego.com/listinfo/meego-dev http://wiki.meego.com/Mailing_list_guidelines _______________________________________________ MeeGo-dev mailing list [email protected] http://lists.meego.com/listinfo/meego-dev http://wiki.meego.com/Mailing_list_guidelines
