Comments (8)
Oh wait, I just tried to close this issue and realized this isn't my repo lol. So ignore everything I just said since Tudmotu might want to do this.
from gnome-shell-extension-clipboard-indicator.
You can delete items on reboot and limit the total number of items saved and their storage. Any reason you want Cron job style deletion?
from gnome-shell-extension-clipboard-indicator.
It's all about my use case:
- i rebooting notebook only if some kernel update needs it
- i am a web developer so i use copy paste more than often :)
So deleting clipboard items after some predefined time (for example 30 minutes) will be better solution than deleting history manually after work... at least in case of some sensitive content.
from gnome-shell-extension-clipboard-indicator.
Ah, that makes sense but isn't going to happen. If people gain access to your machine, you should consider yourself fully compromised. I don't see the point in trying properly delete data and don't wish to focus on that, but if you're concerned you could delete the database file every day and try overwriting it. Though the delete on reboot option doesn't store anything on disk so that seems closer to what you're looking for.
from gnome-shell-extension-clipboard-indicator.
@WyskyNet you want it to be deleted automatically?
What if you are in the middle of work and suddenly all your clipboard items are deleted?
from gnome-shell-extension-clipboard-indicator.
How about deleting the newest item in the clipboard history if it's older than X hours? While it's not perfect (since you can work while not copying anything), I think it's a good enough proxy of detecting the user's continued absence.
Some use cases of this don't require the computer to be compromised. One example I can think of is: the user works on sensitive things using the clipboard, calls it a day (without clearing the clipboard history), starts the next work day with an online meeting, shares the screen, uses the clipboard history, and accidentally shows an old entry from the previous day.
from gnome-shell-extension-clipboard-indicator.
I would also love this feature.
It's not exactly about having all the items wiped every now and then, it's about time limiting each entry in the history. Having a time limit based on copying time or even last pasted time for each entry would be perfect for me.
To be honest, 2 hours after having copied something, I think this is preferable to be deleted.
from gnome-shell-extension-clipboard-indicator.
I like this idea. I would definitely be willing to merge a PR.
If anyone would like to work on this:
- It should be configurable in settings
- Need to find out if there's a better way to achieve other than setInterval
- Basically need to keep the timestamp on the ClipboardEntry and then iterate the clipboard every 10 seconds or something and delete expired entries
from gnome-shell-extension-clipboard-indicator.
Related Issues (20)
- Paste button pastes the contents of the clipboard in place of the selected item in the history
- [BUG] pop up notification no working. HOT 6
- Shortcuts HOT 8
- image support doesn´t work HOT 1
- Doesn't work due to clipboard entry parsing HOT 10
- Unhandled promise rejection. To suppress this warning ..
- Encoding problems HOT 4
- RCE vulnerability when copying full system paths HOT 16
- "Copied to clipboard" notification appears every time I copy anything, with no option to disable it HOT 1
- [BUG]: Unhandled promise rejection HOT 7
- "Text will be here" is displayed in the tray and nothing happens by clicking on it. HOT 26
- Lag - Delay HOT 5
- Suggestion: make it work as Win+V on windows HOT 2
- [BUG] In-menu keyboard controls do not work HOT 2
- Scroll Bar is Inaccessible To Mouse HOT 1
- shows sensitive information on next and previous entries HOT 2
- Non-Latin characters doesn't work HOT 2
- History clears on screenlock HOT 1
- Feature Request: Paste on Select in Clipboard Indicator
- Extension doesn't work any more HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gnome-shell-extension-clipboard-indicator.