位於 /boot
一般 內定啟動是 kernel.img
而緊急kernel 是 kernel_emergency.img(kernel7.img)
若因特殊狀況, 要使用 緊急kernel
那就到 config.txt (在 /boot)
增加一行: kernel=kerel_emergency.img(kernel7.img)
2017年9月30日 星期六
2017年9月23日 星期六
raspbian 安裝 moc音樂播放
sudo apt-get install moc
mocp
執行於後台, 跟其他工作無關
-s: 停止播放
-G:暫停播放或繼續撥放
-f:播放下一首歌
-r:播放上一首歌
-i:顯示現在歌曲訊息
-x: 停止播放跳出
man mocp
------------------------------------------------------------
Music On Console (version 2.5.0, revision 2668)
Usage:
mocp [OPTIONS]... [FILE]...
-V --version Print program version and exit
-h --help Print usage and exit
-D --debug Turn on logging to a file
-S --server Only run the server
-F --foreground Run server in foreground and log to stdout
-R --sound-driver LIST Use the first valid sound driver from LIST
(sndio, oss, alsa, jack, null)
-m --music-dir Start in MusicDir
-a --append Append the files/directories/playlists passed in
the command line to playlist and exit
-q --enqueue Add the files given on command line to the queue
-c --clear Clear the playlist and exit
-p --play Start playing from the first item on the playlist
-l --playit Play files given on the command line without modifying
the playlist
-s --stop Stop playing
-f --next Play the next song
-r --previous Play the previous song
-x --exit Shutdown the server
-T --theme theme Use the selected theme file (read from ~/.moc/themes
if the path is not absolute)
-C --config FILE Use the specified config file instead of the default
-O --set-option NAME=VALUE
Override the configuration option NAME with VALUE
-M --moc-dir DIR Use the specified MOC directory instead of the default
-P --pause Pause
-U --unpause Unpause
-G --toggle-pause Toggle between playing and paused
-v --volume (+/-)LEVEL Adjust the PCM volume
-y --sync Synchronize the playlist with other clients
-n --nosync Don't synchronize the playlist with other clients
-A --ascii Use ASCII characters to draw lines
-i --info Print information about the currently playing file
-Q --format FORMAT Print formatted information about the currently
playing file
-e --recursively Alias for -a
-k --seek N Seek by N seconds (can be negative)
-j --jump N{%,s} Jump to some position of the current track
-o --on <controls> Turn on a control (shuffle, autonext, repeat)
-u --off <controls> Turn off a control (shuffle, autonext, repeat)
-t --toggle <controls> Toggle a control (shuffle, autonext, repeat)
-----------------------------------------------------------------------
mocp
執行於後台, 跟其他工作無關
-s: 停止播放
-G:暫停播放或繼續撥放
-f:播放下一首歌
-r:播放上一首歌
-i:顯示現在歌曲訊息
-x: 停止播放跳出
man mocp
------------------------------------------------------------
Music On Console (version 2.5.0, revision 2668)
Usage:
mocp [OPTIONS]... [FILE]...
-V --version Print program version and exit
-h --help Print usage and exit
-D --debug Turn on logging to a file
-S --server Only run the server
-F --foreground Run server in foreground and log to stdout
-R --sound-driver LIST Use the first valid sound driver from LIST
(sndio, oss, alsa, jack, null)
-m --music-dir Start in MusicDir
-a --append Append the files/directories/playlists passed in
the command line to playlist and exit
-q --enqueue Add the files given on command line to the queue
-c --clear Clear the playlist and exit
-p --play Start playing from the first item on the playlist
-l --playit Play files given on the command line without modifying
the playlist
-s --stop Stop playing
-f --next Play the next song
-r --previous Play the previous song
-x --exit Shutdown the server
-T --theme theme Use the selected theme file (read from ~/.moc/themes
if the path is not absolute)
-C --config FILE Use the specified config file instead of the default
-O --set-option NAME=VALUE
Override the configuration option NAME with VALUE
-M --moc-dir DIR Use the specified MOC directory instead of the default
-P --pause Pause
-U --unpause Unpause
-G --toggle-pause Toggle between playing and paused
-v --volume (+/-)LEVEL Adjust the PCM volume
-y --sync Synchronize the playlist with other clients
-n --nosync Don't synchronize the playlist with other clients
-A --ascii Use ASCII characters to draw lines
-i --info Print information about the currently playing file
-Q --format FORMAT Print formatted information about the currently
playing file
-e --recursively Alias for -a
-k --seek N Seek by N seconds (can be negative)
-j --jump N{%,s} Jump to some position of the current track
-o --on <controls> Turn on a control (shuffle, autonext, repeat)
-u --off <controls> Turn off a control (shuffle, autonext, repeat)
-t --toggle <controls> Toggle a control (shuffle, autonext, repeat)
-----------------------------------------------------------------------
2017年9月16日 星期六
raspbian 安裝 scrot
sudo apt-get install scrot
延遲10秒
scrot -d 10
存放內定 /home/pi/
-h Display additional help
-v Get the current version
-d X Add a delay of X seconds to the capture
-c Add a countdown to a delayed capture
-s Allow user to specific capture area with the mouse
-u Capture the current active window
-q X Specify the image quality percentage X (default 75)
-t X Create a thumbnail version at a specified percentage size X
-e Specify a command to run after the image is capture
$f image path/filename (ignored when used in the filename)
$m thumbnail path/filename
$n image name (ignored when used in the filename)
$s image size (bytes) (ignored when used in the filename)
$p image pixel size
$w image width
$h image height
$t image format
$$ prints a literal '$'
\n prints a newline (ignored when used in the filename)
延遲10秒
scrot -d 10
存放內定 /home/pi/
-h Display additional help
-v Get the current version
-d X Add a delay of X seconds to the capture
-c Add a countdown to a delayed capture
-s Allow user to specific capture area with the mouse
-u Capture the current active window
-q X Specify the image quality percentage X (default 75)
-t X Create a thumbnail version at a specified percentage size X
-e Specify a command to run after the image is capture
$f image path/filename (ignored when used in the filename)
$m thumbnail path/filename
$n image name (ignored when used in the filename)
$s image size (bytes) (ignored when used in the filename)
$p image pixel size
$w image width
$h image height
$t image format
$$ prints a literal '$'
\n prints a newline (ignored when used in the filename)
2017年9月9日 星期六
2017年9月1日 星期五
raspbian 安裝中文輸入法
首先安裝字型
安裝文鼎中文字型全部
sudo apt-get install fonts-arphic*
標準楷書
sudo apt-get install fonts-moe-standard-kai
安裝輸入法
sudo apt-get install scim scim-tables-zh scim-chewing scim-gtk-immodule im-switch
重開機後,以Ctrl-Space即可切換輸入法
安裝文鼎中文字型全部
sudo apt-get install fonts-arphic*
標準楷書
sudo apt-get install fonts-moe-standard-kai
安裝輸入法
sudo apt-get install scim scim-tables-zh scim-chewing scim-gtk-immodule im-switch
重開機後,以Ctrl-Space即可切換輸入法
訂閱:
文章 (Atom)