who to contact?

Kevin Krammer krammer at kde.org
Sat May 19 18:47:22 BST 2012


Hi Chris,

On Saturday, 2012-05-19, McQuilkin, Chris wrote:
> Hi,
> I am looking for Konqueror  technical help contact information.
> 
>  I am trying to add an item to the menu which appears when right clicking
> on a directory.  On menu top is "Create Folder..." which opens a popup
> menu where one can input a folder name.  I want to add a new  "Create new
> textfile" option physically  just below the "Create Folder..." option
> which brings up a similar file name entering popup and then have the file
> be created inside the selected directory.
> 
> The progress I have made so far  is adding the following lines in a
> .desktopfile located in the konqueror/servicemenus folder :
> -------------------------------------------------------------
> [Desktop Entry]
> ServiceTypes=inode/directory
> Actions=maketxtfile
> Encoding=UTF-8
> X-KDE-Priority=TopLevel
> 
> [Desktop Action maketxtfile]
> Name=Create New Text File
> Icon=folder_txt
> Exec=konsole --workdir %U  -e kwrite newtextfile.txt
> 
> This does open a .txt file in the correct, selected directory but I have no
> idea how to raise the popup window where I can input the filename.

Instead of your current Exec line you could call a script which first uses 
kdialog --getsavefilename for the filename and then runs kwrite on the resulting 
file.

Cheers,
Kevin
-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20120519/b602d117/attachment.sig>


More information about the kfm-devel mailing list