{"id":2406,"date":"2017-12-22T04:36:49","date_gmt":"2017-12-21T20:36:49","guid":{"rendered":"https:\/\/www.csslayer.info\/wordpress\/?p=2406"},"modified":"2020-11-12T03:38:13","modified_gmt":"2020-11-11T19:38:13","slug":"the-road-to-fcitx-5-5-good-news-for-people-who-use-multiple-display-server","status":"publish","type":"post","link":"https:\/\/www.csslayer.info\/wordpress\/fcitx-dev\/the-road-to-fcitx-5-5-good-news-for-people-who-use-multiple-display-server\/","title":{"rendered":"The Road to Fcitx 5: 5. Good news for people who use multiple display server"},"content":{"rendered":"<p>A big refactor in fcitx 5 is to enable it to support for multiple display server. This is not limited to X11 + wayland, but it means you can use fcitx with multiple X11 server. While such functionality may have limitation about your layout settings, but still it will work for most of cases.<\/p>\n<pre>qdbus-qt5 org.fcitx.Fcitx5 \/controller org.fcitx.Fcitx.Controller1.OpenX11Connection :1<\/pre>\n<p>The support for multiple X connection exists in the code for long time but it didn&#8217;t expose to the world till the commit today.<\/p>\n<p>With a simple dbus call above, you can open an new X11 connection to display server :1. The classicui window, XIM, or client that uses dbus protocol in it will be able to use the &#8220;right&#8221; window in the display server. Though, kimpanel will not be able to enjoy this.<\/p>\n<p>To test this funtionality, try it with some simply client:<\/p>\n<pre>Xephyr :1\r\nqdbus-qt5 org.fcitx.Fcitx5 \/controller org.fcitx.Fcitx.Controller1.OpenX11Connection :1\r\nDISPLAY=:1 openbox\r\nDISPLAy=:1 xterm<\/pre>\n<p>And you&#8217;ll find out that you can type in the xterm :P.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A big refactor in fcitx 5 is to enable it to support for multiple display server. This is not limited to X11 + wayland, but it means you can use fcitx with multiple X11 server. While such functionality may have &hellip; <a href=\"https:\/\/www.csslayer.info\/wordpress\/fcitx-dev\/the-road-to-fcitx-5-5-good-news-for-people-who-use-multiple-display-server\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[44],"tags":[12,248,236],"class_list":["post-2406","post","type-post","status-publish","format-standard","hentry","category-fcitx-dev","tag-fcitx","tag-fcitx5","tag-x11"],"_links":{"self":[{"href":"https:\/\/www.csslayer.info\/wordpress\/wp-json\/wp\/v2\/posts\/2406","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.csslayer.info\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.csslayer.info\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.csslayer.info\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.csslayer.info\/wordpress\/wp-json\/wp\/v2\/comments?post=2406"}],"version-history":[{"count":1,"href":"https:\/\/www.csslayer.info\/wordpress\/wp-json\/wp\/v2\/posts\/2406\/revisions"}],"predecessor-version":[{"id":2407,"href":"https:\/\/www.csslayer.info\/wordpress\/wp-json\/wp\/v2\/posts\/2406\/revisions\/2407"}],"wp:attachment":[{"href":"https:\/\/www.csslayer.info\/wordpress\/wp-json\/wp\/v2\/media?parent=2406"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.csslayer.info\/wordpress\/wp-json\/wp\/v2\/categories?post=2406"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.csslayer.info\/wordpress\/wp-json\/wp\/v2\/tags?post=2406"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}