logo
All About Symbian - News
Nav (0)

A survival guide to Linux and S60

Guest writer David Gilson talks about his switch from Windows to Linux (Ubuntu) and his (successful) struggles to keep his desktop-S60 connectivity going, from PIM data to music to backups to tethering. Could you make the same switch? Are there any showstoppers for you? Comments welcome.

Linux and S60

Read on

Published by Steve Litchfield at 8:00 UTC, October 21st

Categories: Software, Miscellaneous
Platforms: General, S60 3rd Edition, S60 5th Edition

News Discussion

Ammar_Dento
Comment: Great article. It will help when we use the N900 too. But i have to ask about:

1. What about Web Bookmarks? Does the Linux version of Mozilla Firefox sync with the S60?

2. About the photos,correct me if am wrong: when you sync your E55 with Ovi Photos application (on Windows) and Photos application (on E55) you dont lose your tags. It sync too.

3. Can you receive calls or SMS in Linux when the device is connected to the Computer?

Regards
timsalmon
Comment: Wow - that's all really interesting David - you've worked hard to find a comprehensive set of apps to workaround just about any problem that'll throw itself up from this kind of radical change. (On the day that my Windows 7 pack arrives!!) Not sure if I'm brave enough to move away from tried and trusted methods personally, but it'd be great to get hold of a (cheap as chips) Linux netbook and try all this stuff out. Nice article.

Tim
Unregistered
Comment: Hello,

nice article. Iīve made the transition a couple of years ago and i am still very happy. Especially as i sat in train last week and discovered that via some simple commands (i am sorry here, yes you have to use the terminal) you can set up your phone as an bluetooth modem to access the internet via 3g. Here is how it is done:

- First you have to couple your pc with your phone. This is Done via the Bluetooth Applet on your Ubuntu Desktop.
- Now open up an terminal and search for the address of your bluetooth device (if you not have it already). XX:XX...... is your Address
loki@my-desktop:~$ hcitool scan
Scanning ...
XX:XX:XX:XX:XX:XX MyPhone

- We need the channel to use for our dial-up connection. We find it like this:
sdptool browse XX:XX:XX:XX:XX:XX
...
Profile Descriptor List:
"Imaging" (0x111a)
Version: 0x0100

Service Name: Dial-Up Networking <---- bluetooth service Dial Up Networking!
Service RecHandle: 0x10007
Service Class ID List:
"Dialup Networking" (0x1103)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 3 <---- channel 3!
...

- We use our Device address (XX:XX......) and the channel we found to set up a rfcomm modem now.
sudo rfcomm connect /dev/rfcomm0 XX:XX:XX:XX:XX:XX 3

And thats it. Your ready to go. So you donīt have to wait for the next ubuntu releases :) After you have done steps 1 to 3 for the first time all you need is step 4. Put it inside an script and all you have to do is run it every time you want to connect to the internet. Configuring your provider works neatless with the networkmananger applet you use anyway because your phone is now detected as a generic 3g modem, just like youīve connected it via usb.

Have fun, i do
Unregistered
Comment: i use blueman instead of default bt stack in ubuntu and tethering has become really simple

no comand line for setting up, dialing , disconnecting at all

[url]http://blueman-project.org/[/url]
jarijari
Comment: Thanks for a good article with new insights!

Apparently you have not tested using Windows with VirtualBox. If you had, you would know that it doesn't work. VirtualBox seems to have problems with USB ports. The Nokia programs do not recognize Nokia devices connected on USB ports linked to VirtualBox. BTW, I have the same issue with Garmin devices, too.

Cheers,
Jari
Unregistered
Comment: Have you used VirtualBox OSE Edition (wich is the standard in the ubuntu repository) or the Virtual Box dev package direct from sun? The OSE Edition dosnīt support USB connections for virtual machines. That is due to licensing issues. This is mentioned in the readme if i remember correct. But the deb version is also free to download. Have a look:

[url]http://www.virtualbox.org/wiki/Downloads[/url]

have fun


jarijari
Thanks for a good article with new insights!

Apparently you have not tested using Windows with VirtualBox. If you had, you would know that it doesn't work. VirtualBox seems to have problems with USB ports. The Nokia programs do not recognize Nokia devices connected on USB ports linked to VirtualBox. BTW, I have the same issue with Garmin devices, too.

Cheers,
Jari
Unregistered
Comment: No need to use command line Blueman is good, I think next Koala release which is due in 8 days, they have improved default bluetooth to handle A2DP audio, Dial-up out of box.
Evolution sync via Multisync remains tricky, doesnt work well .
hammerv2
Comment: I've been seeing a LOT of ubuntu articles recently on non-linux sites.
Seems like it's finally gaining a bit of traction.
Unregistered
Comment: Linux is nice and all (I know cause I use it), but it overly complex. Just look at your own article. On my Windows box I only have PC Suite and Outlook to get everything I need. I do my update via FOTA and my map downloads through direct download.

As for the 'cloud, sorry but I will trust all my data on my own PC which I can control. The Danger debacle only proves just how much I am wary about so-called 'Cloud' computing, which is just a fancy trendy word for offside servers.
Dead1nside
Comment: I use OpenSync to back-up calendar entries. It's really easy once you've set it up and there is a GUI called multisync-gui.

Most things can be achieved on the Linux desktop exclusively apart from where a Windows-only application is required.

Good write up.
davidgilson
Comment: Hello everyone,
I've just seen all the comments!
I'm going to reply to everything that needs a reply, one post at a time, and I'll do as many as I have time for now. So if I don't reply to you just now, I'll catch up later today!
davidgilson
Comment: [quote=Ammar_Dento;443125]Great article. It will help when we use the N900 too. But i have to ask about:
[/quote]
Thank you :)

[quote=Ammar_Dento;443125]1. What about Web Bookmarks? Does the Linux version of Mozilla Firefox sync with the S60?
[/quote]

I can't sync my bookmarks with Firefox. There are two ways to go with this though:

First - Opera Mini & Desktop sync (via the internet), so you could switch to that. I don't for two reasons. A. I think there's a lot of privacy issues with Opera. B. I find that I want to bookmarks different things on my desktop to what I bookmark on my phone.

Second - For backup's, I backup my internal memory to my memory card. So if I have to hard reset my phone, I can just restore from the memory card.

Now, say I find an interesting link on Twitter while on my phone, I'll bookmark it to S60 Web. Then, from Web bookmark page, I will tick all the bookmarks I'm interested in and use the Send option to email them to myself. Then they're there waiting for me when I get back to the laptop.

[quote=Ammar_Dento;443125]2. About the photos,correct me if am wrong: when you sync your E55 with Ovi Photos application (on Windows) and Photos application (on E55) you dont lose your tags. It sync too.[/quote]
That's right, the tags go with them. Although, the tags aren't held [B]in[/B] the files, they're stored as separate meta-data. Which means, if you want to keep all that meta-data aligned with your photos, you're stuck in the Ovi framework.

This is analogous to having a music library set up on your computer, but without having any ID3 tags in your MP3 files.

So, I prefer to use F-Spot to embed all the data I want to store about an image inside each image's EXIF tag. That way, I am never stuck with using a particular photo managing system. (Which is important with F-Spot seeing as there isn't a Windows version of it.)

[quote=Ammar_Dento;443125]3. Can you receive calls or SMS in Linux when the device is connected to the Computer?[/quote]
If you mean is there a Linux program to send SMS [i]through[/i] the phone, then I'd have to say no, I haven't heard of one. However, on the phone itself, I have sent and received SMS while plugged in. Calls is something I haven't tested.

[quote=Ammar_Dento;443125]Regards[/quote]Cya :)
davidgilson
Comment: [quote=Unregistered;443130]Hello,

nice article. Iīve made the transition a couple of years ago and i am still very happy. Especially as i sat in train last week and discovered that via some simple commands (i am sorry here, yes you have to use the terminal) you can set up your phone as an bluetooth modem to access the internet via 3g. Here is how it is done:...[/quote]

Hi, I found the same instructions on the web (they're linked in the article). I hadn't tried it before, but tested it especially for this article. It works, although I wouldn't use that method for backing up the internet memory, as Bluetooth file browsing is a bit slow. Although if you absolutely have to do it, it's great that it's possible.
davidgilson
Comment: [quote=Unregistered;443135]i use blueman instead of default bt stack in ubuntu and tethering has become really simple

no comand line for setting up, dialing , disconnecting at all

[url]http://blueman-project.org/[/url][/quote]

That's something I didn't know about!
Thank you :)
davidgilson
Comment: [quote=jarijari;443149]Thanks for a good article with new insights!

Apparently you have not tested using Windows with VirtualBox. If you had, you would know that it doesn't work. VirtualBox seems to have problems with USB ports. The Nokia programs do not recognize Nokia devices connected on USB ports linked to VirtualBox. BTW, I have the same issue with Garmin devices, too.

Cheers,
Jari[/quote]

Hi Jari,
I did test it, honestly :) Like the unregistered poster said, perhaps you were trying the Open Source Edition (OSE) ? I fell into that trap at first.

I initially installed VirtualBox via the Ubuntu repositories, and found that I couldn't set up any USB filters. A little more research on my part showed that there is a version of VirtualBox with closed source drivers (inc. USB), which you could download as a .deb installer from their website.

After doing this I didn't have any problem. Here is a list of the tests I successfully performed with PC Suite [i]et al[/i] via VirtualBox:
[LIST]
[*]File Transfer
[*]Reading Contacts & Calendar
[*]Reading SMS
[*]Sending SMS
[*]Updating the Maps app
[*]Installing Maps
[*]Backing up Internal memory
[*]Using Firmware updater to read my firmware version
[/LIST]

I haven't tried doing a full firmware flash, because I didn't need to update anything. The only thing that I tried unsuccessfully was restoring my internal memory from a backup. Given the amount of things that did work, I find it hard to believe that restoring the internal memory was a [i]USB via VM[/i] issue.
davidgilson
Comment: [quote=Unregistered;443161]Linux is nice and all (I know cause I use it), but it overly complex. Just look at your own article. On my Windows box I only have PC Suite and Outlook to get everything I need. I do my update via FOTA and my map downloads through direct download.

As for the 'cloud, sorry but I will trust all my data on my own PC which I can control. The Danger debacle only proves just how much I am wary about so-called 'Cloud' computing, which is just a fancy trendy word for offside servers.[/quote]

Hi there :)

I disagree on the complexity. I honestly find the Windows way of doing things to be tiresome and overly involved.

With Linux, I write an rsync script one time (which is the only technical thing you need to do), and the rest of the time I have a one-click solution to updating files between my phone and my computer. So, on a daily basis, I find the Linux way of doing things a lot simpler and less stressful than the Windows way.

As for FOTA and Maps, you and I do them the same way :)

I understand your concern with cloud computing, and in a blog post I have coming up the week after next, I actually say "[i]If you only have your data in the cloud, then you don't have your data[/i]". This is why I said in my article that you should only use Cloud Services that allow you to easily back up your data. Then, if you do that, you have the best of both worlds. You have the versatility of the cloud, and the redundancy of an off-line copy.

As for the Danger debacle, this is why I prefer the S60 way of not being always connected. S60 phones have their own off-line copy, you choose when to sync.

If you only have your PIM data on your desktop, you're at just as much risk, because your hard drive can fail, or you can suffer from vendor lock-in through file formats.
davidgilson
Comment: [quote=Dead1nside;443164]I use OpenSync to back-up calendar entries. It's really easy once you've set it up and there is a GUI called multisync-gui.

Most things can be achieved on the Linux desktop exclusively apart from where a Windows-only application is required.

Good write up.[/quote]

Thanks for that.
I did come across OpenSync in my research, but didn't have time to explore it fully, So I'm glad to see someone else mention it now.
andyspiers
Comment: Map data can be downloaded direct a country at a time using the links on this site: [url]http://nokiamaps.site666.info/[/url]

Much easier than using the application, and possible to do it on the move (directly from phone)
cyc
Comment: Hi there,

I've been using SuSE Linux since the SuSE 6.4. around 6 years ago. I think I could say one of the biggest problem to have is Nokia support for Linux.

