PDA

View Full Version : HOWTO: Install Mozilla Sunbird


DCM36
October 15th, 2006, 11:30 PM
Mozilla Sunbird is now installable by using Synaptic or apt-get. This is the recommended installation method for most users.


Here's an easy, straight-forward install of Mozilla Sunbird.

Open a terminal

We're going to install it to the /opt directory, so:

cd /opt

Then download Sunbird
sudo wget ftp://ftp.mozilla.org/pub/mozilla.org/calendar/sunbird/releases/0.7rc3/linux-i686/en-US/sunbird-0.7rc3.en-US.linux-i686.tar.gz


Now extract Sunbird to a folder named sunbird in /opt
sudo tar -xvf sunbird-0.7rc3.en-US.linux-i686.tar.gz

This gives ownership of the sunbird directory to root.
sudo chown -R root:root /opt/sunbird/

Now make a script to redirect to sunbird folder in /opt
sudo gedit /usr/bin/sunbird.sh

In the document that opens, copy this into it:
cd /opt/sunbird/
./sunbird
Save and close the document.

Now make the script that was just made executable
sudo chmod +x /usr/bin/sunbird.sh

Now create a entry in the appilcations menu
sudo gedit /usr/share/applications/sunbird.desktop

In the document that opens, enter:
[Desktop Entry]
Name=Sunbird
Comment=Calendar Application
Exec=sunbird.sh
Icon=/opt/sunbird/chrome/icons/default/default.xpm
Terminal=false
Type=Application
Categories=Application;Office;
Save the document and enjoy.

Howto courtesy of knowledge76.com

domino
October 16th, 2006, 09:45 PM
Thanks for the info. Now I have Windows, Linux, and Mac sharing webdav and local calendars. The only thing missing now is a Pocket PC version :)

Xter
October 20th, 2006, 09:09 AM
My goodness it works!:D
Thank you DCM36!

MyNameUhBorat
October 23rd, 2006, 08:03 PM
Works great thank you very much.

lyly
October 24th, 2006, 02:21 PM
Is there any package?

DCM36
October 28th, 2006, 07:59 PM
Is there any package?

Not at the moment.. I might have some time to do it in a bit, and if I do I'll post back.

bionnaki
October 28th, 2006, 08:33 PM
nice. worked perfectly. thanks.

SuperGrover21
November 9th, 2006, 01:21 PM
Yeah! Worked great! Is this a general outline to installing other programs not in Synaptic?

Scunizi
November 10th, 2006, 08:30 PM
Another way is to load the extension for sunbird into thunderbird. I've done it on windows but not on my linux box yet. Looks good in windows.

--chris--
December 11th, 2006, 02:19 PM
Excellent. Worked like a charm. Learned a few things too about Linux programs in the process. Thank you!

anaconda
January 19th, 2007, 07:36 AM
Thanks!
Worked perfectly. in Dapper 6.06

Althought I was worried about the linux-i686 part (I have k7 kernel, not i686 or doesnt it matter?)

tombott
January 24th, 2007, 07:43 AM
Cheers that worked a treat, then I found out there is a Thunderbird Extension called Lightning that is a plug-in version of Sunbird.
Hey ho!

