<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  
  
  <channel>
    <title>chrisjrob: kde</title>
    <link>https://chrisjrob.com</link>
    <atom:link href="https://chrisjrob.com/tag/kde/feed/index.xml" rel="self" type="application/rss+xml" />
    <description>GNU Linux, Perl and FLOSS</description>
    <language>en-gb</language>
    <pubDate>Fri, 13 Feb 2026 17:22:31 +0000</pubDate>
    <lastBuildDate>Fri, 13 Feb 2026 17:22:31 +0000</lastBuildDate>
    
    <item>
      <title>Fixing KDE File Associations</title>
      <link>https://chrisjrob.com/2011/03/03/fixing-kde-file-associations/</link>
      <pubDate>Thu, 03 Mar 2011 00:00:00 +0000</pubDate>
      <author>chrisjrob@gmail.com (Chris Roberts)</author>
      <guid>https://chrisjrob.com/2011/03/03/fixing-kde-file-associations</guid>
      <description>
       <![CDATA[
         
         <p>We have our file associations locked down using KDE Kiosktool, and yet
it seems that one of our users has managed to change their file
associations, despite them being locked down; which seems to be because
the context menu is not locked down, enabling him to take the option to
Open With an alternative application and select the checkbox to remember
that association in future.  The only way around this would seem to be
to disable the context sensitive menu, at a significant cost in
functionality.</p>

<!--more-->

<p>So now this user’s PDFs open in Acrobat Reader <strong>on our Windows
server</strong>, instead of using Acrobat Reader on Linux.  That would not in
itself cause a problem, except that the Windows server cannot access the
location of the temporary location of Kmail attachments.  I could
probably fix that, but I don’t really want users opening email
attachments using Windows applications.</p>

<p>This user cannot access File Associations to fix this problem, as the
menu option is removed; so I need to find a way to fix this problem from
the command line.</p>

<p>In solving this particular problem I discovered the existence of the
users’ <code class="language-plaintext highlighter-rouge">~/.local/share/application</code> directory, and was able to remove the
application shortcut to the PDF and normal functionality was restored,
but I thought it would be worth writing up what I have found to be the
case.  Some of the following information may be wrong or misleading and
please feel free to comment any issues, and I will endeavour to update
this page accordingly.</p>

<h2 id="kde-file-associations">KDE File Associations</h2>

<p>I have to say that KDE file associations seem hellishly complicated,
which is to say that there are so many different locations of files that
it is very difficult to work out what is happening.  The three key
factors in play seem to be:</p>

<h3 id="mime-types">MIME Types</h3>

<p>Mime-types, appear to be stored in:</p>

<ul>
  <li><code class="language-plaintext highlighter-rouge">~/.kde/share/mimelnk</code> directories (for each user)</li>
  <li><code class="language-plaintext highlighter-rouge">/usr/share/mimelnk</code></li>
  <li><code class="language-plaintext highlighter-rouge">/etc/kde-profile/standard/share/mimelnk</code> (for kiosktool - a symlink
back to <code class="language-plaintext highlighter-rouge">/usr/share/mimelnk</code>)</li>
</ul>

<p>These look like this:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$ cat pdf.desktop
[Desktop Entry]
Comment=PDF
DocumentHidden=false
Icon=application-pdf
MimeType=application/pdf
Patterns=*.pdf;*.PDF
Type=MimeType
X-KDE-AutoEmbed=false
</code></pre></div></div>

<p>In other words they link the file extension, in this case <code class="language-plaintext highlighter-rouge">*.pdf</code>, with
the MimeType, in this case <code class="language-plaintext highlighter-rouge">application/pdf</code>.  I believe I am right in
saying that the users’ files take precedence over the global ones.</p>

<h3 id="application-shortcuts">Application Shortcuts</h3>

<p>Next up are the application shortcuts, and these also can be in diverse
locations:</p>

<ul>
  <li><code class="language-plaintext highlighter-rouge">~/.kde/share/applnk</code></li>
  <li><code class="language-plaintext highlighter-rouge">~/.local/share/applications</code></li>
  <li><code class="language-plaintext highlighter-rouge">/usr/share/applications</code></li>
  <li><code class="language-plaintext highlighter-rouge">/etc/kde-profile/standard/share/applications</code> (for kiosk-tool)</li>
</ul>

<p>As with the mimetypes, the users’ copy take precedence over the shared
ones.  These application shortcuts define how to run an application, and
look something like this:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$ cat "Adobe Reader 9 PDF Viewer.desktop"
[Desktop Entry]
Comment=
Exec=acroread
GenericName=PDF
ViewerIcon=AdobeReader9
MimeType=
Name=Adobe Reader 9
Path=
StartupNotify=false
Terminal=0
TerminalOptions=
Type=Application
X-KDE-SubstituteUID=false
X-KDE-Username=
</code></pre></div></div>

<p>As you can see, this tells the system how to run the application.</p>

<h3 id="profilerc">profilerc</h3>

<p>Lastly there needs to be some way of tying the above two things
together, something that tells the system that you use X application
shortcut to open Y mime-type, and this appears to be the role of the
<code class="language-plaintext highlighter-rouge">profilerc</code> files.  As with the other components, there are multiple
copies of this file:</p>

<ul>
  <li><code class="language-plaintext highlighter-rouge">~/.kde/share/config/profilerc</code></li>
  <li><code class="language-plaintext highlighter-rouge">/etc/kde-profile/standard/share/config/profilerc</code></li>
</ul>

<p>An extract of this file in respect of my PDF example, looks something
like this:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>[application/pdf - 1]
AllowAsDefault=true
Application=Adobe Reader 8 PDF Viewer.desktop
GenericServiceType=Application
Preference=2
ServiceType=application/pdf
[application/pdf - 2]
AllowAsDefault=true
Application=kpdf_part.desktop
GenericServiceType=KParts/ReadOnlyPart
Preference=1
ServiceType=application/pdf
[application/pdf - 3]
AllowAsDefault=true
Application=kde-kpdf.desktop
GenericServiceType=Application
Preference=2
ServiceType=application/pdf
</code></pre></div></div>

<p>This shows both the mime-type <code class="language-plaintext highlighter-rouge">application/pdf</code> and the application
shortcut, e.g. “Adobe Reader 8 PDF Viewer.desktop”, and gives the
different choices for opening the same mimetype.</p>

<p>I have found this exercise to be hugely frustrating, and I hope this
information is of use to someone.  As I said earlier, my intention will
be to correct this post as I find out more, so please forgive any
errors, and if you have the time, please do let me know by commenting
below.</p>


       ]]>
      </description>
    </item>
    
    <item>
      <title>Analyse Disk Usage With Konqueror</title>
      <link>https://chrisjrob.com/2011/02/24/analyse-disk-usage-with-konqueror/</link>
      <pubDate>Thu, 24 Feb 2011 00:00:00 +0000</pubDate>
      <author>chrisjrob@gmail.com (Chris Roberts)</author>
      <guid>https://chrisjrob.com/2011/02/24/analyse-disk-usage-with-konqueror</guid>
      <description>
       <![CDATA[
         
           <img src="https://chrisjrob.com/assets/konqueror-file-size-view_300.png" align="right" alt="Featured Image">
         
         <p>We’ve all had occasions when we have needed to find where all our disk
space has gone, well under KDE3.5 it was easy - you just ran Konqueror
and then selected View » View Mode » File Size View.  But shock horror,
under KDE4 that option seemed to be missing.  Fortunately it was only an
apt-get away:</p>

<!--more-->

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$ sudo apt-get install konq-plugins
</code></pre></div></div>

<p>Then run Konqueror and follow instructions above.</p>

<p>This is not just a static either, you can click on any directory and it
will refresh for the usage of that directory.</p>

<p>Is it wrong to be in love with a browser?</p>


       ]]>
      </description>
    </item>
    
    <item>
      <title>Howto | Install Kiosktool</title>
      <link>https://chrisjrob.com/2010/09/29/install-kiosktool/</link>
      <pubDate>Wed, 29 Sep 2010 10:06:35 +0000</pubDate>
      <author>chrisjrob@gmail.com (Chris Roberts)</author>
      <guid>https://chrisjrob.com/2010/09/29/install-kiosktool</guid>
      <description>
       <![CDATA[
         
           <img src="https://chrisjrob.com/assets/kiosktool3.png" align="right" alt="Featured Image">
         
         <p>First let’s take a look at where KDE squirrels away all these settings. KDE is complex, but it’s well-organised, and there is always a method to whatever KDE madness you find yourself in.</p>

<ul>
  <li><code class="language-plaintext highlighter-rouge">/etc/kderc</code> :  This points to the file locations where configuration profiles are stored.</li>
  <li><code class="language-plaintext highlighter-rouge">/etc/kde3</code> : Global configuration files are here.</li>
  <li><code class="language-plaintext highlighter-rouge">/home/~username~/.kde</code> : User’s individual settings go here.</li>
</ul>

<!--more-->

<p>You can see for yourself where your particular KDE installation is going to look for configuration files:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$ kde-config --path config
/home/carla/.kde/share/config/:/etc/kde3/:/usr/share/kubuntu-
default-settings/kde-profile/default/share/config/
</code></pre></div></div>

<p>KDE reads these in reverse order, so if it encounters any conflicts, the last value read is the one used. User’s individual configurations take precedence, so they are read last. 
There is a way to make an exception to the precedence rule: using $i, or the “immutable” key. You’ll see how this is used in the examples below. Anything marked immutable has precedence, no matter what order it’s in.</p>

<h2 id="installing-kiosktool">Installing Kiosktool</h2>

<p><strong>This is now unnecessary, as this has been fixed on Debian, you should now be able to simply do an aptitude install.</strong></p>

<p>Kiosktool is simply an easy way of administering the above files. Kiosk Admin Tool is available in Debian Testing/Unstable and should be as simple to install as:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$ sudo apt-get install kiosktool
</code></pre></div></div>

<p>Unfortunately the current version of Kiosktool is broken for Debian, as Debian have changed the filename for the menu configuration from applications.menu to kde-applications.menu, and unfortunately Kiosktool is now unmaintained, so to install requires a few more steps than normal:</p>

<h3 id="install-the-build-dependencies">Install the build dependencies</h3>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$ sudo apt-get build-dep kiosktool
</code></pre></div></div>

<p><strong>Before installing the dependencies, please copy them into the clipboard.</strong></p>

<h3 id="download-the-source">Download the source</h3>

<p>Note that you do not need to be root to do this, and it helps later if you’re not! Change your repository if necessary, or remove it entirely to install from your default repository. Note however that at the time of writing Kiosktool is only available in testing, unstable and backports (the same versions in each).</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$ apt-get -t etch-backports source kiosktool
</code></pre></div></div>

<h3 id="edit-the-source">Edit the source</h3>

<p>This will download three files: a .orig.tar.gz, a .dsc and a .diff.gz. In the case of packages made specifically for Debian, the last of these is not downloaded and the first usually won’t have “orig” in the name. The .dsc file is used by dpkg-source for unpacking the source package into the directory packagename-version. Within each downloaded source package there is a debian/ directory that contains the files needed for creating the .deb package.</p>

<p>Navigate to this directory and open the following file in a text editor:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>/path/to/kiosktool-1.0/kiosktool/menueditComponent.cpp
</code></pre></div></div>

<p>Replace all instances of applications.menu with kde-applications.menu.</p>

<h3 id="build-the-deb">Build the deb</h3>

<p>From within the directory that was created for the package after downloading.</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$ apt-get -b source kiosktool
</code></pre></div></div>

<p>To install the package built by the commands above one must use the package manager directly, like this:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code># dpkg -i kiosktool-&lt;version&gt;.deb
</code></pre></div></div>

<h3 id="remove-the-build-dependencies">Remove the build dependencies</h3>

<p>It seems that some of the build dependencies may be incompatible with the LTSP enlightened sound daemon (esd), if you copied them (as recommended in Install the build dependencies section), then please purge them now. Otherwise you will need to review <code class="language-plaintext highlighter-rouge">/var/log/dpkg.log</code> for the relevant files.</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$ sudo apt-get --purge remove package1 package2 etc
</code></pre></div></div>

<h2 id="using-kiosktool">Using Kiosktool</h2>

<p>After installation you should have a menu entry for it in System -&gt; KIOSK Admin Tool, or use the kiosktool command to start it from the command prompt.</p>

<p>You may find that a copying dialog crops up at regular intervals and that often it will stall, please read:</p>

<ul>
  <li><a href="/2010/09/29/fix-kiosktool-fish-protocol-stalls/">Fix kiosktool fish protocol stalls</a></li>
</ul>

<h2 id="references">References</h2>

<p>This document was cobbled from the following sources:</p>

<ul>
  <li><a href="http://www.debian.org/doc/manuals/apt-howto/ch-sourcehandling.en.html">APT HOWTO Chapter 6 Working with source packages</a></li>
  <li><a href="http://www.enterprisenetworkingplanet.com/netos/article.php/3573736">Lock Down Desktops with KDE Kiosk by Carla Schroder</a></li>
</ul>

<p>Other references:</p>

<ul>
  <li>http://techbase.kde.org/User:Danimo/KIOSK</li>
</ul>

<p>The advice in the Edit the source section was copied from a mailing list post, which I now cannot find. The post also mentioned that patches were available for this issue, although I could not find any such patches, and anyway the method above is probably just as easy.</p>

       ]]>
      </description>
    </item>
    
    <item>
      <title>Howto | Fix Kiosktool Fish Protocol Stalls</title>
      <link>https://chrisjrob.com/2010/09/29/fix-kiosktool-fish-protocol-stalls/</link>
      <pubDate>Wed, 29 Sep 2010 10:05:41 +0000</pubDate>
      <author>chrisjrob@gmail.com (Chris Roberts)</author>
      <guid>https://chrisjrob.com/2010/09/29/fix-kiosktool-fish-protocol-stalls</guid>
      <description>
       <![CDATA[
         
           <img src="https://chrisjrob.com/assets/kiosk_1.gif" align="right" alt="Featured Image">
         
         <p>When making changes to profiles under kiosktool, it stalls when uploading changes to the local machine using the fish protocol, see screenshots.</p>

<p>Persistently clicking cancel followed by retry does deliver the goods, but sometimes it can take ten attempts or more, with the load average quickly escalating to ten times the server’s usual level.</p>

<!--more-->

<p>I understand it requires the fish protocol, even though it is editing the local machine, because kiosk has to be run as a standard user, but requires root access to edit the profile.</p>

<p>The fish protocol usually works fine in konqueror.</p>

<p>Under our Kiosk configuration I have the base directory set as <code class="language-plaintext highlighter-rouge">/etc/kde-profile</code> and the option “On exit, upload profiles to a remote server” is unchecked.</p>

<h2 id="screenshots">Screenshots</h2>

<p><img src="/assets/kiosk_1.gif" />
<img src="/assets/kiosk_2.gif" />
<img src="/assets/kiosk_3.gif" /></p>

<h2 id="workaround">Workaround</h2>

<p>Keep cancelling the copy and then retry.</p>

<p><strong>Never come out without successfully completing the copy, or you can end up with corruption in your personal desktop, or menus, or even end up unable to log in.  You have been warned.</strong></p>

<h2 id="the-solution">The Solution</h2>

<p>The solution seems to be to edit the menu entry for Kiosk-Tool and change it to:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>env KDE_FORK_SLAVES=true kiosktool
</code></pre></div></div>

<h2 id="references">References</h2>

<ul>
  <li>http://lists.kde.org/?t=111633283900002&amp;r=1&amp;w=2 (Similar problem under SUSE)</li>
  <li>http://bugs.kde.org/show_bug.cgi?id=8137 (similar problem under FreeBSD)</li>
</ul>

       ]]>
      </description>
    </item>
    
    <item>
      <title>Home Theatre PC - Continued</title>
      <link>https://chrisjrob.com/2010/08/04/home-theatre-pc-continued/</link>
      <pubDate>Wed, 04 Aug 2010 00:00:01 +0000</pubDate>
      <author>chrisjrob@gmail.com (Chris Roberts)</author>
      <guid>https://chrisjrob.com/2010/08/04/home-theatre-pc-continued</guid>
      <description>
       <![CDATA[
         
         <p>Oh dear, it seems I failed to update my blog after the last work I did on my HTPC.  Well the good news is that the programme guide is now working, it was a bit of a pain, in that you have to use the command line to create a channel listing that is then read my the guide updating process.  But given that you only have to do this when your channel line-up changes, this isn’t a big deal.</p>

<!--more-->

<p>I have updated my notes on the following page:</p>

<ul>
  <li><a href="/2010/08/04/hauppauge-hvr2200/">Hauppauge HVR-2200</a></li>
</ul>


       ]]>
      </description>
    </item>
    
    <item>
      <title>KDE Wallpaper</title>
      <link>https://chrisjrob.com/2010/06/26/kde-wallpaper/</link>
      <pubDate>Sat, 26 Jun 2010 00:00:00 +0000</pubDate>
      <author>chrisjrob@gmail.com (Chris Roberts)</author>
      <guid>https://chrisjrob.com/2010/06/26/kde-wallpaper</guid>
      <description>
       <![CDATA[
         
         <p>In an effort to make my desktop a little more elegant, I have designed some new wallpapers for use with KDE on Debian.  They may be a little too bling for some of you, but I’m quite pleased with them.  All created using free software, in the form of The Gimp.  In the spirit of free software, I have uploaded to <a href="http://kde-look.org/usermanager/search.php?username=chrisjrob&amp;action=contents">KDE Look</a> under a Creative Commons licence.</p>

       ]]>
      </description>
    </item>
    
    <item>
      <title>Ubuntu Lucid Lynx</title>
      <link>https://chrisjrob.com/2010/06/16/ubuntu-lucid-lynx/</link>
      <pubDate>Wed, 16 Jun 2010 00:00:00 +0000</pubDate>
      <author>chrisjrob@gmail.com (Chris Roberts)</author>
      <guid>https://chrisjrob.com/2010/06/16/ubuntu-lucid-lynx</guid>
      <description>
       <![CDATA[
         
           <img src="https://chrisjrob.com/assets/ubuntu1004_350.png" align="right" alt="Featured Image">
         
         <p>As a died-in-the-wool KDE user, I’m just coming to terms with KDE4 and mostly loving it.  A few niggles remain, but in the main it is very good indeed.  But I suppose I would hesitate to recommend it to a new user.  Having seen and heard much praise for the latest Ubuntu 10.04 Lucid Lynx, which uses the Gnome desktop, I thought I’d give it a go.</p>

<!--more-->

<p>I started by downloading the ISO image from the Ubuntu website and followed my instructions to Make A Linux USB Key, basically by formatting in super-floppy format (which I find to be the most consistently successful method) and using Unetbootin to write the ISO to the USB Key.  Using a USB key is more convenient, more portable and more environmentally friendly than burning a CD/DVD.</p>

<p>I took a spare laptop, an HP NX7300, and inserted the USB Key.  I entered the BIOS settings and changed the boot order to boot first from USB.   I then booted up the laptop.</p>

<p>HP are not know for their Linux compatibility, but Ubuntu booted up with an attractive boot splash, before logging straight into the very attractively themed Gnome desktop.  The new colour scheme is purple, which is very attractive, although brown still exists in the OpenOffice splash screen to remind us of what used to be.</p>

<p>As expected, network manager failed to activate, and I knew from past experience that I would need to load the proprietary broadcom driver.  Continuing to play it dumb, I waited to see if I would get any help from Ubuntu.  After about half a minute, the restricted drivers’ manager appeared on the top panel, although there was no guidance as to why it had appeared, nor what to do with it.  I clicked on it and then clicked on the option to install the Broadcom STR driver and clicked activate.</p>

<p>After a minute or so it had loaded the Broadcom driver from the USB stick and I noticed that the wireless light had illuminated on the laptop.  Promising!  Unfortunately it then suggested I reboot to load the new driver; which obviously I can’t do, as I am running off a USB stick and would effectively start from scratch again if I rebooted.  I decided to just wait and, sure enough, after a while when I clicked on the wireless symbol on the top panel it offered my local wireless access point.  I selected it, and entered the encryption key, and I was connected.</p>

<p>At this point I had a completely usable desktop environment, including a full office suite (OpenOffice.org), a working web browser (Firefox) and everything else you could possibly wish in a modern desktop environment, all working off a USB stick.  I still find that just amazing.</p>

<p>I must admit that I am surprised by Gnome, it looks gorgeous, it feels very integrated, as if it had been designed as a whole, rather than being a collection of applications brought together.  No it’s not my much loved Debian, and no it’s not my much loved KDE, but it does feel easy to use, very uniform and just… well “right”.</p>

<p>I was particularly impressed by Rhythmbox, which had the built in music store, podcast reader, and local collection.  This does look like an application which would reassure an erstwhile iTunes user.  It’s probably not as good as amaroK, but having pushed amaroK on my mother and regretted it mightily, I think Rhythmbox is a good choice, being infinitely more user friendly.</p>

<p>I even set-up my Gmail account in Evolution, simply by clicking on the mail icon in the top panel and following the wizard to set up my Gmail account.  I played completely dumb, it provided all the necessary server information and network settings for me, and all I needed to know was my Gmail address and password.  That is incredible, anyone could set up their email if it’s that easy.</p>

<p>Having tested it, just to decide whether to recommend it to friends and family, I find myself sorely tempted to install it on my own laptop.</p>


       ]]>
      </description>
    </item>
    
    <item>
      <title>Home Theatre PC - Progress Report</title>
      <link>https://chrisjrob.com/2010/06/01/home-theatre-pc-progress-report/</link>
      <pubDate>Tue, 01 Jun 2010 00:00:00 +0000</pubDate>
      <author>chrisjrob@gmail.com (Chris Roberts)</author>
      <guid>https://chrisjrob.com/2010/06/01/home-theatre-pc-progress-report</guid>
      <description>
       <![CDATA[
         
         <p>Spent some time setting up my wife’s email on the new HTPC, using Kmail and disconnected IMAP.  Installed Google Chrome.  Added a KDE Plasmoid on the desktop for Facebook and Twitter, which hopefully my wife will like.  Other than that I have had no time to spend on the completing the MythTV installation.  More soon hopefully.</p>


       ]]>
      </description>
    </item>
    
    <item>
      <title>LTSP | Local Device Icons on KDE Desktop</title>
      <link>https://chrisjrob.com/2009/03/21/ltsp-local-device-icons-on-kde-desktop/</link>
      <pubDate>Sat, 21 Mar 2009 06:27:07 +0000</pubDate>
      <author>chrisjrob@gmail.com (Chris Roberts)</author>
      <guid>https://chrisjrob.com/2009/03/21/ltsp-local-device-icons-on-kde-desktop</guid>
      <description>
       <![CDATA[
         
         <p>Read:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>/usr/share/doc/ltspfs/examples/kde-desktop-icons
</code></pre></div></div>

<p>Add follow instructions.  You’ll need to create the directory mentioned.</p>


       ]]>
      </description>
    </item>
    
    <item>
      <title>Howto | Open Multipage TIFFs in KDE</title>
      <link>https://chrisjrob.com/2009/03/21/open-multipage-tiffs-in-kde/</link>
      <pubDate>Sat, 21 Mar 2009 06:19:53 +0000</pubDate>
      <author>chrisjrob@gmail.com (Chris Roberts)</author>
      <guid>https://chrisjrob.com/2009/03/21/open-multipage-tiffs-in-kde</guid>
      <description>
       <![CDATA[
         
         <h2 id="the-issue">The Issue</h2>

<p>Most image viewers only show the first page of a multi-page <code class="language-plaintext highlighter-rouge">TIFF</code>.  The KDE document viewers, of which there are many (KView, KFax, KDVI) will not open them, stating “This version can only handle fax files”.</p>

<!--more-->

<h2 id="the-explanation">The Explanation</h2>

<p>Wikipedia states that: -“Programmers were free to specify new tags and options, but not all implemented programs supported all created tags. As a result, TIFF soon became the lowest common denominator. Today, the majority of TIFF images and readers are still based on uncompressed 32-bit CMYK or 24-bit RGB images.”~</p>

<p>The end result is that the KDE document viewers except a CCITT Group 4 compressed monochrome document, whilst ImageMagick creates a JPEG compressed document.</p>

<h2 id="the-solution">The Solution</h2>

<p>Currently my solution is simply to convert the document as required (you will need ImageMagick on your system):</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$ convert source.tif -monochrome -compress group4 destination.tif
</code></pre></div></div>

<h2 id="further-thoughts">Further Thoughts</h2>

<p>This fix is fine for geeks, but not much use for mere mortals.  My thought is to create a script which uses ImageMagick to interrogate the TIFF file, convert it, if required, into a temporary location, and then open it in one of the KDE document viewers.  Then associate the file-type with that script.</p>

<h2 id="references">References</h2>

<ul>
  <li>http://www.imagemagick.org/Usage/formats/#tiff</li>
</ul>


       ]]>
      </description>
    </item>
    
    <item>
      <title>Howto | Install Microsoft Fonts</title>
      <link>https://chrisjrob.com/2009/03/21/install-microsoft-fonts/</link>
      <pubDate>Sat, 21 Mar 2009 06:05:43 +0000</pubDate>
      <author>chrisjrob@gmail.com (Chris Roberts)</author>
      <guid>https://chrisjrob.com/2009/03/21/install-microsoft-fonts</guid>
      <description>
       <![CDATA[
         
         <h2 id="quick-installation">Quick Installation</h2>

<p>Should be able to install simply by:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code># apt-get install msttcorefonts
# dpkg-reconfigure --force msttcorefonts
</code></pre></div></div>

<!--more-->

<h2 id="manual-installation">Manual Installation</h2>

<p>Alternatively download each font as an .exe file and extract TTF contents (Konqueror → Actions → Extract):</p>

<ul>
  <li>http://sourceforge.net/project/showfiles.php?group_id=34153&amp;release_id=105355</li>
</ul>

<p>Then in KDE Control Center take option to Add Fonts.</p>

       ]]>
      </description>
    </item>
    
    <item>
      <title>Debian Lenny - applying the new KDM theme</title>
      <link>https://chrisjrob.com/2008/12/20/debian-lenny-applying-the-kdm-theme/</link>
      <pubDate>Sat, 20 Dec 2008 00:00:00 +0000</pubDate>
      <author>chrisjrob@gmail.com (Chris Roberts)</author>
      <guid>https://chrisjrob.com/2008/12/20/debian-lenny-applying-the-kdm-theme</guid>
      <description>
       <![CDATA[
         
           <img src="https://chrisjrob.com/assets/debian_logo.png" align="right" alt="Featured Image">
         
         <p>If you install kde from a Debian base install, then it is likely that you do not have the attractive new Debian theming for the boot loader and KDM login.  The key to this is the installation of desktop-base, but you do need a few other packages, which don’t currently get treated as dependencies.</p>

<!--more-->

<h2 id="install-packages">Install packages</h2>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$ sudo aptitude install desktop-base ksplash-engine-moodin kdmtheme splashy splashy-themes
</code></pre></div></div>

<h2 id="add-splashy-to-grub">Add splashy to grub</h2>

<p>Look for the kopt line in <code class="language-plaintext highlighter-rouge">/boot/grub/menu.lst</code> and add <code class="language-plaintext highlighter-rouge">quiet splash vga=791</code>:</p>

<p>N.B.  <code class="language-plaintext highlighter-rouge">vga=791</code> is suitable for 1024x768, if your monitor resolution is below this, then you should change this number by reference to the table below.</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>/boot/grub/menu.lst:
# kopt=root=/dev/sda1 ro quiet splash vga=791
</code></pre></div></div>

<p>N.B. Do not uncomment this line, this line is not used itself, but is used by update-grub to automatically populate the actual kernel lines further down</p>

<p>Then update-grub to apply this change to your kernels:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$ sudo update-grub
</code></pre></div></div>

<h2 id="splashy-vga-settings-table">Splashy VGA settings table</h2>

<table>
  <thead>
    <tr>
      <th>colour</th>
      <th>depth</th>
      <th>640x480</th>
      <th>800x600</th>
      <th>1024x768</th>
      <th>1280x1024</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>256</td>
      <td>8bit</td>
      <td>769</td>
      <td>771</td>
      <td>773</td>
      <td>775</td>
    </tr>
    <tr>
      <td>32000</td>
      <td>15bit</td>
      <td>784</td>
      <td>787</td>
      <td>790</td>
      <td>793</td>
    </tr>
    <tr>
      <td>65000</td>
      <td>16bit</td>
      <td>785</td>
      <td>788</td>
      <td>791</td>
      <td>794</td>
    </tr>
    <tr>
      <td>16.7m</td>
      <td>24bit</td>
      <td>786</td>
      <td>789</td>
      <td>792</td>
      <td>795</td>
    </tr>
  </tbody>
</table>

<p>The 65000 colour line is the one recommended for this purpose, so you’ll probably want 785 or 788 if you have a low resolution netbook.  I don’t believe there is any point in increasing to 794, as I believe the new Debian themes have been designed for 1024x768 (I have not checked that fact).</p>

<h2 id="configure-kdm-themes">Configure KDM themes</h2>

<p>Under KDE Control Panel, System Administration, KDM Theme Manager, enter Administrator Mode and enable KDM Themes and select “More Blue Orbit”.  It will warn you that your changes will be overwritten by /etc/default/kdm.d/, but this step still seems to be required.</p>

<h2 id="remove-login-manager-background">Remove Login Manager Background</h2>

<p>Under KDE Control Panel, System Administration, Login Manager, select the Background tab and disable the background.  This background displays after your new KDM Theme and before your actual desktop, which is definitely one background too many!</p>

       ]]>
      </description>
    </item>
    
    <item>
      <title>Toshiba Satellite Pro A300 and Compiz</title>
      <link>https://chrisjrob.com/2008/12/07/toshiba-satellite-pro-a300-and-compiz/</link>
      <pubDate>Sun, 07 Dec 2008 00:00:00 +0000</pubDate>
      <author>chrisjrob@gmail.com (Chris Roberts)</author>
      <guid>https://chrisjrob.com/2008/12/07/toshiba-satellite-pro-a300-and-compiz</guid>
      <description>
       <![CDATA[
         
           <img src="https://chrisjrob.com/assets/toshiba-satellite-pro-a300.jpg" align="right" alt="Featured Image">
         
         <p>Temptation got the better of me (as usual) and I installed kde-compiz.  Unsurprisingly the very basic graphic card, on this business-focused laptop, gave a pretty poor compiz performance.  If you’re after 3D acceleration for gaming and desktop effects, then you’re probably looking for a different laptop!</p>

<!--more-->

<p>For me, it’s just about perfect.</p>

       ]]>
      </description>
    </item>
    
    <item>
      <title>GTK Style in KDE</title>
      <link>https://chrisjrob.com/2008/11/20/gtk-style-in-kde/</link>
      <pubDate>Thu, 20 Nov 2008 00:00:00 +0000</pubDate>
      <author>chrisjrob@gmail.com (Chris Roberts)</author>
      <guid>https://chrisjrob.com/2008/11/20/gtk-style-in-kde</guid>
      <description>
       <![CDATA[
         
         <p>GTK applications in KDE always look horrible.  In Kubuntu this is taken care of for you, but in Debian it is only a quick install away:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$ sudo aptitude install gtk-qt-engine
</code></pre></div></div>

<!--more-->

<p>There are other ways of achieving this, e.g. qtcurve, but for me this seems perfectly satisfactory.  Having installed, you visit your control panel and you will find a new option under “Appearance &amp; Themes” called “GTK Styles and Fonts” change this to use your KDE style for your GTK applications, and restart KDE.</p>

       ]]>
      </description>
    </item>
    
    <item>
      <title>Kubuntu to Debian Sid</title>
      <link>https://chrisjrob.com/2008/08/20/kubuntu-to-debian-sid/</link>
      <pubDate>Wed, 20 Aug 2008 00:00:00 +0000</pubDate>
      <author>chrisjrob@gmail.com (Chris Roberts)</author>
      <guid>https://chrisjrob.com/2008/08/20/kubuntu-to-debian-sid</guid>
      <description>
       <![CDATA[
         
           <img src="https://chrisjrob.com/assets/debian_logo.png" align="right" alt="Featured Image">
         
         <p>It’s been bothering me for some time that I am using Kubuntu instead of Debian on my work desktop PC.  Yesterday I had a drive failure necessitating a reinstall; what better excuse could there be?  Having decided to change to Debian, I decided to install Sid, and then I decided that, as KDE 4.1 is now out, why not go the whole hog.</p>

<p>The experience was pretty positive, really the only problem was that I needed to tweak the <code class="language-plaintext highlighter-rouge">xorg.conf</code> in order to get my keyboard and mouse working, other than that it was a pretty straightforward install.</p>

<!--more-->

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Section "ServerLayout"
    Identifier   "Default Layout"
    Screen       "Default Screen"
    Inputdevice  "Generic Keyboard"
    Inputdevice  "Configured Mouse"
EndSection
</code></pre></div></div>

<p>Installing VirtualBox was not such fun, but the following link sorted me out:</p>

<ul>
  <li><a href="http://chirale.wordpress.com/2007/12/23/virtualbox-ose-debian-install-howto/">Virtualbox OSE Debian Install</a></li>
</ul>

<p>So far I have installed Iceweasel3, OpenOffice3, NoMachine NX Client and VirtualBox, and it’s running really nicely.  I have activated the KDE4 compositing effects, which seem very slow, so hopefully some room for improvement there in subsequent releases.</p>

<p>So would I recommend Debian Sid KDE4.1 over Kubuntu?  Well I think that’s an unfair comparison, as I’ve installed a bleeding edge solution, but all-in-all it really wasn’t a scary installation at all.</p>

<p>Well done to the Debian team.</p>

       ]]>
      </description>
    </item>
    
    <item>
      <title>Using Amarok as your Podcasting Client</title>
      <link>https://chrisjrob.com/2008/06/30/using-amarok-as-your-podcasting-client/</link>
      <pubDate>Mon, 30 Jun 2008 00:00:00 +0000</pubDate>
      <author>chrisjrob@gmail.com (Chris Roberts)</author>
      <guid>https://chrisjrob.com/2008/06/30/using-amarok-as-your-podcasting-client</guid>
      <description>
       <![CDATA[
         
         <p>Until I stumbled across <a href="http://www.newlinuxuser.com/howto-use-amarok-to-listen-to-podcasts/">this page</a> I was using <a href="http://www.kesiev.com/kittyguide/home/">Kitty</a> to download Podcasts and <a href="http://amarok.kde.org/">Amarok</a> to manage them thereafter.  Unfortunately I could not get on with Kitty and it is no longer being developed.  In any case, you really only want one application.</p>

<p>So I went hunting for an alternative to Amarok that would handle Podcasts, only to discover that Amarok itself supports Podcasts.  Basically all you need to do is under Playlists → Podcasts right-click and Add Podcast, but <a href="http://www.newlinuxuser.com/howto-use-amarok-to-listen-to-podcasts/">this link</a> explains in more detail.</p>

<!--more-->

<p>In every other respect Amarok was perfect, so I could not be more delighted.  Well done <a href="http://amarok.kde.org/">Amarok</a>!</p>


       ]]>
      </description>
    </item>
    
    <item>
      <title>MD5 Checker</title>
      <link>https://chrisjrob.com/2008/06/23/md5-checker/</link>
      <pubDate>Mon, 23 Jun 2008 00:00:00 +0000</pubDate>
      <author>chrisjrob@gmail.com (Chris Roberts)</author>
      <guid>https://chrisjrob.com/2008/06/23/md5-checker</guid>
      <description>
       <![CDATA[
         
         <p>Linux includes “md5sum” utility for checking MD5 values of downloaded applications.  I find it a nuisance having to drop into a command shell and execute…</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$ md5sum download.iso
</code></pre></div></div>

<p>And then manually compare with the author’s.  I have therefore written a simple KDE ServiceMenu to add MD5 checking.</p>

<!--more-->

<p>Simply <a href="https://github.com/chrisjrob/chrisjrob.github.io/blob/master/downloads/md5chk.tar.gz">download</a> and extract to <code class="language-plaintext highlighter-rouge">/home/*USERNAME*/.kde/share/apps/konqueror/servicemenus</code>.</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>8a2965e228219d61c296029f0abe2eed  md5chk.tar.gz
</code></pre></div></div>


       ]]>
      </description>
    </item>
    
    <item>
      <title>Mobile Phones</title>
      <link>https://chrisjrob.com/2008/06/21/mobile-phones/</link>
      <pubDate>Sat, 21 Jun 2008 00:00:00 +0000</pubDate>
      <author>chrisjrob@gmail.com (Chris Roberts)</author>
      <guid>https://chrisjrob.com/2008/06/21/mobile-phones</guid>
      <description>
       <![CDATA[
         
         <p>Our MD has once again brought up the thorny subject of which mobile phone to buy, in order to be certain of being able to synchronise with KDE Kontact.  Oh, if only life under Linux was that simple.  I believe the best solution is to replace our mail server with an Cyrus IMAP server and implement <a href="http://www.funambol.com/solutions/devices.php">Funambol</a>, and aim to synchronise the mobile phones with that.  To that end I referred him to <a href="http://www.funambol.com/solutions/devices.php">this page</a>.</p>

<!--more-->

<p>His preferred solution would be an Apple iPhone or possibly a Blackberry, both of which would appear to be supported under Funambol.</p>


       ]]>
      </description>
    </item>
    
  </channel> 
</rss>
