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.

29 November, 2018

Mac: fan running like mad

Now the CPU load seems normal

Problem: Fan running like mad. In top the CPU load was 80-90%. Only a few programs were opened, like Chrome, Atom and MAMP.

Solution: 

  1. Click  > sleep
  2. Wake the system up
  3. Click  > restart
Then the system acted normal.  A simple and effective cure for a weird behavior in the OS.

Compiz: Widow decoration invisible



Problem: Now and then after a reboot or restart of the system the window decorations disappear.

Solution: Open the Compiz Settings Manager and set a mark at "Enable Window Decorator" (translated from Danish - I'm not sure that these are the correct English wording, but see the illustration).

09 November, 2018

Outlook encrypt mail in a browser

Just click on the encrypt icon
In Europe I guess we have to encrypt our mails, at least when they contain sensitive personal information. I'm not sure whether this form of encryption is very secure, but at least I guess that the data is encrypted during transit.


  1. Write your mail
  2. Click encrypt
  3. Click the send icon

Problem: Send encrypted mail via Outlook to Gmail

You're told that a code will be sent to the email, however the code never arrived to gmail. If it's a standard issue, this encrypt system is useless. You cannot expect that all will use Outlook.

07 July, 2018

Epson ET-2750

Epson ET-2750 on my LAN.


Epson has released printer drivers for Linux, but the drivers are not made for Arch Linux. I downloaded the drivers, and found the relevant .pdo files, but the USB install did not work as expected in CUPS.

On the tiny printer screen I saw a wifi option, entered the LAN password. Then I could visit the printer on a local tcp/ip address. From the web interface installing the printer was easy.

So don't mess with drivers, just use the wifi options.

05 July, 2018

Running Koala on Max

Koala is a nice tool for SASS, Less and JavaScript kompilation / testing. However if you try to run the program on a Mac you have to allow the program.

After installation find the program in your Programs folder. Then press 'control' and right-click on the program launcher icon. Now you are able to run the program.

After this the program will launch normally from the launchpad.

03 June, 2018

Gmail Becomes Useless

Google tracking me via mobile devices


Now - every time I try to log into my gmail account Google wants to send an SMS with a code. Now this may look as if it's security, but in reality it is spying on the user. Since I don't have my mobile next to me all the time, the gmail account will become too cumbersome to use. So now I think the time has come where I will stop using gmail.

If I cannot log into my account without a mobile device gmail becomes useless.

22 May, 2018

Arch Linux: Guitarix Settings

Here's how to connect your electric guitar to a Linux system. In this case Manjaro (Arch Linux).

Jack connections: Qjackctl

Guitarix: note the connections between input and output.

Latex: reference to a figure / image

How to make the see page X trick

First: the figure

\begin{figure}
  \includegraphics[width=\linewidth]{images/at-i.jpg}
  \caption{XXX}
  \label{fig:XXX}
\end{figure}\index{XXX}

Now the reference to the illustration:

... see page~   \pageref{fig:XXX}