Pages

Friday, February 5, 2016

HPLIP Binary Plugin Installation

Recently ran into this exact bug with my junk laserjet printer P1108.


From: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=605589#40 

Package: hplip
Version: 3.13.4-1
Followup-For: Bug #605589

since the update to 3.13.4 I cannot seem to print with my P1005.
When sending a job to the printer, a window pops up asking to install the
plugin. When following the dialogs, they end saying that the plugin is
installed, followed by another window saying it failes.
Manually launching hp-plugin completes the plugin installation successfully,
the printer comes alive, but sending a print job goes back to requesting the
plugin.

The solution is here:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=605589#50

Briefly:
Create the directory /var/lib/hp
Update hplip-gui
Install/update cups-pk-helper if required
Unplug, then re-plug in printer
HPLip will ask to download and install the plugin, which is a run file.

If you are behind a firewall or your internet connection is dodgy, this automatic download will fail, and you will need to manually download and install the plugin.

In a terminal run hp-plugin
Watch the terminal for URL of the plugin file.

Download *.run file from hplip website.

Tex Studio Keyboard Shortcuts

TexStudio had an annoying habit of jumping to the the previous brace when I wanted to go one word (CTRL + left / right). This is because this key combination is assigned by default to "Next (or prev) word / placeholder".

Fix:
Assign nothing to "Next word / placeholder".
Assign CTRL+Right to "Move cursor right (1 word)"
Assign a different combination, e.g. Meta+Shift+Right to "Next placeholder".
Repeat for left.

PS
Meta = Usu key with the windows logo.
On GNOME the "windows" / meta key is used in lots of shortcuts, so assign carefully.