Fcitx “Extra key for trigger input method” changes back to default after restart












1















Using Ubuntu 15.10. Configuring input using the Input Method Configuration screen. Whenever I change Extra key for trigger input method it works for only that session. Once I restart the computer it goes back to the default value of SHIFT Both which is annoying.



Is there a config file that is being overwritten every time I boot up? How can I prevent this?










share|improve this question

























  • So you're just running the normal flavour of Ubuntu? And how exactly are you accessing the settings you speak of?

    – user364819
    Mar 31 '16 at 15:25











  • thanks and I solved this problem now ,you can use: fcitx-configtool to get this settings

    – Larry Yang
    Mar 31 '16 at 15:26











  • If you have found the solution please post it as an answer to help others in the future.

    – user364819
    Mar 31 '16 at 15:27











  • Yes I'm going to post the solution tomorrow, it's pretty late in China now, so I will post it tomorrow morning.

    – Larry Yang
    Mar 31 '16 at 15:32











  • Right, yes, of course, I understand.

    – user364819
    Mar 31 '16 at 15:47
















1















Using Ubuntu 15.10. Configuring input using the Input Method Configuration screen. Whenever I change Extra key for trigger input method it works for only that session. Once I restart the computer it goes back to the default value of SHIFT Both which is annoying.



Is there a config file that is being overwritten every time I boot up? How can I prevent this?










share|improve this question

























  • So you're just running the normal flavour of Ubuntu? And how exactly are you accessing the settings you speak of?

    – user364819
    Mar 31 '16 at 15:25











  • thanks and I solved this problem now ,you can use: fcitx-configtool to get this settings

    – Larry Yang
    Mar 31 '16 at 15:26











  • If you have found the solution please post it as an answer to help others in the future.

    – user364819
    Mar 31 '16 at 15:27











  • Yes I'm going to post the solution tomorrow, it's pretty late in China now, so I will post it tomorrow morning.

    – Larry Yang
    Mar 31 '16 at 15:32











  • Right, yes, of course, I understand.

    – user364819
    Mar 31 '16 at 15:47














1












1








1


1






Using Ubuntu 15.10. Configuring input using the Input Method Configuration screen. Whenever I change Extra key for trigger input method it works for only that session. Once I restart the computer it goes back to the default value of SHIFT Both which is annoying.



Is there a config file that is being overwritten every time I boot up? How can I prevent this?










share|improve this question
















Using Ubuntu 15.10. Configuring input using the Input Method Configuration screen. Whenever I change Extra key for trigger input method it works for only that session. Once I restart the computer it goes back to the default value of SHIFT Both which is annoying.



Is there a config file that is being overwritten every time I boot up? How can I prevent this?







configuration input-method fcitx






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 1 '17 at 6:52









Zanna

50.4k13133241




50.4k13133241










asked Mar 31 '16 at 14:55









Larry YangLarry Yang

263




263













  • So you're just running the normal flavour of Ubuntu? And how exactly are you accessing the settings you speak of?

    – user364819
    Mar 31 '16 at 15:25











  • thanks and I solved this problem now ,you can use: fcitx-configtool to get this settings

    – Larry Yang
    Mar 31 '16 at 15:26











  • If you have found the solution please post it as an answer to help others in the future.

    – user364819
    Mar 31 '16 at 15:27











  • Yes I'm going to post the solution tomorrow, it's pretty late in China now, so I will post it tomorrow morning.

    – Larry Yang
    Mar 31 '16 at 15:32











  • Right, yes, of course, I understand.

    – user364819
    Mar 31 '16 at 15:47



















  • So you're just running the normal flavour of Ubuntu? And how exactly are you accessing the settings you speak of?

    – user364819
    Mar 31 '16 at 15:25











  • thanks and I solved this problem now ,you can use: fcitx-configtool to get this settings

    – Larry Yang
    Mar 31 '16 at 15:26











  • If you have found the solution please post it as an answer to help others in the future.

    – user364819
    Mar 31 '16 at 15:27











  • Yes I'm going to post the solution tomorrow, it's pretty late in China now, so I will post it tomorrow morning.

    – Larry Yang
    Mar 31 '16 at 15:32











  • Right, yes, of course, I understand.

    – user364819
    Mar 31 '16 at 15:47

















So you're just running the normal flavour of Ubuntu? And how exactly are you accessing the settings you speak of?

– user364819
Mar 31 '16 at 15:25





So you're just running the normal flavour of Ubuntu? And how exactly are you accessing the settings you speak of?

– user364819
Mar 31 '16 at 15:25













thanks and I solved this problem now ,you can use: fcitx-configtool to get this settings

– Larry Yang
Mar 31 '16 at 15:26





thanks and I solved this problem now ,you can use: fcitx-configtool to get this settings

– Larry Yang
Mar 31 '16 at 15:26













If you have found the solution please post it as an answer to help others in the future.

– user364819
Mar 31 '16 at 15:27





If you have found the solution please post it as an answer to help others in the future.

– user364819
Mar 31 '16 at 15:27













Yes I'm going to post the solution tomorrow, it's pretty late in China now, so I will post it tomorrow morning.

– Larry Yang
Mar 31 '16 at 15:32





Yes I'm going to post the solution tomorrow, it's pretty late in China now, so I will post it tomorrow morning.

– Larry Yang
Mar 31 '16 at 15:32













Right, yes, of course, I understand.

– user364819
Mar 31 '16 at 15:47





Right, yes, of course, I understand.

– user364819
Mar 31 '16 at 15:47










5 Answers
5






active

oldest

votes


















2














First you can use this command fcitx-configtool to open the fcitx config window,then you can change Extra key for trigger input method to whatever you want.



Then you can cd into the fcitx config folder: cd ~/.config/fcitx and use chmod 444 profile to change the permission of the profile to read only, so that no one can change back to default value.






share|improve this answer

































    1














    I had the same problem, until I realized that I was using Sougou Pinyin on top of fcitx. In the settings of Sougou Pinyin, there is a hotkey (the default is SHIFT) for switching between Chinese and English. I believe it overwrites the settings of fcitx. I changed the hotkey to none and now the settings of fcitx are kept. If you are using Sougou Pinyin as I do, that might be the problem.






    share|improve this answer

































      1














      @LarryYang 's solution didn't work for me, when I restarted my laptop, it seemed that a new profile was created and replaced the old one even after chmod +444 profile is used.



      After some experiment I'm sure it is a behavior introduced by sogou pinyin instead of fcitx. Uninstalling sogou pinyin using sudo apt-get purge sogoupinyin saved my day.






      share|improve this answer

































        0














        Changing permission of the config file works for me.




        • disable switchKey via fcitx-configtool

        • run chmod 400 ~/.config/fcitx/config






        share|improve this answer


























        • Seems to be pretty much the same as this answer?

          – Zanna
          Aug 7 '17 at 10:57











        • Is this a "thanks worked for me too" comment to the link @Zanna posted?

          – WinEunuuchs2Unix
          Aug 7 '17 at 16:25



















        0














        @Larry Yang's answer did not help me either. ~/.config/fcitx/profile seems to re-create and replace itself on each login.



        Instead, edit ~/.config/fcitx/config



        Change SwitchKey=SHIFT Both to SwitchKey=Disabled or whatever you like.



        After saving and exiting, use chmod 400 config to make the configuration persist between logins.






        share|improve this answer























          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f752324%2ffcitx-extra-key-for-trigger-input-method-changes-back-to-default-after-restart%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          5 Answers
          5






          active

          oldest

          votes








          5 Answers
          5






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          2














          First you can use this command fcitx-configtool to open the fcitx config window,then you can change Extra key for trigger input method to whatever you want.



          Then you can cd into the fcitx config folder: cd ~/.config/fcitx and use chmod 444 profile to change the permission of the profile to read only, so that no one can change back to default value.






          share|improve this answer






























            2














            First you can use this command fcitx-configtool to open the fcitx config window,then you can change Extra key for trigger input method to whatever you want.



            Then you can cd into the fcitx config folder: cd ~/.config/fcitx and use chmod 444 profile to change the permission of the profile to read only, so that no one can change back to default value.






            share|improve this answer




























              2












              2








              2







              First you can use this command fcitx-configtool to open the fcitx config window,then you can change Extra key for trigger input method to whatever you want.



              Then you can cd into the fcitx config folder: cd ~/.config/fcitx and use chmod 444 profile to change the permission of the profile to read only, so that no one can change back to default value.






              share|improve this answer















              First you can use this command fcitx-configtool to open the fcitx config window,then you can change Extra key for trigger input method to whatever you want.



              Then you can cd into the fcitx config folder: cd ~/.config/fcitx and use chmod 444 profile to change the permission of the profile to read only, so that no one can change back to default value.







              share|improve this answer














              share|improve this answer



              share|improve this answer








              edited Apr 1 '17 at 6:53









              Zanna

              50.4k13133241




              50.4k13133241










              answered Apr 1 '16 at 8:19









              Larry YangLarry Yang

              263




              263

























                  1














                  I had the same problem, until I realized that I was using Sougou Pinyin on top of fcitx. In the settings of Sougou Pinyin, there is a hotkey (the default is SHIFT) for switching between Chinese and English. I believe it overwrites the settings of fcitx. I changed the hotkey to none and now the settings of fcitx are kept. If you are using Sougou Pinyin as I do, that might be the problem.






                  share|improve this answer






























                    1














                    I had the same problem, until I realized that I was using Sougou Pinyin on top of fcitx. In the settings of Sougou Pinyin, there is a hotkey (the default is SHIFT) for switching between Chinese and English. I believe it overwrites the settings of fcitx. I changed the hotkey to none and now the settings of fcitx are kept. If you are using Sougou Pinyin as I do, that might be the problem.






                    share|improve this answer




























                      1












                      1








                      1







                      I had the same problem, until I realized that I was using Sougou Pinyin on top of fcitx. In the settings of Sougou Pinyin, there is a hotkey (the default is SHIFT) for switching between Chinese and English. I believe it overwrites the settings of fcitx. I changed the hotkey to none and now the settings of fcitx are kept. If you are using Sougou Pinyin as I do, that might be the problem.






                      share|improve this answer















                      I had the same problem, until I realized that I was using Sougou Pinyin on top of fcitx. In the settings of Sougou Pinyin, there is a hotkey (the default is SHIFT) for switching between Chinese and English. I believe it overwrites the settings of fcitx. I changed the hotkey to none and now the settings of fcitx are kept. If you are using Sougou Pinyin as I do, that might be the problem.







                      share|improve this answer














                      share|improve this answer



                      share|improve this answer








                      edited Apr 1 '17 at 6:51









                      Zanna

                      50.4k13133241




                      50.4k13133241










                      answered Apr 1 '17 at 5:34









                      Ruikai CaoRuikai Cao

                      112




                      112























                          1














                          @LarryYang 's solution didn't work for me, when I restarted my laptop, it seemed that a new profile was created and replaced the old one even after chmod +444 profile is used.



                          After some experiment I'm sure it is a behavior introduced by sogou pinyin instead of fcitx. Uninstalling sogou pinyin using sudo apt-get purge sogoupinyin saved my day.






                          share|improve this answer






























                            1














                            @LarryYang 's solution didn't work for me, when I restarted my laptop, it seemed that a new profile was created and replaced the old one even after chmod +444 profile is used.



                            After some experiment I'm sure it is a behavior introduced by sogou pinyin instead of fcitx. Uninstalling sogou pinyin using sudo apt-get purge sogoupinyin saved my day.






                            share|improve this answer




























                              1












                              1








                              1







                              @LarryYang 's solution didn't work for me, when I restarted my laptop, it seemed that a new profile was created and replaced the old one even after chmod +444 profile is used.



                              After some experiment I'm sure it is a behavior introduced by sogou pinyin instead of fcitx. Uninstalling sogou pinyin using sudo apt-get purge sogoupinyin saved my day.






                              share|improve this answer















                              @LarryYang 's solution didn't work for me, when I restarted my laptop, it seemed that a new profile was created and replaced the old one even after chmod +444 profile is used.



                              After some experiment I'm sure it is a behavior introduced by sogou pinyin instead of fcitx. Uninstalling sogou pinyin using sudo apt-get purge sogoupinyin saved my day.







                              share|improve this answer














                              share|improve this answer



                              share|improve this answer








                              edited Apr 4 '17 at 6:45

























                              answered Apr 4 '17 at 5:39









                              TC ZhangTC Zhang

                              1113




                              1113























                                  0














                                  Changing permission of the config file works for me.




                                  • disable switchKey via fcitx-configtool

                                  • run chmod 400 ~/.config/fcitx/config






                                  share|improve this answer


























                                  • Seems to be pretty much the same as this answer?

                                    – Zanna
                                    Aug 7 '17 at 10:57











                                  • Is this a "thanks worked for me too" comment to the link @Zanna posted?

                                    – WinEunuuchs2Unix
                                    Aug 7 '17 at 16:25
















                                  0














                                  Changing permission of the config file works for me.




                                  • disable switchKey via fcitx-configtool

                                  • run chmod 400 ~/.config/fcitx/config






                                  share|improve this answer


























                                  • Seems to be pretty much the same as this answer?

                                    – Zanna
                                    Aug 7 '17 at 10:57











                                  • Is this a "thanks worked for me too" comment to the link @Zanna posted?

                                    – WinEunuuchs2Unix
                                    Aug 7 '17 at 16:25














                                  0












                                  0








                                  0







                                  Changing permission of the config file works for me.




                                  • disable switchKey via fcitx-configtool

                                  • run chmod 400 ~/.config/fcitx/config






                                  share|improve this answer















                                  Changing permission of the config file works for me.




                                  • disable switchKey via fcitx-configtool

                                  • run chmod 400 ~/.config/fcitx/config







                                  share|improve this answer














                                  share|improve this answer



                                  share|improve this answer








                                  edited Aug 7 '17 at 10:55









                                  Zanna

                                  50.4k13133241




                                  50.4k13133241










                                  answered Aug 7 '17 at 9:22









                                  Ye XIAYe XIA

                                  1




                                  1













                                  • Seems to be pretty much the same as this answer?

                                    – Zanna
                                    Aug 7 '17 at 10:57











                                  • Is this a "thanks worked for me too" comment to the link @Zanna posted?

                                    – WinEunuuchs2Unix
                                    Aug 7 '17 at 16:25



















                                  • Seems to be pretty much the same as this answer?

                                    – Zanna
                                    Aug 7 '17 at 10:57











                                  • Is this a "thanks worked for me too" comment to the link @Zanna posted?

                                    – WinEunuuchs2Unix
                                    Aug 7 '17 at 16:25

















                                  Seems to be pretty much the same as this answer?

                                  – Zanna
                                  Aug 7 '17 at 10:57





                                  Seems to be pretty much the same as this answer?

                                  – Zanna
                                  Aug 7 '17 at 10:57













                                  Is this a "thanks worked for me too" comment to the link @Zanna posted?

                                  – WinEunuuchs2Unix
                                  Aug 7 '17 at 16:25





                                  Is this a "thanks worked for me too" comment to the link @Zanna posted?

                                  – WinEunuuchs2Unix
                                  Aug 7 '17 at 16:25











                                  0














                                  @Larry Yang's answer did not help me either. ~/.config/fcitx/profile seems to re-create and replace itself on each login.



                                  Instead, edit ~/.config/fcitx/config



                                  Change SwitchKey=SHIFT Both to SwitchKey=Disabled or whatever you like.



                                  After saving and exiting, use chmod 400 config to make the configuration persist between logins.






                                  share|improve this answer




























                                    0














                                    @Larry Yang's answer did not help me either. ~/.config/fcitx/profile seems to re-create and replace itself on each login.



                                    Instead, edit ~/.config/fcitx/config



                                    Change SwitchKey=SHIFT Both to SwitchKey=Disabled or whatever you like.



                                    After saving and exiting, use chmod 400 config to make the configuration persist between logins.






                                    share|improve this answer


























                                      0












                                      0








                                      0







                                      @Larry Yang's answer did not help me either. ~/.config/fcitx/profile seems to re-create and replace itself on each login.



                                      Instead, edit ~/.config/fcitx/config



                                      Change SwitchKey=SHIFT Both to SwitchKey=Disabled or whatever you like.



                                      After saving and exiting, use chmod 400 config to make the configuration persist between logins.






                                      share|improve this answer













                                      @Larry Yang's answer did not help me either. ~/.config/fcitx/profile seems to re-create and replace itself on each login.



                                      Instead, edit ~/.config/fcitx/config



                                      Change SwitchKey=SHIFT Both to SwitchKey=Disabled or whatever you like.



                                      After saving and exiting, use chmod 400 config to make the configuration persist between logins.







                                      share|improve this answer












                                      share|improve this answer



                                      share|improve this answer










                                      answered Dec 31 '18 at 5:09









                                      Gary LiuGary Liu

                                      1




                                      1






























                                          draft saved

                                          draft discarded




















































                                          Thanks for contributing an answer to Ask Ubuntu!


                                          • Please be sure to answer the question. Provide details and share your research!

                                          But avoid



                                          • Asking for help, clarification, or responding to other answers.

                                          • Making statements based on opinion; back them up with references or personal experience.


                                          To learn more, see our tips on writing great answers.




                                          draft saved


                                          draft discarded














                                          StackExchange.ready(
                                          function () {
                                          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f752324%2ffcitx-extra-key-for-trigger-input-method-changes-back-to-default-after-restart%23new-answer', 'question_page');
                                          }
                                          );

                                          Post as a guest















                                          Required, but never shown





















































                                          Required, but never shown














                                          Required, but never shown












                                          Required, but never shown







                                          Required, but never shown

































                                          Required, but never shown














                                          Required, but never shown












                                          Required, but never shown







                                          Required, but never shown







                                          Popular posts from this blog

                                          flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

                                          Mangá

                                           ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