This issue of magazine has covered lots of national & international FOSS related events and news. Tips & Tricks, Q&A sections are really helpful and has something to teach. Besides these there articles related to hardware and softwares too.
For more details download and read it
You can download it from the links mentioned below
Direct Link: http://ioefoss.ioelive.com/theinitmagazine/theinitmag03.pdf
Mirror: http://www.meronepalma.com/initmag
Please do send your articles and suggestions at
ioefossnewsletter@gmail.com
We have Q&A section in the magazine so for any problem you are facing, you can send to us in the email above.
Please forward the link of the magazine to your friends.
Tuesday, December 16, 2008
Wednesday, December 3, 2008
Freedom has been moved to Advanced
I am talking about the new chapter of FOSS-Nepal has been established in the Advanced College of Engineering And Management.
Yesterday (December 2, 2008) I, Jitendra & Kailash has given presentation on FOSS introduction in the college. There were Department Head of Electronics and Computer department, teachers and more than 80 students from first to fourth year present in the presentation. The presentation was all about FOSS introduction,why we need it?, what are the available FOSS? and all. Teachers and students were enthusiastic to know about FOSS. They put on lots of questions about it.
Finally we had a talk with Head of Department of Electronics and Computer Department. He was very positive towards our motive. We were pleased to know that their server was in Linux and some labs do have Linux in their computers.
He promised us to install Linux in most of their computers.
Yesterday (December 2, 2008) I, Jitendra & Kailash has given presentation on FOSS introduction in the college. There were Department Head of Electronics and Computer department, teachers and more than 80 students from first to fourth year present in the presentation. The presentation was all about FOSS introduction,why we need it?, what are the available FOSS? and all. Teachers and students were enthusiastic to know about FOSS. They put on lots of questions about it.
Finally we had a talk with Head of Department of Electronics and Computer Department. He was very positive towards our motive. We were pleased to know that their server was in Linux and some labs do have Linux in their computers.
He promised us to install Linux in most of their computers.
Thursday, November 27, 2008
FOSS Nepal SFD 2008 - competition winners!!!
FOSS Nepal has won the best SFD 2008 award. Its the second time in row, we are awarded best SFD.Its all hard work and efforts of the volunteers that make it possible. I would like to appreciate Bibek Paudel for his impressive report.
SFD (Software Freedom Day) is world wide celebration of Free and Open Source Software that is celebrated every year on third Saturday of the September. It was celebrated on the 20th September this year. Over 500 teams in almost 90 countries has celebrated SFD this year.
The theme “Create, Share, Collaborate” was chosen for this year's SFD.
If you have missed it, you can have a glance of it here.
SFD (Software Freedom Day) is world wide celebration of Free and Open Source Software that is celebrated every year on third Saturday of the September. It was celebrated on the 20th September this year. Over 500 teams in almost 90 countries has celebrated SFD this year.
The theme “Create, Share, Collaborate” was chosen for this year's SFD.
If you have missed it, you can have a glance of it here.
Wednesday, November 26, 2008
Installing Grub From Linux Live CD
Actually one of the frequently asked questions to me is grub problem. It is the solution to Linux users who get grub error or whose Linux boot option disappears.
Cause
Cause
- When you install Windows after installing Linux. Because grub installed at MBR is overwritten by the Windows MBR ( without considering the other OS)
- Some time grub file get corrupted
- You add the new hard disk then mounting point might change
- Boot From Linux Live CD (Ubuntu or some other distro)
- Go to Applications -> Accessories -> Terminal
- Type sudo grub you will prompted to grub prompt
- Type "find /boot/grub/stage1" at grub prompt it will return hd?,? where '?' = 0 - 9
- Now type root (hd?,?)
- Then type setup (hd?)
- Finally quit and then reboot
Saturday, November 22, 2008
The init Magazine Issue #2 released
Second issue of The init magazine has been released on 15th of Nov. Issues of the magazine is released on 15th of every month according to English calendar.
It is published by the IOE FOSS Community.
You can grab your copy from
Link: http://ioefoss.ioelive.com/theinitmagazine/theinitmag02.pdf
Mirror: http://www.meronepalma.com/initmag/
You can download the older versions too from
Link: http://ioefoss.ioelive.com/theinitmagazine
Please send your articles/suggestion at ioefossnewsletter@gmail.com
It is published by the IOE FOSS Community.
You can grab your copy from
Link: http://ioefoss.ioelive.com/theinitmagazine/theinitmag02.pdf
Mirror: http://www.meronepalma.com/initmag/
You can download the older versions too from
Link: http://ioefoss.ioelive.com/theinitmagazine
Please send your articles/suggestion at ioefossnewsletter@gmail.com
Thursday, November 13, 2008
Ubuntu Intrepid Ibex Release Party
Nov. 10, 2008
Here releases next version of freedom, Ubuntu marks its 8.10 version named “Intrepid Ibex”. Ubuntu Release its newer version on April and October and the newer version was released on 31st October.
IOE-FOSS community has organised the Ubuntu release party on November 9 in the local premises of the pulchowk college.
Programme started at around 4:30 as scheduled. Party was joined by the students of Pulchowk college, Informatics College, and people from FOSS Nepal community.
Bibek Shrestha, one of the member of IOE FOSS community started the talk on Ubuntu Relase and its features.
We also have the words from sponser, Janaki Technology Pvt. Ltd.(website) and Ankur Sharma, a member of FOSS Nepal Community.
We have the warm coffee and cookies (not the one that is stored in browsers) and informal talk to different peoples present there.
First 10 people registered were awarded with the free CD Ubuntu 8.10. Finally we had the candlelight vigil, candles were arranged to form logo of Ubuntu. The candle were lightening brighter to mark the bright future of Ubuntu and FOSS.
Programme was concluded with the lucky draw for the 10 lucky people to get the key ring engraved with Ubuntu-np.
Truly said by Jwalanta, release party was as good as the new version of Ubuntu!
Here releases next version of freedom, Ubuntu marks its 8.10 version named “Intrepid Ibex”. Ubuntu Release its newer version on April and October and the newer version was released on 31st October.
IOE-FOSS community has organised the Ubuntu release party on November 9 in the local premises of the pulchowk college.
Programme started at around 4:30 as scheduled. Party was joined by the students of Pulchowk college, Informatics College, and people from FOSS Nepal community.
Bibek Shrestha, one of the member of IOE FOSS community started the talk on Ubuntu Relase and its features.
We also have the words from sponser, Janaki Technology Pvt. Ltd.(website) and Ankur Sharma, a member of FOSS Nepal Community.
We have the warm coffee and cookies (not the one that is stored in browsers) and informal talk to different peoples present there.
First 10 people registered were awarded with the free CD Ubuntu 8.10. Finally we had the candlelight vigil, candles were arranged to form logo of Ubuntu. The candle were lightening brighter to mark the bright future of Ubuntu and FOSS.
Programme was concluded with the lucky draw for the 10 lucky people to get the key ring engraved with Ubuntu-np.
Truly said by Jwalanta, release party was as good as the new version of Ubuntu!
Monday, October 6, 2008
How to write mozilla extension
Introduction
A Mozilla extension is an installable enhancement to the Mozilla browser that provides additional functionality.For e.g firebug is one of the powerful extensions i have used. You can edit, debug, and monitor CSS, HTML, and JavaScript live in any web page with it.
Extensions actually contains ZIP files or Bundles, with the XPI (pronounced “zippy”) file extension.
Basic Structure
An example of the content within a typical XPI file:
example.xpi:
/install.rdf
/chrome.manifest
/content/*.xul
/defaults/preferences/*.js
/locale/en-US/*.dtd *.properties prefwindow.dtd
/skin/*.css
Now we will create a folder for e.g. my_extension and create above files and folders inside it.
Creating install.rdf
Open install.rdf in text editor and add following lines to it.
<?xml version="1.0" encoding="UTF-8"?>
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:em="http://www.mozilla.org/2004/em-rdf#">
<Description about="urn:mozilla:install-manifest">
<em:id>format@email</em:id><!--unique for extension -->
<em:name>Name of extension (optional)</em:name>
<em:version>Version of extension (optional)</em:version>
<em:creator>Name of author (optional)</em:creator>
<em:description>Description of extension (optional)</em:description>
<em:homepageURL>Home page of extension (optional)</em:homepageURL>
<em:updateURL>Available updates location (optional)</em:updateURL>
<em:iconURL>Icon for extension in the format chrome://ifeed/content/*.png (optional)</em:iconURL>
<em:targetApplication>
<Description>
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id> <!-- id of firefox -->
<em:minVersion>1.5</em:minVersion>
<em:maxVersion>3.0.*</em:maxVersion>
</Description>
</em:targetApplication>
</Description>
</RDF>
Understanding the browser user interface
Firefox's user interface is written in XUL and JavaScript. XUL is an XML grammar that provides user interface widgets like buttons, menus, toolbars, trees, etc. User actions are bound to functionality using JavaScript.
To extend the browser, we modify parts of the browser UI by adding or modifying widgets. We add widgets by inserting new XUL DOM elements into the browser window and modify them by using script and attaching event handlers.
Open chrome://browser/content/browser.xul in your browser you will see the browser inside the browser
The browser is implemented in a XUL file called browser.xul ($FIREFOX_INSTALL_DIR/chrome/browser.jar contains content/browser/browser.xul). In browser.xul we can find the status bar, which looks something like this:
<statusbar id="status-bar">
... <statusbarpanel>s ...
</statusbar>
<statusbar id="status-bar"> is a "merge point" for a XUL Overlay.i.e we can create our own xul file to overlay our component on the status bar.
Example XUL Overlay
<xml version="1.0"?>
<overlay id="sample"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<statusbar id="status-bar">
<statusbarpanel id="my-panel" label="Hello, World"/>
</statusbar>
</overlay>
Take this sample code above and save it into a new file called sample.xul inside the content folder you created
Create a Chrome Manifest
Open the file called chrome.manifest that you created and these lines to it
content example content/
locale example en-US locale/en-US/
skin example classic/1.0 skin/
overlay chrome://browser/content/browser.xul chrome://example/content/sample.xul
We have completed our hello world extension for mozilla. Now we will select the all files & folders (i.e. content,defaults,locale,skin,chrome.manifest,install.rdf) and create a zip file named example.zip. We will change the extension of example.zip to example.xpi
example.xpi is our extension now we can drag n drop example.xpi to firefox browser to install it.
Once it is installed it will ask to restart the browser.
After you restart the browser you will see Hello World in the right corner of your status bar.
References:
Extension Development Documentation
XUL Tutorials
For Help
Extension Development IRC
A Mozilla extension is an installable enhancement to the Mozilla browser that provides additional functionality.For e.g firebug is one of the powerful extensions i have used. You can edit, debug, and monitor CSS, HTML, and JavaScript live in any web page with it.
Extensions actually contains ZIP files or Bundles, with the XPI (pronounced “zippy”) file extension.
Basic Structure
An example of the content within a typical XPI file:
example.xpi:
/install.rdf
/chrome.manifest
/content/*.xul
/defaults/preferences/*.js
/locale/en-US/*.dtd *.properties prefwindow.dtd
/skin/*.css
Now we will create a folder for e.g. my_extension and create above files and folders inside it.
Creating install.rdf
Open install.rdf in text editor and add following lines to it.
<?xml version="1.0" encoding="UTF-8"?>
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:em="http://www.mozilla.org/2004/em-rdf#">
<Description about="urn:mozilla:install-manifest">
<em:id>format@email</em:id><!--unique for extension -->
<em:name>Name of extension (optional)</em:name>
<em:version>Version of extension (optional)</em:version>
<em:creator>Name of author (optional)</em:creator>
<em:description>Description of extension (optional)</em:description>
<em:homepageURL>Home page of extension (optional)</em:homepageURL>
<em:updateURL>Available updates location (optional)</em:updateURL>
<em:iconURL>Icon for extension in the format chrome://ifeed/content/*.png (optional)</em:iconURL>
<em:targetApplication>
<Description>
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id> <!-- id of firefox -->
<em:minVersion>1.5</em:minVersion>
<em:maxVersion>3.0.*</em:maxVersion>
</Description>
</em:targetApplication>
</Description>
</RDF>
Understanding the browser user interface
Firefox's user interface is written in XUL and JavaScript. XUL is an XML grammar that provides user interface widgets like buttons, menus, toolbars, trees, etc. User actions are bound to functionality using JavaScript.
To extend the browser, we modify parts of the browser UI by adding or modifying widgets. We add widgets by inserting new XUL DOM elements into the browser window and modify them by using script and attaching event handlers.
Open chrome://browser/content/browser.xul in your browser you will see the browser inside the browser
The browser is implemented in a XUL file called browser.xul ($FIREFOX_INSTALL_DIR/chrome/browser.jar contains content/browser/browser.xul). In browser.xul we can find the status bar, which looks something like this:
<statusbar id="status-bar">
... <statusbarpanel>s ...
</statusbar>
<statusbar id="status-bar"> is a "merge point" for a XUL Overlay.i.e we can create our own xul file to overlay our component on the status bar.
Example XUL Overlay
<xml version="1.0"?>
<overlay id="sample"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<statusbar id="status-bar">
<statusbarpanel id="my-panel" label="Hello, World"/>
</statusbar>
</overlay>
Take this sample code above and save it into a new file called sample.xul inside the content folder you created
Create a Chrome Manifest
Open the file called chrome.manifest that you created and these lines to it
content example content/
locale example en-US locale/en-US/
skin example classic/1.0 skin/
overlay chrome://browser/content/browser.xul chrome://example/content/sample.xul
We have completed our hello world extension for mozilla. Now we will select the all files & folders (i.e. content,defaults,locale,skin,chrome.manifest,install.rdf) and create a zip file named example.zip. We will change the extension of example.zip to example.xpi
example.xpi is our extension now we can drag n drop example.xpi to firefox browser to install it.
Once it is installed it will ask to restart the browser.
After you restart the browser you will see Hello World in the right corner of your status bar.
References:
Extension Development Documentation
XUL Tutorials
For Help
Extension Development IRC
Friday, October 3, 2008
Compiling Program for Symbian OS using Visual C++ 6.0 Introductory Edition
Tools Required
OS
Windows XP
Tips
Make sure all the programs are installed in same drive
There is no space in the SDK's folder name
When you add some thing to environment variable always use ";" as separator
Steps
- Visual C++ 6.0 Introductory Edition
- SDKs
- s60_2nd_sdk
- s60_2nd_fp2_sdk_msb
- ActivePerl-5.6.1 or higher
- JDK 1.6 or higher
OS
Windows XP
Tips
Make sure all the programs are installed in same drive
There is no space in the SDK's folder name
When you add some thing to environment variable always use ";" as separator
Steps
- Install Visual C++ 6.0
- Install Perl 5.6.1
- Install JDK
- Configure the path and environment variables
- Open My Computer > Properties Advanced > Environment Variables > System variables
- Add C:\Program Files\Java\jdk1.6.0_04\bin to the PATH variable.(for my case you give yours jdk's bin path)
- Add .pl to PATHEXT variable if it exists and if it doesnot create a variable PATHEXT and add *.exe;*.pl( exe for internal commands and external commands to work)
- Copy the user variable's path (i.e. one on the top) and add to the system variable's path (i.e. one at bottom).It is very important otherwise later when we will compile our program it will show link.exe missing.
- Perl setup usually associates perl scripts with perl. To check, My Computer > Tools > Folder Option > File Types. Go to pl extension, n check if it is setup. if not, create a new and make it to open with perl.exe
- Now Test Java and Perl Go To run > cmd >
- Type java -version and see the output it must give the version of java installed
- Similarly type perl -version
- If its working then proceed further if not check environment variables
- Now install sdk 2nd edition. the only reason to install this is for visual c++ 6 integration. there are two folders inside C:\Symbian\7.0s\Series60_v20\Series60Tools named 'applicationwizard' and 'epoctoolbar'.Copy them to some other location. we need this later.
- Now uninstall the 2nd edition sdk. this sdk has a problem that the gui softwares need exactly 1.3.1 version of java and cant work with higher
- Now Install any higher version of sdk (in our case, 2nd ed, fp2). higher versions usually have more examples and better documentations.
- Add application wizard and epoctoolbar from 'applicationwizard' and 'epoctoolbar' folders we copied before. Instruction on how to install is given in the readme file in the folders.
- Now go to run > cmd and type epoc and see if emulator opens if it doesnot open there is sdk is not installed properly so re-install sdk and follow the steps mention previously
- Now create a project either from emulator directly or you can use visual c++. but both of them should create project in same workspace. Defaulf workspace is X:\Work (X = drive where sdk is installed).
- .Start Visual C++ 6.0 and create an application using a wizard. Suppose the application is named Helloworld and is located at c:\Work\HelloWorld. Once the files are created, you can edit it, but lets first compile it
- To complie either we can use visual c++ or command line
- To compile from visual c++ go to build and build app
- For command line Go To Run > cmd
- Go to project's group folder. cd c:\Work\Helloworld\group
- type "bldmake bldfiles"
- to compile for emulator type, abld build wins udeb
- Meanings:
- abld - build utility command
- build - build the program
- wins - for emulator
- udeb - debug build (u means unicode)
- Run emulator (debug) from emulator (in start menu > all applications > sdk). there is the compiled application at the bottom of the screen in emulator
- to compile for cell phone type,
- abld build thumb urel or
- abld build thumb udeb
- You will see few errors during compilation,this is because visual c++ we are using doesnot allow to create standalone application.
- Go to X:\Work\HelloWorld\inc\ and create file a header file "BkCreate.h
- And write following lines in it1
- Now go to src folder and edit helloworldapp.cpp file
- Add include "BkCreate.h" below the line include...
- Now compile you will see 0 errors.
dfkjkdasjkldsa- now go to X:\Symbian\8.0a\S60_2nd_FP2\Series60Tools\install folder n type makesis helloworld.pkg
- helloworld.sis is created. transfer this to the mobile phone, install n run..
- Now migrane is over so enjoy!!!
Friday, September 26, 2008
Not Technical
Though this blog is technical, I would like to post my first topic non-technical.There is good reason behind it. When I was creating this blog. In the first step where we have to fill email and password and also captcha which i must mention. Captcha is generally to prevent the bots to create the blog (i.e. so it human can be distinct from other computer programs), but the funny part is I was unable to match the captcha even in my seven attempts.It took me 8 times to match the word. During that time I was force d to suspect on myself, i am human? or human bot (hahaha).
Finally in my 8th attempt I created my blog.
Thanks God I am human!!!
Finally in my 8th attempt I created my blog.
Thanks God I am human!!!
Subscribe to:
Posts (Atom)