11 December, 2020

[ Solved ] Gitkraken - get out of full screen

Idiotic UI error in Gitkraken
This is an idiotic UX error in Gikraken's UI. The program starts in full screen, and there is no button or anything that will tell you how to get out of the mess. The solution is:

shift + control + F

11 November, 2020

WordPress: change the order of posts

  • Change the publish date
  • Make sure that the one you want to se first will be the most recent post ;-)
Since the posts are sorted by publication date this hack will change the order of your posts.

30 October, 2020

Minify or Remove new Lines from a File

For a WordPress plugin I need a program, that will remove any new lines in html. Then you can use the code in a PHP variable. In practise this is what a minifier does. There are many online tools, but I'd prefer to do it myself.

In Bash - that is Linux or Mac terminals - you can do this with just one line of code. First save your markup in a file test.html via your most trusted editor. 

Then do this:

#  tr -d '\n' < test.html > test.min.html


Understand this code:

  • tr = translate characters
  • -d = delete
  • '\n' = new line
  • < test.htm = from the file test.html
  • > test.min.html = save the result to the file test.min.html

Done.


26 October, 2020

[ SOLVED ] Mac: Onedrive

 I had some issues with Mac and onedrive. I used Outlook via a browser, mostly Chrome. That was no good idea. There were no error messages from the Onedrive app. I had a hunch and installed Outlook on Mac.

Et voila: that did the trick.


09 October, 2020

Guitar Amp and the Effect Loop

 In this article Jed Van Wyngaardt explains what you should put where.

In front of the amp:

  • Tuner
  • Wah
  • Overdrive
  • Distortion
In the effects loop:
  • EQ
  • Chorus
  • Delay
  • Reverb
How about Orange Crush and Boss GT-1?
With Boss GT-1 everything gets somewhat complicated, since it has everything in one. Probably you should disable wah, overdrive, distortion and preamp - and then run the chorus, delay and reverb in the effects loop. Or simply add everything in front of the amp. 


16 September, 2020

WordPress Backup: I'm using All-in-One WP Migration

 Just so that I'll know what to install if WordPress or my web host should fail.

Elementor: The Onepager Trick

 


Here is the onepager trick for WordPress in Elementor. Just add a custom HTML block. And yes you can do likewise in Gutenberg

The code will try to jump to a HTML element with the id goTOAbout, e.g.

<aside id="goTOAbout"> Lorem </aside>

That's it. If you want smooth scroll, do this in your stylesheet:

html {
  scroll-behavior: smooth;
}

08 September, 2020

[.SOLVED ] Google Not Accepting Chrome for Gmail

 That's a strange problem.
I cannot log in.
I cannot read gmail.
In Chrome ... !

Wyrd problemz in Discworld.

A new install of Chrome solved the problem.

19 June, 2020

[SOLVED] Latex error: danish babel package not found

The solution is:

# sudo apt update; sudo apt upgrade -y
# sudo apt install texlive-full

After this upgrade Texmaker could compile the .tex files.


10 June, 2020

[SOLVED] Ubuntu 20.04: Harddisk mounts in arbitrary way

Ubuntu mount my data drive in a way, that seems arbitrary. After reboot at least my symbolic links don't work any more. Here is my solution to my problem.


08 June, 2020

Ubuntu

The Great Drive Mystery
Tried to set up Ubuntu. The install worked fine, but mounting the data drive and giving user access to the thing was difficult. After a days work Ubuntu would not mount the drive. So all this waiting for chmod and chown was probably in vain. I'll have to figure out why Ubuntu refused to mount the drive.

Check /etc/fstab
Here is the root of the problem. The data drive was not mentioned. This is very stange. My additions to the file yesterday simply vanished. Why? I'll give it another try. Probably the desktool is buggy. Or ... ??

The Bandit Is NOT Timeshift
This is a mystery. When Timeshift makes a backup, the mounted drive seems to move ... Ubuntu will mount the external disk with a "Home" label. That is the disk label from a previous distro. So do we have our bandit here? I'm not totally convinced.

Probably this was a coincidence. In the end I installed gparted, and mounted the drive. The /etc/fstab was correct, and after several reboots this evening the system seems stable.

