Clear Clipboard

The place to post if you need help or advice

Moderators: ChrisThornett, LXF moderators

Clear Clipboard

Postby jase » Thu Sep 09, 2010 4:07 am

I have copied 20gb of data from a remote drive to my PC running Ubuntu 9.10.

How do I now clear the clipboard?

Many thanks
User avatar
jase
 
Posts: 93
Joined: Sun Aug 08, 2010 5:38 pm

Postby towy71 » Thu Sep 09, 2010 8:09 am

unless you have some sort of clipboard tracker installed, highlight a word on this web page right-click and select copy and that will be the only thing in clipboard :roll:
still looking for that door into summer
User avatar
towy71
Moderator
 
Posts: 4276
Joined: Wed Apr 06, 2005 2:11 pm
Location: wild West Wales

Postby jase » Sun Sep 12, 2010 4:33 pm

so, how do I clear the clipboard :roll:
User avatar
jase
 
Posts: 93
Joined: Sun Aug 08, 2010 5:38 pm

Postby loebus » Sun Sep 12, 2010 7:46 pm

jase, towy71 has answered your question!

I use a clipboard manager program "Pastie", which remembers the last 25 copied items by default, there is an option in the Pastie menu "Clean History"

If you mean the CLI history edit .bash_history with a text editor such as gedit.
User avatar
loebus
LXF regular
 
Posts: 165
Joined: Fri Apr 09, 2010 6:22 pm
Location: Here

Postby nelz » Sun Sep 12, 2010 8:54 pm

Why do you need to clear the clipboard? As Towy said, its contents are automatically replaced the next time you use it.

BTW, would you please reduce the size of your avatar, 60x60 is the maximum for these forums.
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
User avatar
nelz
Site admin
 
Posts: 8577
Joined: Mon Apr 04, 2005 11:52 am
Location: Warrington, UK

Postby PCNetSpec » Sun Sep 12, 2010 11:08 pm

This has me interested too, I can find plenty of references to Linux clipboard managers such as glipper etc. but once installed they seem to "take over" the job of the clipboard... ie. using the clear button only seems to clear the glipper clipboard buffer, not anything that was in the buffer *before* glipper took over.

I originally thought (at least in Ubuntu) that xclipboard was managing the clipboard, but if you enter:
Code: Select all
xclipboard

in a terminal, you get:
Error: another clipboard is already running

does this mean there is another clipboard manager running, or that there is another instance of xclipboard running.

Anyone know exactly what (by default) is managing the clipboard?

[EDIT]

@jase
Installing the parcellite package will give you a panel object which has a clear clipboard menu item that *seems* to clear the clipboard completely.

But I still want to know exactly what it's doing in the background.
WARNING: You are logged into reality as 'root'... logging in as 'insane' is the only safe option.
Linux in the UK
The Linux Community Forum
User avatar
PCNetSpec
LXF regular
 
Posts: 631
Joined: Sun Feb 21, 2010 3:50 pm
Location: Cornwall UK

Postby nelz » Sun Sep 12, 2010 11:52 pm

You can clear both clipboards, or at least store an empty string in them, with xclip.
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
User avatar
nelz
Site admin
 
Posts: 8577
Joined: Mon Apr 04, 2005 11:52 am
Location: Warrington, UK

Postby jase » Mon Sep 13, 2010 7:13 am

Thanks chaps, makes sense. :)
User avatar
jase
 
Posts: 93
Joined: Sun Aug 08, 2010 5:38 pm


Return to Help!

Who is online

Users browsing this forum: No registered users and 2 guests