Mounting a Nokia Phone a Little Bit Easier

August 2nd, 2007


View original post


I have been using p3nfs to mount my Nokia 9300 and later the E70, and it has worked pretty well. However, all this time the fuse and bluez hackers and Nokia’s open source team have been busy behind my back and provide a couple of alternative solutions.

The easier of these is using fuse and obexfs. I initially found this tip on Google Groups, and later David’s more thorough HOWTO. Here’s the drill:

  • Find out your phone’s Bluetooth MAC address if you don’t know it already:
    hcitool scan
  • Find out the OBEX FTP channel it uses
    sdptool search FTP
  • Load the fuse kernel module:
    sudo modprobe fuse
  • Make a suitable mount point for your phone:
    mkdir ~/Phone
  • Mount
    obexfs -bXX:XX:XX:XX:XX:XX -BYY ~/Phone
    (where XX:XX:XX:XX:XX:XX is your phone’s MAC and YY is the OBEX channel)
  • Unmount when you’re done with your file transfers:
    fusermount -u ~/Phone

That’s it!

Mounting via Bluetooth and Browsing via Web
Image: Browsing my phone via Bluetooth,
WebDAV and a Web browser

The other method is more exciting and far more geeky. It doesn’t actually involve mounting your phone’s filesystem at all, but making its contents available by running a web server on it. I’ve known about Nokia’s mobile Web server for some time already, but was inspired to try it out recently by Mikko’s comment on a blog entry of mine involving phone/linux synchronizing.

You can selectively make all your phone’s information available on the Web for yourself, for a group of friends, or globally. Register on mymobilesite.net, download the Mobile Server software, and away you go. It works very well, but eats far too much RAM to be running permanently at this stage (it’s advertised as beta). For temporary access it’s a viable solution though, and here’s the strong point: no setup is needed on the receiving side, all you need is a computer and a Web browser! I will certainly keep an eye on the server’s development and play with it more in the weeks and months to come.

Technorati Tags: , , , ,

View source post

tales from the offtopic #11: irc support

August 2nd, 2007


View original post


One of the strong points of using free systems such as Linux and Ubuntu in particular is the community support. When you have a bug to report, or a question to ask, you don’t have to call Microsoft and hope somebody will care. We care! This was demonstrated on #ubuntu-offtopic today. DrNick1 asked a question, topyli and NickGarvey helped immediately.

irc support

Tags: Ubuntu, Community, Troubleshooting, Cartoon

Technorati Tags: , , , ,

View source post

Google Releases Reinvented Wheel for Linux

August 2nd, 2007


View original post


Google has released their Google Desktop for Linux. It’s nice to see them catch up with what GNOME has had built in and nicely integrated for a long time, including features such as:

  • Quick search box with integrated Web and desktop search, much like the Deskbar-applet
  • Searching Gmail and Web history much like Deskbar-applet plugins for same, and of course
  • Document and local email indexing and search, such as the one provided by both Meta-tracker and Beagle

GNOME still doesn’t submit your information to Google or phone home though, so if you miss such features (which can be very useful in fact,) go ahead and download Google Desktop’s brand new Linux version.

Technorati Tags: , , ,

View source post

Syncing Smartphones And Evolution: Web2.0 and Old School

August 2nd, 2007


View original post


Linux users with smartphones and PDAs are familiar with the narrow definition of a “supported PC” most mobile device manufacturers have: a Windows PC, and perhaps a Mac. I have tackled this problem from many angles in the past, from the struggle to achieve simple file transfers between Nokia phones and Linux boxen, to the quest for calendar and address book sync, to accessing email.

There are two main routes to solve the sync problem: the Web2.0 Way and the Old School Way. Both have one thing in common: if you’re a Linux user, you should keep your data online. Forget about plugging your Nokia smartphone via the USB cable and pressing “Sync”. While software such as OpenSync and Gnokii exist, I’ve never had complete success with them. Also, when your data lives on a centralized server maintained by professional Other People, you get backups as a bonus!

There are three main things that I need to be able to access at all times: email, calendar, and todo list. I’ll describe my sync methods below.

The Web2.0 Way

The hip and the cool among us enjoy Gmail and other online apps and services, and I do like them as well. For example, Gmail’s user interface changed the way I looked at webmail forever, and in some ways it’s superior to any desktop email client. Who has better search than Google, after all? When you have a mail archive of hundreds of megabytes, it’s safe to say that the network is no longer the slowest part of your system when you search for that message from Charlotte she wrote in 2004, saying she doesn’t love you anymore. We’re generating increasingly large amounts of information, and as Paul Boutin noted a while back, you would never allow a system in your house that would compete with Google’s search.

