how can i copy text to the linux clipboard?
I've seen a number of posts explain how to do it with tk....
is this the only way?
(i'm not using tk as my gui tool kit.)
many thanks! 7 4024 da************* @gmail.com: how can i copy text to the linux clipboard?
Linux is an operating system. It doesn't have a clipboard. The clipboard
is provided by desktop frameworks, such as KDE or Gnome.
--
René Pijlman
ah.. ok.
gnome it is.
are there py commands for gnome?
ah.. ok.
gnome it is.
are there py commands for gnome?
>>>>> "Rene" == Rene Pijlman <re************ ********@my.add ress.is.invalid > writes:
Rene> da************* @gmail.com: how can i copy text to the linux clipboard?
Rene> Linux is an operating system. It doesn't have a
Rene> clipboard. The clipboard is provided by desktop frameworks,
Rene> such as KDE or Gnome.
Rene> -- René Pijlman
Actually, Linux is the kernel, and the full system is GNU/Linux, as
RMS would hasten to point out.
Isn't the clipboard a basic X component?
However, for basic text, don't overlook the humble shell facilities
like | , > , < , and >>
R,
Chris
On 2006-03-08, Chris Smith <sm************ *@bigfoot.com> wrote: how can i copy text to the linux clipboard? Rene> Linux is an operating system. It doesn't have a Rene> clipboard. The clipboard is provided by desktop frameworks, Rene> such as KDE or Gnome.
Rene> -- René Pijlman
Actually, Linux is the kernel, and the full system is GNU/Linux, as RMS would hasten to point out. Isn't the clipboard a basic X component?
What you're calling "the clipboard" is several basic X
components. More accurately there is no such thing in X as
"the clipboard". The "selection" mechanism in X is rather
complicated and can only partially be made to resemble "a
clipboard" in the traditional MacOS sense of the word.
Some desktop environments have implimented something more akin
to the MacOS "clipboard" , but AFAICT that's another layer on
top of the basic selection mechanisms provided by X
--
Grant Edwards grante Yow! NOT fucking!! Also
at not a PACKAGE of LOOSE-LEAF
visi.com PAPER!!
In <11************ *********@j33g2 000cwa.googlegr oups.com>, david.humpherys
wrote: how can i copy text to the linux clipboard?
I've seen a number of posts explain how to do it with tk.... is this the only way?
(i'm not using tk as my gui tool kit.)
So what are you using instead?
Ciao,
Marc 'BlackJack' Rintsch This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: LG |
last post by:
Just have a question with regards to the clipboard, and how to read what
other applications (Adobe InDesignCS) place in the clipboard.
I am currently in the process of creating a booklet from a database, and I
need the data to be laid out in a tabular format, and set out in a specific
way. At the current point in time, I am copy/pasting the raw text from the
database into a table layout in InDesign. What I was thinking is that if I
could...
|
by: ramprasad |
last post by:
I am using KDE on linux ( Redhat AS3 ). Is there a library that can give
me the contents of the clipboard
Thanks
Ram
|
by: lgbjr |
last post by:
Hello All,
I¡¯m using a context menu associated with some pictureboxes to provide
copy/paste functionality. Copying the image to the clipboard was easy. But
pasting an image from the clipboard is proving to be more difficult. These
pictureboxes are bound to an AccessDB. If the user wants to add an image,
they select an image using an OpenFileDialog:
Dim result As DialogResult = Pic_Sel.ShowDialog()
If (result = DialogResult.OK) Then
|
by: John Salerno |
last post by:
I'm interested in trying out Linux, probably Ubuntu, but I was wondering
which distribution you guys like to use (because it's a pain trying to
decide!) and you guys are smart.
And to keep it Python related, I'll also ask, is there anything special
I need to know about using Python on Linux? Do any things change, or can
it be used just as I use it on Windows?
Thanks!
|
by: James Russo |
last post by:
Hello,
I have an application which requires an image to be retrived from the
clipboard. So, I am writting a quick C# windows application to take
images from a webcam and store a single frame on the clipboard so it can
be pasted into this other application. My solution is working fine with
all applications (mspaint, word, wordpad) except the one I need it to
work with. I've contacted the vendor of the application, but I haven't
been able...
| |
by: Peter Duniho |
last post by:
I'm trying to use .NET and C# to draw a metafile copied to the clipboard by
another application (Word 2003 in this case, but it shouldn't matter).
I naively thought that I'd be able to use the Clipboard class to get an
EnhancedMetafile or MetafilePict object from the Clipboard, use that to
create a new Metafile object, and then draw that Metafile object using
Graphics.DrawImage.
It doesn't seem to be that simple.
|
by: Figmo |
last post by:
Wow.....this is darned odd....
I have an app that integrates with other applications.
It registers a global hotkey with Windows. When the hotkey executes
it sends a CTRL-C to the active window (any application) to copy
whatever text is selected to the clipboard. It then issues a C#
Clipboard.GetText(...) and does some processing with this string.
All is good, no errors thus far.
|
by: Joe Duchtel |
last post by:
Hello -
I have the following code to get a bitmap from the clipboard and to
save it to a *.png file ...
Dim lData As IDataObject = Clipboard.GetDataObject()
If lData.GetDataPresent(DataFormats.Bitmap) Then
Dim lPictureBox As New PictureBox
|
by: Fabian Braennstroem |
last post by:
Hi,
I would like to write text directly to the clipboard of
linux using some c++ lines. Would be nice, if anyone has a suggestion, how to
do this.
Thanks!
Greetings!
Fabian
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |