Community Blogs

GUI Guide to Convert Video for the Andriod G1


The G1 is an excellent phone and I have yet to run into anyone who doesn't like it after they understand how to use it properly.  One of the more challenging things to get accomplished when using the G1 and a Linux PC is transcoding video in such a way that it will play seamlessly.  There are many tools available for Linux for transcoding video, but most are command line based and not very approachable for new users.   Another issue is that most of the graphical tools don't support true D.264 Baseline out of the box, and can take hours of fiddling with settings to get workable video for the G1.  I have yet to see any graphical transcoders specifically target this device, but it is possible to make a profile for for the G1 within Handbrake.

 For those of you not familiar with HandBrake, it is a multiplatform transcoding application built ontop of the ffmpeg libary.  Here is a breif description of HandBrake from their website:  "HandBrake is an Open-Source, GPL-Licensed, multiplatform,  multithreaded, video transcode available for Mac OS X, Linux and Windows"

 Plunging Ahead:

 If you are using Ubuntu 8.04 or later you can download the GUI package directly from the HandBrake download section of their website. Once the package has been downloaded to your desktop, double click it and follow the installers instructions.  You will find HandBrake in your Applications menu under  "Sound and Video".  Once clicked you will be presented with this window:

You have a number of options you can change right from the get go.  To begin we will just setup a basic video file for conversion with all the correct options selected so we can create a profile.  Click on the "Source" button in the upper left side of the screen and choose a video to transcode. Once you are ready change the settings to look like this:

To change the videos size to the correct screen size for the G1 click on the preview box at the lower right.  It will open a window were you can change the croping and aspect ratio of the video.  Change your settings to look like this:


Once this has been completed you can close the window and then click on the "Video" tab.  It is very important that you do not exceed 500kbps for your bitrate as the G1 will be unable to play the video.  Go ahead and set the settings as follows:

Next choose the Audio/Subtitles tab and select the audio channel you want to use.  Once you have chosen the appropriate channel change the remaining settings as depicted:

Lastly you need to configure the H.264 encoder.  Click on the H.264 tab and copy and paste this set of encoding instructions into the "Manual Options String" section on the lower left:


Once completed the settings should look like this:


You are now ready to save these settings as a preset for HandBrake. You will notice on the right side of HandBrakes interface a section labeled "Presets" Click on the green plus button near the bottom to save these settings as a new preset.  You will be presented with a window that will allow you to name and describe your new preset.  Feel free to fill out your preferences as you wish, here is how I typically set mine up.


Now anytime you would like to encode videos for your G1 all you have to do is select the source video and click on the G1 Preset and click the start button.  When the process is complete just copy the new file to the "Video" folder on your phone and open the video through the gallery.


Red Flag Supports MID and Embedded Automotive Markets with Moblin

Taipei, Taiwan, June 2, 2009 – Today, Red Flag, as one of the founding companies of Asianux, announced support of Moblin, an optimized open source Linux software stack and application framework, by committing to the development of a product based on the recently released Moblin version 2 for Intel® Atom™ processor-based platforms. Moblin version 2 provides the structure for Red Flag to incorporate robust Internet and media capabilities into its consumer Linux offerings. Red Flag announced future availability of Midinux 3.0 for MIDs and inMini2009 for netbooks. Both products will be based on Moblin version 2 and optimized for the Intel Atom processor.

Moblin version 2 is the latest from, an open source community that supports the creation and distribution of Linux-based operating system products for Intel Atom processor-based platforms, including mobile Internet devices (MIDs), netbooks, nettops, in-vehicle infotainment (IVI) and embedded systems. One of the key new features of Moblin version 2 is an easy-to-use and intuitive user interface that was built for advanced Internet, media and social networking experiences.

Red Flag has achieved amazing performance in 2008 in China with Lenovo Ideapad U8 and Aigo P8860, in Japan with the Sophia PEARTREE platform and in Italy with the BenQ S6, all of which are based on the Moblin project running on the Intel Atom processor.

Moblin version 2 will help Red Flag bring compelling platforms to the broader MID market, enabling exciting new embedded markets like In Vehicle Infotainment (IVI).