Sync-wise, the Web2.0 Way has one obvious advantage over the Old School Way: there simply isn’t very much to synchronize! Gmail has an awesome interface for your desktop browser, as well as for the puny WAP browser on your mobile phone, so that’s a no-brainer. Even better, Google’s Java mobile client application is top notch.

Google Calendar is a very nice web app as is, and it has a more-or-less adequate mobile version as well. Google doesn’t give you a todo list of any kind though, so I recommend Remember The Milk. RTM has all the features you can hope for and then some, and comes with a very nice mobile version for your WAP browser.

On the desktop, you can integrate all these apps into your GNOME environment with read-only access. GCal and RTM provide standard iCal interfaces you can subscribe to with Evolution. This allows you to view your appointments and tasks right from GNOME’s Clock applet. You can also make a smart bookmark for Epiphany to search Gmail, and have it accessible from the deskbar applet if you like: 1) Go to your Gmail inbox. 2) Switch to “basic HTML” mode. 3) Search Gmail for a recognizable string like FOOBAR. 4) Bookmark the results page. 5) Edit the bookmark, replacing FOOBAR in the URL with %s and give it a descriptive name such as “Gmail search”. You will now be able to search your Gmail archives from the Epiphany location bar and deskbar-applet. (Firefox version is left as an exercise to FF users.)

Old School Way

In a nice paradox, the good old fashioned computing lifestyle demands much more from your tools than the “more advanced” Web2.0. However, if you have such tools, they are usually more comfortable and flexible to use than web apps. They will also survive network outages, which naturally is a tremendous benefit. My gear is Evolution on the desktop and the native Messaging and Calendar applications on my Nokia E70. The phone has to support the SyncML synchronization standard (sometimes called OMA these days) and IMAP for mail.

On the server side, we need an IMAP account, which rules out every free email provider I know of, including Gmail. We also need a SyncML server. ScheduleWorld offers this one for free, so we’re in luck. Evolution does not speak SyncML, but we can use a simple command-line tool called SyncEvolution as glue.

The benefits of IMAP are obvious: multiple clients can connect, even at the same time, and all mail is accessible to all of them. One can argue we can achieve the same with Gmail, but synchronizing local folders is far from trivial using POP.1 Also, since mobile phones usually don’t have lots of storage (mine can handle 2GB at best,) it is nice to work with only the mail headers and download and delete message bodies as needed.

SyncEvolution doesn’t come with Ubuntu, and I haven’t seen any suitable Debian packages floating around the Internet. Not to worry, the source builds nicely on Ubuntu, and you’ll be up and running soon enough. There is a nice tutorial on the Ubuntu Forums as well. I’ve setup a bash alias syncevo=’syncevolution scheduleworld’ and run that whenever needed. Works like a charm.

Which Path should i take, Master?

Whichever you like more! I’ve been using and loving both, and the best thing is they don’t rule each other out. ScheduleWorld not only syncs your phone and Evolution but Google Calendar as well, and recently introduced experimental support for syncing Gmail contacts. It also has quite a usable web interface too. Mail can be duplicated between your IMAP server and Gmail via simple forwarding.

Ultimately, the more advanced your mobile phone, the more you will like old-fashioned “native apps and sync” approach, while the Web2.0 applications’ mobile versions will work in your old phone’s WAP browser, and even have SMS interfaces.

1. But see the “recent hack”, which is useful for other things as well: I use it to backup my Gmail with fetchmail.

Technorati Tags: , , , , , , , ,

View source post

tales from the offtopic #10: optimised

August 2nd, 2007


View original post


Not only should you implement a solution to your problem, you must optimise! This installation of tales from the offtopic features kaot and mc44. The discussion took place on #ubuntu-offtopic two days ago but i forgot to illustrate and upload it until now. Apparently I have something to learn from mc44 as well.

tales from the offtopic #10: Optimized

View source post

Ubuntu Blogs

August 2nd, 2007


View original post


Probably the most popular Ubuntu blog in the world, apart from the official one, is Carthik Sharma’s. Carthik invited fellow bloggers to tell him whether they too blog about Ubuntu. The response is amazing. Nice to see that so many people are using FOSS operating systems.

Though I don’t write about Ubuntu that often in this blog anymore, one of my old posts always ranks the top post in this website! All my Ubuntu relates posts can be read here.

And finally, what is common between me and Carthik? We both are Tamilians!

View source post

Cleartype LCD patch on Mandriva Linux 2007

August 2nd, 2007


View original post


My biggest gripe on any GNU operating system is the poor font rendering. Because of patents held by biggies like Microsoft and Apple, many interesting font rendering technologies cannot be applied on Linux without the chance of getting sued.

