Cannot block Zeitgeist application usage but clipboard

Bug #1312704 reported by BlackDex
40
This bug affects 8 people
Affects Status Importance Assigned to Milestone
Diodon
Medium
Unassigned

Bug Description

When the recording is disabled in the tab Files and Applications of the Security and Privacy dialog also Diodon stops recording. There however is no way to disable recording of all applications but clipboard actions.

Such an option should be added to the privacy dialog to explicitly disable all recording but the clipboard. There will be a need to discuss this issue with the Zeitgeist team to implement such feature.

Workaround for now:
Disable all checkboxes in the privacy and security -> files and applications tab but leave Documents checked. Diodon will keep recording clipboard actions this way.

Revision history for this message
Oliver Sauder (sao) wrote :

Thanks for your bug report.

So primary selection is not enabled by default in version 1.1.0 anymore. See here http://esite.ch/2014/03/22/introducing-new-default-settings-for-diodon/

That was the only change about primary selection.

So I guess could you check in the Diodon preferences whether it is still activated (I guess an upgrade could have disabled it) and check whether primary support works after it?

Revision history for this message
BlackDex (blackdex) wrote :

I know, and i have changed the setting of course.
Also changed the settings via dconf-editor etc.. Didn't have any effect.

Revision history for this message
Oliver Sauder (sao) wrote :

OK. I will need some more details then to reproduce it.

So before running those commands quit Diodon.

Then run the following:
gsettings list-recursively net.launchpad.Diodon.clipboard > diodon-settings.txt
G_MESSAGES_DEBUG=all diodon > diodon-debug.txt

When diodon is started select a few items in e.g. Firefox. After that close Diodon and attach files diodon-settings.txt and diodon-debug.txt to this bug.

Thanks.

Revision history for this message
BlackDex (blackdex) wrote :

Well it looks like something else then :).
According to the debug log it does copy primary and ctrl+c, but it isn't visible in the menu.
Also the "storage.xml" is empty! Tried to remove it and restarted diodon, but it isn't recreated.

Hope this can help you. If not, let me know.

-- SETTINGS --
net.launchpad.Diodon.clipboard add-images false
net.launchpad.Diodon.clipboard keep-clipboard-content true
net.launchpad.Diodon.clipboard instant-paste false
net.launchpad.Diodon.clipboard recent-items-size uint32 100
net.launchpad.Diodon.clipboard use-clipboard true
net.launchpad.Diodon.clipboard synchronize-clipboards false
net.launchpad.Diodon.clipboard use-primary true
--

Revision history for this message
Oliver Sauder (sao) wrote :

storage.xml is not used anymore but zeitgeist database instead. See https://answers.launchpad.net/diodon/+question/247214 for details.

The debug output looks just fine to me. It indicates that you have selected a text on a python application. Which application is this exactly?

Revision history for this message
BlackDex (blackdex) wrote :

Ah... That explains it. I have zeitgeist logging disabled!
Tested it with only the "Documents" logging on, and that seems to work.

So that means that people that disable zeitgeist arn't able to use Diodon any more.

Revision history for this message
BlackDex (blackdex) wrote :

Ow, btw, that python application is Terminator.

Revision history for this message
Oliver Sauder (sao) wrote :

OK mystery solved then.... Yeah when Zeitgeist is disabled Diodon 1.1.0 won't work. But what Diodon basically does is tracking of your copy actions so disabling application usage in the privacy dialog does kind of make sense that Diodon stops recording as well.

What I would like to see though is a separate clipboard include checkbox in the privacy dialog to make it clearer that clipboard recording will be disabled as well. I am in discussion with the Zeitgeist team about this. For now as you did with the Documents include box be a workaround to keep that box and disable all others.

I will also write a blog post about this issue in the near future so it will be clear for users of Diodon what to expect.

Renaming this issue so to use it as a feature request to have an include clipboard usage box in the privacy dialog.

summary: - Primary Selection isn't working any more
+ Cannot block Zeitgeist application usage but clipboard
Oliver Sauder (sao)
description: updated
Changed in diodon:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Oliver Sauder (sao) wrote :

As an update on this issue: I have submitted a patch to zeitgeist to implement clipboard ontologies which will be a start to identically distinguish clipboard activities from others.

See here:
https://bugs.freedesktop.org/show_bug.cgi?id=82622

When this is implemented a second step will be then to apply a patch to Activity Log Manager Privacy Widget that clipboard can be included.

Revision history for this message
Thiago Martins (tcmcbot) wrote :

Too bad that this still doesn't work 2021 with Ubuntu 20.04.

I was using the other clipboard tool, called clipit but, it fails sometimes, quite annoying.

I was expecting to use Diodon but it does not work out of the box... :-(

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.