精選

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次後要重開機。

2018年4月20日 星期五

ubuntu pdf printer / 簡單有譜使用經驗筆記

041322
以下更新,暫時不再用易譜及簡譜大師。

1. 今天(041322)偶然找到跨平台的簡譜工具,不用安裝,十分簡單→
   (110622) 找到更詳細使用
   (060922) 更新的功能由 該網站的FB粉絲團可查
   (060622) 登入後可下載許多含歌詞的簡譜 
   (042822) 可簡易滙出/入mid,(041622) 比較重視歌詞,一般功能都有。
    

042118
這是今天才想到的最好方法→任何文字或圖檔→LibreOffice Writer→匯出PDF
any text or graphic file→LibreOffice Writer→output PDF

這是在ubuntu用wine執行EOP簡譜軟体後用到,完後再改音符大字,再輸出jpg。因樂團團員多比我年紀大,且多數手寫簡譜,MuseScore較不方便。

031319以後不再使用,改用易譜→我的MuseScore心得
以下是EOP簡譜大師筆記
3. 開始的不完全小節→
先右键修改第一小节的节拍,然后右键隐藏掉,菜单设置-小节设置中的小节序号从第2个开始,结尾也同样修改节拍,然后再隐藏掉即可。

2. 可延長的多連音(Ctrl+方向右鍵)無效(042518)
1. 用wine啟動EOP後,才能在.wine目錄下←→copy到ubuntu檔案。(042318)
EOP在/home/.wine/drive_c/...下



2018年4月17日 星期二

ubuntu 18.04安裝wine 4.0 及易譜ziipoo

051420
在ubuntu 20.04的VirtualBox 6x的W7安裝ziipoo 2395 ok,
2395有linux的zip及deb,都不能安裝
嫌wine不好安裝的還是建議用VirtualBox。

011420
安裝wine staging
https://www.youtube.com/watch?v=GsdVCSnlXI0

121819
易譜v2380安裝成功,下載winZiipoo2380v1x86.exe
linux的deb及zip安裝皆不行,要如以下安裝。

041818(030819 updated)
How to Install Wine 4.0 on Ubuntu 18.04 & 16.04 LTS
安裝如下:
sudo dpkg --add-architecture i386
wget -qO - https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'

sudo apt-get update
sudo apt-get install --install-recommends winehq-stable

sudo apt-get install aptitude
sudo aptitude install winehq-stable

wine --version

wine-4.0.1

及找Wine安装使用(适用Linux Mint 19与Ubuntu 18.04下)

字型未安裝,執行winecfg,裝完後安裝易譜ok→我的MuseScore心得