How to install emacs on ubuntu
First make sure you have permission to install as a root by typing in the command line:
You will be asked for your password and if you get no error, then you are ready to work as a root.
Add the Emacs Ubuntu package repository to your system:
Install the latest snapshot of Emacs:
Use Rasi's configuration files for .emacs
and .emacs.d
following the instructions in file:how_to_use_rasi_desktop_configuration_files.org.
Now you should be able to open Emacs without any error.
Org2Blog setup¶
If you are setting up org2blog
for your lab notebook, you will want to push to your lab notebook instead of hpark
by modifying the URL and username in the following lines in your ~/.emacs
file.
(setq org2blog/wp-blog-alist
'(("ln"
:url "http://rasilab.org/ln/hpark/xmlrpc.php"
:username "hpark234"
:default-title "XXX"
:default-categories ("experiments")
:tags-as-categories nil)
))
Once you have the above setup correctly, you should be able to create a new lab notebook page by M-x b n
(Blog New
). You can push to the lab notebook site by M-x b p
(Blog Push
).