Moho on (K)Ubuntu Linux

General Moho topics.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
Rasheed
Posts: 2008
Joined: Tue May 17, 2005 8:30 am
Location: The Netherlands

Moho on (K)Ubuntu Linux

Post by Rasheed »

I'm primarily a Mac user, but I have an old Toshiba notebook (475 MHz, 192 MB, 6 GB, 800x600 pixels) with Windows 98 SE and the unofficial Service Pack installed.

Yesterday, I installed Ubuntu Linux in a dual boot. Ubuntu seems to be the best choice for people who want to use Linux, but are less computer savvy than the average Linux user seems to be. It has a good support, is 100% free and has a nice look and feel. It doesn't have the sophisticated design of Mac OS X, but it does the job and does it rather well on an eight years old computer.

However, Ubuntu has a Gnome desktop and Moho seems to want KDE as a desktop. Luckily, there is also a Kubuntu fork which uses KDE for its desktop. Someone on a Dutch Ubuntu forum gave me the advice to download the Kubuntu installation disk and apt-cd it, to install the KDE desktop.

I hope all goes well and Moho will launch in a Linux box tomorrow on my old laptop.

Anyway, it seems to me that having all three platforms available (Windows, Mac OS X and Linux KDE) is a good thing if you want to write scripts for Moho.

I just wanted to let you know what I have been doing all this time.

Of course, I'll report back once I successfully launched Moho and perhaps show you some screenshots.
User avatar
jorgy
Posts: 779
Joined: Sun Sep 05, 2004 8:01 pm
Location: Colorado, USA

Post by jorgy »

I use Fedora Core 4 with moho under Gnome without any problems. Moho under linux isn't tied to either Gnome or KDE and should work equally well with either.

Good luck, and let us know your experiences!
User avatar
Rasheed
Posts: 2008
Joined: Tue May 17, 2005 8:30 am
Location: The Netherlands

Post by Rasheed »

Well, I tried Moho with the Gnome desktop and it didn't run. I have asked about the requirements on the Ubuntu forum, mentioned on the Linux Notes page, and Ubuntu should meet those requirements.

Perhaps I should modify the shell script called "moho", because in the Linux Notes it reads:
To install Moho on your Linux system, all you should need to do is to uncompress the package and place it wherever you like on your system. To launch Moho, run the script called 'moho' included in the download. If you run into problems, you may need to make small adjustments to that startup script.
I have no clue what those "small adjustments" should be.

OTOH something could have gone wrong during the download process, so I redownload and try again.
User avatar
Rasheed
Posts: 2008
Joined: Tue May 17, 2005 8:30 am
Location: The Netherlands

Post by Rasheed »

It really was quite simple. All I needed to install was a library called libstdc++5, by entering this in a terminal shell:

Code: Select all

sudo apt-get install libstdc++5
Here are some photographs I made of my old laptop running Moho:

Image Image Image
User avatar
Rasheed
Posts: 2008
Joined: Tue May 17, 2005 8:30 am
Location: The Netherlands

Post by Rasheed »

Of course, by now I have found the screenshot utility of Ubuntu, reconfigured the screen size (1280 x 800) for the attached external monitor, and discovered that I can use my digital camera as a removable hard disk (just as with my Mac and in Win98), so exchanging files up to 60 MB is really easy. I think I'll buy an el cheapo usb memory stick for even easier file exchange without a local network.

So here's a much better screenshots of Moho running in Ubuntu:
Image

Although the OS is localized to Dutch, you can see Moho has basically the same appearance as in other OSes.
User avatar
jorgy
Posts: 779
Joined: Sun Sep 05, 2004 8:01 pm
Location: Colorado, USA

Post by jorgy »

Fun, isn't it?
User avatar
Rasheed
Posts: 2008
Joined: Tue May 17, 2005 8:30 am
Location: The Netherlands

Post by Rasheed »

Yes. I'm amazed that Moho runs so smoothly on such an old machine and should really make an animation to celebrate that. Of course, on the Linux machine :D
User avatar
Rasheed
Posts: 2008
Joined: Tue May 17, 2005 8:30 am
Location: The Netherlands

Post by Rasheed »

I needed a few hours to figure out how to use fonts in Moho, because Moho doesn't support Linux' font system. In Ubuntu the fonts are located in several subdirectories of /usr/share/fonts/, while Moho needs a single directory.

I made a subdirectory in my home directory with the hidden name .font and copied the fonts I needed from the system location fonts:/// (using Nautilus as a file browser). The advantage is that you can put non-GNU fonts in there (e.g. Windows fonts). The disadvantage is that you need to have to duplicates of the same font. Perhaps this could be solved by using symlinks instead of the actual files in the .fonts directory.

So no Moho animation yet from the Linux pc, but perhaps tomorrow.
User avatar
Rasheed
Posts: 2008
Joined: Tue May 17, 2005 8:30 am
Location: The Netherlands

Post by Rasheed »

Well, the symbolic links part did actually work. However, it is a bit complicated, because you have to use the terminal command ln - s source symlink.

And I have made a small animation. Nothing fancy. Just a laptop opening.

Image
User avatar
jorgy
Posts: 779
Joined: Sun Sep 05, 2004 8:01 pm
Location: Colorado, USA

Post by jorgy »

Moho will only do ttf fonts, so any of the other subdirectories that have other types of fonts won't work anyway....
User avatar
jorgy
Posts: 779
Joined: Sun Sep 05, 2004 8:01 pm
Location: Colorado, USA

Post by jorgy »

P.S. Congrats on your first linux-based moho animation!
User avatar
Rasheed
Posts: 2008
Joined: Tue May 17, 2005 8:30 am
Location: The Netherlands

Post by Rasheed »

I did make the Moho file on Ubuntu Linux, but the video file was made on the Mac, because I have no video codecs on the Linux box, nor a video compositor.
Post Reply