[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#891068: im-config: Failed to setup fcitx when zsh used as login shell



Control: tag -1 - upstream

¡Hola!

El 2018-03-21 a las 19:04 +0800, 崔灏 escribió:
Hi,

Hmmm.... SDDM change shell parsing Xsession, then things may break.

Are you sure im-config is the problem?

I agree it's likely SDDM is to blame, not im-config.

I think that what is to blame here is the zsh's nomatch option that's being set to be used even in a non interactive script. Please move this option to your zshrc file.

As some background information: Running the XSession without the Xsession wrapper shipped by sddm ignores the /etc/profile and $HOME/.profile files (and in particular for zsh, also the zlogin and zprofile files), this causes that the shells run under the graphical user session to start an interactive session without loading the commands set to be run in a login session, which is an undesirable state. In particular for zsh this also causes an incomplete PATH.

The workaround that's in place in sddm has been in use for many years now (it was previously part of kdm), and fcitx has been successfully used with it.

Happy hacking,
--
"The cheapest, fastest and most reliable components of a computer system are those that aren't there."
-- Gordon Bell
Saludos /\/\ /\ >< `/

Attachment: signature.asc
Description: PGP signature


Reply to: