desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #145604
[Bug 1510528] Re: can't disable input methods for gnome-terminal
The attachment is workaround for /usr/bin/gnome-terminal.
I'm not sure why this works, but I hope this helps developers.
** Attachment added: "diff of /usr/bin/gnome-terminal"
https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1510528/+attachment/4506598/+files/workaround-patch
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-terminal in Ubuntu.
https://bugs.launchpad.net/bugs/1510528
Title:
can't disable input methods for gnome-terminal
Status in gnome-terminal package in Ubuntu:
New
Bug description:
> 1) The release of Ubuntu you are using, via 'lsb_release -rd' or
System -> About Ubuntu
Description: Ubuntu 15.10
Release: 15.10
> 2) The version of the package you are using, via 'apt-cache policy
pkgname' or by checking in Software Center
gnome-terminal:
Installed: 3.16.2-1ubuntu4
Candidate: 3.16.2-1ubuntu4
Version table:
*** 3.16.2-1ubuntu4 0
500 http://jp.archive.ubuntu.com/ubuntu/ wily/main amd64 Packages
100 /var/lib/dpkg/status
> 3) What you expected to happen
Disabling input methods by:
$ XMODIFIERS=@im=none GTK_IM_MODULE=xim gnome-terminal
> 4) What happened instead
Can't disable input methods.
On Ubuntu 15.04, I can disable input methods this way.
This poses a problem for C-space on emacs -nw.
I think this is a regression bug because I can avoid this problem by using Ubuntu 15.04 version of /usr/bin/gnome-terminal script. The most important difference between older and newer /usr/bin/gnome-terminal is:
< if not cmdargs.disable_factory and cmdargs.cls is not None:
< if self.name is not None:
< self.args.append('--app-id=%s' % self.name)
---
> if not cmdargs.disable_factory and self.name is None:
> sys.exit(subprocess.call(self.args))
If I change these lines back, I can disable input methods.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1510528/+subscriptions
References