Midinux 2.0 was adopted by a number of MID customers and has done very well in the marketplace”, Dong Jia, Red Flag President & CEO, said; “Moblin version 2 will make Red Flag deliver more easily the best high-performance OS to our clients.”

Intel launched Moblin in June 2007 and incubated the project until April 2009 when the Linux Foundation became the host of the community. Intel continues to contribute key technologies and work with the developer community to advance the effort.

Red Flag has been a pioneer in bringing Open Source solutions to the emerging Intel® Atom™ processor-based MID market,” said Doug Fisher, vice president of Intel’s Software and Services Group and general manager of the System Software Division. “Red Flag’s support of Moblin version 2 in its upcoming product offerings will allow them to deliver unparalleled Internet, media and social networking experiences for Intel Atom processor-based MID devices and the emerging IVI market.

About Red Flag

Red Flag Software Co., Ltd. is the largest and most rapidly developed Linux vendor in China. By providing high-quality Linux-related products and services, Red Flag Software brings a new computing experience to customers, helps enterprise to stay ahead of the competition, and transforms the Linux technologies and the spirit of open source into the business value of customers. For more information, visit

About Moblin

Hosted by the Linux Foundation, Moblin is an optimized open source Linux software stack and technology framework that delivers visually rich Internet and media experiences on Intel® Atom™ Processor-based devices including MIDs, netbooks/nettops, in-vehicle infotainment (IVI), and embedded systems. More information can be found at


Ubuntu and Moblin - Fascinating!

Ubuntu and Moblin - Fascinating!

I just read this morning an article about a one-time Ubuntu Moblin remix for Ubuntu 9.10 Karmic Koala release in October. That would be, as Mr. Spock would say, "Fascinating!".

The Moblin project initiated by Intel and now supported by the Linux Foundation just recently released the Moblin 2.0 beta. I tried it out myself, and the experience was way to cool for a computer/netbook. It felt like I am in a parallel universe (out of this world). However, Ubuntu was not the base OS for Moblin 2.0. How I wished before that it was the case.

And now I have the answer. The Ubuntu Moblin remix will allow users to experiment on the use of the Moblin interface with Ubuntu. And the Moblin project to be made available as a package for release in Karmic.

If the Moblin interface is made as a regular interface option for netbook in the future releases of Ubuntu, then I would be a happy netbook user. A netbook is different from a laptop, and having the power of Ubuntu using a cool interface like Moblin would be a nice refreshing experience. May it live long and prosper! XD

This article is originally written at the author's personal blogsite at


Malware found on brand new Windows netbook ...

Security vendor Kaspersky Labs found malware on new Windows XP netbook, just out from the factory. The firm is warning users to take extra precautions, and ensure virgin systems are malware free before connecting them to the Internet.

 If You is owner a netbook - be attention ...

Read more... Comment (0)

Malware found on brand new Windows netbook ...

Security vendor Kaspersky Labs found malware on new Windows XP netbook, just out from the factory. The firm is warning users to take extra precautions, and ensure virgin systems are malware free before connecting them to the Internet.

 If You is owner a netbook - be attention ...

Read more... Comment (0)

Mobiltux says hello world


i am new here and I hope to find peopel to take about linux and mobil devices and cell phones. Since my Sinclar ZX [Long time ago ;-) ] I like littel devices and I dislike this big, bad looking grey box named computer. Something that is possibel to have in a littel pocket and I can use alllways.

Now whith te new Generation of Cell Phones it's really near to them what i had dreamed. But was ist with Open Source Project? I like Symbian-OS, is speedy and where handish, but is not Open Source. Nokia make a something like Maemo OS, something like Google Android to make bussines. Also Linux comes more and more to make bussines. Also to produce devices it's need to have money, se Open Moko, they have Big Problems cause they have  no money.     Is a difficult thing, money and Free Software, but it's need devices for to make free software on it. Time of hacking devices for the possibility to use are finished, know Open Software is accepted.  But what will bring the future? Bussines as usally or Hello  Open World.   



A secure remote folder share while traveling

Task, provide secure access to your home fileserver via Internet.

Instructions are geared for Debs...Ubuntu/Debian based systems.

