linux 18.04
install and unstall
1
2
3
安裝:sudo dpkg -i .deb
打包:sudo dpkg -b DEBIAN母資料夾 輸出名稱.deb
移除:sudo dpkg -r teachinfinityii
slack
search in ubuntu software
中文輸入
1
2
3
sudo apt-get install hime
or
search hime in ubuntu software
調整成類似新注音相關設定 https://blog.goodjack.tw/2013/08/linux-phonetic-setting.html
create Git private key
https://docs.gitlab.com/ee/ssh/
sudo apt install xclip
ssh-keygen -t ed25519 -C "email@example.com"
xclip -sel clip < ~/.ssh/id_ed25519.pub
貼去gitlab的ssh setting
clone project
git project:http://192.168.11.122:8888/hitevision/teachinfinityii_linux
1
git clone git@192.168.11.122:hitevision/teachinfinityii_linux.git
install gcc compiler and setting
sudo apt-get install mingw-w64
sudo apt-get install g++
sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev
-1: error: Qt Creator needs a compiler set up to build. Configure a compiler in the kit options
install QT
g++:sudo apt-get install build-essential
sudo apt-get install libfontconfig1
sudo apt-get install mesa-common-dev
sudo apt-get install libglu1-mesa-dev -y
QSslSocket: cannot resolve 安裝時ssl問題
sudo apt install libssl1.0-dev
更改QT.exe權限後 即可執行
chmod +x qt-opensource-linux-x64-5.5.1.run
./qt-opensource-linux-x64-5.5.1.run
install tweak
search GNOME Tweaks in ubuntu software
install Geany
因內建的文字編輯器有問題,故下載類似NotePad++的工具
sudo apt-get install geany
update
sudo apt-get update
sudo apt-get upgrade
unzip zip
把安裝包利用zip打包 並利用unzip解壓縮
Synergy
sudo apt-get install synergy
Server這邊要取消勾選ssl連線
QT output訊息 Gtk-Message: Failed to load module “canberra-gtk-module”
sudo apt install libcanberra-gtk-module libcanberra-gtk3-module
無法截圖問題 error: “Cannot load library .//libMedia.so: (libgstapp-0.10.so.0: cannot open shared object file: No such file or directory)”
wget http://ftp.ca.debian.org/debian/pool/main/g/gstreamer0.10/libgstreamer0.10-0_0.10.36-1.5_amd64.deb
wget http://ftp.ca.debian.org/debian/pool/main/g/gst-plugins-base0.10/libgstreamer-plugins-base0.10-0_0.10.36-2_amd64.deb
sudo dpkg -i libgstreamer0.10-0_0.10.36-1.5_amd64.deb
sudo dpkg -i libgstreamer-plugins-base0.10-0_0.10.36-2_amd64.deb
recover
https://ubuntuforums.org/showthread.php?t=35087