Crouton Clipboard Crouton Clipboard

Developer Tools
Version: 1.1
Last Update: 2016-10-15

Overview

Crouton Clipboard is a Chrome extension developed by zwhitchcox. According to the data from Chrome web store, current version of Crouton Clipboard is 1.1, updated on 2016-10-15.
2,000+ users have installed this extension. 7 users have rated this extension with an average rating of .

Link between crouton clipboard and Chrome OS

# 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<CR>
vnoremap "*y :'<,'>w! $HOME/.crouton-clipboard/data<CR>
```

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).

Rating

7 ratings

Total Installs

2,000+

Information

Last Update

2016-10-15

Current Version

1.1

Size

51.02KiB

Author

zwhitchcox

Website

None

Category

Developer Tools

Latest Reviews

See More

avatar Mark Dymek
2020-09-05

this hasn't been updated in 4 years and now doesn't work. it says it can't access anything from chrome and theres no way to change that.

avatar Isaac Johnson
2017-01-29

could not figure out the mapping file. install.sh echoed contents in chroot.. just ran manually. THe data file is propegated so i just use :r ~./crouton-clipboard/data.txt when i need it (usually a password or something one time use, so it dont mind not figuring out the shortcut). thanks!

avatar Mark Dymek
2020-09-05

this hasn't been updated in 4 years and now doesn't work. it says it can't access anything from chrome and theres no way to change that.

avatar Isaac Johnson
2017-01-29

could not figure out the mapping file. install.sh echoed contents in chroot.. just ran manually. THe data file is propegated so i just use :r ~./crouton-clipboard/data.txt when i need it (usually a password or something one time use, so it dont mind not figuring out the shortcut). thanks!

avatar Mark Dymek
2020-09-05

this hasn't been updated in 4 years and now doesn't work. it says it can't access anything from chrome and theres no way to change that.