There is another instance of the call to check_gtk which isn't changed in the patch, and it should IMHO. It is in line 1236 in Shell.py. It should also be
if th_mode == 'gthread':
th_mode = check_gtk(th_mode)
(I would say the check for th_mode == 'gthread' could better be done in check_gtk.)
With this change I get rid of the X11 startup, unless I set the backend to something GTK-related of course.
--
Piet van Oostrum
Cochabamba. URL: http://pietvanoostrum.com/
Nu Fair Trade woonartikelen op http://www.zylja.com