View Single Post
Posts: 173 | Thanked: 83 times | Joined on Dec 2011
#460
Originally Posted by nokiac
When I clicked "test" , it launched wazapp application correctly , but I noticed that in the chats, the virtual keyboard does not come up if I click in the text input area. On the other hand, if I launch wazapp from the terminal using the same command as I input in Profilematic custom action, the keyboard comes up fine in the chat. !

Posted by ajalkane
Hmm... that's really peculiar... Have you tried any other apps if they behave the same when launched from ProfileMatic?

Frankly I'm quite surprised at that, since what ProfileMatic does is just execute the command. No frills, no thrills. Just fire and forget.

This kind of points to, maybe, some environmental variables that not existing when launching from the ProfileMatic daemon. I'll have to ponder a bit about that, but if you can confirm the behaviour in other applications that'd be nice.
Ok, I was able to solve this issue by creating a script in /home/user/bin

which looks like:

#!/bin/sh
QT_IM_MODULE=MInputContext export QT_IM_MODULE
/opt/waxmppplugin/bin/wazapp/wazapp
Then, using this script as custom action, the keyboard came up correctly in chats in Wazapp .
 

The Following User Says Thank You to nokiac For This Useful Post: