Avoiding Vendor Lock-in By Using KDE Plasma As Personal Knowledge Base

Wait 5 sec.

There is no shortage of personal knowledge management (PKM) applications available today if you use Markdown notes.Be it Obsidian or Logseq or Tolaria, there is a pain point associated with almost all of them. They add a layer on top of the plain markdown files. From Wikilinks to custom properties, there is always something that makes the interprotability an issue. It almost feels like a vendor like in despite Markdown being an open standard.Recently, I started experimenting with a different idea. Instead of relying on a specialized application, I tried using the KDE Plasma desktop itself as the foundation for this workflow.Let me share how we can use Dolphin, along with a few KDE tools, to build a simple Markdown-based knowledge management system. It is still an experiment, and it certainly has limitations (that I will discuss later), but it has been an interesting workflow to explore.🚧This is a highly experimental topic, and you are essentially taking the entire burden of note taking, organizing and interlinking.Create Some TemplatesThe first step is to create a few Markdown templates that make taking notes faster.Inside your ~/Templates directory, create two files:Markdown.mdQuickNotes.md 0:00 /0:13 1× Create an empty templates file Once these files are in the Templates folder, they become available from Dolphin's right-click context menu, allowing you to create new notes instantly.Open QuickNotes.md in your preferred Markdown editor and add a simple structure such as:## Core Concept---## Key Characteristics---## Examples---## Related Reading---This is the template I use for quick notes, but you can customize it as per your need.From now on, you can create a structured Markdown note anywhere in your file manager with just a few clicks.Create a Folder for Your NotesNext, create a folder that will hold your entire note collection.I created mine as ~/Documents/MarkdownSource, but you can choose any location you prefer.🚧Avoid spaces in file names. Spaces in files names can be a pain in Linux, speically when dealing with scripts in the command line.Inside this folder, create sub-folders to organize notes. I also recommend creating two additional folders:Inbox, for notes that you haven't organized into a dedicated folder, yet.Attachments, for images and other files that your notes may reference.Keeping attachments inside the root of your notes directory makes them much easier to manage later.Avoiding Vendor Lock-in By Using KDE Plasma As Personal Knowledge BaseInstall a Markdown EditorSince this workflow revolves around plain Markdown files, you'll need a Markdown editor.I intentionally avoid recommending dedicated PKM applications such as Obsidian or Logseq here, because using one of those would defeat the purpose of this workflow.I've tried the Ghostwriter Markdown editor from KDE, and it has worked very well for this experiment. Apostrophe is a similar editor, if you prefer a GNOME style application.On Arch Linux, you can install it using:sudo pacman -S ghostwriterFor other distros, use your package management commands.Configure Dolphin to Open Markdown FilesNow make Ghostwriter the default application for Markdown files.Open System Settings and navigate to Default Applications → File Associations.Find the Markdown file type and move Ghostwriter to the top of the application list.Ghostwriter for MarkdownThis can also be done by right-click on a Markdown file, go top Properties. Here, select the open with option and change the application preference order in a similar interface as above.From now on, double-clicking any Markdown file in Dolphin will open it directly in Ghostwriter.Use Dolphin Tags for OrganizationTagging is one of the most useful features in any PKM system. Without it, finding notes later becomes much more difficult.Fortunately, Dolphin already includes a simple tagging system.Open Dolphin and enable the information panel by selecting Menu → Show Panels → Information.A sidebar will appear showing details about the selected file or folder.Here you'll find a Tags field where you can assign one or more tags to each note.Using Tags in DolphinOnce you've tagged your files, Dolphin's search function can quickly locate notes that share the same tag.Using Tags in Dolphin📋Dolphin's tagging and file search features depend on the Baloo file indexing service. Make sure Baloo is installed and running before relying on tags for searching.Interlinking NotesWe've now covered most of the essential parts of this workflow. The only major feature left is linking notes together.This is one area where a file manager-based workflow is less convenient than a dedicated PKM application.Since Dolphin doesn't understand wiki links or automatically manage relationships between notes, you'll need to create standard Markdown links yourself.One improvement I would recommend is storing all your notes and attachments inside a single dedicated notes directory. Instead of using absolute file paths, create links using relative paths whenever possible.Relative links are much easier to manage because the entire notes directory can be moved to another location without breaking the internal links, as long as the folder structure remains unchanged.To make this easier, I created a small Bash function that generates the relative path between two files.relpath() { local from_dir from_dir=$(dirname "$(realpath "$1")") realpath --relative-to="$from_dir" "$2"}I added this function to my .bashrc. I originally wrote this function for a terminal-based PKM workflow, but it fits this KDE-based workflow just as well.Now, whenever I need to create a link from one note to another, I simply run:relpath current_file distant_fileThe command prints the relative path, which I can directly use in the Markdown link. 0:00 /0:21 1× Get relative path in terminal A normal Markdown link looks like this:[Link text](Link address)It's a manual process, but once the link is created, you can easily navigate between your notes from within your Markdown editor.And this way, you have a folder containing subfolders of markdown files. The interlinking is the hardest and boring part but once that is done, your knowledge base can be used on any OS, with any Markdown editor.It Is Not Perfect (Obviously)And that's not a surprise. You are not using a specialist tool so there are a few limitations worth knowing.Strict Data Organization Is NeededWith this approach, your desktop environment effectively becomes your knowledge management system.That also means you are entirely responsible for keeping your notes organized.If you don't maintain a clear folder structure, your note collection can quickly become difficult to manage.For example, a note may contain links to attachments stored in completely different folders. Without a consistent organization strategy, finding those files later can become frustrating.Similarly, if you are linking notes to a PDF file, keep those files organized in a folder and don't mess up with its location. Else, interlinking won't work.Distro and Desktop Environment ChangesThis workflow is tied to KDE Plasma's tagging feature. Moving away from KDE Plasma would likely mean abandoning parts of this workflow altogether.Link FragilityYou probably have already realized that this is the weakest link in the entire workflow.The Markdown links point directly to file paths. If you rename or move a file or folder later, every note pointing to that location will break.Unlike dedicated PKM applications, Dolphin doesn't automatically update links when files are moved. Any reorganization requires manually updating the affected links yourself and that would be a serious pain.Wrapping UpI know this approach is far from perfect. Compared to dedicated PKM applications, it places much more responsibility on you to organize your notes, attachments, and folder structure properly.Personally, I think that's not necessarily a bad thing.When you organize your notes yourself, you naturally become more familiar with your knowledge base. You're more likely to revisit, reorganize, and improve your notes over time instead of treating them as something you write once and never look at again.At the same time, this workflow won't suit everyone.If you depend on advanced features such as automatic backlinks, graph views, embedded queries, or seamless note linking, a dedicated PKM application will provide a much better experience.On the other hand, if your priority is to keep everything as plain Markdown files while using lightweight tools that are already available on your desktop, this approach is certainly worth trying. In my opinion, this workflow also works well for people following the Zettelkasten method.I'm still experimenting with this workflow myself, and I'll probably continue refining it as I use it more.What do you think about this idea? Would you consider using your file manager as a personal knowledge management system, or would you rather stick with a dedicated application? Let me know your thoughts in the comments.