1. I'm really excited about ovi suite, since it's build on the Qt, which mean linux support will be native.
2. Yes, the map... I really hate nokia map or ovi map. They should make us to be able to download map directly from handphone without computer. for example. if I went to hongkong, and somehow got a free wifi and want to download map of hongkong. It's ridicules if I need computer to do that. even if I'm at home, it's still be better for ovi map, if I can download map directly from phone.
3. ovi files. I'm really excited to backup my data over ovi files internet cloud.... unfortunately it requires me to have windows.... why on earth did nokia did that? nokia should make phone user can do everything without the need of computer.... let say it's the generation AA stuff (generation after generation 'Z')... phone replacing computer generation. no need computer
davidgilson
Comment: [quote=andyspiers;443235]Map data can be downloaded direct a country at a time using the links on this site: [url]http://nokiamaps.site666.info/[/url]

Much easier than using the application, and possible to do it on the move (directly from phone)[/quote]

That's a brilliant tip, thanks for adding it :)
technoboi
Comment: I set up sync for Calendar and Contacts via the SyncML-GUI.
It works very well, a couple of clicks and its synching. There are guides on the Net on exactly how to do this.
If I want to send some info. to my phone all I do is create a text file (e.g. with the shopping list or part numbers for Maplin etc.), right click and select 'Send to'. Up comes Obex-Push, one click and my N95 asks if I want to receive the file. It comes up as an SMS.

I once spent many hours trying to get a bluetooth dongle working in Windows XP. I had little success. In Ubuntu Jaunty I plugged in the same dongle and it worked perfectly, instantly! No messing with bluetooth stacks and all altering lots of settings as I had to do in Windows - just instant operation.
So many people fear the unfamiliar or, as I have found in several recent conversations, don't even realise that there is an alternative to Windows. I am just soooooo glad I have left Windows behind.
pintofale
Comment: Thanks David, very interesting and very useful. I'm not sure I understand your comment about video conversion - I don't believe coreplayer will play a 640x480 avi at any kind of useful bitrate, so re-coding is pretty esential- I normally use ffmpeg with linux to convert to 800x352 mp4/aac for my E90. It doesn't seem to have the audio-video sync problems that many Windows apps have.
sicofante
Comment: Not trying to burst everyone's bubble, but as I see it, this article only shows that if you want a good experience with your Symbian phone, don't use Ubuntu.

I'm writing this from an Ubuntu laptop and I'd love Nokia to provide some tools for us Linux users, but let's not fool ourselves: as of today using an S60 phone with Linux is a nightmare, and the article only proves it.
davidgilson
Comment: [quote=sicofante;443448]Not trying to burst everyone's bubble, but as I see it, this article only shows that if you want a good experience with your Symbian phone, don't use Ubuntu.

I'm writing this from an Ubuntu laptop and I'd love Nokia to provide some tools for us Linux users, but let's not fool ourselves: as of today using an S60 phone with Linux is a nightmare, and the article only proves it.[/quote]

Would you be a little more specific?

I can honestly say that after having perfected my S60 set up, I honestly don't want to go back to using Windows. Compared to what I do now, PC Suite just seems cumbersome to me.
davidgilson
Comment: [quote=pintofale;443404]Thanks David, very interesting and very useful. I'm not sure I understand your comment about video conversion - I don't believe coreplayer will play a 640x480 avi at any kind of useful bitrate, so re-coding is pretty esential- I normally use ffmpeg with linux to convert to 800x352 mp4/aac for my E90. It doesn't seem to have the audio-video sync problems that many Windows apps have.[/quote]

Hi there,
CorePlayer will play any avi encapsulated video up to 1008 pixels wide. The frame rate depends on your phone.

With my E51, things were generally okay, but there'd be an occasional stutter, and the video and audio were usually slightly out of sync. However, with my E55, I don't get any of that, and it will play any video I throw at it with ease.

 

Main Navigation

» Home (1)
» News (2)
» Reviews (3)  
» Features (4)
» Media (5)
» Forums M | Full (6)
» Top (9)

Advert

mobile.allaboutsymbian.com