2020年4月29日 星期三

Winff--MP4 MV 轉出 MP3 聲音

  1. 安裝軟體 Winff
    sudo apt-get install winff
  2. 安裝編碼 ffmpeg 和 libavcodec-extra-52
    sudo apt-get install ffmpeg libavcodec-extra-52
  3. 用 Winff 轉檔

2020年4月26日 星期日

OpenShot 影片剪輯工具

$ sudo apt install openshot

Qwinff GUI of ffmpeg

$ sudo apt install qwinff
啟動會有錯誤
在 home/user/ 找不到 constants.xml 和 presets.xml 檔
https://github.com/qwinff/qwinff 的 Code 下載
copy到 home/user/

2020年4月14日 星期二

kazam 螢幕錄影程式

$ sudo add-apt-repository ppa:sylvain-pineau/kazam
$ sudo apt update
$ sudo apt install kazam
為了錄到鍵盤及滑鼠敲擊
$ sudo apt-get install python3-xlib python3-cairo 

2020年3月4日 星期三

JavaScript 重點筆記

Tag 與位置


<html>
  <head>
    <script type="text/javascript">  // 放在 head 會比放在 body 先執行

    </script>
  </head>

  <body>
  </body>
</html>  


<html>
  <head>
  </head>
  <body>
    <script type="text/javascript">// 要取得 body 中元素,就放在 body 中

    </script>
  </body>

</html>

外部 JavaScript


HTML 檔:
<html>
  <head>
    <script src="demo.js" type="text/javascript">  // 副檔名是 .js

    </script>
  </head>

  <body>
  </body>
</html>

demo.js 檔:
alert ( " This is an alert box ! " )  // 不用寫 script Tag

輸出


document.write ( " Hello World ! " )
document.write ( " <h1> Hello World ! </h1>" )

註解

單行:// This is a comment.
多行:/*This is a comment. */


2020年2月19日 星期三

Grub 開機選單的操作

 將 Grub 開機選單安裝在指定設備上

在終端機鍵入
sudo update-grub
sudo grub-install /dev/sdx(sdx 代表 sda, sdb, ......)
完成

更改開機選單預設開機順序

開機選單看起來像這個樣子:

注意順序從0開始,由上往下編號,所以 Windows 7 編號是 4
在終端機鍵入
sudo gedit /etc/default/grub
更改下列這一行程式最後的數字,成為你要的編號
GRUB DEFAULT=0

最後在終端機鍵入
sudo update-grub
完成

不讓電腦上其他作業系統加入開機選單

sudo cp /etc/default/grub /etc/default/grub.bak
sudo sed -i '$a GRUB_DISABLE_OS_PROBER=true' /etc/default/grub
sudo update-grub

開機選單上中文亂碼

編輯 /boot/grub/grub.cfg,尋找 font,將 font 指向檔案 unicode.pf2
 編輯 /etc/default/grub.d/60_mint-theme.cfg,尋找 font,將 font 指向檔案 unicode.pf2

2020年2月15日 星期六

支援 P2P BitTorrent 協定的傳輸軟體 Transmission

設定

編輯/ 偏好設定

上傳速度限制,建議 40

 儲存位置、最大運作下載數

黑名單 http://list.iblocklist.com/?list=bt_level1

加快下載速度

找對資源

增加 trackers https://github.com/ngosang/trackerslist,使用 trackers_all.txt