I hereby claim:
- I am idvoretskyi on github.
- I am ihordvoretskyi (https://keybase.io/ihordvoretskyi) on keybase.
- I have a public key ASCdVOggYIpCxzVD4dQjUD6BGrhUQAHe6ZJ1LqKcVfT5ago
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# Powerline setup | |
powerline-daemon -q | |
POWERLINE_BASH_CONTINUATION=1 | |
POWERLINE_BASH_SELECT=1 | |
. /usr/share/powerline/bindings/bash/powerline.sh |
set -g default-terminal "xterm-256color" | |
run-shell "powerline-daemon -q" | |
source "/usr/share/powerline/bindings/tmux/powerline.conf" |
# Let's go to the temporary directory | |
cd /tmp | |
# Google Chrome browser installation | |
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && \ | |
sudo dpkg -i google-chrome-stable_current_amd64.deb && \ | |
sudo apt install -f -y | |
# Chrome remote desktop installation | |
wget https://dl.google.com/linux/direct/chrome-remote-desktop_current_amd64.deb && \ |
# Download and unpack the latest binary on a 64-bit Debian-compatible system: | |
curl -L -o VNC https://www.realvnc.com/connect/download/binary/latest/debian/64-bit/ | |
# Install VNC Server on a Debian-compatible system (assuming download file named as above): | |
sudo dpkg -i VNC | |
# Apply your license key, available from the Deployment page of your RealVNC account: | |
sudo vnclicense -add XXXXX-XXXXX-XXXXX-XXXXX-XXXXX | |
# Optionally enable cloud connectivity for VNC Server in Service Mode (token available with key): |
# Originally posted by `scode` at http://scode.github.io/docs/chrome_remote_desktop_ubuntu; no longer available. | |
Setting up Chrome Remote Desktop on Ubuntu | |
This was written in September of 2015. Not sure whether it still applies. | |
The upstream documentation is a little bit scattered, not always entirely complete, and the Ubuntu package provided needs some poking to work. Hence this summary. | |
The two main sources of information I found are: | |
An old product forum post: https://productforums.google.com/forum/#!topic/chrome/8PMxG69VJ6o |
Load up your secure shell. | |
Attempt to connect to your remote host (this step may not be necessary, but it doesn't hurt) | |
Press <ctrl>+<shift>+j to bring up the javascript console. | |
Type: | |
term_.command.removeAllKnownHosts() | |
Reconnect to host |
# Install Dropbox daemon | |
cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf - && ~/.dropbox-dist/dropboxd | |
# Install `dropbox` script to control Dropbox | |
sudo wget https://www.dropbox.com/download?dl=packages/dropbox.py -O /usr/local/bin/dropbox && sudo chmod +x /usr/local/bin/dropbox |
#!/bin/bash | |
# | |
not_root() { | |
echo "ERROR: You have to be root to execute this script" | |
exit 1 | |
} | |
zram_exists() { | |
echo "ERROR: /etc/init.d/zram already exists" |