image ResEx Logo
ResExcellence www : Powered by Google
Cell Phone Themes Icons Mighty Mouse Cursors Software Reviews Widgets & Widgets


Files are in Stuffit 5 or greater format.
Free download.

Tell us about a bad link.

Thank You!


Running
without a restart.

Custom Directory Listings Under KDE

Our recent coverage on Finder Window Pictures reminded Andrew B. Arthur of a cool trick for KDE that allows you to customize the KDE File Manager listing based on an html template. Just save the file as .kde.html and place it in the directory you wish to affect.

In addition to the standard html 4.0 commands, kfm includes addition codes to allow for the grouping of file types. For example, want to group all the gif's together? Place this in your html: <files name=*.gif>

All files that are Directories: <files name=* files=Dirs>

All files that are hidden: <files name=* files=hidden>

If you have a directory of images, instead of listing them alphabetically, use filters to group them by file type:

    JPEGS: <P> <files name=*.jpg> <P> <HR>
    GIFS: <P> <files name=*.gif> <P> <HR>
    TIFFS: <P> <files name=*.tif>

These html templates can be created in any text editor, or in Netscape's Composer as I have done below. You can also use tables and images! Imagine your Graphics directory containing the URL for Gimp updates.

Below is the html code from the above window:

<html>
<head>
<title>Home Sweet Home</title>
</head>

<body text="#000000"
bgcolor="#FFCCCC" link="#000000" vlink="#333333" alink="#FF0000">
<img SRC="logo.gif" height=62 width=370>
<p>
<b><font face="Arial,Helvetica"><font size=+1>
Home Sweet Home on my LinuxPPC Powerbook</font></b>
<br>
<table BORDER=0 CELLSPACING=2 CELLPADDING=2 COLS=4 WIDTH="100%" BGCOLOR="#6665FF">
<tr>
<td>
<center><font color="#000000">
<a href="http://slashdot.org">Slashdot</a></font></center>
</td>

<td>
<center><a href="http://freshmeat.net">Freshmeat</a></center>
</td>

<td>
<center><a href="http://kde.themes.org">KDE Themes</a></center>
</td>

<td>
<center><a href="http://lists.linuxppc.org">LinucPPC Lists</a></center>
</td>
</tr>
</table>

<p><font size=+2>Directories:</font><br>
<files name=* filter=Dirs>
<br>
<hr WIDTH="100%">

<font size=+2>Files:</font><br>
<files name=* filter=Files>
</body>
</html>

And this is what it looks like when I go to my home directory.

If you want to create one template that applies to every directory, name it .kde-global.html and place it in your home directory. It can still be overridden by a .kde.html in any individual directory. To disable the html view, and see the directory in standard form, from the View menu, toggle the HTML View.

If you would like to see a beautiful example of what is possible with these templates, look at Rahul's Home Page.

Cell Phone Themes Icons Mighty Mouse Cursors Software Reviews Widgets & Widgets

Maintained by the Staff of ResExcellence. This entire site ©1997-2006 ResExcellence
Privacy Statement? Sure we gotta Privacy Statement. [an error occurred while processing this directive]