个人工具

“UbuntuHelp:Kompozer”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
(新页面: {{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...)
 
 
(未显示同一用户的5个中间版本)
第1行: 第1行:
 
{{From|https://help.ubuntu.com/community/Kompozer}}
 
{{From|https://help.ubuntu.com/community/Kompozer}}
 
{{Languages|UbuntuHelp:Kompozer}}
 
{{Languages|UbuntuHelp:Kompozer}}
 
+
== What's KompoZer? ==
 
+
As of the release of Ubuntu 7.04 (Feisty Fawn), [http://www.nvu.com/index.php 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 [http://kompozer.net/ KompoZer].
== What's Kompozer? ==
+
== Install KompoZer ==
 
+
* 7.10 (Gutsy Gibbon) - KompoZer is in the "universe" repository, so if you're using that release get them through apt/Synaptic.
As of the release of Ubuntu 7.04 (Feisty Fawn), [http://www.nvu.com/index.php 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 [http://kompozer.net/ Kompozer].
+
* 7.04 (Feisty Fawn) - KompoZer is available in backports ([[UbuntuHelp:UbuntuBackports|UbuntuBackports]])
 
+
For all other supported releases, use TonyYarusso's PPA on Launchpad.
== Install Kompozer ==
+
=== Automatic Download and Installation ===
 
+
If using gutsy, merely make sure you have the universe repository component enabled (it is by default).
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 [https://help.ubuntu.com/community/UsingTheTerminal#head-2fa31364ee2acb07982a2fd5f52c983130565f8f the terminal]:
+
If using feisty, make sure to enable backports ("unsupported updates").
 
+
For other releases, you will need to edit your sources.list file. This can be done with the command 'gksu gedit /etc/apt/sources.list'. Add the one (and only one) of the following lines that matches the release you are running:
=== Download the archive ===
+
deb http://ppa.launchpad.net/tonyyarusso/ubuntu dapper universe <<BR>>
 
+
deb http://ppa.launchpad.net/tonyyarusso/ubuntu edgy universe <<BR>>
<pre><nowiki>wget -c http://internap.dl.sourceforge.net/sourceforge/kompozer/kompozer-077-i686.tgz
+
deb http://ppa.launchpad.net/tonyyarusso/ubuntu feisty universe
</nowiki></pre>
+
Save the file and close Gedit. Update apt by either running 'sudo apt-get update', or in Synaptic clicking the '''Reload''' button.
 
+
In the Package Installer, search for kompozer, and click on '''Install Package'''.
=== Extract the archive ===
+
For PPA packages, you may need to approve installation of an "untrusted package".
<pre><nowiki>tar -xvzf kompozer-077-i686.tgz
+
== Running KompoZer ==
</nowiki></pre>
+
KompoZer is accessible via Applications/Internet menu.
 
+
=== Move the extracted folder ===
+
<pre><nowiki>sudo mv kompozer /opt/
+
</nowiki></pre>
+
 
+
=== Link the executable to the standard location ===
+
<pre><nowiki>sudo ln -s /opt/kompozer/kompozer /usr/bin/kompozer
+
</nowiki></pre>
+
 
+
=== Kompozer's installed! ===
+
 
+
Now the command
+
<pre><nowiki>kompozer
+
</nowiki></pre> will launch Kompozer.
+
 
+
=== Removing the original archive ===
+
 
+
Once you're sure that Kompozer is working, remove the original archive you downloaded
+
<pre><nowiki>rm kompozer-077-i686.tgz
+
</nowiki></pre>
+
 
+
== 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:  
+
<pre><nowiki>sudo nano /usr/share/applications/kompozer.desktop
+
</nowiki></pre>
+
 
+
This will open an empty text file in the text editor Nano. Then paste (Shift-Insert) the following text into the text editor:
+
<pre><nowiki>[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
+
</nowiki></pre>
+
 
+
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
+
<pre><nowiki>gksudo gedit /usr/share/applications/kompozer.desktop
+
</nowiki></pre>
+
 
+
For Kubuntu
+
<pre><nowiki>kdesu kate /usr/share/applications/kompozer.desktop
+
</nowiki></pre>
+
 
+
For Xubuntu
+
<pre><nowiki>gksudo mousepad /usr/share/applications/kompozer.desktop
+
</nowiki></pre>
+
 
+
 
----
 
----
[[category:CategoryDocumentation]]
 
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2009年5月12日 (二) 17:40的最新版本

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

  • 7.10 (Gutsy Gibbon) - KompoZer is in the "universe" repository, so if you're using that release get them through apt/Synaptic.
  • 7.04 (Feisty Fawn) - KompoZer is available in backports (UbuntuBackports)

For all other supported releases, use TonyYarusso's PPA on Launchpad.

Automatic Download and Installation

If using gutsy, merely make sure you have the universe repository component enabled (it is by default). If using feisty, make sure to enable backports ("unsupported updates"). For other releases, you will need to edit your sources.list file. This can be done with the command 'gksu gedit /etc/apt/sources.list'. Add the one (and only one) of the following lines that matches the release you are running: deb http://ppa.launchpad.net/tonyyarusso/ubuntu dapper universe <
> deb http://ppa.launchpad.net/tonyyarusso/ubuntu edgy universe <
> deb http://ppa.launchpad.net/tonyyarusso/ubuntu feisty universe Save the file and close Gedit. Update apt by either running 'sudo apt-get update', or in Synaptic clicking the Reload button. In the Package Installer, search for kompozer, and click on Install Package. For PPA packages, you may need to approve installation of an "untrusted package".

Running KompoZer

KompoZer is accessible via Applications/Internet menu.