“UbuntuHelp:InstallingFlock”的版本间的差异
来自Ubuntu中文
小 |
小 |
||
第2行: | 第2行: | ||
{{Languages|UbuntuHelp:InstallingFlock}} | {{Languages|UbuntuHelp:InstallingFlock}} | ||
[http://www.flock.com/ Flock] is a free, open source web browser based on Firefox. | [http://www.flock.com/ Flock] is a free, open source web browser based on Firefox. | ||
− | |||
Flock is still in developmentm and will be officially released and added to the Ubuntu repositories in future. | Flock is still in developmentm and will be officially released and added to the Ubuntu repositories in future. | ||
− | |||
For those who want to try Flock before then: | For those who want to try Flock before then: | ||
− | |||
==== Install Flock ==== | ==== Install Flock ==== | ||
* Download [http://www.flock.com/ Flock] page for Linux. | * Download [http://www.flock.com/ Flock] page for Linux. | ||
第12行: | 第9行: | ||
* Right click the desktop, choose '''Create Launcher''' | * Right click the desktop, choose '''Create Launcher''' | ||
For command, click '''Browser''' and chose the file called 'flock' in the folder you just extracted. | For command, click '''Browser''' and chose the file called 'flock' in the folder you just extracted. | ||
− | |||
==== Install Flock (Multi-user Command line) ==== | ==== Install Flock (Multi-user Command line) ==== | ||
− | |||
* Download [http://www.flock.com/ Flock] page for Linux. | * Download [http://www.flock.com/ Flock] page for Linux. | ||
− | |||
* Change to the directory you downloaded it to, then extract Flock into /opt: | * Change to the directory you downloaded it to, then extract Flock into /opt: | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo tar -C /opt -xzvf flock-*.linux-i686.tar.gz | sudo tar -C /opt -xzvf flock-*.linux-i686.tar.gz | ||
</nowiki></pre> | </nowiki></pre> | ||
− | |||
* Optionally, you can test Flock from the command line: | * Optionally, you can test Flock from the command line: | ||
<pre><nowiki> | <pre><nowiki> | ||
/opt/flock/flock | /opt/flock/flock | ||
</nowiki></pre> | </nowiki></pre> | ||
− | |||
* Create link and menu: | * Create link and menu: | ||
<pre><nowiki> | <pre><nowiki> | ||
第32行: | 第24行: | ||
sudoedit /usr/share/applications/Flock.desktop | sudoedit /usr/share/applications/Flock.desktop | ||
</nowiki></pre> | </nowiki></pre> | ||
− | |||
* Then enter or copy the following text and save the file: | * Then enter or copy the following text and save the file: | ||
<pre><nowiki> | <pre><nowiki> | ||
第49行: | 第40行: | ||
X-KDE-Username= | X-KDE-Username= | ||
</nowiki></pre> | </nowiki></pre> | ||
− | |||
* Gnome users refresh panel: | * Gnome users refresh panel: | ||
<pre><nowiki> | <pre><nowiki> | ||
killall gnome-panel | killall gnome-panel | ||
</nowiki></pre> | </nowiki></pre> | ||
− | |||
* KDE users refresh kicker: | * KDE users refresh kicker: | ||
<pre><nowiki> | <pre><nowiki> | ||
dcop kicker Panel configure | dcop kicker Panel configure | ||
</nowiki></pre> | </nowiki></pre> | ||
− | |||
<br> | <br> | ||
Enjoy Flock! :)) | Enjoy Flock! :)) | ||
− | |||
==== Removing Flock ==== | ==== Removing Flock ==== | ||
This is untested but should work. | This is untested but should work. | ||
− | |||
* Remove the symbolic link | * Remove the symbolic link | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo rm /usr/bin/flock | sudo rm /usr/bin/flock | ||
</nowiki></pre> | </nowiki></pre> | ||
− | |||
* Remove the menu option | * Remove the menu option | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo rm /usr/share/applications/Flock.desktop | sudo rm /usr/share/applications/Flock.desktop | ||
</nowiki></pre> | </nowiki></pre> | ||
− | |||
* Refresh gnome panel or kicker as shown above | * Refresh gnome panel or kicker as shown above | ||
* Remove flock directory | * Remove flock directory | ||
第81行: | 第65行: | ||
sudo rm -rf /opt/flock | sudo rm -rf /opt/flock | ||
</nowiki></pre> | </nowiki></pre> | ||
− | |||
==== Giving Flock access to Firefox plugins ==== | ==== Giving Flock access to Firefox plugins ==== | ||
Note: If you do this, do not uninstall Firefox | Note: If you do this, do not uninstall Firefox | ||
− | |||
* Rename old Flock plugins directory | * Rename old Flock plugins directory | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo mv /opt/flock/plugins /opt/flock/plugins.original | sudo mv /opt/flock/plugins /opt/flock/plugins.original | ||
</nowiki></pre> | </nowiki></pre> | ||
− | |||
* Link Flock plugins directory to Firefox plugins directory | * Link Flock plugins directory to Firefox plugins directory | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo ln -s /usr/lib/firefox/plugins /opt/flock/plugins | sudo ln -s /usr/lib/firefox/plugins /opt/flock/plugins | ||
</nowiki></pre> | </nowiki></pre> | ||
− | |||
==== Other references ==== | ==== Other references ==== | ||
There is also a discussion of installing flock on the [http://ubuntuforums.org/showthread.php?t=94748 Ubuntu forums] that is more directed at an individual user testing flock. | There is also a discussion of installing flock on the [http://ubuntuforums.org/showthread.php?t=94748 Ubuntu forums] that is more directed at an individual user testing flock. | ||
− | |||
---- | ---- | ||
[[category:CategoryDocumentation]] | [[category:CategoryDocumentation]] | ||
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2007年11月30日 (五) 18:02的版本
点击翻译: |
English |
请不要直接编辑翻译本页,本页将定期与来源同步。 |
Flock is a free, open source web browser based on Firefox. Flock is still in developmentm and will be officially released and added to the Ubuntu repositories in future. For those who want to try Flock before then:
目录
Install Flock
- Download Flock page for Linux.
- Right click the file, choose Extract Here
- Right click the desktop, choose Create Launcher
For command, click Browser and chose the file called 'flock' in the folder you just extracted.
Install Flock (Multi-user Command line)
- Download Flock page for Linux.
- Change to the directory you downloaded it to, then extract Flock into /opt:
sudo tar -C /opt -xzvf flock-*.linux-i686.tar.gz
- Optionally, you can test Flock from the command line:
/opt/flock/flock
- Create link and menu:
sudo ln -s /opt/flock/flock /usr/bin/flock sudoedit /usr/share/applications/Flock.desktop
- Then enter or copy the following text and save the file:
[Desktop Entry] Comment=Flock Web Browser Exec=flock GenericName=Flock Web Browser Icon=/opt/flock/icons/mozicon128.png Name=Flock Path= StartupNotify=true Terminal=0 TerminalOptions= Type=Application X-KDE-SubstituteUID=false X-KDE-Username=
- Gnome users refresh panel:
killall gnome-panel
- KDE users refresh kicker:
dcop kicker Panel configure
Enjoy Flock! :))
Removing Flock
This is untested but should work.
- Remove the symbolic link
sudo rm /usr/bin/flock
- Remove the menu option
sudo rm /usr/share/applications/Flock.desktop
- Refresh gnome panel or kicker as shown above
- Remove flock directory
sudo rm -rf /opt/flock
Giving Flock access to Firefox plugins
Note: If you do this, do not uninstall Firefox
- Rename old Flock plugins directory
sudo mv /opt/flock/plugins /opt/flock/plugins.original
- Link Flock plugins directory to Firefox plugins directory
sudo ln -s /usr/lib/firefox/plugins /opt/flock/plugins
Other references
There is also a discussion of installing flock on the Ubuntu forums that is more directed at an individual user testing flock.