Enable ‘New Document’ of right-click action in Ubuntu 18
# open a terminal by Ctrl+Alt+T and run the following command
touch ~/Templates/Untitled Document
Folder Permission: allow all users to read/write the files
sudo chmod -R 777 <folder name>
Mount remote hard disk
# install sshfs package
sudo apt install -y sshfs
# mount the hard disk
sshfs -o allow_other liwen@server4:/home/liwen/z_MongoDB /mnt/server4_db
# unmount it
sudo fusermount -u /mnt/server4_db
## if need change the mongodb's path, modify the etc/mongdb.conf
Split screen
using "Windows" + "Left" or "Right"
Install TeamViewer through SSH
# 0) remove old version, and download the installation file
sudo apt-get purge teamviewer
cd ~/Downloads
wget https://download.teamviewer.com/download/linux/teamviewer_amd64.deb
# 1) installation
sudo dpkg -i teamviewer_amd64.deb; sudo apt-get -f install
# 2) stop service
sudo teamviewer --daemon stop
# 3) Accept the license
sudo vim /opt/teamviewer/config/global.conf
# 4) click "I", and copy the following words to the end of the file
[int32] EulaAccepted = 1
[int32] EulaAcceptedRevision = 6
# 5) use Esc and input ":wq" to save the settings and exist
# 6) restart the service
sudo teamviewer --daemon start
# 7) set password and print id
sudo teamviewer --passwd w12345678
teamviewer --info print id
# 8) Finally, use the id and the password can access the PC remotely
convert frame images to video
cat *.jpg | ffmpeg -framerate 60 -f image2pipe -i - ~/output.mp4