Hi, sorry for posting on this ancient thread, but I had 2 problems; 1. Ibus doesn't automatically start. item 10 in your instruction tells me to manually activete/start Ibus, which is a hassle. So I put a command in .bashrc to specifically start it; so I added the following 4 lines to .bashrc;
export GTK <http://d.hatena.ne.jp/keyword/GTK>_IM_MODULE=ibus <http://d.hatena.ne.jp/keyword/ibus> export XMODIFIERS=@im=ibus <http://d.hatena.ne.jp/keyword/ibus> export QT_IM_MODULE=ibus <http://d.hatena.ne.jp/keyword/ibus> ibus <http://d.hatena.ne.jp/keyword/ibus>-daemon <http://d.hatena.ne.jp/keyword/daemon> -rdx <http://d.hatena.ne.jp/keyword/rdx> This works for me; But is there any problems with this approach? 2. I can't get the input method (I'm using Japanese input, mozc) to remember the configuration that I made. I have to reconfigure it everytime I start the AppVM. I guess this is because Ibus-mozc in the AppVM cannot write to whatever config file; but is there any way I can make it remember how I want it to behave? Thanks in advance. Best, Hiroo Yamagata On Monday, November 3, 2014 at 6:53:53 PM UTC+9, Luke Saul wrote: > > > > On Sunday, November 2, 2014 2:12:34 PM UTC, Francesco wrote: >> >> >> >> On Sat, Nov 1, 2014 at 1:40 PM, Luke Saul <luke...@gmail.com> wrote: >> >>> >>> >>> On Thursday, October 30, 2014 10:47:15 PM UTC-4, Marek >>> Marczykowski-Górecki wrote: >>>> >>>> On 31.10.2014 02:48, Luke Saul wrote: >>>> > >>>> > >>>> > On Thursday, October 30, 2014 7:10:27 AM UTC-4, Francesco wrote: >>>> >> >>>> >> >>>> >> >>>> >> On Thu, Oct 30, 2014 at 6:00 AM, Luke Saul <luke...@gmail.com >>>> >> <javascript:>> wrote: >>>> >> >>>> >>> Thanks for your reply Marek! And your work with Qubes. I really >>>> love >>>> >>> this OS. >>>> >>> >>>> >>> i installed ibus pinyin support with qubes-dom0-update ibus-pinyin >>>> >>> >>>> >>> 容易 (easy) >>>> >>> >>>> >>> This works fine in dom0 but the problem is that no input support is >>>> >>> passed on into AppVMs. Once inside an AppVM I press my control >>>> sequence >>>> >>> (usually ctrl-space) to switch between inputs, and the icon changes >>>> in the >>>> >>> task bar as it usually does. However the input does not change and >>>> I am >>>> >>> stuck typing only latin characters. >>>> >>> >>>> >>> I saw some other comments about it earlier in forums, many people >>>> will >>>> >>> see they cannot use their bank, social networks, etc. and not use >>>> the >>>> >>> system. I assume that there are security concerns in relation to >>>> xen in >>>> >>> some way, certainly I respect your design considerations in this >>>> regard. >>>> >>> Sorry I cannot be more helpful, my only experience with anything >>>> like >>>> >>> similar VMs has been with virtualbox on linux, in which ibus >>>> unicode input >>>> >>> was passed in without trouble. >>>> >>> >>>> >>> >>>> >> Please do not "top post" >>>> >> >>>> >> You should install it in the template, not in dom0. >>>> >> https://qubes-os.org/wiki/SoftwareUpdateVM >>>> >> after that shut down the template and restart the appVM >>>> >> Best >>>> >> >>>> >> >>>> >> >>>> > >>>> > Thanks for your suggestion. I tried to install the packages in the >>>> > template, restart the appVM, but the response is the same. I also >>>> tried to >>>> > reomve the packages from dom0 and do a full reboot. I can test the >>>> > packages are installed in the appVM (via the template), but they do >>>> no good >>>> > because dom0 captures keyboard input and sanitizes it before passing >>>> it on >>>> > to the appVM. It is my suspicion that this is a xen issue, but this >>>> is the >>>> > only time I have ever used any thing xen. In any case, I think this >>>> is the >>>> > same issue as others have reported with alternative keyboard layouts >>>> which >>>> > don't get passed into AppVMs such as Colerak. >>>> >>>> I don't think so... >>>> >>>> I've just performed simple experiment: called "ibus-setup" in the VM. >>>> It asked >>>> me if I want to start ibus daemon because it wasn't running - of course >>>> I've >>>> agreed. Then I've got a message with environment variables to paste >>>> into .bashrc: >>>> export GTK_IM_MODULE=ibus >>>> export XMODIFIERS=@im=ibus >>>> export QT_IM_MODULE=ibus >>>> So I've pasted it there. Then I've added "Chinese - Intelligent Pinyin" >>>> into >>>> input methods. >>>> New applications started in this VM seems to have ibus support enabled >>>> now. At >>>> least I guess so by looking at those Chinese characters in gedit >>>> window... >>>> >>>> The only problem is that the change isn't persistent. The next time >>>> I've >>>> started the VM, I needed to manually call "imsettings-switch ibus". I >>>> guess >>>> we've disable something in AppVM in process of speeding up the startup >>>> (imsettings-daemon seems to be disabled). >>>> Or perhaps something else: looking at >>>> /etc/X11/xinit/xinitrc.d/50-xinput.sh, >>>> >>>> there is hardcoded list of locales for which ibus is enabled: >>>> if [ -r "$SYS_XINPUTRC" ]; then >>>> # FIXME: This hardcoded list has to be gone in the future. >>>> # Locales that normally use input-method for native input >>>> _im_language_list="as bn gu hi ja kn ko mai ml mr ne or pa si ta te >>>> th ur >>>> vi zh" >>>> >>>> I haven't tried to change system locale to one of those, but I guess it >>>> should >>>> help. >>>> >>>> -- >>>> Best Regards, >>>> Marek Marczykowski-Górecki >>>> Invisible Things Lab >>>> A: Because it messes up the order in which people normally read text. >>>> Q: Why is top-posting such a bad thing? >>>> >>>> >>> >>> It works!!! Thank you for walking me through that. >>> I am transitioning to full qubes environment. Keep up the great work!! >>> >> >> This seems very basic and important required support for lots of people, >> Luke. It may be useful if you can write down the steps required to get it >> working. >> >> Best >> >>> >>> >> > > Sure :) > I think this thread and Marek's comments do better than my documentation > effort but here you go anyway: > > How to setup pinyin input on Qubes > > 1) DON'T try to install anything on Dom0. > > 2) Choose a template VM in which you will be using pinyin input on AppVM > instances thereof and open a terminal there. > > 3) Issue >sudo yum install ibus-pinyin (or for debian template, >sudo > apt-get install ibus-pinyin). > > 4) Close and shut down the template vm. > > 5) Restart an AppVM which inherits from the template and open a terminal > > 6) Issue >ibus-setup > > 7) You will likely get the error message telling you to paste > > export GTK_IM_MODULE=ibus > export XMODIFIERS=@im=ibus > export QT_IM_MODULE=ibus > > into your bashrc. > > Copy the text, and then issue: >sudo nano ~/.bashrc > Paste the text into the bottom of the file and ctrl-x to save and close. > You will need to do this on any AppVM in which you wish to use pinyin > input. > > 8) setup ibus input as you like using the graphical menu (add pinyin or > intelligent pinyin to selections). > You can bring the menu back by issuing >ibus-setup from a terminal. > > 9) use super-space as you are used to using to switch between > pinyin-unicode and latin character input > > 10) whenever you restart one of these AppVMs, you will need to open a > terminal and issue >imsettings-switch ibus > to activate ibus. > > There are other ways to handle (10) as Marek pointed out but this is no > problem for me. > > > -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/4e14db91-1276-46c9-a1ed-618d96972fff%40googlegroups.com.