пятница, 26 октября 2012 г.

dropbox and browser

dropbox on Debian launches x-www-browser to open its website. Unfortunately x-www-browser is set for whole system and user can't change it. But he can choose his own preferred browser and then invoke it by invoking sensible-browser. Fortunately dropbox first tries to execute x-www-browser from its installation, and as there is no such file, falls back to executing /usr/bin/x-www-browser. So issue can be solved by:

# ln -s /usr/bin/sensible-browser /var/lib/dropbox/.dropbox-dist/x-www-browser

One can set preferred browser by setting up evironment variable BROWSER (in .profile or .bashrc, for example).

Комментариев нет:

Отправить комментарий