-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Apps
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


-
- Content .- Fans  .- Knowledge Base  . 

Create New Template Service Menu

   0.2.1  

KDE Service Menu

Score 60%
Create New Template Service Menu
zoom


Create New Template Service Menu
zoom


Link:  http://
Downloads:  889
Submitted:  Feb 18 2007
Updated:  Mar 5 2007

Description:

A context menu item for KDE and Konqueror that automates adding Create New... menu entries from existing files. It adds a "Create Template" item to the Actions submenu of the context menu. It consists of a service menu .desktop file and a shell script.

KDE Create New Template Service Menu

This service menu removes the hassle of hand-coding Create New... menu entries. It is accessed by right-clicking regular file icons on the desktop or in Konqueror, pointing to Actions, and selecting Create Template.

It consists of a service menu .desktop file and a Bash shell script. The Create Template service menu runs a shell script that brings up two dialogs--one for choosing an icon to associate with the Create New... menu entry, and the other for entering the menu item text itself. It uses this information to write a Create New... menu item .desktop file. The shell script bases the name of the .desktop file on the name of the document file clicked on from the desktop and places a copy of the file in the .sources subdirectory of ~/.kde/share/templates.

The service menu should be placed in ~/.kde/share/apps/konqueror/servicemenus and the shell script in ~/bin.

I suggest that users first install the Simple Service Menu Installer available from http://www.kde-apps.org/content/download.php?content=23760&id=1. That service menu provides the same service for installable service menus that mine does for document templates and will greatly simplify the process of installing this service menu. After downloading that service menu just right-click on it, point to Actions, point to Install Service, and click one of the options available on the submenu. Then to install my service menu, just follow the same proceedure and place the shell script in your personal ~/bin directory.

From that point on you will have a nice, simple method of adding both installable service menus and templates to the KDE context menu.

This project is released under the terms of the GNU GPL v.2.0.

Enjoy!

If you have any suggestions or improvements, please send them to my sourceforge address. Thanks.

Scott Bicknell
sbicknel@users.sourceforge.net




Changelog:

Version 0.2.1:

1. Changed menu icons to more appropriate ones.

Version 0.2:
This version of mktemplate offers two improvements:

1. Templates can be created either in your user account or system-wide
2. File names with spaces are handled gracefully




LicenseGPL
(mktemplate 0.2.1)
Send to a friend
Subscribe
Other  Apps  from penguiniator
Report inappropriate content



-
.

 Love it!

 
 by BorgQueen on: Feb 19 2007
 
Score 50%

This is great. Thank you very much.
I do have a suggestion. Create some base templates to include with it. I'll try to create some for multimedia, scribus, OOo, and a few more over the next few weeks. If you'd like to help or want something specific (or anyone would just like to help to create a library of templates), you can find me at #arklinux, on freenode.net.

Thanks again!


Reply to this

-
.

 Auto Add Ext

 
 by BorgQueen on: Feb 19 2007
 
Score 50%

Another suggestion I thought of is have it auto add the ext. For example .png for png files. Enter the name of the template and go.


Reply to this

-

 Add Action Service M

 
 by penguiniator on: Jun 18 2007
 
Score 50%

http://www.kde-look.org/content/show.php?content=11435

This is the service menu installer I meant to refer to above.


73, AC7ZZ
Reply to this

-

 Creating the same by hand

 
 by uldics on: Jan 14 2009
 
Score 50%

I was trying to do this by hand, as it is not so frequently i would use such script. I find it useful, but, hehe, dont need it myself. So, i found lots of tutorials and descriptions of how to make specific "Actions" entries, but wanted "Create new". This page made me think a bit (at last!) and I got it to work.

1. I made a folder (it didnt exist before) - /home/myusername/.kde/share/templates
2. I saved my template files - this time with Open Office writer and calc in this folder
3. the "Create new" menu had two new entries at same moment, without any restarts, but they didnt work
4. so i renamed them to "ODF text document.odt.desktop" and "ODF spreadsheet.ods.desktop" and now it works!

I'm sure this works with anything single file project. But I'm tempted to experiment further - what about making folders for some "manyfilesinoneproject". There are some video editing (like make new DVD) or 3D editing programs, which have lots of files for each job.


Reply to this

-
.

 is this add-on still working

 
 by dwlamb on: May 15 2014
 
Score 50%

I like the concept of this add-on but wonder is it still functional? I am using Kubuntu 12.04 and followed the steps for installing the helper add-on and then your add-on. I received a message that the service had been created but when I right-clicked in Dolphin or Konqueror to try it out, no entry was found in the Actions sub-menu.
Might it show up after a system reboot?


Reply to this

Add commentBack






-
-
How do you like Plasma 5?
 The best KDE Desktop ever.
 Definitely a nice improvement.
 Not decided yet. Haven't tried it yet.
 I do not like some of the changes.
 KDE is taking the wrong way.
 I am still sticking with KDE 3.5.
 I have no opinion, but wanted to vote anyway.

resultmore
 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
Events RSS   

Participate
Groups
Forum
Add App
Public API
About KDE-Apps.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2003-2014 KDE-Apps.org Team  
All rights reserved. KDE-Apps.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.