LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 05-24-2005, 08:44 AM   #1
seran
Member
 
Registered: Aug 2004
Location: Bangalore
Posts: 64

Rep: Reputation: 16
Question How to access linux clipboard thru a C program!


Hello,
I want to access the linux clipboard buffer from a C program. Is it possible to read from or write into clipboard thru a C program. How to do this? I did a search for this on the internet, but didnt find any useful information. All I want is, accessing clipboard area using my C program. Are there any system calls to do the job.

How this linux clipboard works? I am using Red Hat GNU/Linux 8.0. Does anyone has some idea? Thanks.
 
Old 05-24-2005, 12:15 PM   #2
LogicG8
Member
 
Registered: Jun 2003
Location: Long Island, NY
Distribution: Gentoo Unstable (what a misnomer)
Posts: 380

Rep: Reputation: 30
Assuming you mean the X clipboard try looking at the source
code for xsel http://www.niksula.cs.hut.fi/~vherva/xsel/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux Clipboard Boffy Linux - General 3 09-19-2005 05:54 AM
clipboard in linux suguname Linux - Newbie 3 02-02-2005 07:59 AM
Linux ClipBoard Sanctus Animus Programming 0 02-10-2004 09:33 PM
Is there a Linux program similar to MS Access? randon Linux - General 9 01-16-2004 02:27 PM
Opening M$ Access files in linux (need program) enigma Z Linux - Software 1 10-08-2003 08:01 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration