View previous topic :: View next topic |
Author |
Message |
zalun Tux's lil' helper
Joined: 02 Feb 2004 Posts: 89
|
Posted: Thu May 12, 2011 12:13 pm Post subject: [HOWTO] ChatZilla with latest Xulrunner (2.0+) |
|
|
I use ChatZilla with xulrunner which makes it looks like a standalone application.
First install xulrunner
Code: | sudo emerge xulrunner -av |
Download latest ChatZilla prepared for xulrunner from http://chatzilla.rdmsoft.com/xulrunner/ - currently:
Code: | wget http://chatzilla.rdmsoft.com/xulrunner/download/chatzilla-0.9.86.1-xr.zip |
unpack the chatzilla to prefered directory
Code: | sudo mkdir /opt/xulrunner/chatzilla-0.9.86.1 -p
sudo unzip -d "/opt/xulrunner/chatzilla-0.9.86.1" chatzilla-0.9.86.1-xr.zip
sudo ln -fs /opt/xulrunner/chatzilla-0.9.86.1 /opt/xulrunner/chatzilla
|
Now this is a little tricky as at the moment this addon is prepared for xulrunner < 2.0.
chrome.manifest file needs to be in addon's root directory, all references to chrome.jar are relative to this path.
Code: | cat /opt/xulrunner/chatzilla/chrome/chrome.manifest | awk '{ sub(/chatzilla.jar/, "chrome/chatzilla.jar"); print }' > /opt/xulrunner/chatzilla/chrome.manifest
|
Run ChatZilla
Code: | xulrunner-2.0 --app /opt/xulrunner/chatzilla/application.ini |
Consider creating a simple script shortcut
Code: | sudo ln -fs /usr/bin/xulrunner-2.0 /usr/bin/xulrunner
echo "xulrunner --app /opt/xulrunner/chatzilla/application.ini" | sudo tee -a /usr/local/bin/chatzilla
chmod 755 /usr/local/bin/chatzilla
|
Thanks to Silver from irc://irc.mozilla.org/#chatzilla to make it work under xulrunner 2.0
Influenced by http://ubuntuforums.org/showthread.php?t=140811
If you think directory placement is not very "gentooish" please correct me.
Last edited by zalun on Thu May 12, 2011 12:25 pm; edited 2 times in total |
|
Back to top |
|
|
tomk Bodhisattva
Joined: 23 Sep 2003 Posts: 7221 Location: Sat in front of my computer
|
Posted: Thu May 12, 2011 12:18 pm Post subject: |
|
|
Moved from Other Things Gentoo to Documentation, Tips & Tricks as it fits better here. _________________ Search | Read | Answer | Report | Strip |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|