Ad

Thursday, January 4, 2018

Force Evince to respect your zoom level

When using Evince on Linux to view a PDF file, selecting an item from the side pane when it is in Outline mode will often cause the page zoom to be reset to "Fit Page", despite what you may have manually selected as the zoom level. It turns out that this is actually in support of a rather strange "feature" of the PDF specification, as explained in this bug report.

If you want Evince to respect your decision on choosing a zoom level while browsing the document, you can use dconf-editor and go to the org > gnome > evince key and set the "allow-links-change-zoom" key to false.

Tuesday, April 25, 2017

Location of local configuration files for Filebot on Linux

Silly me, I assumed Filebot would store its local settings to the $HOME/.config/filebot folder, or at least the $HOME/.filebot folders that it created. But they were not there, and after setting up my new OS I wanted to restore my file rename patterns. Fortunately I kept copies of those patterns in my Evernote account, but I was still curious where the configuration files were. After some searching I dug up the location.

$HOME/.java/.userPrefs/net/filebot/ui/

Tuesday, April 22, 2014

Asus N550JV scanning with the Brother DCP-7030 under Linux

I got a new laptop, the Asus N550JV. I'm installing Arch Linux on it, as I've been an avid Arch user for several years now. I'm still using my old Brother DCP-7030 printer/scanner combo unit and although the printer works fine, I was unable to scan. After hours of troubleshooting and google-fu, I finally narrowed the problem down to an incompatibility with the Sane library and USB 3.0 interfaces on linux. The scanner works fine under Windows 8.1 (of course), but every time I tried to scan under Linux I got the following error:

scanimage: sane_start: Invalid argument

After finding a similar problem with a different software package (Ardour), I went into the BIOS and set the XHCI Pre-Boot Mode to disabled and my scanner started working again.

I'm not sure yet if this is a Sane issue, or just related to my printer/scanner and it's old Linux drivers. When I upgrade my printer/scanner later this year I guess we'll find out.

Friday, December 9, 2011

Using Ibus with Skype on 64-bit Arch Linux

Adding the following lines to my /etc/environment file, along with installing ibus-qt and running qtconfig to set the default input method, allows Skype and Ibus to work together on my Arch 64-bit system running Gnome 3.2..

LANG="en_US.UTF-8" 
LC_ALL="en_US.UTF-8" 
GTK_IM_MODULE=ibus 
XMODIFIERS=@im=ibus 
QT_IM_MODULE=ibus

Tuesday, November 15, 2011

Landscape printing in LibreOffice

LibreOffice insisted on printing everything in Portrait orientation, no matter how I configured the document or the printer. I discovered the following setting on the Arch Linux forums that fixed the problem.

Set File -> Printer Settings -> Properties -> Device -> Printer Language type to PostScript and create new default templates so the settings stick.

Wednesday, August 24, 2011

Installing the Brother DCP-7030 in Arch Linux

Running Arch Linux I had to create the following udev rule in
/etc/udev/rules.d/10-cups-usb.rules
in order for the printer to be recognized.


ATTR{idVendor}=="04f9", ATTR{idProduct}=="01ea", MODE:="0664", GROUP:="lp", ENV{libsane_matched}:="yes"


Then I was able to use the driver in the AUR to install it in CUPS.

This entry in the Arch Forum helped me figure it out.