diff --git a/assets/vm3_sm.jpg b/assets/vm3_sm.jpg
new file mode 100644
index 0000000..c8c508d
Binary files /dev/null and b/assets/vm3_sm.jpg differ
diff --git a/assets/xor_pattern_small.png b/assets/xor_pattern_small.png
new file mode 100644
index 0000000..c78ccc8
Binary files /dev/null and b/assets/xor_pattern_small.png differ
diff --git a/css/layout-bright.css b/css/layout-bright.css
index 11a5544..bded3c9 100644
--- a/css/layout-bright.css
+++ b/css/layout-bright.css
@@ -38,7 +38,7 @@ li {
header {
background: rgba(0, 0, 0, 0.1);
width: 100%;
- border-bottom: 1px dashed #93c631;
+ border-bottom: 1px dashed #678b22;
padding: 20px 0;
margin: 0 0 40px 0;
}
@@ -48,7 +48,7 @@ header h1, #pagetitle {
line-height: 1.5;
font-weight: bold;
font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
- color: #93c631;
+ color: #678b22;
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1),
0 0 5px rgba(181, 232, 83, 0.1),
0 0 10px rgba(181, 232, 83, 0.1);
@@ -90,7 +90,7 @@ section img {
h1, h2, h3, h4, h5, h6 {
font-weight: normal;
font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
- color: #93c631;
+ color: #678b22;
letter-spacing: -0.03em;
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1),
0 0 5px rgba(181, 232, 83, 0.1),
@@ -139,7 +139,7 @@ ul li:before {
content: ">>";
font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
font-size: 13px;
- color: #93c631;
+ color: #678b22;
margin-left: -37px;
margin-right: 21px;
line-height: 16px;
@@ -164,7 +164,7 @@ pre, code {
background: rgba(0, 0, 0, 0.1);
border: 1px solid rgba(255, 255, 255, 0.85);
font-size: 14px;
- color: #93c631;
+ color: #678b22;
border-radius: 2px;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
@@ -193,7 +193,7 @@ table {
th {
text-align: left;
- border-bottom: 1px dashed #93c631;
+ border-bottom: 1px dashed #678b22;
padding: 5px 10px;
}
@@ -204,8 +204,8 @@ td {
hr {
height: 0;
border: 0;
- border-bottom: 1px dashed #93c631;
- color: #93c631;
+ border-bottom: 1px dashed #678b22;
+ color: #678b22;
}
/* Buttons */
@@ -267,3 +267,4 @@ a {
.cf {
zoom:1;
}
+
diff --git a/index.md b/index.md
index f7a90fa..4161500 100644
--- a/index.md
+++ b/index.md
@@ -1,6 +1,6 @@
---
title: Welcome to the Wiki
-layout: bright
+layout: default
---
### Welcome to GitHub Pages.
@@ -12,8 +12,20 @@ All posts:
{% endfor %}
-Tags:
+Categories:
+
+{% for category in site.categories %}
+ - {{ category[0] }}
+
+
+{% endfor %}
+
+Tags:
{% for tag in site.tags %}
- {{ tag[0] }}
@@ -25,10 +37,3 @@ Tags:
{% endfor %}
-
-Categories:
-
-{% for category in site.categories %}
- - {{ category[0] }}
-{% endfor %}
-
diff --git a/know-how/hardware/_posts/2009-02-09-evoluent-verticalmouse.md b/know-how/hardware/_posts/2009-02-09-evoluent-verticalmouse.md
new file mode 100644
index 0000000..76e63a0
--- /dev/null
+++ b/know-how/hardware/_posts/2009-02-09-evoluent-verticalmouse.md
@@ -0,0 +1,53 @@
+---
+title: Evoluent Vertical Mouse 3
+layout: default
+created: 2009-02-09 17:55:53 +0100
+toc: false
+tags:
+ - know-how
+ - hardware
+ - evoluent
+ - verticalmouse
+ - mouse
+---
+
+
+ * **Homepage:** [evoluent.com](http://www.evoluent.com/vm3.html)
+
+Remapping buttons in Linux
+==========================
+
+You can use the following command to remap the buttons:
+
+ xinput set-button-map ...
+
+The `` is shown in the `xinput list` output - you can use the name as a string or the id number. You can query the actual button state using `xinput query-state `.
+
+The mouse has following button-ids:
+
+| Button | ID |
+|:----------------------|:--:|
+| Thumb button | 9 |
+| Index finger button | 1 |
+| Middle finger button | 8 |
+| Ring finger button | 3 |
+| Wheel button | 2 |
+| Wheel up | 4 |
+| Wheel down | 5 |
+
+See [remapping mouse buttons]({% post_url 2009-07-17-remapping-mouse-buttons %}) on what buttons X11 recognizes.
+
+According to this the default configuration (`xinput set-button-map 1 2 3 4 5 6 7 8 9`) would give you middle click on the wheel button and right-click on the middle finger.
+The ring finger button would be for special use as well as the thumb button.
+
+I for myself prefer having the middle-button on the middle finger and the right-click on the ring finger.
+So I mapped 8→3 and 3→2 and I also mapped 9→8 and 2→9 to have the wheel button and thumb button for special use in some programs which make use of additional buttons.
+My final `xinput` line looks like this:
+
+ # input id: 1 2 3 4 5 6 7 8 9
+ xinput set-button-map 1 9 2 4 5 6 7 3 8
+
+You could also map 9→6 and 2→7 to have the 2 additional buttons emulate *Wheel left* and *Wheel right*:
+
+ # input id: 1 2 3 4 5 6 7 8 9
+ xinput set-button-map 1 7 2 4 5 8 9 3 6
diff --git a/know-how/hardware/_posts/2009-05-12-analog-tft-calibration.md b/know-how/hardware/_posts/2009-05-12-analog-tft-calibration.md
new file mode 100644
index 0000000..42d8365
--- /dev/null
+++ b/know-how/hardware/_posts/2009-05-12-analog-tft-calibration.md
@@ -0,0 +1,23 @@
+---
+title: Analog TFT calibration
+layout: default
+created: 2009-05-12 14:19:22 +0200
+toc: false
+tags:
+ - know-how
+ - hardware
+ - tft
+ - calibration
+---
+If you have connected your TFT via an analog VGA cable, you might have some blurry vision or even flickering
+in some cases. If the following picture shows some flickering or looks blurry, your display needs calibration.
+
+
+
+To calibrate your display, go to [Randy Simons' page](http://randysimons.com/pagina_131_NL.xhtml) and do the following:
+
+ - open the [sync pattern page](http://randysimons.com/overige/tftAutoAlignPattern/)
+ - put your browser in full-screen mode (mostly by pressing F11)
+ - issue the auto-calibration on your TFT display (most displays have a specific *"Auto"* button)
+ - make sure the picture doesn't flicker anymore
+ - exit full-screen mode (F11 again)
diff --git a/know-how/hardware/_posts/2011-10-09-dymo-labelwriter-320-under-ubuntu.md b/know-how/hardware/_posts/2011-10-09-dymo-labelwriter-320-under-ubuntu.md
new file mode 100644
index 0000000..5152821
--- /dev/null
+++ b/know-how/hardware/_posts/2011-10-09-dymo-labelwriter-320-under-ubuntu.md
@@ -0,0 +1,32 @@
+---
+title: DYMO LabelWriter 320 under Ubuntu Linux
+layout: default
+created: 2011-10-09 22:39:57 +0100
+toc: false
+tags:
+ - know-how
+ - hardware
+ - dymo
+ - labelwriter
+ - ubuntu
+ - linux
+---
+This label printer doesn't work out of the box under Linux. There are some instructions over at
+[ubuntuforums.org](http://ubuntuforums.org/showthread.php?t=861781), but they're missing something
+for the latest Ubuntu *Oneiric Ocelot*. These instructions should work:
+
+ - download the DYMO SDK `dymo-cups-drivers-1.2.0.tar.gz` from [dymo.com](http://sites.dymo.com/DeveloperProgram/Pages/LW_SDK_Linux.aspx)
+ - unpack (a directory `dymo-cups-drivers-1.2.0` will be created)
+ - make sure you've installed [libcups2-dev](apt://libcups2-dev) and [libcupsimage2-dev](apt://libcupsimage2-dev) (and, of course, [build-essential](apt://build-essential))
+ - run `./configure`
+ - try a `make all`, you will most probably get various errors like *"size_t has not been declared"* or *"size_t does not name a type"* --- if so, try this:
+ * add a line: `#include ` as the first line to the following files:
+ * `src/lw/LabelWriterLanguageMonitor.h`
+ * `src/lw/LabelWriterDriver.h`
+ * `src/common/Halftoning.h`
+ * now, again, run `make all`
+ - run `sudo make install`
+ - now open **System Settings** → **Printer**
+ - make sure, your LabelWriter is connected
+ - add a new printer, choose your LabelWriter, when asked for a driver, point it to `ppd/lw320.ppd` from the `dymo-cups-drivers-1.2.0` directory
+ - start printing, e.g. from [glabels](apt://glabels)