Lightning (http://www.mozilla.org/projects/calendar/releases/lightning0.3.html)

bg1256
January 26th, 2007, 11:46 PM
Thanks for making this so easy! It works great!

DCM36
January 29th, 2007, 10:59 PM
Thanks!
Worked perfectly. in Dapper 6.06

Althought I was worried about the linux-i686 part (I have k7 kernel, not i686 or doesnt it matter?)

It really doesn't matter from my understanding.. The k7 processor understands i686 code, therefore everything is fine.. Anyways, the only time that processor type is important is if the code has been complied for a x86_64 or PowerPC processor.

oyvindaa
January 31st, 2007, 07:29 PM
DCM36, thank you.

Athanasius
February 1st, 2007, 11:18 AM
I used this to install Thunderbird 2 Beta, works perfectly!

skoalman88
February 2nd, 2007, 09:16 PM
Works great! This forum rocks.

Madmoose
February 11th, 2007, 09:40 PM
Hello,

is there something wrong with the server? I installed this on my laptop maybe Friday or so, but now I get this when trying to install it on my desktop:

--16:37:40-- ftp://ftp.mozilla.org/pub/mozilla.org/calendar/sunbird/releases/0.3rc2/linux-i686/en-US/sunbird-0.3.en-US.linux-i686.tar.bz2
=> `sunbird-0.3.en-US.linux-i686.tar.bz2'
Resolving ftp.mozilla.org... 63.245.208.138
Connecting to ftp.mozilla.org|63.245.208.138|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /pub/mozilla.org/calendar/sunbird/releases/0.3rc2/linux-i686/en-US ...
No such directory `pub/mozilla.org/calendar/sunbird/releases/0.3rc2/linux-i686/en-US'.


Can someone help me with this issue?

Daviey
February 13th, 2007, 06:36 PM
Try:

sudo wget ftp://ftp.mozilla.org/pub/mozilla.org/calendar/sunbird/releases/0.3.1rc2/linux-i686/en-US/sunbird-0.3.1.en-US.linux-i686.tar.bz2

It's a newer release (different filename aswell)

DCM36
February 17th, 2007, 02:17 PM
thank you daviey.. updated instructions accordingly..

rudeboyskunk
February 27th, 2007, 03:14 PM
thanks a lot, worked like a charm. will sunbird be standard in feisty?

Madmoose
March 5th, 2007, 06:45 AM
Odd. Did what you said, but the first time I started her up it didn't do anything. Restarted the computer, and then started it up and got a Netscape info thingy. Then nothing, and now tried it again I'm not getting anything.


Any ideas?:confused:

cisforcojo
March 6th, 2007, 03:07 PM
Think I'm the only person this DIDN'T work for.
This is the error I'm getting when I run sunbird.
Any ideas?

cojones@tipping-point:/opt/sunbird$ ./sunbird
./run-mozilla.sh: line 131: 26902 Segmentation fault "$prog" ${1+"$@"}


Thanks for the help!

cisforcojo
March 6th, 2007, 03:27 PM
Solved it.

Add this to run-mozilla.sh before the first line of code:
GTK_IM_MODULE=scim-bridge

Viola!


The problem is caused by SCIM.

Madmoose
March 11th, 2007, 06:04 PM
Odd. Did what you said, but the first time I started her up it didn't do anything. Restarted the computer, and then started it up and got a Netscape info thingy. Then nothing, and now tried it again I'm not getting anything.


Any ideas?:confused:


ttt

serendipity576
March 15th, 2007, 07:43 AM
AFter getting Sunbird in the second step, I get this output:

clay@Clay:/opt$ sudo tar -xvf sunbird-0.3.en-US.linux-i686.tar.bz2
tar: sunbird-0.3.en-US.linux-i686.tar.bz2: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now


Not sure how to proceed??

Clay

serendipity576
March 15th, 2007, 09:29 PM
anyone??

DCM36
March 15th, 2007, 10:21 PM
it should work know.. i updated the instructions, forgot to update the untar command

serendipity576
March 16th, 2007, 11:23 PM
like a charm! Thanks much. :KS

matchstich
April 5th, 2007, 10:41 PM
thanks. it worked for me.

l1oyd
April 23rd, 2007, 09:31 PM
Thank you!

Only just installed my first Linux OS and as such found this thread to be most helpful in understanding more than just the install of Sunbird.

Thank you again

macogw
April 23rd, 2007, 11:43 PM
Is it just me or does Ubuntu lack a /opt? I put mine in /usr/bin when I did it, then learned that installing as sudo makes the profile file in the home drive have root permissions so sunbird doesn't work right without sudo... (I didn't follow the directions, but I did it pretty much the same).

nightfrost
May 1st, 2007, 08:57 AM
Thanks for the instructions. I've used them to write a little script.

I've never really liked installing stuff system wide that are not packaged since it might lead to complications later on. For this reason I've written a small script that downloads and installs sunbird in the user's home directory and adds an entry in the menus. It's quite simple and crude, it should be very easy to add an uninstall bit to it as well. Perhaps it could be neat to rewrite it to use zenity and be more dynamic so it can install other precompiled applications in the user's home-dir with the ability to uninstall them again.

Anyway, here it is, in case you might want to use it:

#!/bin/bash
msg() {
echo -e "\033[1;32m==>\033[1;0m \033[1;1m$1\033[1;0m" >&2
}

msg "This script will download and install sunbird 0.3.1 locally for this user"
msg "Press Enter to continue"
read

START_DIR="`pwd`"

# Create the local share-dir if it doesn't exist
if [ ! -d $HOME/.local/share ]; then
msg "Creating $HOME/.local/share" && sleep 1
mkdir -p $HOME/.local/share/
fi

# Download and extract sunbird
msg "Downloading sunbird 0.3.1" && sleep 1s
cd $HOME/.local/share
wget ftp://ftp.mozilla.org/pub/mozilla.org/calendar/sunbird/releases/0.3.1/linux-i686/en-US/sunbird-0.3.1.en-US.linux-i686.tar.bz2
msg "Extracting sunbird" && sleep 1s
tar xvjf sunbird-0.3.1.en-US.linux-i686.tar.bz2
msg "removing downloaded file" && sleep 1s
rm sunbird-0.3.1.en-US.linux-i686.tar.bz2

# Makes sure the local bin-dir is in PATH
BIN_IN_PATH=`echo $PATH | grep $HOME/.local/bin | wc -l`
if [ "$BIN_IN_PATH" = "0" ]; then
msg "adding $HOME/.local/bin to PATH" && sleep 1
echo "# Adding local binary path to the path array" >> $HOME/.bashrc
echo "export PATH=\$PATH:$HOME/.local/bin" >> $HOME/.bashrc
source ~/.bashrc
fi

# Create the execution script
msg "Creating Sunbird execution script" && sleep 1
if [ ! -d $HOME/.local/bin ]; then
mkdir -p $HOME/.local/bin/
fi

cd $HOME/.local/bin
echo "#!/bin/bash" >> sunbird.sh
echo "cd $HOME/.local/share/sunbird/" >> sunbird.sh
echo "./sunbird" >> sunbird.sh
echo "cd -" >> sunbird.sh
chmod +x sunbird.sh

# Create .desktop-file
msg "Creating Sunbird desktop file entry" && sleep 1
if [ ! -d $HOME/.local/share/applications ]; then
mkdir -p $HOME/.local/share/applications
fi
cd $HOME/.local/share/applications

echo "[Desktop Entry]" >> sunbird.desktop
echo "Name=Sunbird" >> sunbird.desktop
echo "Comment=Calendar Application" >> sunbird.desktop
echo "Exec=$HOME/.local/bin/sunbird.sh" >> sunbird.desktop
echo "Icon=$HOME/.local/share/sunbird/chrome/icons/default/default.xpm" >> sunbird.desktop
echo "Terminal=false" >> sunbird.desktop
echo "Type=Application" >> sunbird.desktop
echo "Categories=Application;Office;" >> sunbird.desktop

msg "Done and Done. Sunbird should now be added to the GNOME menu." && sleep 1
cd "$START_DIR"


Make sure to chmod +x the file and then run it. For some reason "sh $FILENAME" gives some errors...

justynbutler
May 1st, 2007, 09:32 AM
Instead of creating a script called sunbird.sh, I used a symbolic link to /usr/bin.

After unpacking the sunbird folder in /opt, this command:

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

So sunbird runs using the command sunbird.

newpants2003
May 15th, 2007, 12:33 AM
thanx a lot

kstella
May 21st, 2007, 01:17 AM
This is great! Thanks!

Kaobear
May 21st, 2007, 09:42 AM
Easy and simple, nice one indeed.

nickbooker
May 28th, 2007, 06:29 PM
Make sure to chmod +x the file and then run it. For some reason "sh $FILENAME" gives some errors...

Just FYI...

The only thing I can think of that would cause this is because Edgy and above use dash, not bash, as the default shell. Dash is smaller and less full-featured than bash.

nick@deepthought:~$ ls -l `which sh`
lrwxrwxrwx 1 root root 4 2007-04-28 16:41 /bin/sh -> dash

Assuming this is the cause => it will work if you call bash $FILENAME directly.

madmetal
June 7th, 2007, 10:23 PM
hey! this works fine!
thanks for the how-to!
:KS

nightfrost
June 10th, 2007, 05:07 PM
Just FYI...

The only thing I can think of that would cause this is because Edgy and above use dash, not bash, as the default shell. Dash is smaller and less full-featured than bash.

nick@deepthought:~$ ls -l `which sh`
lrwxrwxrwx 1 root root 4 2007-04-28 16:41 /bin/sh -> dash

Assuming this is the cause => it will work if you call bash $FILENAME directly.

Yes, you're right about that! Thanks for the info!

Frizguru
June 11th, 2007, 02:33 PM
That was so incredibly easy and you said exactly what each step was doing before you said the code. You should make more for all kinds of things. Maybe an easy to use manual. I have referred this to countless Linux users now. Keep it up!

pt123
June 28th, 2007, 07:05 PM
Does this work for 0.5 too?

coyotepod
June 28th, 2007, 09:36 PM
I've got Sunbird installed in /opt and it excutes OK except every time it runs it ask me to setup a new profile. The default folder cannot be written to, so I setup a profile folder in a local user folder and then it works. The profile is there and can be used, but I have to manually choose the folder every time. Is there a way to move the profile or gain permission to where Sunbird wants to look? i'm a linux n00b, so thanks for any help

coyotepod
July 1st, 2007, 07:52 AM
here's a screenshot of the error i get. then i end up choosing a different folder for the profile. thanks

Weav
July 2nd, 2007, 01:43 AM
Thanks for the tutorial, works great!

Kundalinux
July 5th, 2007, 11:06 PM
How come mine isn't working? I followed your instructions and apparently got it installed. Even the launcher is on the Applications menu, but when I click it the program does not launch. Help

Carbon Tiger
July 6th, 2007, 02:50 AM
Worked like a charm. Thanks so much.

ceccaaan
July 14th, 2007, 03:12 PM
Didn't work for me:(
Sunbird won't execute.

DCM36
July 18th, 2007, 06:39 PM
I've updated the orginal post to the latest verison available.. Post back if there's any problems with it..

ColinIam
July 20th, 2007, 07:30 PM
Wow! That worked really nicely.

stinger30au
July 20th, 2007, 08:04 PM
Another way is to load the extension for sunbird into thunderbird. I've done it on windows but not on my linux box yet. Looks good in windows.

looks great indeed, i went looking and found it

http://www.mozilla.org/projects/calendar/

thanks

rainontin
July 21st, 2007, 12:33 PM
Thanks, works like a charm, and for spanish users and everyone else: you just have to change sunbird-0.5.en-US.linux-i686.tar.gz for sunbird-0.5.es-ES.linux-i686.tar.gz, take the en-US as a variable.

D 0 R K TRONIKS
July 22nd, 2007, 12:57 PM
This was a very helpful tutorial. Thanks a lot.

Artimusp
July 31st, 2007, 11:16 PM
DCM36 Your a genius! Thank you.

UbuWu
August 6th, 2007, 04:21 PM
For everyone using Gutsy: sunbird is in the ubuntu repositories now.

tegwilym
August 16th, 2007, 02:10 PM
Installed flawlessly on my machine using the intructions in the start of the thread.

Ok, now that it's working does anyone know of a good HowTo that shows how to set this up to save/share calendars on a network web server? I get it to save the ICS file to the WebDAV server, but strange things happen, I lose the data in the local calendar, and it just dosen't seem to upload/download correctly.

Anyone?

Tom

FiremothPilot
August 20th, 2007, 01:48 AM
Amazing what this OS can do.

Thanks a million.

michael37
August 22nd, 2007, 11:03 PM
Updated Sunbird (https://help.ubuntu.com/community/Sunbird) Wiki help page with the new 0.5 version of Sunbird
Added new page for Mozilla Calendar (https://help.ubuntu.com/community/MozillaCalendar)
Added cross-links between Lightning and Sunbird Wiki help pages

michael37
August 22nd, 2007, 11:14 PM
Installed flawlessly on my machine using the intructions in the start of the thread.

Ok, now that it's working does anyone know of a good HowTo that shows how to set this up to save/share calendars on a network web server? I get it to save the ICS file to the WebDAV server, but strange things happen, I lose the data in the local calendar, and it just dosen't seem to upload/download correctly.

Anyone?

Tom

Well, let's do an example with Google calendar.

Go to calendar.google.com

In the calendar list on the left, click on the down-arrow next to the appropriate calendar and select "Calendar settings." (Alternatively, click on "Manage Calendars" at the bottom of the calendar list, then click on the name of the appropriate calendar.)

On the bottom of the page, in the section named "Private Address:", find the ICAL green button.

Right click on ICAL green button and select "Copy Link Location"

Go to Sunbird or Lightning.

Under Calendars, click on "New"

In the wizard, select "On the network", "Next"

Select format "iCalendar (ICS)"
and paste the link you copied above. It should end on .ics. Click on "Next".

Give your calendar a meaningful name (e.g. Joe's Google Calendar).

Complete the wizard.

Your calendar is now set up!

bailewen
August 23rd, 2007, 11:07 PM
Solved it.

Add this to run-mozilla.sh before the first line of code:
GTK_IM_MODULE=scim-bridge

Viola!


The problem is caused by SCIM.

How do you do that?

That advice is completely over my head. Right now I've got sunbird installed from the advice at the beggining of the thread but clicking on the icon it created does nothing. The program just doesn't launch and I really can't understand the advice posted above.

Help?

michael37
August 23rd, 2007, 11:17 PM
How do you do that?

That advice is completely over my head. Right now I've got sunbird installed from the advice at the beggining of the thread but clicking on the icon it created does nothing. The program just doesn't launch and I really can't understand the advice posted above.

Help?

Open the terminal and type

sunbird


If it says something like core dumped, then you need to follow the above suggestion. Where is the file? Go to Applications/Accessories/Text Editor. Open file /opt/sunbird/run_mozilla.sh

bailewen
August 23rd, 2007, 11:29 PM
When I type "sunbird" into a command prompt, it just says, "command not found".

:confused:

But thanks for showing me how to find that file.

I added GTK_IM_MODULE=scim-bridge to the first line. I am supposed to still put the little # sign in front of it? Anyways, even with that done, still...."command not found"

Feeling frustrated as this is really going to be an issue if I want to stop using windows. If I can't synch up stuff online then I'll be forced to keep going back to windows all the time to keep up with my class schedule, work etc. A good calender program like this is crucial. Koffice is pretty sweet or Kschedule or whatever it was...looks the same as sunbird basically but without the ability to synch up with other computers.

*grrrr*

michael37
August 23rd, 2007, 11:49 PM
When I type "sunbird" into a command prompt, it just says, "command not found".

:confused:

But thanks for showing me how to find that file.

I added GTK_IM_MODULE=scim-bridge to the first line. I am supposed to still put the little # sign in front of it? Anyways, even with that done, still...."command not found"


No, you don't need the # sign. That's a sign of a comment. So, if you put it in, get rid of it.

Once you save the file, type

cd /opt/sunbird/
./sunbird

in the terminal. (btw, that's on the first page -- that's what I meant). Is that any better?

bailewen
August 24th, 2007, 09:23 PM
Just couldn't get it to work. Spent hours on it but I eventually found a much better solution.

Thunderbird is right there in the "Add/Remove" program selection that comes with Ubuntu. Don't even need Synaptec. Then once you've got Thunderbird, the process for adding in Lightning is WAAAAY easier than for Sunbird. Just download the extension and add it in through the menu. It's got all the funtionality of Sunbird (arguably more) is integrated better etc.

michael37
August 24th, 2007, 10:31 PM
Just couldn't get it to work. Spent hours on it but I eventually found a much better solution.

Thunderbird is right there in the "Add/Remove" program selection that comes with Ubuntu. Don't even need Synaptec. Then once you've got Thunderbird, the process for adding in Lightning is WAAAAY easier than for Sunbird. Just download the extension and add it in through the menu. It's got all the funtionality of Sunbird (arguably more) is integrated better etc.

Thanks for the hint. I will add your suggestion to the Wiki page.

For posterity: This solution works only for the 32-bit Ubuntu. It's slightly more complicated for 64-bit (AMD64) Ubuntu.

topher920
September 11th, 2007, 10:50 AM
great tutorial! thanks!!!

:guitar:

aduff
September 12th, 2007, 09:47 PM
Works like it should. Your efforts are very much appreciated. Many thanks

tobbilla
September 13th, 2007, 04:51 AM
Thanks its working

zhimlpe
September 13th, 2007, 07:01 AM
great tutorial very helpful i learn a lot:) thanks

Avelyn
WebMaster
s9.com (http://www.s9.com) - Biographical Dictionary contains information on 33000 notable people from ancient times to the present day.

Wikzo
September 14th, 2007, 04:00 AM
The guide worked ... but how do I get other languages support as well? How do I install the Danish language plug-in?

michael37
September 14th, 2007, 10:36 AM
The guide worked ... but how do I get other languages support as well? How do I install the Danish language plug-in?

You downloaded and installed sunbird-0.5.en-US.linux-i686.tar.gz per this guide.

I think the language selection is pretty self-explanatory.

If you want other languages, you need to download and install another package which matches your language.

Browse this link: http://releases.mozilla.org/pub/mozilla.org/calendar/sunbird/releases/0.5/linux-i686/ to see supported languages in Sunbird. Then, pick the package fory our language (I am guessing it will be http://releases.mozilla.org/pub/mozilla.org/calendar/sunbird/releases/0.5/linux-i686/da/sunbird-0.5.da.linux-i686.tar.gz)

dcolombara
October 1st, 2007, 05:27 AM
I followed DCM36's instructions to install Thunderbird 2.0.0.6 perfectly on ubuntu 7.04.

I then tried following the same instructions for Sunbird 0.5 on the same system and it doesn't work. A window pops up titled "Close Sunbird" and says, "Sunbird is already running, but is not responding. To open a new window, you must first close the existing Sunbird process, or restart your system." Below is a single button saying "OK".

I looked in the system processes but didn't see it listed. I restarted the system but it didn't help. In desperation went back and deleted everything that I 'think' was installed (/opt/sunbird, /usr/bin/sunbird.sh, /usr/share/applications/sunbird.desktop) and tried to do the install again. I received the same error.

I gave up and tried to get around this problem by using the lightning plugin in Thunderbird. It installs but doesn't display properly in the month view.

Does anyone have any suggestions for getting Sunbird work (or if not, then lightning)?

I'm a total newbie so any help would be great. Thanks in advance.

bigken
October 1st, 2007, 05:37 AM
worked a treat for me cheers :)

michael37
October 1st, 2007, 06:12 PM
I followed DCM36's instructions to install Thunderbird 2.0.0.6 perfectly on ubuntu 7.04.

I then tried following the same instructions for Sunbird 0.5 on the same system and it doesn't work. A window pops up titled "Close Sunbird" and says, "Sunbird is already running, but is not responding. To open a new window, you must first close the existing Sunbird process, or restart your system." Below is a single button saying "OK".

I looked in the system processes but didn't see it listed. I restarted the system but it didn't help. In desperation went back and deleted everything that I 'think' was installed (/opt/sunbird, /usr/bin/sunbird.sh, /usr/share/applications/sunbird.desktop) and tried to do the install again. I received the same error.

I gave up and tried to get around this problem by using the lightning plugin in Thunderbird. It installs but doesn't display properly in the month view.

Does anyone have any suggestions for getting Sunbird work (or if not, then lightning)?

I'm a total newbie so any help would be great. Thanks in advance.

Is your computer 32-bit or 64-bit? If not sure, run

uname -m

dcolombara
October 2nd, 2007, 02:44 AM
Is your computer 32-bit or 64-bit? If not sure, run

uname -m


thanks for the quick response ...
it said "i686", which I think means 32-bit, right?

btw, i installed the windows version through wine. Though it's slow to open and way ugly, but it works. That is to say, if this is going to be complicated for you ... don't worry about it.

michael37
October 5th, 2007, 02:23 AM
thanks for the quick response ...
it said "i686", which I think means 32-bit, right?

btw, i installed the windows version through wine. Though it's slow to open and way ugly, but it works. That is to say, if this is going to be complicated for you ... don't worry about it.

Yes, that does mean you are running 32-bit. My only recommendation is to uninstall Lightning extension, then upgrade Thunderbird to version 2.0 (see ThunderbirdNewVersion howto (https://help.ubuntu.com/community/ThunderbirdNewVersion)) and then install Lighting extension directly from addons.mozilla.org (https://addons.mozilla.org/en-US/thunderbird/addon/2313)

In addition, make sure you reboot your computer before starting Thunderbird 2. I am concerned whether you have some Sunbird junk still in your memory.

dcolombara
October 7th, 2007, 03:38 AM
Yes, that does mean you are running 32-bit. My only recommendation is to uninstall Lightning extension, then upgrade Thunderbird to version 2.0 (see ThunderbirdNewVersion howto (https://help.ubuntu.com/community/ThunderbirdNewVersion)) and then install Lighting extension directly from addons.mozilla.org (https://addons.mozilla.org/en-US/thunderbird/addon/2313)

In addition, make sure you reboot your computer before starting Thunderbird 2. I am concerned whether you have some Sunbird junk still in your memory.

Okay, thanks a bunch. I'll try it. If it doesn't work, I'll stick with my wine/windows hack until 7.10 is released.

Niscrome
October 9th, 2007, 03:58 PM
Thanks dude! It worked perfectly:biggrin:!

carolinamagi
October 15th, 2007, 11:44 AM
I keep running into a problem . . .

The connection times out, three times, and then the installation/download hangs up.

Nothing happens after the "sudo wget . . . ." command. The connections times out and all I see is "==> PASV . . ."


Any ideas?

michael37
October 15th, 2007, 04:05 PM
I keep running into a problem . . .

The connection times out, three times, and then the installation/download hangs up.

Nothing happens after the "sudo wget . . . ." command. The connections times out and all I see is "==> PASV . . ."


Any ideas?

Try to download the file using the web browser. Go to

http://releases.mozilla.org/pub/mozilla.org/calendar/sunbird/releases/0.5/linux-i686/en-US/

right click on the file sunbird-0.5.en-US.linux-i686.tar.gz and select "Save As".

carolinamagi
October 16th, 2007, 02:30 PM
I keep running into a problem . . .

The connection times out, three times, and then the installation/download hangs up.

Nothing happens after the "sudo wget . . . ." command. The connections times out and all I see is "==> PASV . . ."


Any ideas?

Hey all! Figured it out.
For some reason, the wireless connection I was using my problem
I tried the instructions on a wired connection and had no problems at all.
THANKS!

MeltingPlastic
October 26th, 2007, 06:22 PM
Hey guys,

I'm running into a problem with Sunbird. I had it working just fine and had my calender set up and everything. Outta nowhere when i opened it one day it just froze and i had to forcequit.. I figured it might be corrupt install and uninstalled, rebooted and reinstalled and still the same thing. Figured it might be a corrupt profile so i backed up my old one and sunbird loaded up asking for to import from evolution, told it no, it showed the calender and then froze. What is going on here? how can i get sunbird working again. I'm new to Linux and all i seem to keep running into is problems with Ubuntu

pt123
October 26th, 2007, 07:15 PM
does this script work with the 0.7 version and Gusty?

pt123
October 26th, 2007, 07:44 PM
When I installed 0.7 using the script,

I get this dialog box saying the chrome failed when I run Sunbird,

but then Sunbird starts after that.

attached is the error dialog box.

Philk
November 1st, 2007, 04:06 PM
Thank you, DCM36, tremendously. I just installed Sunbird into my 7.10 setup and it worked right off the bat - as so many others have said. I had seen my wife using Sunbird in Windows and liking it there. I don't particularly like the Evolution products.

This will be a very useful addition. :popcorn:http://ubuntuforums.org/images/smilies/new_popcornsmiley.gif

Phil

DCM36
November 14th, 2007, 10:59 PM
I've updated the first post to the latest verison of Sunbird. I can't confirm if it works properly or not, as I don't have a Ubuntu install up at the moment but I will within the next few hours and I will test ASAP and work out any bugs.

I also read though the thread and saw that Sunbird is now available in the apt repositories, but I will continue to update this howto as this is version 0.7rc3, compared to apt's 0.5-0ubuntu4.

Report back with any bugs.

Kundalinux
November 14th, 2007, 11:38 PM
Hi people. If you have installed the new Ubuntu 7.10, Sunbird is in Sinaptic, so you can installed from there and it runs perfectly! :)

MCrittenden
December 2nd, 2007, 09:33 PM
EDIT: Nevermind. I'm stupid.

EmilyRose
December 7th, 2007, 02:14 PM
Right, so I first tried installing sunbird via synaptic but I got vs 0.5 and couldn't update it (update wouldn't do anything) so i uninstalled and tried the how-to... and now its not starting... thoughts?

am running 7.10

pt123
December 7th, 2007, 04:03 PM
You should post the error messages when running it through the terminal

EmilyRose
December 7th, 2007, 07:57 PM
well, when I type sunbird in terminal it says :

bash: /usr/bin/sunbird: No such file or directory

same thing when I'm in /opt/sunbird

when I doublickc on the sunbird file and click 'run in terminal' a terminal flashes and then closes and nothing... so I really don't know what to post??

ETA: '

./sunbird-bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory


get that after trying sunbird.sh ... so am installing libstdc++5 via synaptic??

Yay! that fixed it!! execpt I get something about chrome registrartion failure at every start up??

pt123
December 8th, 2007, 05:25 PM
I got the chrome registration error message on my first load of the application, and when I install a new extension.

It is probably better to check this error on a Mozilla forum,

macogw
December 16th, 2007, 03:49 AM
Oh do the Sunbird nightlies work on Ubuntu now? They haven't worked for me since March or April. Whenever it was that 0.6 stopped getting updates because it couldn't find the internet, their nightly 0.6 and then 0.7builds were unusable. I currently use a version of Sunbird that I pulled from CVS, attempted to compile, got an error on the *make install* (not "make"?!) and commented out the offending code, and now it works.

OK yeah so uh I just downloaded the 0.7 release, and it's just a segfault, like every release and nightly I've tried in the last 9 months (I tried like 10 of them...some from April, some in May, some in June, some in September...)

pt123
December 16th, 2007, 05:21 AM
There is deb for Linux Mint of 0.7 that has been working for me.

http://ubuntuforums.org/showthread.php?t=597441

realbiga
January 7th, 2008, 11:05 PM
worked like a charm, thanks!

MaxVK
January 8th, 2008, 09:47 AM
I followed the instructions and everything went exactly to plan, however, when I first ran Sunbird I got an error about the chrome and it closed. Since then, when I try to open the program, it flashes up onto the desktop, usually as simple a black square, although sometimes it shows the main window contents in black and white, and then it vanishes again.

I fear that this is my own fault for following the instructions before I read the whole thread - had I done so I would have seen that Sunbird is in Synaptic.

In any case, can anyone explain now I can REMOVE this installation of Sunbird, allowing me to then install from Synaptic?

Many thanks

Max

DarinB
January 28th, 2008, 07:28 PM
i found a post to try lightning in thunderbird so i will give it a try
it looks just like sunbird and is present every time i go to email.
thanks to who ever put that up i can't find it again

salmanal
February 8th, 2008, 04:07 PM
I get the icon in my APPS folder, but I click on it and nothing
executes. I'm wondering if the version I downloaded was 32-bit only.
I run off Athlon 64.......

Yesterday, I copied the instructions and pasted them into
a terminal window.

salmanal
February 8th, 2008, 07:38 PM
I copied all the instructions and pasted them into a terminal.
I see Sunbird in my APPS menu, but it won't execute.

I run Ubuntu 7.04 on an AMD64 with a Gig of RAM.

Thanks :(

djinn1973
March 4th, 2008, 03:45 PM
Thank you

swat253
March 12th, 2008, 12:07 AM
I'm a total Linux Noob and only installed Ubuntu 7.10 today. It's workin great although I'm at a complete loss as to the first step of installing Sunbird.

I d-loaded the Sunbird Linux version today and extracted the files.

Where/How do I get to the first step of the instructions, ie; opening the first terminal to write in the scripts? From all the posts, I gather that the instructions are fantastic and they've worked for 99% of the board users. I just need help gettin to the terminal part and need to now what to do with the files I've already extracted.

Thanks All!

swat253
March 12th, 2008, 10:44 AM
I'm a total Linux Noob and only installed Ubuntu 7.10 today. It's workin great although I'm at a complete loss as to the first step of installing Sunbird.

I d-loaded the Sunbird Linux version today and extracted the files.

Where/How do I get to the first step of the instructions, ie; opening the first terminal to write in the scripts? From all the posts, I gather that the instructions are fantastic and they've worked for 99% of the board users. I just need help gettin to the terminal part and need to now what to do with the files I've already extracted.

Thanks All!

OK - Like I said - total Linux Noob... I finally opened a terminal from the Applications/Accessories tab and will post accordingly after I follow the original post's instructions... [-o<

xsilvergs
March 19th, 2008, 06:46 PM
Sorry to ask a question but I am new to Ubuntu but have been running Sunbird on my home network, using Windows, for some time.

All my PC's access common calendar files on a windows PC using file://///pcname/folder/calendarfile.ics. In Sunbird on my Ubuntu PC if I do File > New Calendar > On the Network , what do I write in the Location: box, file://///pcname/folder/file.ics does not work?

I'm trying to access an .ics file on an NTFS partition on a Widows PC from Ubunto, is it possible?

Thanks

Tony

pt123
March 19th, 2008, 09:52 PM
New Calendar > On the Network , what do I write in the Location: box, file://///pcname/folder/file.ics does not work?


You can try : smb://pcname or smb://lanIP
But you need Samba installed and set up so that these addresses work in Nautilus.

Or you can mount the network share on to your computer and use it as a Local file.

xsilvergs
March 20th, 2008, 04:03 AM
pt123

Thanks for reply, I'm very new to Ubuntu so still learning.

I have Samba installed and have tried smb://pcname/folder/file, when I try this method no calendar appears in the calendar list.

I have a shortcut on the desktop to the folder containing the .ics file, this has a little SMB in the bottom corner. I'm not sure how this appeared on the desktop, it must have been during previous attempts.

You mention setting up Samba like Nautilus, could you explain more please?

Thanks again

pt123
March 20th, 2008, 05:35 AM
pt123
I have a shortcut on the desktop to the folder containing the .ics file, this has a little SMB in the bottom corner. I'm not sure how this appeared on the desktop, it must have been during previous attempts.
That is most likely you browsed the network in Nautilus.


You mention setting up Samba like Nautilus, could you explain more please?
Thanks again

In Nautilius - > Go> Network

Either computer names or Windows Network should appear

either way navigate to the samba share with the ICS.

Now press Ctrl + L
That should show the location

what ever it is post it here

--------
The other method is mounting the samba share
http://easylinux.info/wiki/Ubuntu_dapper#How_to_mount.2Funmount_network_folde rs_manually.2C_and_allow_all_users_to_read

http://easylinux.info/wiki/Ubuntu_dapper#How_to_permanently_mount_a_samba_sha re

xsilvergs
March 27th, 2008, 07:53 AM
pt123
Sorry for delay, been away over Easter.

Ctrl + L gives Network:///

I have noticed that the folder permissions says "The permissions of xxxx could not be determined"
Is this the problem, if so how do I change it?

If I explore my network from Ubuntu and try to open the .ics file with Text Editor it opens, but if I "Open with other application" and choose Sunbird, Sunbird opens but no calendar appears.

If I copy the .ics and paste on my Ubuntu desktop the file opens ok.

pt123
March 27th, 2008, 08:04 AM
you have to browse to the computer then folder where you have this file shared, otherwise you can't expect sunbird to find.

Maybe it is better if post screenshots of Nautilus in when Netowrk is opened.

xsilvergs
March 27th, 2008, 10:29 AM
Does this help?

SkonesMickLoud
March 31st, 2008, 11:39 PM
sudo apt-get install sunbird

Works too.

[edit] It's also in Synaptic.

pt123
April 1st, 2008, 03:28 AM
i tried using smb:// and it didn't work

so try mounting the folder by this command
sudo mount //vectra/GCALDaemon /media/sharename/ -o username=myusername,password=mypassword,dmask=777, fmask=777

Then in Sunbird browse to the folder /media/sharename

hezuo
July 21st, 2008, 06:30 PM
thx! it helped me a lot

Kenn11
August 1st, 2008, 09:48 PM
IMHO, a couple of improvements could be made to make this How to slicker than owl stuff.

First, I think a couple of preliminarily notes could be made to insure SB would load and run. Insure that "libstdc++5" and sun-java6-jre, sun-java6-bin are present. And second,

if somebody could update the wget address to get sunbird 0.8 from mozilla it sure would be easier.(It only took me three hours to get it right)

Ken

jarlath
August 12th, 2008, 12:02 AM
Kenn11, could you supply the commands you used? I also want to install 0.8 as the Mozilla download page recommends not using older versions for security / stability issues as well as problems with data loss and corruption

Link (http://www.mozilla.org/projects/calendar/sunbird/download.html)

xen-uno
August 24th, 2008, 12:35 AM
I used the how-to here (identical to DCM's) ...

http://www.aloke.info/2008/07/22/how-to-install-mozilla-sunbird-in-ubuntu/

and installed the 64 bit version available here ...

http://releases.mozilla.org/pub/mozilla.org/calendar/sunbird/releases/0.8/contrib/linux-x86_64/sunbird-0.8.en-US.linux-x86_64.tar.gz

Follow DCM's steps exactly until you reach ...

The sudo wget ... line as it is unnecessary if you DL direct from the Mozilla page or use the x64 link above. Do not run/extract ... save the *.gz file to a known directory & path (I used Desktop) then run either of the following (instead of DCM's sudo tar line) from Terminal:

64 bit:

sudo tar -xvf /home/jan/Desktop/sunbird-0.8.en-US.linux-x86_64.tar.gz

32 bit:

sudo tar -xvf /home/jan/Desktop/sunbird-0.8.en-US.linux-i686.tar.gz

^^^ in either case, replace /home/jan/Desktop with your path to the *.gz ^^^

Now continue with the rest of his script.

You may get a chrome error on 1st run (I did). On 2nd attempt, error went away and it runs good.

natedawg88
October 7th, 2009, 06:31 PM
this isnt working for me

this is what i get when i enter the second code


--2009-10-07 16:57:56-- ftp://ftp.mozilla.org/pub/mozilla.org/calendar/sunbird/releases/0.7rc3/linux-i686/en-US/sunbird-0.7rc3.en-US.linux-i686.tar.gz
=> `sunbird-0.7rc3.en-US.linux-i686.tar.gz'
Resolving ftp.mozilla.org... 63.245.208.138
Connecting to ftp.mozilla.org|63.245.208.138|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /pub/mozilla.org/calendar/sunbird/releases/0.7rc3/linux-i686/en-US ...
No such directory `pub/mozilla.org/calendar/sunbird/releases/0.7rc3/linux-i686/en-US'.