Or, that's what I hope.

Gparted - enter the Hero
With gparted I could mount the drive correctly. For some reasom Ubuntu's disks tool could not do the trick. With a correctly formatted /etc/fstab the drive was mounted permanently. So far so good.

GIMP Could Not Edit Files
At first I thought that this was a general permission problem. However I could not find it. After quite a lot of web research someone somewhere mentioned, that you have to give permissions to the programs in snap!

Problem solved.

Zen Koan
You search for an error,
where there is no error.
It's somewhere else. 

06 June, 2020

SDD Crash

My browser here and now: #WCEU
This is my screen here and now.
From #WCEU 2020 a fine talk about CSS.
So my OS is up and running
Sort of ...

The picture is my screen here and now. I'm following the proceedings at #WCEU on my Linux PC. For the time being the OS is OpenMandriva.

Åbyhøj Data
My SDD crashed (Kingston 120 GB ssd now 300) and the system was not able to boot at all. Strangely enough even the BIOS was unavailable. So what was wrong with the system? Åbyhøj Data was a great help here, because it's hard to find out exactly which part of the system died.

They added a new SDD, larger than the old one. So the system improved a bit. Even better: Now the PC is able to boot again. But had to get an OS somehow. The Manjaro distro was fine, however somewhat nerdy. I need a new OS.

I bougt a Linux Magazine with a DVD on the frontpage, and tried at least to boot in Linux. And succeded. First I installed OpenMandriva.

OpenMandriva - not my taste
OpenMandriva looked promising with KDE and what not, but I found literally everything uphill. Like in everything. I don't like it, and will try something a bit more userfriendly. When I looked for documentation, the online wiki was a joke. No content in several articles. Try the empty FAQ ... 

Next Stop Ubuntu
So I guess it's a hobby project or some insider project. But now I know that my system works, and I think I'll go for a Ubuntu distro. OpenMandriva was usefull here. I could burn a USB version of Ubuntu.

At least I could use the distro in order to burn a Ubuntu USB. 

The game's afoot.


03 May, 2020

[SOLVED] Yousee modem crashed in Bridge Mode

Called the Yousee support. The modem crashed when I tried to set it in Bridge Mode. They tried to reinstall the modem software.

Some hours later I tried again. After a restart, and a modem initialization everything worked.

Online again ...

02 May, 2020

Gnome Keyring: asks for password again and again and again

This morning, I thought that the solution was found, but no. I killed a google thing in the sessions, but after 7 - 8 hours the fucking problem fucking returned. Fuck!

No solution found, yet.

Now I've tried to solve this issue several years (since 2010 !) ... the Gnome keyring - or whatever it is - sucks big time, unfortunately.

How the Hell can't the Gnome team stop this pestilence? Enough is enough.

The problem has lasted for almost a decade, and no solution has worked so far.

Enough is enough. For me Gnome WAS great, once ... but it ain't no good any more. I hate to say this, but unfortunately Gnome sucks big time.

[SOLVED] Yousee damn weak wifi signal and an ultraslow connection

After a bit of research I found out why Yousee's signal sucks. The wifi signal from the router is ridiculously weak.

I gave up on the lousy Yousee modem and bought a router: Asus RT-AC66U B1. Now that's a different story.

The speed went from max 20mbs to 120mbs after attaching a router to the modem.

Speedtest after Asus router install
I still don't understand why Yousee sell such a lousy router. They get complaints about speed all of the time. Why sell an ok connection with a impotent router?

The next step is to set the YouSee router in bridge mode.

30 April, 2020

Linux: MS Teams - and Office 365


These Corona-days we often meet on MS Teams at work. So a version on my Linux system could come in handy.

Just for the hell of it, I tried to find a MS Teams client in Arch Linux (Manjaro). To my surprise it was available. To my even greater surprise it worked like a charm. Thanx Microsoft.

At log in I could select my Logitech c920 webcam and the Thronmax usb microphone. I just had to allow the usage.

