location: diodon

Institute of Mathematics - PublicMathWiki:

Revision 1 as of 2023-05-06 09:41:39

Clear message

diodon - clipboard manager

broken - no entries aymore

  • diodon uses Zeitgeist.

  • Zeitgeist uses SQLite.

  • For whatever reason, even a sqlite database might break.
  • If zeitgeist does not work, than diodon does not work.
  • Check the zeitgeist db:

    $ sqlite3 .local/share/zeitgeist/activity.sqlite 'VACUUM;'
  • If this reports something like Unable to execute SQL: - this is the problem.

  • Check zeitgeist:

    $ zeitgeist-daemon -r
    [09:25:01.337402 WARNING] sql.vala:150: It looks like your database is corrupt. It will be renamed and a new one will be created.
    [09:25:01.391462 WARNING] zeitgeist-daemon.vala:546: Can't create database: 10, disk I/O error
  • If the past user activity is not important anymore, remove the broken db

    $ pkill zeitgeist-daemon
    $ rm -r .local/share/zeitgeist/
    $ nohup zeitgeist-daemon -r &
    
    # Restart diodon
    $ pkill diodon
    $ nohup diodon &