Monday, October 31, 2011

Canon MF4140 in Linux Mint

I'd never been able to get the printer driver for my Canon MF4140 to install properly in Linux. The driver is the one available from the Canon driver download site.

The installation failed with a message about "gs-esp" being a dependency, but gs-esp doesn't seem to be a supported package any more.

So I went on a search and tried out "lenny", which apparently is an implementation or contains gs-esp. This did the trick: the Canon printer drivers then installed without a problem.

To install this package (on Linux Mint):
    sudo dpkg -i gs-esp_8.62.dfsg.1-3.2lenny5_all.deb

Saturday, October 29, 2011

Automatically Start a Script in Linux Mint LXDE

In a default install, the directory to put an autostart script doesn't exist.

I found it was:
    ~/.config/lxsession/Mint-LXDE

Add a file called autostart here to automatically run scripts or start applications.