Add your own “Create New” options in KDE Dolphin

Johan Zietsman

2019-10-31

Dolphin is one of the best applications in the KDE environment. It is a great time-saver, and enough reason to use KDE as your desktop environment in my opinion. A great feature is that you can add your own “Create New” options to the context menu that appears when you right-click. The image below shows what I am talking about. In this example, I will show you how to create the highlighted Freeplane item.

The files that describe the items in your “Create New” menu are located in the $HOME/.local/share/templates directory, as shown below. There is currently no .desktop file for Freeplane, which means there is no Freeplane option in the Create New menu. We will now create a .desktop file to add an item to the menu.

Create a new text file named “FreeplaneFile.desktop” in the $HOME/.local/share/templates directory, and add the following content.

Next, place a new, empty Freeplane file in the $HOME/.local/share/templates/.source directory, and name it “freeplane.mm” as shown in line 5 of the .desktop file above. The result of this is the following:

Now you can create a new Freeplane file in a blink without losing speed. It’s as easy as that!

 

Recent Posts

Johan Zietsman

2023-04-28

The format of the week has changed from last year to make the training more accessible and to equip attendees with the necessary knowledge and skill that will allow them to do powerful thermochemical calculations with FactSage™.

COMMENTS

Dr Jaco Swanepoel 2024

Dr Jaco Swanepoel

SENIOR PROCESS ENGINEER

Jaco is a Chemical Engineer with twelve years of experience in projects that range from reactive metals handling, reactive metal powder production in molten salt slurry reactors, extractive metallurgy to microwave-assisted gas-solid materials processing.
Jaco contributed to three process patents and obtained a PhD degree in Chemical Engineering. Jaco also completed the KTP Management and Leadership Study Program at Ashorne Hill Management College, England.

Stefan van der Merwe 2024

Stefan van der Merwe

Lead Engineer Digital

Stefan’s greatest passion is to enable people. By combining his greatest passion with his love for technology, he finds joy in making computing infrastructure accessible to the non-technical, and developing software that uncomplicates tasks. As a software engineer with qualifications in electronic engineering and bioengineering, Stefan is responsible for software development, enabling the team and clients to advance through insight.