Is my system 32 or 64 bit?

On Linux, to find out if you have 32 or 64 bit CPU just type:

  • arch

Display processor information

Wondering what CPU you have got? Just type:

  •  lscpu

Or simply output the contents of this virtual file:

  • cat /proc/cpuinfo

Using HP LaserJet 1020 printer with Linux Mint

The problem: HP LaserJet 1020 printer gets recognized by Linux Mint but fails to print.

The solution:

  • Remove all automatically installed printers
  • sudo hp-setup -i

Let it download the HP plugin and accept defaults, then print test page (you must not be root or the print will fail).

LogiLink UA0053 USB sound card

This is to record the fact that LogiLink UA0053 USB sound card (audio adapter) works out of the box with Linux Mint 18.

Just remember to go to Sound preferences and tell the system to play music via your new sound card (if needed).

Canon LiDE20 not working

So you have a new computer with those blue USB3 ports and are using probably Linux Mint 17.3 Mate, Ubuntu 14.04 or similar OS.

The Canon LiDE20 scanner which used to work with your older computer, refuses to scan now.

If you enter “scanimage -L”, you get output shown here below, followed by a long wait:

  • device `plustek:libusb:002:003′ is a Canon CanoScan N670U/N676U/LiDE20 flatbed scanner

The problem is related to the fact that your system has USB3 ports.

One way to solve the problem is to go to BIOS setup of your computer and look for USB ports related options.

With my ASUS motherboard I fixed it like this:

  1. F2 or Del at boot for BIOS setup
  2. Advanced Mode (F7)
  3. Advanced:
  4. USB Configuration:
  5. Intel xHCI Mode -> change from Smart Auto to Disabled


Screen tearing in Linux Mint

Pronounced screen tearing with Linux Mint 17.3 Mate (inherited from Ubuntu 14.04).

Solution is extremely easy.

Create the following file:

  • /etc/X11/xorg.conf.d/20-intel.conf

And enter the following content:

Section "Device"
   Identifier  "Intel Graphics"
   Driver      "intel"
   Option      "TearFree"    "true"

Connect Nikon D3300

You connect your Nikon camera to your Linux box and nothing happens. It isn’t recognized and it isn’t attached as a mass storage device.

Well, try a different approach. Instead of trying to connect to it as if it were a disk, try to use PTP (Picture Transfer Protocol) enabled software to get the images.

Create a directory for you pictures, change into it, then run:

  • gphoto2 –get-all-files

Note: It is two short dashes, not one long dash before get-all-files. Page formatting seems to change that.