Perhaps the best patch available for font rendering is the LCD cleartype patch from Freetype maintainer David Turner. Though this patch is no longer available from Turner, you can download it from several places on the internet. I have shared one of them here. Let us see how we can apply this patch on Mandriva 2007. Ubuntu users, please refer to my another interesting howto here.

We need the following 3 files:

Extract all the packages to a folder:

$ tar -xzvf filename.tar.gz

Now we need to apply the patches for individual packages.
For freetype, there is no patch, but we can edit the file manually. Go to your freetype source folder, and open the file aflatin.c:

$ vim ./src/autofit/aflatin.c

Search for the term FT_RENDER_MODE_MONO. You will find two instances. Remove the OR statement that follows this in both cases. It will read like the following once you edit it:

if ( mode == FT_RENDER_MODE_MONO )
other_flags |= AF_LATIN_HINTS_VERT_SNAP;

You are done patching freetype.

Now go to the xft folder and run:

patch -p1 < path/to/your/libXft-2.1.10-etcpatchfile

Go to the cairo folder and run:

patch -p1 < /path/to/your/cairo_patch

You are done with all the patching. Now, go to individual folders for these packages and run:

$ ./configure --prefix=/usr
$ make

Now login as root and:

$ su
# make install
# exit

This will overwrite the default libraries that shipped with your system. Repeat the same for all the other packages.

Go to font preferenes and select sub-pixel font rendering.

Just restart X (Ctrl+Alt+Backspace) and enjoy your new beautiful Mandriva!

Sample:

After patching

Acknowledgements: This guide is based on a thread in Ubuntu forums.


View source post

Ubuntu on PS3?

August 2nd, 2007


View original post


Now that it is officially confirmed that you are free to install any OS on PS3, it is time to save some money and buy one as soon as it is launched here or when someone starts selling it on ebay. Going by Sony’s past track record in India, it is unlikely that it will be in showrooms before the end of 2007.

Ever since I read about the Cell processor, I always wanted to get hold of a PS3. The cell based PS3 is likely to be very powerful in terms of processing heavy duty stuff like media encoding, which I often do on my laptop. The 9 core processor will be a refreshing change to the x86 based computers that we have been using for a while now. Though the official Linux is going to be Yellow Dog with enlightenment, I think hardly anyone will go for it. Ubuntu is likely to win the race here, closely followed by Fedora core. (Unforunately, Mandriva stopped shipping PPC versions of there distro sometime back). Interestingly, IBM is already shipping a Cell based general purpose computer with Fedora pre-installed!

This strategy of Sony comes as a big surprise, considering their continued efforts to thwart homebrew development on the PSP.

Sure, exciting days are ahead!

Update (28-Dec-2006): Here are some instructions for installing Ubuntu on PS3.  Warning: Not for the faint of heart.

View source post

Font smoothing on Edgy Eft

August 2nd, 2007


View original post


I made a small update to the ever-popular post on this blog: OS X like font rendering in Linux.  The guide now covers Edgy too. Turner’s patches for Edgy are now available through a private repository. You can download it from here:

By the way, here is how my Edgy desktop looks now:

Edgy desktop
The icon theme is the ultra cool Echo from upcoming Fedora core 7 artwork. You can grab it from here. The GTK theme is clearlooks and the window manager is vanilla compiz.

View source post

Baffling Beryl - Useless eye candy

August 2nd, 2007


View original post


I have been using Compiz with AIGLX for a while and thought I would checkout the Beryl project, which is a fork of compiz. So I added the Beryl repository to my sources list and installed all the associated Beryl software.

After I launched Beryl, I got a nice theme for my window manager. Though it looked good, I preferred the simple and cute title bar that came with original compiz. I fired the “Beryl Settings Manager” to see where I can change these settings. Voila! I was greeted with an application that had more options than anything I have ever seen before! Here is the sample:

Beryl settings manager
You are only seeing a part of all the options available. Note the scrollbars - there are plenty of other settings for each plugin! Needless to say, most newbies will have no clue understanding what all these options mean.

Now I feel that it is good that the compiz project actually forked! I am sure an organization like Novell will not include anything like this into a mainstream desktop they sell to enterprises. While I can understand the enthusiasm of Beryl developers, it is sad to see that this project is now going in a direction where the software is heavily overdone and will not be of any use to anyone. At this point of time, most of the plugins are mere eye-candy and many a times more of an annoyance than anything useful. The default settings are ridiculous with those animated menus wobbling like hell.

Eye candy in conjunction with usability is what will click with the end user. Good example are Mac OS X and to an extent Vista. (I personally feel that Vista could have also done without some of those silly effects).

I promptly uninstalled Beryl and went back to vanilla compiz. Sorry developers.
(I later found out that the settings for Window Manager are changed through “Emerald Theme Manager”, which is another nicely overdone tool.)

View source post