I have this error when running bleachbit through sudo
or as root:
~$ sudo bleachbit
No protocol specified
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
warnings.warn(str(e), _gtk.Warning)
Could not open X display
I have ubuntu 14.04, bleachbit 1.0.
Update: tested also bleachbit 1.8, same issue.
sudo apt-get clean
IMO you really should not be using bleachbit on system files. – Panther Sep 24 '15 at 23:40