调整背光亮度
echo X > /sys/class/backlight/hp680-bl/brightness
X值在 1~255 之间,0关闭背光,255亮度最高
Where X is a number between 1 and 255 (255 being brightest). Entering 0 switches the backlight off (but doesnt shut the device down).
编译程序
需要安装如下包
gcc-symlinks
glibc-dev
串口
Set up : connect a Serial Sync Cable (provided with J680) to serial port of
your Windows PC
On Win PC open "Hyper Terminal" or equivalent terminal and configure "9600" "8bit" "Non Parity" "1 stop bit" "none flow control"
On J680 in Cosole type "getty 9600 ttySC1 vt100"
Now you can get it dispalyed on Win PC in real full screen with much bigger font size, easier scroll back and even you can save your scroll if in need..
Jornada 690 linux 安装wqy文泉驿中文点阵字体, dillo elinks mrxvt 临时设定, 输入法临时方案
原始文档见 http://m2xrain.googlepages.com/ 修改/etc/profile 加入 LC_CTYPE=zh_CN.GB2312LANG=zh_CN.GB2312
修改
export PATH PS1 OPIEDIR QPEDIR QTDIR EDITOR TERM LC_CTYPE LANG 安装中文locale, locale-base-zh-cn。???? 依赖关系很复杂(glibc-charmap-utf-8 glibc-localedata-i18n glibc-localedata-iso14651-t1 glibc-localedata-translit-circle glibc-localedata-translit-cjk-compact glibc-localedata-translit-compat glibc-localedata-translit-font glibc-localedata-translit-fraction glibc-localedata-translit-narrow glibc-localedata-translit-neutral glibc-localedata-translit-small glibc-localedata-translit-wide glibc-localedata-zh-cn localedef ). 可以下载安装包后本地ipkg install xxx.ipk 安装。 ipkg update
ipkg install locale-base-zh-cn
或者 ipk download xxx.ipk xxx.ipk ...
ipk install xxx.ipk xxx.ipk ...
安装wqy文泉驿中文点阵字体
jlime linux 中没有内置中文字体,为了能够显示中文必须自己安装。由于jornada的屏幕分辩率低,中文字体抗锯齿渲染效果差,反倒是最普通的点阵字体效果比较好。而且wqy字体(已经发布的是点阵字体)是GPL开源的,不用担心微软simsun字体的版权问题。首先在wqy.sourceforge.net 下载字体,我下载的是wqy-bitmapfont-bdf-west-nightly_build.tar.gz。说明文件中有安装方法。 解开压缩包 tar -zxpvf wqy-bitmapfont-bdf-west-nightly_build.tar.gz将字体移动到目录 mv wqy-bitmapfont-all/ /usr/share/fonts/wqy
进入字体目录
cd /usr/share/fonts/wqy
mkfontdir .
cp fonts.dir fonts.scale
xset +fp /usr/share/fonts/wqy/
cp 85-wqy-bitmapsong.conf /etc/fonts/conf.d/
fc-cache -f -v
dillo
只需要打开 V菜单 option 选项,将Font vw_aafontname 和fw_aafontname 改成 WenQuanYi Bitmap Song,就可正常显示GB 和unicode编码的网页。字体大小11 比较合适。但是网页按钮上的中文显示为方块,gmail邮箱有时不能进入,长时间没有反应,并显示 "Query sent, waiting for reply", 点击邮箱中显示为中文的链接也容易出现这个问题。键盘快捷键 http://www.dillo.org/dillo-help.html
Shortcut Mnemonic Function
------------------------------------------------------------
Ctrl-L "Ctrl-Location" (enter a new URL)
Ctrl-U "Ctrl-URL" (edit the URL)
Ctrl-F "Ctrl-Find" (find text)
Ctrl-S "Ctrl-Search" (search the web)
Ctrl-R "Ctrl-Reload" (reload current page)
Ctrl-N "Ctrl-New" (New browser window)
Ctrl-O "Ctrl-Open" (Open file)
Ctrl-H "Ctrl-Hide" (Hide/show controls)
Ctrl-B or ";" "Ctrl-Bookmarks" (view bookmarks)
Ctrl-Q "Ctrl-Quit" (quit window)
------------------------------------------------------------
Back or "," "<" (previous page)
Shift-Back or "." ">" (next page)
Esc "escape" (close dialog)
Alt-F "File" (file menu)
Alt-X "eXit" (exit Dillo)
elinks
elinks 本身不支持中文,但是可以显示gb编码的网页。 改动用户目录下 .elinks/elinks.conf 文件set document.codepage.assume = "windows-1252"
mrxvt
将/etc/mrxvt/mrxvtrc.sample内容拷贝到用户目录的 .mrxvtrc。 改动如下两行 Mrxvt.xftmFont: WenQuanYi Bitmap SongMrxvt.multichar_encoding: GB
VIM
修改~/.vimrc set nocpset encoding=prc
set autoindent
set ruler
set noincsearch
"高亮当前行 set cursorline
set cul
set backspace=indent,eol,start
set foldmethod=indent
set helplang=cn
set dict=e:homedoctoreducationenglishterminology.eng.txt
set wim=list:longest
"启动后自动最大化
au GUIEnter * simalt ~x
imap jj <esc>
colorscheme elflord
autocmd GUIEnter * simalt ~x "Max GUI window on start
let g:vikiOpenFileWith_html = "silent !firefox %{FILE}"
let g:vikiOpenFileWith_ANY = "silent !start %{FILE}" "自动转换vikimode
autocmd! BufRead,BufNewFile $HOME/* set filetype=viki
noremap <silent> <F11> :cal VimCommanderToggle()<CR>
let &guioptions = substitute(&guioptions, "t", "", "g") " 去掉菜单中的切断
autocmd BufReadPre *.pdf set ro
autocmd BufReadPost *.pdf %!pdftotext -nopgbrk "%" -
输入法
目前只是一个设想,主要是复制粘贴的方法,就是用vim打开一个拼音码表,"/"搜索拼音对应得到汉字,复制粘贴。蓝牙
Module Size Used by Not tainted
rfcomm 28352 1 (autoclean)
l2cap 14848 1 (autoclean) [rfcomm]
af_packet 8456 1 (autoclean)
hci_uart 11040 4 (autoclean)
bluez 27264 2 (autoclean) [rfcomm l2cap hci_uart]
serial_cs 4608 0 (unused)
fmvj18x_cs 8580 1
nfsd 44768 8 (autoclean)
lockd 37344 1 (autoclean) [nfsd]
sunrpc 62324 1 (autoclean) [nfsd lockd]
serial 29728 2 (autoclean) [serial_cs]
vfat 9404 0 (autoclean)
fat 30008 0 (autoclean) [vfat]
#!/bin/sh
hciattach /dev/ttyS2 xircom
hciconfig hci0 up
sdptool add lan
dund --listen --msdun --channel 1 192.168.2.101:192.168.2.102
没有评论:
发表评论