Twitter

I'm on Twitter these days: @douglaspperkins. Give me a tweet if you like.

Creative Commons License
This work (the text and images of this blog entry) is licensed under a Creative Commons Attribution 3.0 Unported License.
For attribution of this work, link to this page and include my name, Douglas P Perkins.

Pictures on cellphones

Here's how to take images (maps, in my case) from your computer and put them on a Docomo FOMA P703iu cellphone. The phone can read microSD cards, and using a microSD/SD adapter, so can the computer.

Of course, you can grab images from the internet using the phone directly. In that case you don't need a microSD card, but there's less storage and you pay for bandwidth.

Put your microSD card in the adapter and put that in the computer. Make the following directory: /path_to_card/dcim/999_pana. Use any 3-digit number instead of 999.

Choose an image to put on your phone. Convert it jpg. According to the FOMA P703iu manual, the maximum dimensions are 1632x1224 and the maximum image size is 700kBytes. To resize and convert, use a program like the GIMP or ImageMagick. According to the manual, the phone supports gif as well as jpg, but my phone can't display gif at normal resolution.

Copy the jpg to /path_to_card/dcim/999_pana. Rename the jpg to STIL0010.JPG. Use any 4-digit number instead of 0010.

Put the microSD card in your camera and try to view the picture. メニュー -> DataBOX -> My picture -> 6. microSD. The picture should show up. If the file is listed but not viewable, maybe your image format is wrong. If the file isn't listed, maybe it's too big, maybe the file name is wrong, or maybe the directory name is wrong.

Creative Commons License
This work (the text of this blog entry) is licensed under a Creative Commons Attribution 3.0 Unported License.
For attribution of this work, link to this page and include my name, Douglas P Perkins.

Default settings

.vimrc:
set uc=0
set nobackup
set nowritebackup
set noswapfile
set nomodeline

.Xmodmap:
!Swap caps lock and escape
remove Lock = Caps_Lock
keysym Escape = Caps_Lock
keysym Caps_Lock = Escape
add Lock = Caps_Lock

On the Kinesis keyboard, Progrm+\ turns off sound for all regular keys. Progrm+- turns off Caps Lock and Num Lock sound.

.bash_profile:
# Colors.
NC='\e[0m'
black='\e[0;30m'
BLACK='\e[1;30m'
red='\e[0;31m'
RED='\e[1;31m'
green='\e[0;32m'
GREEN='\e[1;32m'
yellow='\e[0;33m'
YELLOW='\e[1;33m'
blue='\e[0;34m'
BLUE='\e[1;34m'
magenta='\e[0;35m'
MAGENTA='\e[1;35m'
cyan='\e[0;36m'
CYAN='\e[1;36m'
white='\e[0;37m'
WHITE='\e[1;37m'

# A prompt showing the current directory.
PS1="\[$GREEN\]\W \[$BLUE\]$\[$NC\] "

.bash_profile or /etc/profile or (on Gentoo) /etc/env.d/99local:
# Enable scim-anthy for Japanese character input.
export XMODIFIERS='@im=SCIM'
export GTK_IM_MODULE="scim"
export QT_IM_MODULE="scim"

Creative Commons License
This work (the text of this blog entry) is licensed under a Creative Commons Attribution 3.0 Unported License.
For attribution of this work, link to this page and include my name, Douglas P Perkins.