Task: Set up a file repository on your home webserver, so that you can access your files anytime you are out connected to a hotspot, coffeeshop or through tethered your ATT phone via bluetooth* (*see my other blog for how to do this one)

Add ssh to your webserver, apt-get install sshd

Harden SSH so that it is more secure, 1. change the default port, 2. disallow root access.  3.  specify only needed users.

1.. For security reasons, we move ssh from port 22 to something higher 10022 for example.. (network scanners are less likely to find you and attempt to break in via brute force username/password attack)

You do this by modifying /etc/ssh/sshd_config and change the statement "port 22" to a port number above 1024 and below 65535,       port 10022

2..  then change "PermitRootLogin yes" to "PermitRootLogin no"

3.. Then add a statement that restrictrs who can login, keep it minimal like this: AllowUsers foo1 foo2

Restart ssh like this:   sudo /etc/init.d/ssh restart


now, test your login by attempting to log in ssh as root...should be denied, then try your login name that you spec'd up above in #3

works?   good, so far so good...

Now move along to your laptop, Eee machine, or whatever you carry around with you...  On Ubuntu, go to "places" then "connect to server", then select SSH from the service type pull down menu.  In the Server box, type in your webserver's IP address, in the PORT box put in whatever you used in   #1 above.

Username will be your user name that you allowed in #3 above.

Then when you hit connect, it will prompt for a password, which you enter, and then choose to "remember it forever".

Once this is done your "remote" folder will show up in your file browser, to pull files from your home server as needed to your remote device.





Tether Linux box to Internet via your 3G cell.

Tether your Linux box to your ATT phone's Internet connection via BlueTooth.
You basically connect your palmtop or laptop to your ATT cell phone using bluetooth technology, then, pass through the cell phone to allow your laptop/palmtop computer to access the Internet.

I use a Nokia770 and a Nokia810 model of Internet tablet mostly (.. really nice and compact.) , and carry my Eee 1000H Netbook, and laptop occasionally.

This guide is not intended to be a keystroke for keystroke instruction, but more of a guideline.
A little bit of prior computer experience goes a long ways to help you out, along with this guide.

What you need:

 Some kind of Linux Computer: (could be laptop, desktop, tablet, palmtop, etc.

Works nicely on:

Nokia 770 Linux Internet computer (Maemo).

Nokia800 or the new Nokia810 VERY COOL little box.

Netbook, I have a Asus 1000H running Ubuntu 904

Laptop,  I have a Compaq Evo N800v with bluetooth dongle running Debian 5) ,

My various desktops, mostly used as a backup to the DSL around the house.


Bluetooth can be built in, or get a Bluetooth USB device and plug that in to your machine.

The Asus Eee 1000H, Nokia770, N800 and N810 has EVERYTHING you need already built in. You can get them on Amazon for a steal of a price, EVERYONE NEEDS ONE of THESE!

AT&T (formerly Cingular) Cell phone service (with a data plan, otherwise they charge by the amount of traffic and its kind of expensive!)

To my knowledge, none of the other phone companies allow this method of connection as of yet. I had to switch to ATT just for this capability

Picking the right data plan is important. I took my Nokia770 into the ATT store and told them what I wanted to do (tether to the Internet), they suggested a  data plan and I went with it, it's a $20 charge on top of my regular plan, for unlimited 3G data.

Obviously you need a A Cell phone with G3 and bluetooth DUN or Dial up networking capability, I will cover the Razr V3xx model. (but some others will work also)

*Note, some advanced models of phones, including Iphone will not tether unless jailbroke*
Update 11/29/07 ATT and Apple announce the iPhone will do G3 sometime next year, but you gotta ask if it will "tether" to your laptop or not for dial-up-network. ...just doing G3 and bluetooth doesnt mean it will tether to your laptop.  As of 5/2009, you still cannot buy a iPhone / ATT tether data package.

Next steps:

1st create a file called /etc/ppp/peers/gprs-script
using your favorite editor, put these commands in that file.

####### start of gprs-script #####
user This e-mail address is being protected from spambots. You need JavaScript enabled to view it
password CINGULAR1
connect '/usr/sbin/chat -f /etc/ppp/chat-gprs-v3 -r /dev/con sole'
connect-delay 5000
#### end of file ####

