View Single Post
HtheB's Avatar
Moderator | Posts: 3,718 | Thanked: 7,420 times | Joined on Dec 2009 @ Bize Her Yer Trabzon
#228
Here is a way to add a homescreen Icon:

first we need to make a little script so it will avoid all the library errors.
go to the terminal (default password of root is rootme)
Code:
devel-su
nano /opt/mozbuildhm/mozilla.sh
if it gives you an error message about nano, it means you don't have nano installed yet, to install nano use command:
apt-get install nano

Now copy and paste this in the nano editor
Code:
#! /bin/bash
# script to run fennec beta
cd /opt/mozbuildhm
./qmlMozEmbedTest
Now save and close the file with 'Ctrl+X' (filename is: mozilla.sh)

now we need to add the executable attribute
Code:
chmod 755 /opt/mozbuildhm/mozilla.sh
Now we're ready to add the desktop icon to the menu
Code:
nano /usr/share/applications/fennecbeta.desktop
now copy and paste this in the nano editor
Code:
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=false
Name=Firefox Beta
Exec=/opt/mozbuildhm/mozilla.sh
Icon=/usr/share/themes/blanco/meegotouch/icons/icon-l-fennec.png
Save and close it with 'Ctrl+X' (filename is fennecbeta.desktop)


Have fun!
(the icon will only show up if you have firefox already installed, ofcourse you can change the icon with your own icons instead, just change the path of the 'Icon')


If you want to remove the script and homescreen icon:
Code:
devel-su   (default password is: rootme)
rm /opt/mozbuildhm/mozilla.sh
rm /usr/share/applications/fennecbeta.desktop
__________________
www.HtheB.com
Please donate if you think I'm doing a good job.

Last edited by HtheB; 2013-01-26 at 08:55.
 

The Following 5 Users Say Thank You to HtheB For This Useful Post: