Results 1 to 8 of 8

Thread: xclip

  1. #1
    Join Date
    Feb 2005
    Location
    Vancouver, Canada
    Beans
    102

    Question xclip

    Not sure if this the right forum for this...

    The latest xclip is in the repository but it is not "Ubuntufied", after you install it the binary is not on the PATH, you have to know where it is installed:
    /usr/X11R6/bin/xclip

    xclip's home page: http://people.debian.org/~kims/xclip/

    Are there any other similar command line tools doing the same thing?

  2. #2
    Join Date
    Nov 2005
    Location
    Belgium
    Beans
    12

    Re: xclip

    I've just installed xclip as well (I really don't understand why this isn't a default utility). and it installs in /usr/X11/bin. I simply copied it tu /usr/local/bin and now I can use it as a normal user.
    I've also set it up with alias xclip="xclip -selection clipboard". It would even be better if it also set up a /dev/clipboard like in cygwin.

    Another nice option is you can setup a script in nautilus-scripts that does a
    cat $file | xclip -selection clipboard

  3. #3
    Join Date
    Feb 2005
    Location
    Vancouver, Canada
    Beans
    102

    Re: xclip

    I wrote a simple Nautilus extension script that will copy the names of the selected files to the clipboard:
    http://marius.scurtescu.com/?p=113

  4. #4
    Join Date
    Nov 2005
    Location
    Belgium
    Beans
    12

    Re: xclip

    copy the names is usefull too, but in most cases I want to copy the contents of the selected file (cat).
    Another nice command is
    xclip -o -sel clip | mysql -h pizza.storedesk.com databaseName | xclip -i -sel clip

    put a select statement in the clipboard, execute the command and you have the result in xml in the clipboard

  5. #5
    Join Date
    Oct 2004
    Location
    Cupertino, CA
    Beans
    5,092
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: xclip

    looks somewhat promising as a Universe candidate... try to do it that way.
    Quote Originally Posted by tuxradar
    Linux's audio architecture is more like the layers of the Earth's crust than the network model, with lower levels occasionally erupting on to the surface, causing confusion and distress, and upper layers moving to displace the underlying technology that was originally hidden

  6. #6
    Join Date
    Feb 2005
    Location
    Vancouver, Canada
    Beans
    102

    Re: xclip

    Quote Originally Posted by jdong
    looks somewhat promising as a Universe candidate... try to do it that way.
    Not sure what should I try? Could you give me a hint?

    Thanks

  7. #7
    Join Date
    Oct 2004
    Location
    Cupertino, CA
    Beans
    5,092
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: xclip

    https://wiki.ubuntu.com/UniverseCandidates

    Make sure it meets the requirements, and simply add it to the table.
    Quote Originally Posted by tuxradar
    Linux's audio architecture is more like the layers of the Earth's crust than the network model, with lower levels occasionally erupting on to the surface, causing confusion and distress, and upper layers moving to displace the underlying technology that was originally hidden

  8. #8
    Join Date
    Feb 2005
    Location
    Vancouver, Canada
    Beans
    102

    Re: xclip

    Thanks, now I see.

    It seems that the original creator should add packages, I'll see.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •