Comment 11 for bug 346964

Revision history for this message
yakovlev (gregalex) wrote :

I've attached a hacked version of gnome-terminal that dumps some screen information to a file called "foo" in your home directory when run.

THIS IS NOT a secure version, DO NOT install the resulting hacked .deb.

However, if you compile gnome-terminal with this patch to src/terminal.c, you should be able to get some debug information.

I need someone experiencing the problem to run the resulting binary from a terminal on screen 1 and from a panel launcher on screen 1.

Hopefully we'll get different results which we can use to further debug the problem.

How to use:
Log into your home directory.

sudo apt-get build-dep gnome-terminal
*NOTE: NO SUDO BELOW HERE*
mkdir temp
cd temp
apt-get source gnome-terminal
cd gnome-terminal-2.26.0
cd src
patch terminal.c /path/to/gnome-terminal-fdfoo.patch
cd ..
dpkg-buildpackage -rfakeroot -b

This will build some packages in your temp directory... ignore these.

What you want to do now is run the resulting executable file:

temp/gnome-terminal-2.26.0/src/gnome-terminal

in as many ways as possible from screen 1 (and maybe some from screen 0.)

Then, please post the results (appended to file "~/foo") and where the terminal appeared here.

Thanks!