Skip to content

Can I make a beep or some notification when something is copied to my clipboard?

So I've been using a combination of programs and scripts to upload screenshots to puush. Once the screenshot is uploaded, the link is copied to my clipboard. Problem is, I just have to guess when it's finally copied to my clipboard.

Would it be possible to get there to be a noise any time I copy something to my clipboard? I'm sure it'll annoy me most of the time, but I can live with the benefits it provides me. Any pointers, etc.?

EDIT: English.

4 points8 comments
Open on Reddit
About this post
Posted
Archived
Score
4 · 100% up
Kind
Text
ID
314irs

Author

14
posts
190
comments
2
media
View profile

8 comments

How about using this here in one of those scripts you've written:

notify-send "some title" "your text" --icon=dialog-information

Try it in a terminal to see what it does and what it looks like.

2 points

It took a little bit, but I got everything working smoothly. Thank you. :)

2 points
xnaasOP5 hidden

Using i3wm, nothing. I'm gonna guess that line requires a DE?

1 points

Yes, it'll show a notification in all of the DEs. There's also standalone tools that can show those notifications but I don't know names, and that would probably be a headache just for this here.

I guess you should just use a sound file and search for how to play it with a command line program. You might have "mplayer" installed and that one would work.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.