Using a Samsung M2070 Printer on Ubuntu/Linux?

Recently, I’ve changed my home PCs OS to Ubuntu 18.04. I also have a Samsung M2070 printer/scanner and I was wondering if I it’ll work as smoothly under a Linux based OS, as it did under Windows (Printer manufacturers tend to focus solely on Windows OS as the primary OS of their end users, unfortunately).

Here are the steps I followed to get everything working:

  1. Head to the Samsung Drivers page for M2070 and download the Linux package
  2. Unarchive the package to a suitable location in your system, e.g. ~/Downloads/samsung_printer/
  3. Open a terminal and navigate to that folder using “cd ~/Downloads/samsung_printer”. Make sure that you see a folder called “uld” when you type “ls”.
  4. “cd uld && chmod +x install.sh” to make sure that the installation file is executable
  5. Run the installation using “sudo ./install.sh”
  6. You will get a long license agreement, which I’m sure you will read. You can scroll through it by pressing the Space key.
  7. When you are finished reading, type “y” and hit Enter
  8. Follow the on-screen instructions about adding the optional additional firewall rules.

You may be thinking “I’m done”. Yes and no. Now you need to add your printer in the Ubuntu Settings -> Devices -> Printers area:

Now you are really done. Happy printing. 🙂

Samsung Unveils Galaxy S8 and S8 Plus

“Unbox your phone”. That’s the message behind the newest flagship device by Samsung, revealed today in a conference that was live streamed on Samsung’s Facebook page and YouTube channel.

Highlights of the new Galaxy S8 and S8+:

  • Bixby – the intelligent AI software (ahem, Siri competitor), integrated with the Camera app and other default Samsung apps. You invoke Bixby by pointing the camera at the object of interest or speak to it.
  • No bezels – Over 90% display to body ratio
  • Curved edge display by default – where the curved display was a feature exclusive to the plus versions earlier, now it’s available to both models

Below is the full reveal video.

How to get a link to the still image of a YouTube video?

YouTube has multiple servers for serving images of the videos, hosted on the site. They are mainly used for load ballancing (so you get the image that is hosted on a server, that is physically closest to you so it loads faster).

However, as a developer or a website owner you may want to programmatically build a link to the thumbnail or still image that YouTube uses for a given video.

What you need is – the ID of the video (e.g. if the video in question is http://www.youtube.com/watch?v=m3JAtvsqfF8, the ID would be m3JAtvsqfF8). When you have the ID of the video, just replace it in the below URL and open it in your browser.

http://img.youtube.com/vi/video_id_here/0.jpg

You should immediately see the full-size thumbnail that YouTube uses across its website (note that scaled down versions are also available; just replace the last zero in the URL with “1.jpg”, “2.jpg” or “hqdefault.jpg”).