The only caveat was a screen share that did not work, because my wifi connection is terrible. That was certainly not a Microsoft issue, but rather something I want to discuss with Yousee (it's the never ending story: connection sucks, complain, then it works for at week or two, then the connection is horrible again).

By the way - I got the whole package: mail, calendar etc. etc.

Cool!

22 April, 2020

MS Teams: Cam and Mic - Logitech 920

Here are my settings in a Chrome browser on a Macbook Air.

MS Teams settings: external cam and mic

16 April, 2020

[SOLVED] MS Teams JavaScript Error on Mac

JavaScript Error Message on Macbook Air


MS Teams Cannot run on my MacBook Air. I get these errors:

Errors MS Teams


Solved - here's the hack



MS Teams up and running on Macbook Air


I got the recipe for the hack here.

Open a terminal, and change to the sudo user. Then:

cd /Users/USERNAME-HERE/Library/Application\ Support/
chown -R per Microsoft

Do this for all users on the system (if there are many a bash-loop could do the trick). 

29 March, 2020

WordPress: on Manjaro / Arch Linux

Here is the famous 2 minutes install:

  1. Download a fresh version of WordPress
  2. Install in a directory
On my system the files are in a folder on /home/myName

Now you need to set the permissions. Apache should be allowed to write to the directory, and so should you. Try this:

# chown http:http -R wp/
# sudo usermod -a -G http myName
# sudo chmod 777 -R wp/

Of course you should never ever use the last line on a WordPress on the web. These settings are for local development only.


09 February, 2020

Dearest Amazon


My mailbox suffered from Amazon overflow. Please sweet dear beloved Amazon. Noone need spam from 80+ lists. Please stop this insane spam! I may have signed up for news from Kindle - but this mailbombing madness must stop.

28 January, 2020

[SOLVED] Mac: Scout-App cannot run

If Scout-App is stopped you have to restart the PC. I suspect that a process is still running, or some Catalina-related security insanity. In the first case it's a bug. In the last one it's the operative system.

  • Scout-App has access to the relevant folders in Security.
  • You cannot start from Applications via a right click any more.

23 January, 2020

Linux: OBS and the Logitech c920s Webcam

Here are my settings for the Logitech c920s webcam when I run OBS. I use V4L2 and the v4l2-toolbox. The last one is a handy GUI for v4l2. It is my experience, that you'll get the best result if you begin in the v4l2-toolbox.

Since the autofocus is the source of trouble in low light conditions, just turn the autofocus off.

Here are a few screendumps of my settings (recorded under low light conditions):

v4l2-toolbox

v4l2-toolbox

v4l2-toolbox

Video settings in OBS

22 January, 2020

Logitech 920c Settings

Here are some suggested settings for the webcam Logitech 920C in order to avoid the problems with unwanted autofocus. On a Linux system you may do something similar in the V4L2 or he V4L2-toolbox:



08 January, 2020

Manjaro Linux and Scanning with Epson ET-2750

Utsushi - probably a GUI under imagescan v. 3


This was an unexpected hard task. I thought that it would be a matter of just pluggin in the usb and then scan. But no.

In order to use the Epson ET-2750 Eco Tank scanner do this:

  • Install imagescan v. 3
    # pacman -S imagescan
  • Run this command:
    # utsushi
  • Select the correct USB device
  • Scan and save with the file ending of whatever file format you want, say .pdf or .jpeg or ...
Xsane, Imagescan and so on cannot find the device. I guess that the utsushi GUI is part of the imagescane package. I is somewhat strange to install a packet, and run it by another name.

And if you think that you can find Utsushi in the progam launcher ... forget it. But you can start the thing from your favorite terminal window.

Utsushi started via a terminal window

Hey, isn't that why we just love Linux. I learned a lot about UX this afternoon.

07 January, 2020

OBS Lip Syncronization

In OBS the webcam and the sound were out of sync. The solution is to set the difference to 110ms.




Lip sync solution

01 January, 2020

wget files via loop

Here is a very handy method for downloading files via a loop using wget:

# wget http://domain.org/_{001..656}.jpg

Note the curly brackets, read as from 001 to 656 or whatever number of files you need.

After download you may want to check if all files are there, try something like:

# ls | wc -l