Ubuntu 管理心得

搜尋此網誌

2019年7月29日 星期一

line 無鈴聲

設定 -> 提醒 -> 提醒鈴聲
換另一個鈴聲,例如: LINE (歡樂版),
關掉 line,再進入 line
就應該有聲音了。
可以再重覆一次,選回原來自已喜歡的鈴聲。
測試方式:
可開啟 Line 的提醒,打開在 PC 上的line,聽聽看手機上的line 有無聲音。

2019年7月26日 星期五

kicks

  1. 行車記錄器的記憶卡在駕駛座座位下方,把座位滑到最前面後可以從後座取出

Post setup raspbian

sudo apt install motion aptitude vim package-update-indicator incron krusader fcitx-table-boshiamy lynx screen
  • incron:
    edit /etc/incron.allow, add these:
     root
     pi
    incrontab -e , add this line:
     /home/pi/webcam/    IN_CREATE    /usr/bin/rclone copy /home/pi/webcam/*   mydropbox:webcam/FrontDoor

    sudo systemctl restart incron

setup motion in raspbian

  1. sudo apt install motion
  2. edit /etc/default/motion,
    start_motion_daemon=yes
  3. edit /etc/motion/motion.conf
    output_pictures on
    locate_motion_mode on
    picture_filename %Y%m%d/%H/%M%S-%q
    stream_localhost off
    stream_port 8081
    webcontrol_localhost off
    # stream_nrt 8081
    ffmpeg_output_movies off
  4. sudo systemctl restart motion

2019年7月22日 星期一

中文的"圖"、"表"

Put the followings into TeX box inside lyx, NOT in preample:


\renewcommand{\figurename}{圖}
\renewcommand{\tablename}{表}
also
\renewcommand{\theoremname}{定理}
\renewcommand{\definitionname}{定義}
\renewcommand{\corollaryname}{推論}
\renewcommand{\refname}{參考文獻}



2019年7月20日 星期六

Show footnote wtih visiable rule

Put this into preample:
\renewcommand\footnoterule{%
\kern -3pt
\hbox to \textwidth{\vrule height 0.4pt width \columnwidth}
\kern 2.6pt
}
will like this,

In my paper, /home/chiao/Fuzzy/Papers/2019/1107iFuzzy/Papers/ote_add.lyx
 

2019年7月13日 星期六

Capital letter in bibtex

In bib file, add {} for the word with first capital letter,
e.g.

title="Controllable Fuzziness of General Fuzzy Numbers Addition Based on {Yager} T-norms",

then the title in Reference will display the Yager rather than yager.

2019年7月3日 星期三

Reomve obsolete packages

The 'rc' status means the configuration files of the removed packages are not removed. Issue the following cli command to remove them.

sudo dpkg -l|grep "^rc"|awk '{print $2}' | xargs sudo apt-get remove -y --purge



網誌存檔