JayXie’s blog Around emacs, linux, me.sohu.com, etc.

19Jan/090

export org-mode file in command line

see http://thread.gmane.org/gmane.emacs.orgmode/7675 for more informations

以下是我用来export单个文件的命令

生成html

emacs --batch --eval '(progn (setq user-full-name "Your Name")(setq user-mail-address "Your Mail Address")(find-file "/path/to/file.org")(org-export-as-html 3))'

生成txt

emacs --batch --eval '(progn (setq user-full-name "Your Name")(setq user-mail-address "Your Mail Address")(find-file "/path/to/file.org")(org-export-as-ascii 3))'
Filed under: Emacs No Comments
18Jan/091

Linux下通过USB用WM6手机的GPRS上网

From http://wiki.xda-developers.com/index.php?pagename=Hermes_Modem_With_Linux

但并不是一定得用Hermes这个机器,我用的是Dopod D600,所谓的GENE,按照文中所述编译安装了usb-rndis-lite后,在手机上用Internet共享拨号连接后,NetworkManager就找到了一个新的网络设备,这时候就连接成功了

Filed under: ubuntu 1 Comment
6Jan/093

a google chrome like color schema for sawfish using mxflat theme

mxflat theme can be found in sawfish-themes package in both ubuntu and debian.

I made a google chrome like color schema using this theme with settings below.

This is the sample image, the browser is swiftfox with chromifox theme.
sawfish-mxflat-chrome

Also you can make a shadow~
sawfish-mxflat-chrome-shadow

Filed under: ubuntu Continue reading