个人工具

“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...)
 
第3行: 第3行:
  
  
== What's 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].
+
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].
  
== Install 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 [https://help.ubuntu.com/community/UsingTheTerminal#head-2fa31364ee2acb07982a2fd5f52c983130565f8f the terminal]:
+
* 7.10 (Gutsy Gibbon) - KompoZer is in the "universe" repository, so if you're using that release get them through apt/Synaptic.
  
=== Download the archive ===
+
* 7.04 (Feisty Fawn) - KompoZer is available in backports (UbuntuBackports)
  
<pre><nowiki>wget -c http://internap.dl.sourceforge.net/sourceforge/kompozer/kompozer-077-i686.tgz
+
For all other supported releases, use TonyYarusso's PPA on Launchpad.
</nowiki></pre>
+
  
=== Extract the archive ===
+
=== Automatic Download and Installation ===
<pre><nowiki>tar -xvzf kompozer-077-i686.tgz
+
</nowiki></pre>
+
  
=== Move the extracted folder ===
+
If using gutsy, merely make sure you have the universe repository component enabled (it is by default).
<pre><nowiki>sudo mv kompozer /opt/
+
</nowiki></pre>
+
  
=== Link the executable to the standard location ===
+
If using feisty, make sure to enable backports ("unsupported updates").
<pre><nowiki>sudo ln -s /opt/kompozer/kompozer /usr/bin/kompozer
+
</nowiki></pre>
+
  
=== Kompozer's installed! ===
+
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:
  
Now the command
+
deb http://ppa.launchpad.net/tonyyarusso/ubuntu dapper universe <br>
<pre><nowiki>kompozer
+
deb http://ppa.launchpad.net/tonyyarusso/ubuntu edgy universe <br>
</nowiki></pre> will launch Kompozer.
+
deb http://ppa.launchpad.net/tonyyarusso/ubuntu feisty universe
  
=== Removing the original archive ===
+
Save the file and close Gedit.  Update apt by either running 'sudo apt-get update', or in Synaptic clicking the '''Reload''' button.
  
Once you're sure that Kompozer is working, remove the original archive you downloaded
+
In the Package Installer, search for kompozer, and click on '''Install Package'''.
<pre><nowiki>rm kompozer-077-i686.tgz
+
</nowiki></pre>
+
  
== Making a menu entry for Kompozer ==
+
For PPA packages, you may need to approve installation of an "untrusted package".
  
If you want to make an official menu entry (available to all users) for Kompozer, paste this command into the terminal:
+
== Running KompoZer ==
<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:
+
KompoZer is accessible via Applications/Internet menu.
<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>
 
  
 
----
 
----

2007年11月22日 (四) 13:20的版本


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.