个人工具

UbuntuHelp:Kompozer

来自Ubuntu中文

Oneleaf讨论 | 贡献2007年5月24日 (四) 12:03的版本 (新页面: {{From|https://help.ubuntu.com/community/Kompozer}} {{Languages|UbuntuHelp:Kompozer}} == What's Kompozer? == As of the release of Ubuntu 7.04 (Feisty Fawn), [http://www.nvu.com/index.p...)

(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航, 搜索


What's Kompozer?

As of the release of Ubuntu 7.04 (Feisty Fawn), Nvu, a fully graphical web design program, is no longer available in the Universe repositories, since the Nvu project has been discontinued. Nvu has been revived with a new name, though--it's now called Kompozer.

Install Kompozer

As of this writing (the day before Feisty Fawn's release), Kompozer is not yet in the software repositories, so you'll be using the precompiled binary from the Kompozer website. To install Kompozer, copy and paste these commands into the terminal:

Download the archive

wget -c http://internap.dl.sourceforge.net/sourceforge/kompozer/kompozer-077-i686.tgz

Extract the archive

tar -xvzf kompozer-077-i686.tgz

Move the extracted folder

sudo mv kompozer /opt/

Link the executable to the standard location

sudo ln -s /opt/kompozer/kompozer /usr/bin/kompozer

Kompozer's installed!

Now the command

kompozer
will launch Kompozer.

Removing the original archive

Once you're sure that Kompozer is working, remove the original archive you downloaded

rm kompozer-077-i686.tgz

Making a menu entry for Kompozer

If you want to make an official menu entry (available to all users) for Kompozer, paste this command into the terminal:

sudo nano /usr/share/applications/kompozer.desktop

This will open an empty text file in the text editor Nano. Then paste (Shift-Insert) the following text into the text editor:

[Desktop Entry]
Name=Kompozer 
Name[ja]=Kompozer
Name[de]=Kompozer
Comment=Create and Edit Web Pages
Categories=GNOME;Application;Development;
Encoding=UTF-8
Exec=kompozer
Icon=/opt/kompozer/icons/mozicon50.xpm
Terminal=false
Type=Application

Then save the text file (Control-X, Y, Enter).

Using a text editor other than Nano

If you prefer a graphical text editor, use one of the following commands instead:

For Ubuntu

gksudo gedit /usr/share/applications/kompozer.desktop

For Kubuntu

kdesu kate /usr/share/applications/kompozer.desktop

For Xubuntu

gksudo mousepad /usr/share/applications/kompozer.desktop