12 August, 2019

[Fixed] Chromecast Not Working

  • Hold down the reset button for around 20 sek.
  • Update the Chrome Home App on an Android Mobile
  • Follow the setup instructions on the screen
Strangely enough the Android fix changed the Chromecast settings on the Chrome browser in Linux. So if it does not work on your PC, try to update the thing on your phone. 

08 August, 2019

DSLR: Force Sharper Images on Night Pictures

Night photo: F8, ISO 100, shutter decided by Sony SLR-A58

If you want a photo that is sharp all over you could select an aperture priority, and just shoot. But then the camera will try to get an image with a fast shutter speed. In order to do so the ISO-number will rise. As a consequence the image quality will suffer.

Here is a simple recipe:

  • Set aperture to F8
  • Set ISO to around 100 to 400 or so
  • Let the camera calculate the shutter speed
As a result of these settings you will get a fine depth of field because the aperture is F8. The camera cannot choose a lousy quality of the image, because the ISO is defined as 100 or a bit more. Since the ISO and aperture are fixed the camera is forced to calculate a longer shutterspeed - and as a consequence your picture will be sharper with more details. 

30 July, 2019

Manjaro: Record Sound from Microphone or Intrument

For some reason you have to tweak the soundcard settings to both sound and input, like this:

Note the recording by Audacity in the background. Now the sound could take a little fine tuning in order to reduce the noise. But for now the problem of getting sound is solved.

  1. Open the sound control in settings
  2. Find your soundcard and make sure that you have both input and output options
IMHO such a thing should work out of the box ... I cannot see the reason for hiding such settings.

06 June, 2019

Epson ET 2750 - printhead: colors missing

I have tried to clean the printhead - first via the standard method. In a video a power cleaning was recommended. It is initiated by click power + help. After a 7 minutes cleaning process you'll have to wait for 12 hours.

Well, now I just hope that the thing works.

16 May, 2019

Mapbox - problems with Chrome

Strange problem: Mapbox maps will not display when I use Chrome. But with Firefox it's ok. The dark side I sense.

07 May, 2019

GIMP - Crappy Crop Tool

For some reason I cannot use the crop tool at all. However I can mark part of an image, and then select crop to selection. The behavior does not compute at all. However after the manner of yodisms: solved the problem is.

22 April, 2019

Chrome Lag on Manjaro Linux

  1. Goto settings > advanced
  2. Remove mark by "hardware acceleration"
Strangely enough this will speed up the system. It was recommended in a blog.

I also tried to stop a few extensions.

However Chrome is RAM eater, see this article.

02 April, 2019

Between sleep and wake - idea for Mapbox with custom icons

Code and result: costum icons
Between sleep and awake this idea came to me - how to get images via geojson on a  map made in Mapbox.

See this file on my Github repository.

The geojson was formatted like this:

let geojson = {
      "features": [{
          "type": "Feature",
          "properties": {
            "city": "Nordborg",
            "symbol": "tux.png"
          "geometry": {
            "coordinates": [
            "type": "Point"
          "id": "47dfbd93a4ac0e3d94d492fc6fe5f0cb"
          "type": "Feature",
          "properties": {
            "city": "Augustenborg",
            "symbol": "tux2.png"
          "geometry": {
            "coordinates": [
            "type": "Point"
          "id": "9bec41b72adf6c7e74b090764c46fcc2"
      "type": "FeatureCollection"

And here is the loop, that printed out the result on the map. An img element was created on the fly:

  for (i=0; i [blogger hides the loop!]

      // create html element in the DOM
      var el = document.createElement('img');
      el.src = 'images/' + geojson.features[i].properties.symbol;
      el.alt = geojson.features[i].properties.city;
      el.style = 'width: 75px;height:auto;';

      // add the markers to the map
      new mapboxgl.Marker(el)

      // by thine own ingenium add a popup with relevant info

For some reason Bogger hides the last part of the loop. Probably it's a useless security stunt, however you can see the code here.

12 March, 2019

Manjaro: how to print a several copies

Problem: When I try to print several copies of a file, only one is printed, then the printjob is terminated.

Solution: a bash file, like this:

for i in {1..18}
  lp foo.pdf

20 February, 2019


How to trim a video (clip): CMD + T. A yellow box will appear. Trim and save. The video below saved my day.

06 January, 2019

Manjaro: NPM conflicting versions cannot update

Problem solved npm up and running again.
Problem: Could not update Manjaro after an update in NPM. The message was: "conflicting versions".

Solution: Removed all NPM packages, and then update was possible.

I guess the next step will be to reinstall NPM. It is of course unfortunate, since there is a lot of nodejs related stuff on my system. So I'll hope for the best ...

And here I was right. I cannot install NPM again! However there is a list of conflicting files, that exist in the system, even though NPM was removed. I guess that I have to remove these 11 files manually:

npm: /usr/lib/node_modules/npm/.licensee.json findes allerede i filsystemet
npm: /usr/lib/node_modules/npm/node_modules/ci-info/vendors.json findes allerede i filsystemet
npm: /usr/lib/node_modules/npm/node_modules/graceful-fs/clone.js findes allerede i filsystemet
npm: /usr/lib/node_modules/npm/node_modules/tar/node_modules/chownr/LICENSE findes allerede i filsystemet
npm: /usr/lib/node_modules/npm/node_modules/tar/node_modules/chownr/README.md findes allerede i filsystemet
npm: /usr/lib/node_modules/npm/node_modules/tar/node_modules/chownr/chownr.js findes allerede i filsystemet
npm: /usr/lib/node_modules/npm/node_modules/tar/node_modules/chownr/package.json findes allerede i filsystemet
npm: /usr/lib/node_modules/npm/node_modules/tar/node_modules/minipass/LICENSE findes allerede i filsystemet
npm: /usr/lib/node_modules/npm/node_modules/tar/node_modules/minipass/README.md findes allerede i filsystemet
npm: /usr/lib/node_modules/npm/node_modules/tar/node_modules/minipass/index.js findes allerede i filsystemet
npm: /usr/lib/node_modules/npm/node_modules/tar/node_modules/minipass/package.json findes allerede i filsystemet

Hypothesis: With my experience with NPM I guess that this may cause problems, if these files relate to something else. But ... without further ado I'll remove the problemmakers.

Experiment: remove 11 or so troublemakers.

In order to do so I created a bash script:

The "npm:" was replaced with "rm" in the Mousepad editor, and end of the lines " findes allerede i filsystemet" (danish for = "the file already exists in the file system") was removed in the same way. So the error message was transformed to a simple bash file.

Note the missing shebang (I admit, I'm lazy here but the thing worked for me). You'll have to run this as sudo, since one of the files is protected.

The next step is to reinstall npm.

Result: Success - NPM is now up and running version in 6.5.0. And pacman & co. are able to update the system.