[solved] Fedora 27 升级到 Fedora 28 后 ,输入法失效
#++++++++++++++++++++++++ Upgrade from Fedora 27 to Fedora 28
1. Update packages of Fedora 27 and reboot.
# dnf update -y
# dnf upgrade -y
# reboot
2. Install the DNF plugin
# dnf install -y dnf-plugin-system-upgrade
3. Start the update with DNF
# dnf system-upgrade -y download --refresh --releasever=28
# dnf system-upgrade -y download --refresh --releasever=28 --allowerasing
# dnf system-upgrade reboot
#++++++++++++++++++++++++ Fedora 27 升级到 Fedora 28 后 ,输入法失效 - use
# 执行如下命令
im-chooser
# 出现如下错误
GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._imsettings_2derror_2dquark.Code5: Current desktop isn''t targeted by IMSettings.
#-------------------------------------------Fedora 27 升级到 Fedora 28 后 ,输入法失效 - use - 临时解决方法
GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._imsettings_2derror_2dquark.Code5: Current desktop isn''t targeted by IMSettings.
# https://bugzilla.redhat.com/show_bug.cgi?id=1528892
# ll -Z /etc/xdg/autostart/org.gnome.SettingsDaemon.Keyboard.desktop
-rw-r--r--. 1 root root system_u:object_r:etc_t:s0 236 4月 13 01:56 /etc/xdg/autostart/org.gnome.SettingsDaemon.Keyboard.desktop
#
# ---------- (in Fedora 28) 输入法失效 临时解决方法 - begin
# if use the following command, then cannot enter the GUI, only in CLI
mv /etc/xdg/autostart/org.gnome.SettingsDaemon.Keyboard.desktop /root
im-chooser
# 注意:不要重启/关机,否则,重启后,只能进入CLI,不能进入GUI。因此,执行如下命令,还原
mv /root/org.gnome.SettingsDaemon.Keyboard.desktop /etc/xdg/autostart
# ---------- (in Fedora 28) 输入法失效 临时解决方法 - end
1. Update packages of Fedora 27 and reboot.
# dnf update -y
# dnf upgrade -y
# reboot
2. Install the DNF plugin
# dnf install -y dnf-plugin-system-upgrade
3. Start the update with DNF
# dnf system-upgrade -y download --refresh --releasever=28
# dnf system-upgrade -y download --refresh --releasever=28 --allowerasing
# dnf system-upgrade reboot
#++++++++++++++++++++++++ Fedora 27 升级到 Fedora 28 后 ,输入法失效 - use
# 执行如下命令
im-chooser
# 出现如下错误
GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._imsettings_2derror_2dquark.Code5: Current desktop isn''t targeted by IMSettings.
#-------------------------------------------Fedora 27 升级到 Fedora 28 后 ,输入法失效 - use - 临时解决方法
GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._imsettings_2derror_2dquark.Code5: Current desktop isn''t targeted by IMSettings.
# https://bugzilla.redhat.com/show_bug.cgi?id=1528892
# ll -Z /etc/xdg/autostart/org.gnome.SettingsDaemon.Keyboard.desktop
-rw-r--r--. 1 root root system_u:object_r:etc_t:s0 236 4月 13 01:56 /etc/xdg/autostart/org.gnome.SettingsDaemon.Keyboard.desktop
#
# ---------- (in Fedora 28) 输入法失效 临时解决方法 - begin
# if use the following command, then cannot enter the GUI, only in CLI
mv /etc/xdg/autostart/org.gnome.SettingsDaemon.Keyboard.desktop /root
im-chooser
# 注意:不要重启/关机,否则,重启后,只能进入CLI,不能进入GUI。因此,执行如下命令,还原
mv /root/org.gnome.SettingsDaemon.Keyboard.desktop /etc/xdg/autostart
# ---------- (in Fedora 28) 输入法失效 临时解决方法 - end