UbuntuHelp:InstallingFlock
来自Ubuntu中文
点击翻译: |
English |
请不要直接编辑翻译本页,本页将定期与来源同步。 |
[[1]] is a free, open source web browser based on Firefox. Flock is still in development 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 [[2]] 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 [[3]] 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 [forums] that is more directed at an individual user testing flock.