therockmandolinist Posted February 18, 2017 Share Posted February 18, 2017 Hi, I was wondering if there's a way to get Alfred to either a) ignore clipboard items from the pass password manager or b ) respect that they should be temporary. Thanks! Link to comment
deanishe Posted February 18, 2017 Share Posted February 18, 2017 Alfred Preferences > Features > Clipboard > Advanced There's a list of applications to ignore. Link to comment
therockmandolinist Posted February 18, 2017 Author Share Posted February 18, 2017 Well, pass is a command line utility, so I'm not sure that works in this case? Link to comment
therockmandolinist Posted February 19, 2017 Author Share Posted February 19, 2017 In any case, even a feature to toggle Alfred clipboard saving would be handy, though I'm not aware of one. Link to comment
Vero Posted February 20, 2017 Share Posted February 20, 2017 @therockmandolinist Taking a quick look at Pass, if the app itself can't be added, you may need to add Terminal to Alfred's ignore list if you'd like the app to be ignored altogether. The best way for this to be handled, however, is that if Pass copies items directly to the clipboard, these should be marked as transient by Pass, so that Alfred and any other clipboard managers know to ignore them. Cheers, Vero Link to comment
deanishe Posted February 20, 2017 Share Posted February 20, 2017 It's also fairly straightforward to put the text on the clipboard yourself. Link to comment
therockmandolinist Posted February 20, 2017 Author Share Posted February 20, 2017 @Vero adding the terminal application (iTerm in this case) doesn't quite work, since pass uses pbcopy internally (though I'm afraid i don't have a great understanding beyond that, here's the source code). Is there a more specific definition to "marked as transient"? I think it just waits 45 seconds and then deletes from the clipboard, which evidently doesn't delete it from the Alfred clipboard. @deanishe i'm not sure I understand what you mean by this. Link to comment
deanishe Posted February 20, 2017 Share Posted February 20, 2017 I mean it's pretty simple to write a program that puts text on the clipboard and marks it as transient. Link to comment
Andrew Posted February 21, 2017 Share Posted February 21, 2017 @therockmandolinist Here is the site describing transients: http://nspasteboard.org Alfred ignores the clipboard if one of the data representations in the clipboard is of type "org.nspasteboard.TransientType". Cheers, Andrew Link to comment
nilsdog Posted July 4, 2020 Share Posted July 4, 2020 @deanishe I'm using Rocket to shorthand enter emojis (typing after a colon). The rocket app is not focusable, but it evidently uses the clipboard to paste the searched emojis. Is there a way to mark Rocket's activity as transient? Link to comment
deanishe Posted July 4, 2020 Share Posted July 4, 2020 3 hours ago, nilsdog said: Is there a way to mark Rocket's activity as transient? No. You need to contact the application's developer and ask them to make the app tag the data it puts on the clipboard appropriately. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now