PDA

View Full Version : [ubuntu] How can I disable copy/paste?



tl3462
January 19th, 2009, 02:07 PM
I'm looking for ways to disable copy/paste functionality for a user when using an Ubuntu desktop environment (any).

This doesn't have to be a total lock-down as it would just be aimed at preventing an inexperienced unprivileged user from using copy/paste, therefore any ideas as to how to make it difficult to copy/paste as opposed to impossible would also be of interest.

My thoughts so far on how this might be achieved (I've no idea if these are possible)...

- Limit copy/paste buffer size
- Intercept 'copy'/'paste' action or key press
- Remove copy/paste from menus and keyboard mappings
- Create clipboard monitor to wipe clipboard when not empty

The version of Ubuntu I'm currently using is 8.10 but if you have any ideas how this can be done with other versions of Ubuntu or even other distros that would be of interest.

Any ideas / thoughts are very welcome!

Tom

PS. If there are other forums you know of where this message might be more appropriate let me know!

adamlau
January 19th, 2009, 02:13 PM
And what of cp and mv? You would need to set appropriate permissions on them as well.

sstusick
January 20th, 2009, 05:24 AM
Why would you want to disable the clipboard?