Next create a file called /etc/ppp/chat-gprs-v3
using your favorite editor, put these commands in that file.

##### start of chat-gprs-v3 file ####
' ' \rAT
OK 'AT+cgdcont=1,"IP","wap.cingular"'
OK ATD*99***1#
## end of file ####


Punctuation is important ' ' this is a single quote with a space then another single quote.

Case is important. D <-- this is a capitol Dee, a small Dee looks like this --> d
In case you didn't realize, they are completely different to a computer. Well, to most computers anyway.

Slash is important / <-- is a forward slash located near the period, Linux and Unix and most other operating systems use it, (but not Windows)
This is a backslash, --> \ (think "backwards" thinking) :-)


Next:   Pair up your laptop and phone.

Heres how I do it with my Razr:  Make sure your phone is on findme mode.

from a Linux command window enter hcitool scan and note the mac address of your phone, you will use that in the next command.

The MAC is a unique code assigned only to your phone. It is unique in the entire universe. If you help a friend perform these steps...using your mac address will not work for his or her phone.

From a command window enter rfcomm bind /dev/rfcomm0 then a space and a 1 on the end. example
rfcomm bind /dev/rfcomm0 00:1D:BE:03:F3:14 1

then enter cat /dev/rfcomm0 this will make a paring request, enter the same pin number into your laptop and phone where requested
Both sides will remember the pairing, only need to do this part once if you dont swap or change out your bluetooth device.

To connect, issue the next 2 commands from command window.

from a command window, type in rfcomm connect /dev/rfcomm0 and hit enter.
from a 2nd command window type in pppd rfcomm0 call gprs-script and hit enter.
wait a few seconds and the connection should be made.

You can check your connection by entering route and checking that you have a entry for pppd.

Open a browser and you should be online.

With Ubuntu 904 and others, you can perform the pairing via gnome bluetooth widget if you want.

For the Nokia's (770 800 810)

 Now, lets look at my favorite, the Nokia770 Internet tablet.
Everything you need, software, hardware is included when you buy it.

Maemo distro based loosely on Debian Linux
Fits easily in shirt pock or pants pocket, runs a long time on the battery charge.
Touch screen, music and video player, easy ZOOM screen, gui'd apt-get pkg mgr, etc etc

Cool flip cover that gives Instant on, and Instant off.
Similar to the iPhone interface and size, but 3 years earlier.

I cant say enough good things about the value of this little box.. It's creators, Nokia and the Linux community should be recognized.

Since the 800 and 810 came out, you can find a 770 for a real deal, around $100 if you check Ebay.
And no, I am not selling mine..I actually want to buy a SPARE!

OK, enough advertising, lets get started:

Turn on your phone bluetooth FindMe mode, (good for 3 minutes on the razr)
on the 770 Go to tools, -->control panel -->phone and new, select your phone and pair them via entering passcodes both sides.
Once paired, this step does not need to be repeated.

Go to Tools, connection manager -->tools-->connectivity settings
select connections -->new --> next-->
Enter a name for the connection, such as gprs, freddys phone or whatever you want.
tap packet data
Enter Access point name wap.cingular
enter dial up number *99***1#
enter user name This e-mail address is being protected from spambots. You need JavaScript enabled to view it
password is CINGULAR1
**note the case sensitive parts **
tap finish

I usually see about 300k-600k transfer rates, depending on where I am,
using, dslreports or any other speed tester that is online.

Again, only certain phones allow this tethering (DUN) , and the iPhone ISNT ONE OF THEM yet, or I would have bought one for sure.
the Razr V3xx works, and at least one Samsung phone also does, my son has it working great also.




Netbooks and Linux

I managed to get an Acer Aspire One a couple months back for £150 brand new.  I was interested to see what Acer's Linpus Lite was like and what I found was shocking.

Acer's edition of Linpus Lite is a horrifically simplified interface, almost as if it were designed for children.  A few big icons in 4 categories, and that's it.  I never did find out if I could actually install anything else.  I was also astonished to find that Firefox was only version 2, and so was OpenOffice.  Overall, it was a very disappointing experience, and naturally I wiped the whole thing off and installed the awesome Ubuntu Netbook Remix.

