Sunday, January 24, 2010

Keyjnote: Great PDF presentation tool

If you use Adobe Reader to present your pdf, then you should try KeyJnote/Impression. It is a python script for adding eye candy to your presentation.

If you are interested check out a few youtube videos to see what it can do.

You can install it through your package manager. Search for "keyjnote".

After installation just type:

keyjnote pdf_file_name.pdf

During the presentation try pressing the following:
1) Enter - spotlight
2) Tab - slide arrangement
3) b - black screen
4) w - white screen
5) t - timer
6) z - zoom (where your mouse points)
7) q - quit

There are more commands on their website.

Using a simple .info script you can add more slide transition features.

Name your script as "pdf_file_name.pdf.info". Add the following for each slide in your pdf.

PageProps = {
1: {
'title': "slide1",
'transition': PagePeel,
},
2: {
'title': "slide2",
}
.......
}




Ubuntu: Synaptic without password

WARNING: It is not good practice to avoid entering passwords for applications. If you feel lazy (like me) do this, but only on your laptop. Do not use this on desktops, specially servers.

To use synaptic package manager without having to enter password you just need to add a line to /etc/sudoers file. Add the following line at the end of the file.

username ALL=NOPASSWD: /usr/sbin/synaptic

"username" - is your username on the machine.

You can do the same to run any other application without having to enter your password.

e.g. You can add the following line to make application gshutdown work without password
username ALL=NOPASSWD: /usr/bin/gshutdown



Thursday, January 14, 2010

Python: Add segment name to a .pdb file

Some times it is easier to view .pdb files with segment names in viewers like VMD.

Here is a python script you can use to add segment IDs to a .pdb file.

add_segid.py - Download