Getting the current directory in a service menu

David Faure dfaure at trolltech.com
Mon Sep 8 09:09:42 BST 2003


On Monday 08 September 2003 00:26, Henrique Pinto wrote:
> Hi,
> 
> Is there any way to pass the name of the directory that is being visualized in 
> Konqueror to an external app in the "Exec=" line of the desktop file of a 
> service menu? I tried putting "." and "$PWD", but they always expand to the 
> home directory, instead of the current one.

Try %d
(see the "desktop entry standard" on developer.kde.org or in kdelibs/kio)

-- 
David FAURE, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<




More information about the kfm-devel mailing list