Install Flock On Ubuntu

posted on 02 Nov 2007 14:39 by pexza  in UbuntuTips
With the terminal open, navigate to the folder which the file is in. If this has been downloaded to your desktop, then type:

cd Desktop

From there we will type the following to extract (or install) the Flock tarball to the /opt folder.

sudo tar -C /opt -xzvf flock-*.linux-i686.tar.gz

Next, we will create a symbolic link:

sudo ln -s /opt/flock/flock /usr/bin/flock

Now we will create a menu entry:

sudo gedit /usr/share/applications/Flock.desktop

Add this to the new 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=
Categories=Network;Application;


Finally, refresh the Gnome Panel:

killall gnome-panel

Or, if you are using Kubuntu:

dcop kicker Panel configure

That’s it! Now you have installed Flock in Ubuntu Linux. Enjoy.

To uninstall Flock, type the following (as if you will actually ever want to!):

sudo rm /usr/bin/flock
sudo rm /usr/share/applications/Flock.desktop
sudo rm -rf /opt/flock
killall gnome-panel


Digg This Tips From Here

Comment



smilebig smileopen-mounthed smileconfused smilesad smileangry smiletonguequestionembarrassedsurprised smilewinkdouble winkcry

Tweet

ผมพึ่งลองใช้ ubuntu ได้ 3 วัน
กำลังศึกษาการลง flock ใน ubuntu
ขอบคุณสำหรับข้อมูลที่มีประโยชน์ครับ big smile

#1 By Pisit (58.147.37.202) on 2008-09-03 17:36