ubuntu 19.10 安裝Scratch 2

之前有裝過SCRATCH 2在18.04.但是在19.10中好像這個元件不見了.

Scratch 2 安裝在18.04

libgnome-keyring/libgnome-keyring0_

所以把他補上就可以正常的運作了.

wget http://mirrors.kernel.org/ubuntu/pool/universe/libg/libgnome-keyring/libgnome-keyring0_3.12.0-1build1_amd64.deb
mkdir tmp
dpkg-deb -R libgnome-keyring0_.deb tmp/ sudo mv tmp/usr/lib/x86_64-linux-gnu/libgnome-keyring.so.0 /usr/lib/x86_64-linux-gnu/
rm -rf tmp

安裝SCRATCH 2.0的方法 18.04 UBUNTU

安裝SCRATCH 2.0 OFFLINE在UBUNTU 18.04

# install necesary i386 libraries
sudo apt-get install libgtk2.0-0:i386 libstdc++6:i386 libxml2:i386 libxslt1.1:i386 libcanberra-gtk-module:i386 gtk2-engines-murrine:i386 libqt4-qt3support:i386 libgnome-keyring0:i386 libnss-mdns:i386 libnss3:i386

sudo ln -s /usr/lib/i386-linux-gnu/libgnome-keyring.so.0 /usr/lib/libgnome-keyring.so.0
sudo ln -s /usr/lib/i386-linux-gnu/libgnome-keyring.so.0.2.0 /usr/lib/libgnome-keyring.so.0.2.0

wget http://airdownload.adobe.com/air/lin/download/2.6/AdobeAIRSDK.tbz2
sudo mkdir /opt/adobe-air-sdk
sudo tar jxf AdobeAIRSDK.tbz2 -C /opt/adobe-air-sdk


wget https://aur.archlinux.org/cgit/aur.git/snapshot/adobe-air.tar.gz
sudo tar xvf adobe-air.tar.gz -C /opt/adobe-air-sdk
sudo chmod +x /opt/adobe-air-sdk/adobe-air/adobe-air

https://scratch.mit.edu/scratch2download/
sudo mkdir /opt/adobe-air-sdk/scratch
wget https://scratch.mit.edu/scratchr2/static/sa/Scratch-456.0.1.air
sudo cp Scratch-456.0.1.air /opt/adobe-air-sdk/scratch/
cp Scratch-456.0.1.air /tmp/
cd /tmp/
unzip /tmp/Scratch-456.0.1.air
sudo cp /tmp/icons/AppIcon128.png /opt/adobe-air-sdk/scratch/scratch.png

Create launcher:

$ cat << _EOF_ > /usr/share/applications/Scratch2.desktop
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Exec=/opt/adobe-air-sdk/adobe-air/adobe-air /opt/adobe-air-sdk/scratch/Scratch-456.0.1.air
Icon=/opt/adobe-air-sdk/scratch/scratch.png
Terminal=false
Name=Scratch 2
Comment=Programming system and content development tool
Categories=Application;Education;Development;ComputerScience;
MimeType=application/x-scratch-project
_EOF_

$ chmod +x /usr/share/applications/Scratch2.desktop

And that’s it. First run is a little bit longer, as the Air is unpacking Scratch 2 application to ~/.appdata/edu.media.mit.Scratch2Editor folder.

原文:

https://askubuntu.com/questions/913892/how-to-install-scratch-2-on-ubuntu-16-10-or-17-04-64bit

Ubuntu Server 18.04 無法安裝 Python PIP等等的解決方式

最近因為小朋友的Minecraft 伺服器損壞,所以重新安裝了新的UBUNTU SERVER 18.04版,之前我們都是使用的是CENTOS 7.0版本,居然遇上了許多軟體不包含在預設的安裝包裡面,所以我們只好另外幫他加入其他的安裝來源.

 

編輯更新來源
#sudo vi /etc/apt/sources.list

加入桌面版的來源:
#ubuntu Desktop Taiwan Source
deb http://tw.archive.ubuntu.com/ubuntu/ bionic main restricted
deb http://tw.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
deb http://tw.archive.ubuntu.com/ubuntu/ bionic universe
deb http://tw.archive.ubuntu.com/ubuntu/ bionic-updates universe
deb http://tw.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://tw.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
deb http://tw.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse

 

之後就可以加入你要的Python 程式:
#sudo apt install python-pip

 

終於可以把一些常用的程式可以重新運作了.

Youtuber被使用未授權字型公司控告侵權建議大家可以下載以政府提供的字體

最近許多Youtuber被字型公司控告侵權.

也就是說只要使用在圖像或影片不能用於未授權的字型製作字幕.
否則會以每個月2萬元的費用支付給字型創作公司.

所以建議大家可以下載以政府提供的字體:
CNS11643中文標準交換碼全字庫(簡稱全字庫)
https://data.gov.tw/dataset/5961

這個是全字庫的字體,可以在政府開放平台中下載取得.

因為沒有做用微軟作業系統創作影片,所以應該沒有被告的風險.

Youtuber可以用的字型下載 (Google和Adobe共同推出的免費字體)

最近許多Youtuber被字型公司控告侵權.

也就是說只要使用在圖像或影片不能用未授權的字型製作字幕.
否則會以每個月2萬元的費用支付給字型創作公司.

目前微軟字形,新細明體和標楷體字形.
授權公司基於在微軟平台輸出的產品進行控告,但非微軟平台使用就須要付費.
例如在Android或其他非微軟平台就須要支付費用.

所以建議大家可以下載以下的字體:
https://www.google.com/get/noto/#sans-hant

因為沒有做用微軟作業系統創作影片,所以應該沒有被告的風險.

 

2018年樹苺派生產改成Made In China

2018年在RS下單的樹苺派生產改成Made In China!

最近一次在RS下單樹苺派產地由日本已經改為中國製造了.

Made in China !

 

中國ELEMENT 14的Raspberry PI3在掏寶 的價格只有英國版的85折左右.

所以如果有要買Raspberry PI3應該可以直接考慮買中國版就好了的