Gnome Online Accounts – Credentials have expired

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. Especially if you are getting the error “Credentials have expired”. 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!

Credentials have expired

What if the¬†Credentials have expired fix doesn’t work?

Of course, if it doesn’t work for you you might have a different problem. I would suggest searching the Gnome Online Accounts mailing list here or asking them in their IRC if you aren’t able to solve it on Google.

 

Batch convert PDF to JPG

So, last night I needed to batch convert PDF files 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.

Batch convert PDF solution

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.

 

Batch convert PDF

 

 

Facebook – Enough to make me nervous………

Facebook edgerank

I have never managed to catch Facebook out, although I have tried once or twice, until today when I posted a link to Laudae Finem and then on a hunch I contacted an alt political friend and got him to look at my homepage. And what do you know, the last post he could see on my homepage was from him even though there are ten posts, seven of which are political, after his post to me. All seven political posts would have interested him, so what happened? Why can’t he see them? Or, why does Facebook show them to me but not to him. The last page I posted had been shared with Facebook more than 6000 times if you are to believe the little share button so it isn’t unpopular.

Facebook Paranoia

Another way to look at it is that Facebook is a company with shareholders and must make money. One way to make that money is to advertise, another way is to change peoples feeds to point them toward ways of Facebook making money, and the last way is to have and maintain the largest market share so no-one can upset your throne and stop you making money. This doesn’t fulfil the first proposition as nothing was advertised more or less than normal. It doesn’t fulfil the second proposition in that not having anything on my page didn’t point my friend anywhere except away from the page as nothing was happening. It doesn’t fulfil the third proposition as the way they maintain market share is by encouraging people to interact on their site.

The only other thing I can think is a reversal of the second proposition. Facebook changed its feed (eg; the view of my homepage to my friend) in order to make money by not showing things to people and that is enough to me nervous………