Unifying ~/Desktop

Simon Hausmann hausmann at kde.org
Mon Jun 10 14:29:39 BST 2002


On Sun, Jun 09, 2002 at 04:49:59PM -0400, Havoc Pennington wrote:
> I propose something along these lines:
> 
>   [Desktop Entry]
>   Type=Link
>   Encoding=UTF-8
>   Name=Home
>   GenericName=Personal Files
>   URL=file:///home/whoever
>   Icon=home

How about using

URL=$HOME or file://$HOME instead?

That would allow having a real template file instead of the need to
generate the actual Home.desktop file through some script and a
Home.desktop.in (containing the translations) .

In KDE dollar expansion is already implemented. It's not enabled by
default IIRC, but the code dealing with ~/Desktop does so.


Simon




More information about the kde-core-devel mailing list