Install Discord on Fedora 25

Discord logo

Discord is a voice and text chat application aimed at gamers but can be used by anyone. Is is currently available on Firefox, Opera, Chrome, Android, iPhone, Windows, OSX, and Linux….Basically everywhere.

Installation on Fedora 25 is easy. Open a terminal and enable the copr repository.

sudo dnf copr enable vishalv/discord-canary

Then install with this command (You will have to accept the copr GPG key in order to install).

sudo dnf install discord-canary

It does seem to use a lot of resources on first start but after updating itself it should work just fine.

 

Gnome Online Accounts – Credentials have expired

If you are having trouble with Gnome Online Accounts not logging into Google make sure you are fully updated and try again. If that doesn’t work, then open a terminal and try,

pgrep goa-daemon | xargs kill -9

This will kill the Gnome Online Accounts daemon which will then automatically re-spawn. Worked for me!

 

Batch convert PDF to JPG

So, last night I had to batch convert a large PDF called v35_22_31_Auckland.pdf into JPG. Or to put it another way separate out the PDF’s pages and convert them into JPG images. I tried it a couple of ways including Converseen which did the job but renamed all the files badly and changed the image size (from A3 to A4). ImageMagick was the same although probably more from my misreading of the man pages.

Eventually I settled on using pdftocairo (part of the Poppler utilities) and specifying the x and y  scale to retain the original page size. I found the page size by extracting one page using PDFMod and opening it in GIMP. After that I copied the original PDF into a folder and then opened a terminal in it and ran this command.

pdftocairo -jpeg -scale-to-y 1653 -scale-to-x 1169 v35_22_31_Auckland.pdf

It worked perfectly filling the folder with correctly sized JPG’s.