UbuntuHelp:Kompozer
来自Ubuntu中文
点击翻译: |
English |
请不要直接编辑翻译本页,本页将定期与来源同步。 |
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
kompozerwill 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
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