A little bit about Diodon and it’s future

The first release of Diodon clipboard manager got released almost 16 years ago. The Linux desktop has changed quite a bit since and it is a positive surprise that Diodon is still being used by users today after so many years whereas the concept of Diodon hasn’t really much changed.

The motivation to start Diodon in the first place was, that the clipboard manager I used at the time was not maintained anymore and I also wanted to have a project of my own to tinker with different development technologies.

I was amazed how well Diodon was received and many popular Linux blogging sites posted about the new clipboard manager in town from very early on. Some links of those blog post are referenced in the Wikipedia Diodon page which also got created by some enthusiast.

My goal from the beginning was to build a community around Diodon but I only partially succeeded. Diodon certainly got well promoted on many different corners of the internet. I am also very thankful for the many translators who translated Diodon into their language. There were also a few commits of some contributors now and again but no-one stayed around for long. A honorable mentioned is RedHatter which developed some very useful diodon-plugins which I think are still used by some up to today.

Unfortunately in 2026 Diodon is showing its age. There is only partial Wayland support, it is based on the old GTK3 framework and relies on Zeitgeist which is not really developed anymore. Even though users have been using Diodon in many different desktop environments with the help of the application indicator, Diodon’s main focus was to integrate well into the Unity desktop back in the day, which, of course, mostly died long time ago and is now only a niche. To bring Diodon into 2026 a lot of work behind the scene would be needed.

I haven’t really had much time to show love to Diodon tough and I actually myself moved away to a different clipboard manager which only works on GNOME. As of late I also received some very low quality AI pull requests which took my attention but also made me think on how to continue with the Diodon project.

I have now decided to move Diodon into what I call “low maintenance mode”. Following points I will still try to address as long as it is feasible:

  • packaging issues, so Diodon will remain in the Debian and Ubuntu repositories
  • Updating of translations
  • Addressing of security issues

Other issues I will not have the capacity to address. In case someone wants to pick up the torch and bring Diodon forward feel free to contact me and we can discuss it.

This said I have released a new Diodon version 1.14.0 which includes following changes:

  • Updated translations
  • Allow cross building
  • Improved meson build tool compatibility
  • Improved performance when handling large clipboard items

To get the new version you can either download the new release per tarball or install it through the ppa with the following commands:

sudo apt-add-repository ppa:diodon-team/stable
sudo apt-get update
sudo apt-get install diodon
# and for all Unity users there is also a scope
sudo apt-get install unity-scope-diodon

Thanks for all faithful users of Diodon over the many years. I hope that this “low maintenance mode” helps the users who still happily use Diodon on a daily basis to continue to do so. For the ones which have issues this should clarify that those issues won’t be looked into and it is most likely better to find an alternative.

Long outstanding Diodon issues resolved

It is amazing how time flies. Since the first version of Diodon more than 10 years pasted already. Lately because of lack of time I haven’t shown Diodon too much love. I have kept using it on my machine all way long though and addressed all issues which bothered me on my setup. Those issues mainly affected packaging. I know though that there have been two very annoying bugs dating back to 2015 and 2016. Those have been fairly frustrating especially for new users. I finally got around to look into those in more detail. With this post I want to give you some background story and show you how you can install the new version 1.12.0 which hopefully fixes those long outstanding issues for you as well.

Menu pops up very rarely on hotkey press

In version 1.4.0 registering of a keybinding to open Diodon per shortcut has been moved to use the functionality available in the respective desktop environment (see previous post). This worked very well at the time for Gnome and Unity but unfortunately not always that well with other desktop environments. Through the years Unity basically disappeared and Gnome made changes which made using keybinding with Diodon unstable.

Basically the issue is that there is a race condition between Gtk and X11 events. So depending which one will be faster the clipboard history pops up or not. In the past I tried to overcome this with a sleep of the process as I assumed the X11 events are happening outside the Diodon process. This somewhat improved the situation but not always. So what I’ve now did is to use a timeout handler instead of a sleep which allows other events to be processed before the clipboard history opens. I have tested this and the hotkey press worked without any problems. I hope it will work for you as well. If you still have issues with clipboard history rarely poping up on hotkey press with version 1.12.0 or higher, let me know in below comments. Do not forget to mention what desktop environment you use.

No clipboard items shown on the very first run

