- Add the extension CHM Reader
- Save the following shell script as readchm.sh (or any other name you like) to /usr/local/bin (or any place you like).
#!/bin/sh
firefox "chm:file:///$1"exit 0
- Change the script to excutable file:
chmod 755 /usr/local/bin/readchm.sh
- Right click a chm file,choose "Open with another Appication",click "Usa a custom command",type in
/usr/local/bin/readchm.sh
- Click "Open".
Thursday, January 3, 2008
Read CHM file with Firefox in Linux
With several steps done,I made myself able to read chm files with Firefox in Ubuntu.
Labels:
CHM,
Linux,
Programming,
Script,
Shell
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment