精選

2018年4月27日 星期五

我的ubuntu 18.04

經過幾次安裝結果,以下經驗:(看不懂的請看以前的16.04/14/04...)

050420
未測試

011219
終於知道如何在某目錄下開新檔的方法,參考

Add “New Document” back to the right-click menu in Ubuntu 18.04

方法如下:
如在桌面目錄下→開終端機→
ls
cd 桌面
gedit new.txt
存檔→ok

如果認為太麻煩,那先copy一檔後改名並清空內容即可。

121618(050322更新),桌面錄影改用好用的錄制桌面指令

071218
用vlc執行影片裁剪最簡單,google找

Ubuntu 18.04 Linux How to Cut Video Clips using VLC Media Player

檢視→選取進階控制→播放中按錄影(存到同目錄,只能用vlc看),再轉換一次即可。
用ffmpeg指令合併影片最簡單,google找

Merging multiple (more than two) videos on Ubuntu

摘要如下:
FFmpeg is the best way to accomplish this from the command line using the concat filter. I tried 20+ different ways before I found this and it works like a charm. If the videos are without audio, your command would be:
ffmpeg -i vid-1.mp4 -i vid-2.mp4 -filter_complex '[0:v] [1:v] concat=n=2:v=1 [v]' -map '[v]' output.mp4
If the videos have audio, your command would be:
ffmpeg -i vid-1.mp4 -i vid-2.mp4 -ar 44100 -ab 64k -ac 1 -c:a libmp3lame -filter_complex '[0:0] [0:1] [1:0] [1:1] concat=n=2:v=1:a=1 [v]' -map '[v]' -map '[a]' output.mp4
You can obviously substitute the audio bitrate, channels, etc. for other numbers, but these are very standard.

※072519 用ffmpeg剪出youtube只要的部份,找到如下
ffmpeg -i original.mp4 -ss 00:01:52 -c copy -t 00:00:10 output.mp4
  • -i:input file. The file name of the original video clip.
  • -ss:start timestamp. In my case I tried to copy the new video from the original video started after 1 minute and 52 seconds.
  • -t:indicating the duration of the new video clip, in my case, 10 seconds.
  • Not sure parameter -c for, maybe the action? If some1 knows, let me know plz.
先播一次原始,再決定從那時段剪出

070918
當機對策,取自

使用SysRq 鍵讓當機的Linux 安全地重新開機- G. T. Wang

摘要如下:
※061919 但個人用重新安裝,主要之前分割sd1 /, sd2 /home,sd2 不format
裝好後原/home資料仍續用(當然延用之前user名)
※現都用我的ubuntu 20.04020122解決 (062722)

062918
usb MIDI 經Rosegarden找2011年12月

062618
audacity內錄找2011年10月

061818
vlc 3.0繼續播放功能由tool→偏好設定→
只播放從1分到1分10秒的内容
vlc --start-time=60 --stop-time=70 test.mp4

061118
MuseScore 2.2.1由ppa安裝
※musescore3 安裝法看2015年1月我的MuseScore心得

061018
安裝第四組nb,因win7已佔2實体磁區,其餘皆先備份再Gparted刪除,第3實体磁區保留25G給ubuntu /,其餘邏輯磁區保留前70G /home,後4G swap,中間 xxG /xxG,這樣雙系統續用。

060518
kodi 亦可由ppa安裝,BAA
BT用內建的Transmission,然後

051218
啟用Welcome to Ubuntu→Canonical Livepatch→讓更新不必重新開機即完成? 關機前顯示安裝更新時→會重開機再安裝更新後才關機。(052718)

051118
選擇安裝gufw
參考Ubuntu 16.04桌面版Gufw 防火墙的基本使用方法- Linux大神博客
...
如果你在家中使用Ubuntu 16.04,通过路由器连接互联网,那么Gufw防火墙就不需要了,因为路由器内置了一个防火墙。如果你家中的电脑直接连接调制解调器拨号上网,那么你的Ubuntu 16.04系统就需要安装一个Gufw防火墙。在办公室、酒店、宾馆、餐厅等公共场所使用公共Wi-fi,是绝对需要安装防火墙的。...

050818
vlc安裝選最上一個無星的3.2英文版,所得稅→軟体下載→線上申報→
(有收到查詢碼)→
直接使用最右邊那個,不再使用IC卡方式了。

042818
1. 用dd安裝,加選third-party,如要使用雙系統win8等,先Gparted後安裝於sd3,安裝ubuntu於sd1及sd2(sd1 /, sd2 /home)←找我之前的內容
sd1要30G
2. 應用程式安裝gcin及選輸入法切換, google chrome, synaptic
3. 文字編輯器要→偏好設定→字型及顏色→選第2組


















4. 安裝gcin後由使用者登出再登入必須重開機→不像之前可登出再登入即可使用,密碼錯3次後要重開機。

沒有留言: