python3 /path/to/start_minimized.py <command_to_run_application>
Install wmctrl and xdotool: sudo apt-get install wmctrl xdotool
python3 /path/to/start_minimized.py <command_to_run_application>
Install wmctrl and xdotool: sudo apt-get install wmctrl xdotool
SSH keys come in pairs: a public and a private key. It might be easier to think of them as a lock (public part) and key (private part). You add public key (lock) to the computer you want to connect to, and then you can connect from elswhere and unlock it with your private key. So public key is meant to be handed out freely, while private key should be kept secret and safely guarded.
So let's create an SSH key (all commands below are executed on your local computer, from which you will be connecting to remote example.com):
Make sure local user has .ssh
directory: mkdir -p ~/.ssh
Generate SSH keys for passwordless authentication:
I hereby claim:
To claim this, I am signing this object:
UPD 2: Official standalone Signal Desktop is released!
Install official Signal Desktop, old version and this guide using it should now be considered deprecated.
UPD 1: There is now an easier way with automatic Signal Desktop installer, which also keeps Signal updated.
#! /usr/bin/env sh | |
DEFAULT_DL_LIMIT="32" # KB/s | |
APT_LAST_UPDATE_FILE="$HOME/.apt-last-update" | |
NICE="nice -n 19 ionice -c 3 trickle -s -d ${1:-$DEFAULT_DL_LIMIT}" | |
sudo $NICE apt update | |
touch $APT_LAST_UPDATE_FILE |
#! /usr/bin/env sh | |
DEFAULT_DL_LIMIT="32" # KB/s | |
APT_LAST_UPDATE_FILE="$HOME/.apt-last-update" | |
NICE="nice -n 19 ionice -c 3 trickle -s -d ${1:-$DEFAULT_DL_LIMIT}" | |
if [ -e $APT_LAST_UPDATE_FILE ] && [ $(( $(date +%s) - $(date +%s -r $APT_LAST_UPDATE_FILE) )) -le 3600 ] | |
then | |
echo "APT package lists updated less than an hour ago, skipping" | |
else |
#! /usr/bin/env sh | |
DEFAULT_DL_LIMIT="32" # KB/s | |
APT_LAST_UPDATE_FILE="$HOME/.apt-last-update" | |
NICE="nice -n 19 ionice -c 3 trickle -s -d ${1:-$DEFAULT_DL_LIMIT}" | |
if [ -e $APT_LAST_UPDATE_FILE ] && [ $(( $(date +%s) - $(date +%s -r $APT_LAST_UPDATE_FILE) )) -le 3600 ] | |
then | |
echo "APT package lists updated less than an hour ago, skipping" | |
else |
#! /usr/bin/env sh | |
USERNAME="support" | |
AVATAR_URL="https://shevchuk.co/cog.png" | |
AVATAR_FILE="/home/$USERNAME/.face" | |
sudo adduser --uid 555 --gecos "" $USERNAME | |
sudo adduser $USERNAME sudo | |
sudo wget -qO $AVATAR_FILE $AVATAR_URL | |
sudo chown $USERNAME:$USERNAME $AVATAR_FILE |