Crouton Clipboard

Link between crouton clipboard and Chrome OS

Crouton Clipboard là gì?

Crouton Clipboard là một tiện ích mở rộng Chrome được phát triển bởi zwhitchcox, và tính năng chính của nó là "Link between crouton clipboard and Chrome OS".

Ảnh Chụp Màn Hình của Tiện Ích Mở Rộng

Tải xuống tệp CRX của tiện ích mở rộng Crouton Clipboard

Tải xuống các tệp mở rộng Crouton Clipboard dưới định dạng crx, cài đặt các tiện ích mở rộng Chrome bằng tay trong trình duyệt hoặc chia sẻ các tệp crx với bạn bè để dễ dàng cài đặt các tiện ích mở rộng Chrome.

Hướng Dẫn Sử Dụng Tiện Ích Mở Rộng

                        # Crouton Clipboard

### Prerequisites

* NodeJS
* Git

### About

Crouton clipboard integrates the Chrome OS clipboard with the [crouton](https://github.com/dnschneid/crouton) linux instance clipboard without running the display (so, only when you use the CLI).

Whenever you copy something on Chrome OS, it is automatically written to ~/.crouton-clipboard/data, and whenever you write to ~/.crouton-clipboard/data, it is automatically copied to your clipboard on Chrome OS.

### Installation

First you want to clone [Crouton Clipboard®](https://github.com/zwhitchcox/crouton-clipboard) and add `node ~/.crouton-clipboard/server` to your `.bashrc`. You can do this manually, or just type

`curl -sL https://cdn.rawgit.com/zwhitchcox/crouton-clipboard/master/install.sh`

into your console, and this will be done automagically.

Next, you need to install the Crouton Clipboard Extension® which will create a websocket server in the background, and listen on each page for the clipboard event, sending it to the server, which is created by `server.js`.


### Vim Integration

I created this for vim, so I didn't have to copy and paste using the chrome interface, so to install for vim, all you have to do is add the following to your `vimrc`

```vim
nnoremap "*p :r !cat $HOME/.crouton-clipboard/data
vnoremap "*y :'<,'>w! $HOME/.crouton-clipboard/data
```

Note: This is automatically done by `install.sh`

Then, to copy and paste from the "system" clipboard in vim, just type `"*y` and `"*p`.

For more info on Chrome development, please see my [video on my Chrome OS DX](https://www.youtube.com/watch?v=O_fWX_vEUGA).                    

Thông Tin Cơ Bản về Tiện Ích Mở Rộng

Tên Crouton Clipboard Crouton Clipboard
ID jipofmbanedhjnpooojdeeddanhfljif
URL Chính Thức https://chrome.google.com/webstore/detail/crouton-clipboard/jipofmbanedhjnpooojdeeddanhfljif
Mô tả Link between crouton clipboard and Chrome OS
Kích Thước Tệp 51.02 KB
Số Lần Cài Đặt 2,116
Phiên Bản Hiện Tại 1.1
Cập Nhật Lần Cuối 2016-10-15
Ngày Phát Hành 2016-10-15
Đánh Giá 3.29/5 Tổng số 7 Đánh Giá
Nhà Phát Triển zwhitchcox
Loại Thanh Toán free
Ngôn Ngữ Được Hỗ Trợ en
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "manifest_version": 2,
    "name": "Crouton Clipboard",
    "description": "Link between crouton clipboard and Chrome OS",
    "version": "1.1",
    "background": {
        "page": "background.html"
    },
    "content_scripts": [
        {
            "matches": [
                "https:\/\/*\/*",
                "http:\/\/*\/*"
            ],
            "js": [
                "oncopy.js"
            ]
        }
    ]
}