Monday, 22 August 2016

ImageMagick collages

One of my pet projects is combining bash scripts with some graphic masks to create these using Imagemagick.

Thursday, 18 August 2016

Linux Mint Ubuntu FB Messenger App

Sometimes all I need is an easier way to type in Facebook Messenger than to use my phone.  If I am on the computer I can open my Facebook page, but then I am distracted by all the stuff happening there.  And there doesn;t seem to be a decent Facebook Messenger App for the LINUX desktop that actually works.

The simple way around it is to open in a browser, then tear off the tab and move it to another desktop.  But I found another option that suits me better.

Most of us have a few browsers installed.  And I sometimes have a standalone browser that can be run from a folder.  Something light and quick.  Something like

What I did was downloaded palemoon, opened, logged in and set that to my home page.

Then as I am in Mint KDE, I resized the window and positioned it where I want it, then right clicked the Title Bar and chose  More Actions > Special Application Settings.

In there I checked the boxes for Position and Size and set both to 'Apply Initially'.
A few other tweaks in 'VIEW' got rid of the various tool bars and the status bar, making a nice clean Facebook Messenger App with very little effort.

And I should be able to just copy my PaleMoon folder to another computer and it 'Should' be ready to use there also.

Last, I dragged the    palemoon.bin file from the folder created when I extracted the Palemoon download file to my panel and changed the settings to show the FB Messenger Icon.

Somtething I noticed is that I am getting the message notification sounds even if this is on another work space.  So that's nice.

Now when I click the icon it already has my login details saved and is the size, shape and position I want.   And it does not interfere with my normal browsers!  Obviously I blurred the details.  But this is how it looks.

A little follow up.  The palemoon Messenger thing is working great.   It is the best way I have found to use FaceBook Messenger on a Linux desktop.  All notifications and stickers are working and it is actually better to use than using messenger on my phone or tables and far better than trying to use it inside my FB page.

I think I discovered the reason some of the FB Messenger Apps for Linux Desktop haven't been working.  I followed some basic python instructions to make a very simple App using Python 3 and Qt5.  And there was a package I needed that was not included in PyQt5 by default.

I ended up writing a simple browser to do the same thing as the PaleMoon idea above using PyQt5, and it worked more or less, but without sound notifications and every now and again it simply locked.  I couldn't find the missing libraries for this App either, which on my Mint 17 KDE simply hangs, 

So for now, the solution above is simple, works really well and seems pretty well bulletproof.

I will do a few simple tweaks and update.  I can't see any reason PaleMoon can't be used to provide an up to date Skype interface too.

I found another couple of advantages to using PaleMoon to run as as FaceBook Messenger App.
The most important one is that it is possible to use CTRL + and CTRL -  or CTRL and mousewheel to scroll the size of the messenger.  Not a big deal unless as I am right now, you are using the TV across the room as a computer monitor.

Monday, 8 August 2016

Slimjet Browser and Searching GOOGLE with No Personalized results

One of the problems with designing websites for people has always been getting their pages to rank well on search engines.  After 35 years of creating web sites I've mostly got that figured out.

But it is still necessary to test the pages we design to see how well they are listing.  And the most popular search engine is still Google.  And Google has a design feature which uses your past searches to optimize your current search.

Now, the easiest ways to stop this are probably to log out of Google  each time I want to test and search from there, or to go into Private Mode on my browser.

Another way is to add a new browser in settings and make sure the drop down box for search engines is enabled,  There's a neat little piece of code that can be added to the end of the URL to turn off Personalized Search Results.

Now, I use Flashpeak Slimjet as my default browser, and I make use of Speed Dial a lot in various browsers.
Simply entering the above URL in any Speed Dial in any browser will allow me to immediately open a Google Search page with the Personalized results turned OFF.

That means my results should be based on a 'clean' search with no bias towards my previous search history.

Saturday, 6 August 2016

Mint KDE sequential desktop wallpaper

One of the nice things about KDE is that it has some neat functions built in, and one of the best is the ability to set a different image on each desktop and if you want, each activity.

Among the options is a desktop slideshow.  Not that is a nice touch, but the KDE developers hard coded the slideshow to show images form any selected folder only in RANDOM order.  And not all of us want a random slideshow.

Fortunately there is a way to get a sequential slideshow happening and the way to get around this is shown at:

NOTE !!!
This method is ONLY needed if you DO NOT want random images.
KDE Default Desktop Settings and choose 'Slideshow' works perfectly for random images.  No need to do all this stuff.

I take photos and often want to show a sequence of zoom shots, so I use the method below.

So the basics are Install variety:
sudo add-apt-repository ppa:peterlevi/ppa
sudo apt-get update
sudo apt-get install variety variety-slideshow

Then run variety and set your preferences.  I just added the folders I want to use and turned off a lot of background downloads I don't want.  And I set the timer on the slideshow.

I made sure I have it set to start variety when the computer starts.

Once that is done, open your 'Default Desktop Settings' and choose:
Wallpaper > Image
Then choose Add Folder, and browse to:
Pictures > variety-wallpaper

click on the image in that folder.  It will be called something like:
wallpaper-kde.jpg  but will have a number in it.

Click OPEN, then click OK

It 'should' be working now.

After that, to change the images shown, open variety and change the folder you are using there.

NOTE !!!
You can still use Default Desktop Settings to go back to a normal single image at any time.  To get back to your slideshow just open the wallpaper-kde-xxx.jpg again using the steps above.

Of course, this will leave variety running all the time even when you are not actually 'showing' the slideshow.

I'll have to look at how variety can be switched on and off at will and add that here.

Two things I discovered.
When I restart my computer KDE will default to a generic single image wallpaper.  I must restart variety and go through the image selection steps for each session.

Variety can be started and stopped using terminal commands:


Entered on its own will start it - then I select the image as described above.

killall variety

Will stop it, and should leave the last used image, but might return to a default wallpaper image.