During further investigation, i found that apps subjected to this bug, starts 
to work when i downgrade cairo library to one from Ubuntu 12.04 LTS, which 
version is known to be free from this bug. This is cairo 1.10,  
libcairo2_1.10.2-6.1ubuntu2_i386.deb. Using it with 'dpkg -i' solves these 
problems. But adds many other problems: nautilus, synaptic, gedit, and even mc, 
refuses to work anymore.
So i try to have both libs, and feed only apps subjected to cairo bug, with old 
library (i extract .deb package as archived file to get old library binary 
'libcairo.so.2').
To obtain this, i try LD_PRELOAD.
For gimp and eclipse, i use simple method that works from command line only:

[code]
echo "alias 
gimp=LD_PRELOAD=/home/test/Downloads/libcairo2_1.10.2-6.1ubuntu2_i386/usr/lib/i386-linux-gnu/libcairo.so.2
 gimp" >> ~/.bash_aliases 
echo "alias 
eclipse=LD_PRELOAD=/home/test/Downloads/libcairo2_1.10.2-6.1ubuntu2_i386/usr/lib/i386-linux-gnu/libcairo.so.2
 /opt/eclipse/eclipse" >> ~/.bash_aliases
[/code]

For LO, i try to make fully transparent setup which will work also from
GUI, Ubuntu Main Menu, etc. NOTE: Using this way, it is NOT possible to
open documents with spaces in file name. It is don't care for me; i
can't find any possibility to replace '$@' to something supporting
spaces.

[code]
sudo rm /usr/bin/soffice # this is just a link
sudo rm /usr/bin/libreoffice # this is just a link
sudo touch /usr/bin/soffice
sudo chmod a+rwx /usr/bin/soffice
sudo echo 
"LD_PRELOAD=/home/test/Downloads/libcairo2_1.10.2-6.1ubuntu2_i386/usr/lib/i386-linux-gnu/libcairo.so.2
 /usr/lib/libreoffice/program/soffice \$@" > /usr/bin/soffice
sudo cp /usr/bin/soffice /usr/bin/libreoffice 
[/code]

This all is probably ugly and dirty, but finally let me really switch to
Ubuntu 14.04.3 LTS from 12.04 LTS for everyday production use. Thanks.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1294699

Title:
  Xubuntu desktop crashes in call to cairo after setting fixed-width
  bitmap (pcf) GTK font

To manage notifications about this bug go to:
https://bugs.launchpad.net/xfdesktop/+bug/1294699/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to