Where are the contents of the clipboard stored?
up vote
6
down vote
favorite
Since they are "saved to clipboard", the contents must be stored somewhere.
Are they stored in a file?
clipboard
add a comment |
up vote
6
down vote
favorite
Since they are "saved to clipboard", the contents must be stored somewhere.
Are they stored in a file?
clipboard
As far as i know, there isn't a file per se. X server stores contents internally. There's some apps that can copy stdin of terminal into clipboard ( its actually called selection in X server). I'm gonna download the sorce code, I'll let you know what i can find
– Sergiy Kolodyazhnyy
Feb 3 '16 at 22:02
1
See standards.freedesktop.org/clipboards-spec/clipboards-latest.txt and wiki.archlinux.org/index.php/clipboard
– Panther
Feb 3 '16 at 22:24
add a comment |
up vote
6
down vote
favorite
up vote
6
down vote
favorite
Since they are "saved to clipboard", the contents must be stored somewhere.
Are they stored in a file?
clipboard
Since they are "saved to clipboard", the contents must be stored somewhere.
Are they stored in a file?
clipboard
clipboard
asked Feb 3 '16 at 21:30
TellMeWhy
7,7311765114
7,7311765114
As far as i know, there isn't a file per se. X server stores contents internally. There's some apps that can copy stdin of terminal into clipboard ( its actually called selection in X server). I'm gonna download the sorce code, I'll let you know what i can find
– Sergiy Kolodyazhnyy
Feb 3 '16 at 22:02
1
See standards.freedesktop.org/clipboards-spec/clipboards-latest.txt and wiki.archlinux.org/index.php/clipboard
– Panther
Feb 3 '16 at 22:24
add a comment |
As far as i know, there isn't a file per se. X server stores contents internally. There's some apps that can copy stdin of terminal into clipboard ( its actually called selection in X server). I'm gonna download the sorce code, I'll let you know what i can find
– Sergiy Kolodyazhnyy
Feb 3 '16 at 22:02
1
See standards.freedesktop.org/clipboards-spec/clipboards-latest.txt and wiki.archlinux.org/index.php/clipboard
– Panther
Feb 3 '16 at 22:24
As far as i know, there isn't a file per se. X server stores contents internally. There's some apps that can copy stdin of terminal into clipboard ( its actually called selection in X server). I'm gonna download the sorce code, I'll let you know what i can find
– Sergiy Kolodyazhnyy
Feb 3 '16 at 22:02
As far as i know, there isn't a file per se. X server stores contents internally. There's some apps that can copy stdin of terminal into clipboard ( its actually called selection in X server). I'm gonna download the sorce code, I'll let you know what i can find
– Sergiy Kolodyazhnyy
Feb 3 '16 at 22:02
1
1
See standards.freedesktop.org/clipboards-spec/clipboards-latest.txt and wiki.archlinux.org/index.php/clipboard
– Panther
Feb 3 '16 at 22:24
See standards.freedesktop.org/clipboards-spec/clipboards-latest.txt and wiki.archlinux.org/index.php/clipboard
– Panther
Feb 3 '16 at 22:24
add a comment |
2 Answers
2
active
oldest
votes
up vote
8
down vote
accepted
You seem to be lacking an understanding of clipboards in Linux. There are 3 usually available to users.
These clipboards are called "Selections"
There is:
- PRIMARY - This is normally used for middle mouse button = copy/paste
- SECONDARY - Normally not used by much, but it exists. Usually as an in app specific copy and paste.
- CLIPBOARD - Usually Ctrl+c and Ctrl+v style copy and paste.
All of them are stored, by default in memory of the controlling application (usually Xorg, but not always). And every child application has access to it.
Clipboard monitors and managers exist that can monitor the clipboards and store their contents in a file, or more commonly, let you review your clipboard history.
add a comment |
up vote
4
down vote
What clipboard? There are some apps/tools that can be used to store clipboard contents to a file on disk, but the core clipboard feature in X11 simply keeps what is in the clipboard, in memory. It is not stored in a file on disk.
Any idea what the address is?
– TellMeWhy
Feb 3 '16 at 21:55
Not sure it is so "simple' ;)
– Panther
Feb 3 '16 at 22:24
@bodhi.zazen Yes, it is that simple. :)
– dobey
Feb 4 '16 at 1:19
@DevRobot what will you do with the address?
– muru
Feb 4 '16 at 1:19
1
You can't access that address and it always changes. Accessing the clipboard by memory address isn't going to work. Not legitimately anyway. See github.com/ThomasHabets/clipsniff
– coteyr
Feb 4 '16 at 15:07
|
show 2 more comments
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
8
down vote
accepted
You seem to be lacking an understanding of clipboards in Linux. There are 3 usually available to users.
These clipboards are called "Selections"
There is:
- PRIMARY - This is normally used for middle mouse button = copy/paste
- SECONDARY - Normally not used by much, but it exists. Usually as an in app specific copy and paste.
- CLIPBOARD - Usually Ctrl+c and Ctrl+v style copy and paste.
All of them are stored, by default in memory of the controlling application (usually Xorg, but not always). And every child application has access to it.
Clipboard monitors and managers exist that can monitor the clipboards and store their contents in a file, or more commonly, let you review your clipboard history.
add a comment |
up vote
8
down vote
accepted
You seem to be lacking an understanding of clipboards in Linux. There are 3 usually available to users.
These clipboards are called "Selections"
There is:
- PRIMARY - This is normally used for middle mouse button = copy/paste
- SECONDARY - Normally not used by much, but it exists. Usually as an in app specific copy and paste.
- CLIPBOARD - Usually Ctrl+c and Ctrl+v style copy and paste.
All of them are stored, by default in memory of the controlling application (usually Xorg, but not always). And every child application has access to it.
Clipboard monitors and managers exist that can monitor the clipboards and store their contents in a file, or more commonly, let you review your clipboard history.
add a comment |
up vote
8
down vote
accepted
up vote
8
down vote
accepted
You seem to be lacking an understanding of clipboards in Linux. There are 3 usually available to users.
These clipboards are called "Selections"
There is:
- PRIMARY - This is normally used for middle mouse button = copy/paste
- SECONDARY - Normally not used by much, but it exists. Usually as an in app specific copy and paste.
- CLIPBOARD - Usually Ctrl+c and Ctrl+v style copy and paste.
All of them are stored, by default in memory of the controlling application (usually Xorg, but not always). And every child application has access to it.
Clipboard monitors and managers exist that can monitor the clipboards and store their contents in a file, or more commonly, let you review your clipboard history.
You seem to be lacking an understanding of clipboards in Linux. There are 3 usually available to users.
These clipboards are called "Selections"
There is:
- PRIMARY - This is normally used for middle mouse button = copy/paste
- SECONDARY - Normally not used by much, but it exists. Usually as an in app specific copy and paste.
- CLIPBOARD - Usually Ctrl+c and Ctrl+v style copy and paste.
All of them are stored, by default in memory of the controlling application (usually Xorg, but not always). And every child application has access to it.
Clipboard monitors and managers exist that can monitor the clipboards and store their contents in a file, or more commonly, let you review your clipboard history.
edited Dec 4 at 1:32
Kevin Bowen
14.2k145969
14.2k145969
answered Feb 3 '16 at 22:22
coteyr
12.1k52449
12.1k52449
add a comment |
add a comment |
up vote
4
down vote
What clipboard? There are some apps/tools that can be used to store clipboard contents to a file on disk, but the core clipboard feature in X11 simply keeps what is in the clipboard, in memory. It is not stored in a file on disk.
Any idea what the address is?
– TellMeWhy
Feb 3 '16 at 21:55
Not sure it is so "simple' ;)
– Panther
Feb 3 '16 at 22:24
@bodhi.zazen Yes, it is that simple. :)
– dobey
Feb 4 '16 at 1:19
@DevRobot what will you do with the address?
– muru
Feb 4 '16 at 1:19
1
You can't access that address and it always changes. Accessing the clipboard by memory address isn't going to work. Not legitimately anyway. See github.com/ThomasHabets/clipsniff
– coteyr
Feb 4 '16 at 15:07
|
show 2 more comments
up vote
4
down vote
What clipboard? There are some apps/tools that can be used to store clipboard contents to a file on disk, but the core clipboard feature in X11 simply keeps what is in the clipboard, in memory. It is not stored in a file on disk.
Any idea what the address is?
– TellMeWhy
Feb 3 '16 at 21:55
Not sure it is so "simple' ;)
– Panther
Feb 3 '16 at 22:24
@bodhi.zazen Yes, it is that simple. :)
– dobey
Feb 4 '16 at 1:19
@DevRobot what will you do with the address?
– muru
Feb 4 '16 at 1:19
1
You can't access that address and it always changes. Accessing the clipboard by memory address isn't going to work. Not legitimately anyway. See github.com/ThomasHabets/clipsniff
– coteyr
Feb 4 '16 at 15:07
|
show 2 more comments
up vote
4
down vote
up vote
4
down vote
What clipboard? There are some apps/tools that can be used to store clipboard contents to a file on disk, but the core clipboard feature in X11 simply keeps what is in the clipboard, in memory. It is not stored in a file on disk.
What clipboard? There are some apps/tools that can be used to store clipboard contents to a file on disk, but the core clipboard feature in X11 simply keeps what is in the clipboard, in memory. It is not stored in a file on disk.
answered Feb 3 '16 at 21:51
dobey
32.4k33585
32.4k33585
Any idea what the address is?
– TellMeWhy
Feb 3 '16 at 21:55
Not sure it is so "simple' ;)
– Panther
Feb 3 '16 at 22:24
@bodhi.zazen Yes, it is that simple. :)
– dobey
Feb 4 '16 at 1:19
@DevRobot what will you do with the address?
– muru
Feb 4 '16 at 1:19
1
You can't access that address and it always changes. Accessing the clipboard by memory address isn't going to work. Not legitimately anyway. See github.com/ThomasHabets/clipsniff
– coteyr
Feb 4 '16 at 15:07
|
show 2 more comments
Any idea what the address is?
– TellMeWhy
Feb 3 '16 at 21:55
Not sure it is so "simple' ;)
– Panther
Feb 3 '16 at 22:24
@bodhi.zazen Yes, it is that simple. :)
– dobey
Feb 4 '16 at 1:19
@DevRobot what will you do with the address?
– muru
Feb 4 '16 at 1:19
1
You can't access that address and it always changes. Accessing the clipboard by memory address isn't going to work. Not legitimately anyway. See github.com/ThomasHabets/clipsniff
– coteyr
Feb 4 '16 at 15:07
Any idea what the address is?
– TellMeWhy
Feb 3 '16 at 21:55
Any idea what the address is?
– TellMeWhy
Feb 3 '16 at 21:55
Not sure it is so "simple' ;)
– Panther
Feb 3 '16 at 22:24
Not sure it is so "simple' ;)
– Panther
Feb 3 '16 at 22:24
@bodhi.zazen Yes, it is that simple. :)
– dobey
Feb 4 '16 at 1:19
@bodhi.zazen Yes, it is that simple. :)
– dobey
Feb 4 '16 at 1:19
@DevRobot what will you do with the address?
– muru
Feb 4 '16 at 1:19
@DevRobot what will you do with the address?
– muru
Feb 4 '16 at 1:19
1
1
You can't access that address and it always changes. Accessing the clipboard by memory address isn't going to work. Not legitimately anyway. See github.com/ThomasHabets/clipsniff
– coteyr
Feb 4 '16 at 15:07
You can't access that address and it always changes. Accessing the clipboard by memory address isn't going to work. Not legitimately anyway. See github.com/ThomasHabets/clipsniff
– coteyr
Feb 4 '16 at 15:07
|
show 2 more comments
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f729360%2fwhere-are-the-contents-of-the-clipboard-stored%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
As far as i know, there isn't a file per se. X server stores contents internally. There's some apps that can copy stdin of terminal into clipboard ( its actually called selection in X server). I'm gonna download the sorce code, I'll let you know what i can find
– Sergiy Kolodyazhnyy
Feb 3 '16 at 22:02
1
See standards.freedesktop.org/clipboards-spec/clipboards-latest.txt and wiki.archlinux.org/index.php/clipboard
– Panther
Feb 3 '16 at 22:24