Now I can begin to understand why so many consumers have returned their Linux netbooks and asked for Windows instead: because the version of Linux they were given was awful!  I cringe at the thought of the number of people who finally decided to give Linux a try, and their first and only experience of using it was Linpus.  Linux's reputation must have taken a beating.  I'm quite sure that the returns would have been dramatically reduced if UNR had been installed instead.  It's far more user-friendly, looks better, performs better, comes with a lot more software, is more configurable and has a huge repository of software to install at the user's will.

 I really hope Acer will ditch the monstrosity they currently use and help restore Linux's reputation to that of a fast, stable, agile and capable platform.

On a related point, I'm also disappointed with many manufacturers who offer Linux netbooks with a lower spec than their Windows counterparts.  They half the memory, or offer 8Gb SSD harddrive instead of 120Gb, or exclude Bluetooth.  Why?  Linux may not be as resource-hungry as Windows, but the public's impression will be that they won't be getting a good machine if they buy a Linux version.  No wonder Windows has won the netbook market: the industry has failed to deliver the right spec and the right OS.


Asus Eee PC and Easy Peasy 1.1

My mother needed to have open heart surgery this week and I needed a quick, no hassle way of staying connected to work. My surfboard sized Toshiba is a great semi-portable desktop replacement, but it isn't really well suited for adhoc Internet access, email and document processing in the hospital.

 I have seen the rave reviews of the Asus Eee PC 1000 hardware for a while, and for $500 delivered overnight from New Egg I felt like I could take the risk on it. I am a Debian guy and need to have something similar in capability to my regular laptop load, so while I was waiting for the overnight delivery I poked around for Debian or Debian-based distros for the Eee PC. I found the Easy Peasy site and downloaded the iso.

 After the little box arrived via FedEx, I grabbed it and the disk and shot off to the airport. The install was slick and the hardware all worked out of the box. I was able to grab some free WiFi at the airport with a click of the mouse and dropped in my openvpn keys for access to work. In no time I was up to date thanks to apt and productive as I needed to be.

I expected the keyboard to take some getting used to, but honestly my fingers found all the right keys with no problem at all. I also expected to be frustrated with the performance and the small screen size, but it is very responsive and the bright display has crisp letters that make using it a pleasure.

Every time I've taken it out to check mail or work on some code, the looks have been really amusing. People just don't believe a full powered PC can live in such a small case. Of course, I'm 6'1" and have a large, wide frame, so they could be just chuckling at the contrast in sizes.

I have to hand it to Asus and Easy Peasy. This system was exactly what I needed and worked far beyond my expectations. I now intend to make this system part of my normal work flow. It's nice to leave the system idling silently for communication like email and IM while I work code on my larger and more powerful laptop.  If you've been sitting on the fence about netbooks, it's time to try this one out. challenge

Ok, you've been reborn for roughly 24 hours so I've got a monster challenge.  I challenge the community to solve the iPhone/linux sync problem without jailbreaking my phone.  There may be a monetary reward to someone for solving this challenge.  See below for my fine print regarding the rewared.  And nobody tell me it can't be done, we all know nothing is for certain when it comes to computers.  Heck, I'll even offer up one solution for someone to persue: start a petition to Apple to create iTunes for linux.  See was that hard?? So what are you waiting for, get to it!

 That is all.


not-so-fine print:  In this contest, I am the sole judge and jury, and reserve the right to revoke my contest at any time for any reason, even if a solution has been discovered.  And remember, I only said I MAY offer a reward. 

More Articles...
Page 4 of 5

Upcoming Linux Foundation Courses

  1. LFS201 Essentials of System Administration
    12 Jan » 30 Mar - Online Self-Paced
  2. LFD320 Linux Kernel Internals and Debugging
    13 Jul » 17 Jul - North Reading - MA + Virtual (GUARANTEED TO RUN)
  3. LFS426 Linux Performance Tuning
    13 Jul » 16 Jul - Virtual (Guaranteed to Run)

View All Upcoming Courses

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board