/usr/share/qt5/doc/qtdoc/qt-embedded-kmap2qmap.html is in qt5-doc-html 5.9.5-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- emb-kmap2qmap.qdoc -->
<title>kmap2qmap | Qt 5.9</title>
<link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
<script type="text/javascript">
document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
// loading style sheet breaks anchors that were jumped to before
// so force jumping to anchor again
setTimeout(function() {
var anchor = location.hash;
// need to jump to different anchor first (e.g. none)
location.hash = "#";
setTimeout(function() {
location.hash = anchor;
}, 0);
}, 0);
</script>
</head>
<body>
<div class="header" id="qtdocheader">
<div class="main">
<div class="main-rounded">
<div class="navigationbar">
<table><tr>
<td ><a href="index.html">Qt 5.9</a></td><td >kmap2qmap</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right">Qt 5.9.5 Reference Documentation</td>
</tr></table>
</div>
</div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">kmap2qmap</h1>
<span class="subtitle"></span>
<!-- $$$qt-embedded-kmap2qmap.html-description -->
<div class="descr"> <a name="details"></a>
<p><code>kmap2qmap</code> is a tool to generate keymaps for use on Embedded Linux. The source files have to be in standard Linux <code>kmap</code> format that is e.g. understood by the kernel's <code>loadkeys</code> command. This means you can use the following sources to generate <code>qmap</code> files:</p>
<ul>
<li>The <a href="http://lct.sourceforge.net/">Linux Console Tools (LCT)</a> project.</li>
<li><a href="http://www.x.org/">Xorg</a> X11 keymaps can be converted to the <code>kmap</code> format with the <code>ckbcomp</code> utility.</li>
<li>Since <code>kmap</code> files are plain text files, they can also be hand crafted.</li>
</ul>
<p>The generated <code>qmap</code> files are size optimized binary files.</p>
<p><code>kmap2qmap</code> is a command line program, that needs at least 2 files as parameters. The last one will be the generated <code>.qmap</code> file, while all the others will be parsed as input <code>.kmap</code> files. For example:</p>
<pre class="cpp">
kmap2qmap i386<span class="operator">/</span>qwertz<span class="operator">/</span>de<span class="operator">-</span>latin1<span class="operator">-</span>nodeadkeys<span class="operator">.</span>kmap <span class="keyword">include</span><span class="operator">/</span>compose<span class="operator">.</span>latin1<span class="operator">.</span>inc de<span class="operator">-</span>latin1<span class="operator">-</span>nodeadkeys<span class="operator">.</span>qmap
</pre>
<p><code>kmap2qmap</code> does not support all the (pseudo) symbols that the Linux kernel supports. If you are converting a standard keymap you will get a lot of warnings for things like <code>Show_Registers</code>, <code>Hex_A</code>, etc.: you can safely ignore those.</p>
<p>It also doesn't support numeric symbols (e.g. <code>keycode 1 = 4242</code>, instead of <code>keycode 1 = colon</code>), since these are deprecated and can change from one kernel version to the other.</p>
</div>
<!-- @@@qt-embedded-kmap2qmap.html -->
</div>
</div>
</div>
</div>
</div>
<div class="footer">
<p>
<acronym title="Copyright">©</acronym> 2017 The Qt Company Ltd.
Documentation contributions included herein are the copyrights of
their respective owners.<br> The documentation provided herein is licensed under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation License version 1.3</a> as published by the Free Software Foundation.<br> Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property
of their respective owners. </p>
</div>
</body>
</html>
|