I haven’t paid much attention to this issue because I thought there is an easy workaround. After the installation a simple restart of Diodon is enough and clipboard items will appear in the clipboard history from that point onward. When looking at the reviews in Gnome Software I noticed though that for new users this has been a very frustrating issue. It seemed Diodon did not work and they quickly uninstalled it.

This issue had been a complicated one to fix as well as the error was not in Diodon itself but in the library Zeitgeist which we use to store clipboard items. The issue occurred when Diodon started and the Zeitgeist database file at ~/.local/share/zeitgeist/activity.sqlite had not been initialized yet. In such a situation Zeitgeist Daemon did notify Diodon of new events but when Diodon wanted to read those new events (aka clipboard items) it would get none.

It turned out that libzeitgeist has a local database reader per default enabled. This means the Diodon process directly read from the sqlite database file. Because on the very first run the database schema had not been initialized yet by the Zeitgeist Daemon Diodon got an empty database and not notice the changes which came after it. Thankfully there is an environment variable ZEITGEIST_LOG_DIRECT_READ when set to 0 disables the local reader and the error disappears. The new Diodon version sets this now per default when started.

Diodon Version 1.12.0

To get the version with the above mentioned bug fixes applied you can either download the new release per tarball or install it through the ppa with the following commands:

sudo apt-add-repository ppa:diodon-team/stable
sudo apt-get update
sudo apt-get install diodon
# and for all Unity users there is also a scope
sudo apt-get install unity-scope-diodon

As always any feedback is very welcome. And if you feel like you would like to help maintain Diodon please contact me by leaving a comment below. Any help is very appreciated.

Diodon 1.10.0 making primary selection support usable

There is another release of Diodon out the door tagged 1.10.0. This times it comes with a fix to an old issue that when using the primary selection feature it uses a lot of CPU respectively battery. If you are a user of primary selection support check this release out and let us know what you think. To be noted though is that Diodon now fully relies on GTK+ to detect primary selection, so it might be that some selection are not detected as before. However those are hopefully edge cases and are outwayed by the decreased battery usage.

Additionally in this release we switched to Ayatana AppIndicator. This package is available in more distributions then the former used AppIndicator and therefore should make packaging easier.

To get started beside installing newest version from git you can either download new release as tarball or install it through the ppa with the following commands:

sudo apt-add-repository ppa:diodon-team/stable
sudo apt-get update
sudo apt-get install diodon
# and for all Unity users there is also a scope
sudo apt-get install unity-scope-diodon

Diodon 1.9.0, storing clipboard items in memory and more

After a longer time of silence the new Diodon release 1.9.0 has just been released. This release is a maintenance release which allows Diodon to be build in 2020 and beyond.

Besides support for Valac 0.46+ and updated translations, the build system has been changed to meson which is also commonly used in the Gnome community. This change should make the work easier for package maintainers and new contributors alike.

To get started beside installing newest version from git you can either download new release as tarball or install it through the ppa with the following commands:

sudo apt-add-repository ppa:diodon-team/stable
sudo apt-get update
sudo apt-get install diodon
# and for all Unity users there is also a scope
sudo apt-get install unity-scope-diodon

To note is that with this release Xenial is not supported anymore, but older versions of Diodon will still work of course.

Storing clipoard items in memory

This is not a new feature but a very commonly asked question which I wanted to address. Diodon uses Zeitgeist to store clipboard items. Per default Zeitgeist persists all events in a database. This means clipboard items are also persisted and available across reboots. Some concerns have been raised that copied passwords are also stored on the filesystem.

As explained in this blog post it is possible to exclude certain application copy events like the once from password managers to be added to the clipboard history. However this might not always be sufficient for you. So what you can do instead is to make Zeitgeist store all events in memory. This means once you reboot your machine the clipboard history will be empty again.

To enable this memory storage I recommend you first clear your clipboard history and then execute the following command in a terminal:

echo "ZEITGEIST_DATABASE_PATH=:memory:" >> ~/.pam_environment

After a reboot the memory storage should be activated.

Comments

Previously on esite.ch the Disqus comment system had been used. As the plugin constantly broke the theme and Disqus started adding ads I have decided to switch back to the common WordPress comment system. Unfortunately Disqus only allowed to import comments from the last year so this means there won’t be any older comment visible anymore. However I want to encourage you to continue writing comments as your feedback is very valuable.