Archive for the ‘Miscellaneous’ Category

Overload capslock keyboard key in windows

January 24th, 2017

We all have this centrally keyboard key that is seldom used. I am thinking of caps lock.

I wanted to use it as an alternative key, not as ctrl or anything; but as something totally different that does not invade existing short cuts.

Rewiring the capslock is harder than it looks at first glance.
I didn’t find a Good solution but at least one that works; for now.


Autohotkey aka AHK is for writing macros for keyboard, mouse(?) and joystick. The language is awful but don’t let that scare you away.

I have mapped CapsLock to be used with j, k, l and ; to navigate.
Capslock by itself is Esc.

Source code

Regular header stuff in the file:

#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.

Make Capslock not work as capslock but also make it work as Esc:
(I believe some magic is involved.)

SetCapsLockState AlwaysOff
CapsLock::Send {Esc}

Map the personal stuff. In my case navigation:

CapsLock & j::Send {Left}
CapsLock & k::Send {Right}
CapsLock & SC027::Send {Down} ; or CapsLock & `;::Send {Down}
CapsLock & l::Send {Up}

Unfortunately I don’t remember the sources I puzzled together my solution form.

Quit skype with alt-F4 (Autohotkey needed)

October 20th, 2016

Due to overzealous user interface design Skype does not close with alt-F4 but instead minimises. That is not considered good behaviour.

I have found no setting in Skype to restore it normal Windows behaviour.

So I found and copied a Authotkey script that restores makes alt-F4 properly close Skype.

#IfWinActive ahk_exe Skype.exe ahk_class tSkMainForm

Kudos to original article

Keyboards, keyboards, keyboards

March 24th, 2015

I develop programs. I touch type. I use a keyboard extensively. I use Microsoft sculpt, Falbatech ergodox, 1337keyboard and BecerroInamovible.

I don’t take light on keyboards and don’t understand other keyboard jockeys that just use whatever comes with the machine.

I’d love to make my own keyboard.

Here is a the Geekhack forum for DIY and buy.


I have made my own 1337 keyboard layout that mixes the layout of Us-En (good for programming languages), Swedish (my language of birth) and Azerty (switched numbers/characters in top row). I used it with my Autohotkey based BecerroInamovible for an extra layer of keys.


But until then I keep track of existing. Both ergonomic for extensive use and portable for mobile use.

Atreus. DIY or order. Ergonomic. Open source. Looks wireless. Looks awesome for typing and hacking. Me want.

Ergodox. F/OSS. Kickstarted if I remember correctly.

Falbatech is a Polish copy of Ergodox. I have one made out of bamboo and it looks gorgeous. Presently I am training myself in using it. Since there are fewer buttons than an ordinary keyboard I have to remap my fingers. On the other hand I can decide what each button does so it will be natural for me.

Keyboardio home page. is open source and ergonomic. A bit ugly but triggers my want-hormones. It also has a wooden surface and and an Arduino to run it all. Kickstarted successfully. A colleague of mine has it but doesn’t like it due to not having separate arrow keys. For me that is not a problem as I use a meta key, like I do with my Authotkey based BecerroInamovible solution.

Ultimate hacking keyboard. Split. Crowdsourced.

Waytools Textblade. For mobile use. Blue tooth. Qwerty layout but not totally touch type. From about 100€. Might work.
Id love to get my hands on one to test and review.


Get more windows themes online

October 6th, 2014

To spice up the windows desktop background Microsoft has provided an easy way to import new pictures that can be changed every 30 minutes or so. Either search (write) Get more themes online on the start menu or go here in your web browser.

Search words: windows multiple monitor screen saver

tags: , | categories: Miscellaneous | no comments »

What the Hyper-V menus mean

September 15th, 2014

The Microsoft Hyper-V user interface is quite good but the menus are not self explaining when it comes to branching and making snapshots.

Thankfully someone has written down an explanation here. All gratitude should go to the original author.

If the original article goes missing I have copied a web archive here.

Forefront threat management gateway 2010 – the page cannot be displayed

June 10th, 2014

Error code: 500 Internal server error. The system cannot find the file specified. (2)

This error might be because of your OWA password is about to expire and there is a fault somewhere in the Exchange/OWA installation.

Screen dump of TMG reporting 500 dues to password is about to expire.

Threat management gateway 2010 with 500 error due to password is about to expire.

The remedy is to change your password which you can do at the OWA login page. There is a check box “I want to chang emy password after logging on” to use.

OWA login page

OWA login page

tags: , | categories: Miscellaneous | no comments »

Why using the disc icon as saving icon is considered good

June 10th, 2014

Regardless whether skeumorphism is good or not; a diskette icon for saving is passé.
But there is no better.

We could use a mobile phone as icon for saving as we use a mobile phone for that. And anything else.
We could have a mobile phone as icon for everything. It would be easier to remember just one icon. It would save band width as it could be cached. Support calls would be easier as we could just answer “press the button with the mobile phone icon”.


Diskette icon with CC0 license

Diskette icon, CC0 license ( (from

Indoor gardening and composting

June 6th, 2014


The art of gardening without soil. Makes my geek heart vibrate.

Here is an example of how to create a solution with Ikea stuff. There are both more complex and simpler ways to accomplish this.


Instead of simple composting; first ferment and get some juice out – then compost.

With a bucket under the kitchen sink one can play with the food that wasn’t eaten. Here is a Swedish site for the stuff.

“Windows update” on windows 8

November 26th, 2012

The as-far-as-I-have-discovered fastest way to get to “Windows update” in Win8 is command/windows button -> type “update” (or possibly “upd”) -> down arrow (to get to Settings) -> return -> return.
( Then tab&enter to see more info about what is about to get installed, esc to close the dialogue, tab to set focus on the Ok button and then return to shoot. )

PC settings (in Norwegian bokmål)

I have been playing with language settings – hence What PC settings looks like in Norwegian (bokmål).

[ Lots of GUI stuff is new in Windows 8 and not all for the good; getting rid of Search programs and files is not one of the wise choices. ]

tags: | categories: Miscellaneous | no comments »

192 EULAs I have agreed upon during a year and a half adds up a quarter of the words of Encyclopædia Britannica

February 12th, 2012

The computer I am writing on right now has been in my custody for about a year and a half  During this time I have collected every EULA I needed to agree upon.  It adds up to 192 EULAs.  Many are most certainly similar, like GPL, and others are probably variants of themselves.

I stored the agreements in RTF format except for Flash that is in PDF and a IE9 update that it seems I had to track down on the web and download the HTML page with PNGs and all.  It all ends up at slightly more than 62 megs.

Now these 62 megs of data stored mostly in RTF aren’t 62 millions of readable characters so I took a 72k rtf document and saved as text.  66k.  That is roughly 10% overhead.  So I guess out of 62 megs I have about 57 megs of characters.

192 files.  57 million characters.  With about 5 letters in an english word this would be slightly more than 11 million words.  I a page has 250 words this would be 45500 pages.  By comparision the whole Harry Potters series is about 3400 pages.  Encyclopædia Britannica is 40 million words.

To be honest: one can’t compare word count between a book and an EULA since the former is written in English while the latter in Legalece.