Archive for May, 2008
Displaying mht files in ubuntu
Peace be upon you.
I will guide you how to view or display mht files in linux specially in ubuntu. I just would like to mention that MHT is the format used by Internet Explorer to save a web / HTML page into a single file (or ‘web archive’) rather than creating an HTML text file plus a separate folder containing all of the page’s images and other media.
It is not a Microsoft format (nor is it proprietary). It’s actually based on an IETF RFC standard.
Steps to get .mht files to open in Firefox on Ubuntu
1. Download the MAF extension.
RIGHT-click the following link and choose ‘Save link As…’ to save the MAF extension to your Desktop. Don’t left-click the link directly, or it will try to install itself into Firefox straight away (which won’t work).
Right-click and save >> maf-0.6.3.xpi
2. Patch the extension to make it compatible with version 2.x (or 3.x) of Firefox.
Click on the .xpi file to open it. It should automatically open in File Roller (the archive manager). Once opened, you’ll see several files and folders inside the .xpi file. Right-click on the ‘install.rdf‘ file and extract it to your Desktop.
Open the .rdf file in a text editor and look for the line that says: “<em:maxVersion>1.5</em:maxVersion>“.
Change the value from 1.5 to 2.5 (or 3.5) and then save the file. Now add the edited install.rdf file back into the .xpi file (either use File Roller’s ‘Add Files‘ toolbar button, or just drag the file and drop it onto the open File Roller window). Close the File Roller window and then click on the maf-0.6.3.xpi again to re-open it. Click on the install.rdf file, and check that the version number change that you just made has been successfully retained.
3. Install the modified extension.
Now install the MAF extension, by dragging the maf-0.6.3.xpi file onto an open Firefox window. Once it’s installed, re-start Firefox.
4. Associate .mht files with Firefox
Right-click on an .mht file and select ‘Properties’ and go to the ‘Open With’ tab. Click the ‘Add’ button and select ‘Firefox Web Browser’ from the list of programs that appears. Press the Add button again and close the dialog.
Restart X (if necessary) by pressing: Ctrl + Alt + Backspace.
Ref : Ubuntu Forums
Have fun
.
7 comments 19 May 2008
Learning Linux For Beginners 3
Peace to you all.
I will resume a lot of good commands you may encounter while you learn linux.
To configure Network Connection
Start -> System -> Network -> [Adjust your configuration] -> File ->Save – > [activate]
To change Language Layout to add arabic functionality (for instance, of course you can add any language you use):
Control Center -> Regional & Accessibilty -> Keyboard Layout -> Enable Keyboard Layout -> (Add Arabic)
To Search for software download:
Write in the terminal: -> yum list *softwarename*
To Download Software Repository for fedora:
http://rpm.livna.org/rlowiki/
To get the IP addresses information:
$ /sbin/ifconfig
To download using Terminal:
$ wget URL
to resume download:
$ wget – c URL
Good Terminals Commands:
ls -> list files in the directory
To list all running processes:
$ ps
To list all running processes with details:
$ ps -All
To get the top processes currently running in the system:
$ top
To kill a process:
Get the process PID from the previous command then write-> kill [PID]
or
killall -9 [process name or PID]
To run the binary file:
./FileName.bin
To get the Java Version:
$ java -version
To get the current location:
$ pwd
Add comment 17 May 2008
aMule Server List
Peace be upon you all.
When you install aMule in ubuntu for the first time, you may encounter the following issue while trying to connect:
no valid servers found in server list
The solve of the problem is so easy.
To overcome the problem, attempt the following operations:-
- Open the network tab in the aMule.
- In the ed2k tab paste the following URL in the servers textbox under the ed2k label: http://www.gruk.org/server.met.gz (Of course any valid URL you can supply, but I used this URL as an example of a valid URL I used before)
- Reconnect and have fun
Hope to hear from you soon and know your opinion & comments.
Add comment 15 May 2008
ubuntu audio converter
Peace be upon you.
I will learn you how to convert audio files in ubuntu. Sometimes, you download some videos from youtube as .flv files, and you necessarily need to convert them to mp3, wav or even ogg files.
Follow this terminal operations for installing sound converter program in ubuntu.
$ sudo aptitude install soundconverter
$ sudo aptitude install gstreamer0.10-plugins-ugly-multiverse
After finishing installation process, open Applications -> Sound & Video – > Sound Converter
Browse to the file you want to convert, open Edit -> Preferences then select the format you want to convert to, then have fun
I hope to hear your opinions.
Salam.
1 comment 14 May 2008
حلقات التنمية البشرية
حلقات الدكتور إبراهيم الفقى فى التنمية البشرية
سلسلة الحياه امل
محاضرات د ابراهيم الفقى
سلسلة الحياه امل1+2+3
http://mihd.net/l9ybuw
4+5+7سلسلة الحياه امل
http://mihd.net/stz5bg
8+9+10سلسلة الحياه امل
http://mihd.net/9b64oh
11+12سلسلة الحياه امل
http://mihd.net/cqksep
13+14سلسلة الحياه امل
http://mihd.net/qk2bfo
/*****************************************************************/
سلسله طريق النجاح
طريق النجاح 1 +2
http://mihd.net/upsrdg
طريق النجاح 3
http://mihd.net/n2c8ht
طريق النجاح 4
http://mihd.net/67g4ej
طريق النجاح 5
http://mihd.net/x5jtfz
طريق النجاح 6
http://mihd.net/g4ax0p
طريق النجاح 7
http://mihd.net/ex4qfm
طريق النجاح 8
http://mihd.net/jbmla3
طريق النجاح 9
http://mihd.net/lfvrgd
طريق النجاح 10
http://mihd.net/av4f1n
/*****************************************************************/
Yalla_ya_Shabab_MBC_1
http://mihd.net/gf1swe
/*****************************************************************/
حلقات منوعه
1+2الثقه بالنفس
http://mihd.net/jdvgmk
الثقه بالنفس3+4
http://mihd.net/0pukn7
1+2فن اتخاذ القرار
http://mihd.net/4uamy9
3+4فن اتخاز القرار
http://mihd.net/i6yd9j
/*****************************************************************/
وليه هنا عشر محاضرات فى صفحه واحدة للتحميل
http://hosted.filefront.com/wowno2005
كل اللى هاتعمله انك تدخل على موقع التحميل وعلى فكره هو موقع سريع واضغط على المحاضرة اللى تحب تنزلها
/*****************************************************************/
——————————–
الأعتقاد و قوة التغيير
http://d.turboupload.com/d/1372225/Movie_0001.wmv.html
——————————–
الطريق الى التميز
http://d.turboupload.com/d/1390406/Movie_0002.wmv.html
——————————–
الأتصال الفعال
http://d.turboupload.com/d/1394476/Movie_0001.wmv.html
——————————–
السعادة الزوجية
http://d.turboupload.com/d/1394408/Movie.wmv.html
——————————–
الأولاد
http://d.turboupload.com/d/1394781/Movie_0002.wmv.html
——————————–
سلسلة نجاح بلا حدود (فيديو)
http://d.turboupload.com/d/1376156/Movie.wmv.html
http://d.turboupload.com/d/1376172/Movie_0001.wmv.html
http://d.turboupload.com/d/1376180/Movie_0002.wmv.html
http://d.turboupload.com/d/1376187/Movie_0003.wmv.html
http://d.turboupload.com/d/1376207/Movie_0004.wmv.html
http://d.turboupload.com/d/1376217/Movie_0005.wmv.html
http://d.turboupload.com/d/1381290/Movie_0006.wmv.html
http://d.turboupload.com/d/1381368/Movie_0007.wmv.html
http://d.turboupload.com/d/1381454/Movie_0008.wmv.html
http://d.turboupload.com/d/1370536/Movie.wmv.html
http://d.turboupload.com/d/1373272/Movie_0001.wmv.html
http://d.turboupload.com/d/1373278/Movie_0002.wmv.html
http://d.turboupload.com/d/1373469/Movie_0003.wmv.html
http://d.turboupload.com/d/1375136/Movie.wmv.html
http://d.turboupload.com/d/1375156/Movie_0002.wmv.html
http://d.turboupload.com/d/1375191/Movie_0003.wmv.html
/*****************************************************************/
الجزء الثانى من الحلقات
ملحوظه
(1)
طريقه التحميل من الموقع
بمجرد ان تضغط على الرباط الموجود اسفل عنوان الحلقه سوف تظهر لك صفحه موجود على اعلى اليسار جمله
request download link
وعندما تضغط على هذه العباره تظهر لك صفحه اخرى موجود اعلى اليمين عباره
download file
تضغط عليها ويبدء التحميل ان شاء الله
(2)
الموقع يسمح لتحميل الملف الواحد فى خلال اربع ساعات لذالك هو يدعم خاصيه استكمال التحميل ثانيا اذا انقطع الاتصال بالنت اثناء التحميل
ايقظ قدراتك و اصنع مستقبلك1
http://mihd.net/1g0cys
ايقظ قدراتك و اصنع مستقبلك2
http://mihd.net/9u71qh
القوه الذاتيه
http://mihd.net/dv57nf
الاتصال الفعال
http://mihd.net/y9dvm3
قوانين العقل الاواعى
http://mihd.net/346qj1
الادراك
http://mihd.net/0ep2ba
فن الاتصال
http://mihd.net/xf8j7u
الطريق الى التميز&الهدف&برمجه الطفل
http://mihd.net/wlxgyu
قوة التحكم بالذات
http://mihd.net/gif0z6
الرباط الذهنى&السعادة الزوجية&الطاقة البشرية
http://mihd.net/eukrpt
الأعتقاد و قوة التغيير
http://mihd.net/kao6dp
الاصرار
http://mihd.net/rjnafp
الاعتقاد
http://mihd.net/g47hrk
smartswayclip
http://mihd.net/6zuwv5
و جزا الله خيرا ناقلها و صانعها ( من منتدى أﻻستاذ عمرو خالد ) و جزاكم الله أيضا كل خير.
Add comment 12 May 2008
Creating and accessing SVN repositories over HTTP
Creating and accessing SVN repositories over HTTP
To network your repository over HTTP, you basically need some components, the apache server running in your system and also mod_dav_svn.
To get the mod_dav_svn:
$ yum install mod_dav_svn.i386
To create the repository in which it will hold your projects:
$ svnadmin create /home/work/svn/project1/
then create the folder that holds your project.
Open the httpd.conf and add the following lines of code:
<Location /svn>
DAV svn
SVNParentPath /home/work/svn/project1/
AuthType Basic
AuthName “Subversion Repository Authentication”
AuthUserFile /home/work/svn/project1/-auth-file
Require valid-user
</Location>
Switch to the terminal and add the following commands in order to grant access to specific users only and not anonymously:
$ htpasswd -cm /home/work/svn/project1/-auth-file harry
[password] : *********
[Retype – password] : *********
$ htpasswd /home/work/svn/project1-auth-file -m sally
New password: *******
Re-type new password: *******
Adding password for user sally
$
Start apache server
$ /etc/init.d/httpd start
Change the folder permission to allow the apache user to read and write in the repository:
$ chown apache.apache -R /home/work/svn/
Switch to eclipse to access your project remotely through http:
Windows – > Show Perspective – > Other – > SVN
In the SVN windows:
New Repository location -> [Enter URL] it should be http://127.0.0.1/svn/project1
Enter your username and password associated in the authorization file.
Right Click -> Check out repository.
Enjoy
Hope to hear from you.
Add comment 11 May 2008
Linux Flash Player
Linux Flash Player
Peace be upon you.
If you need to run swf files or either flash movies generally under linux, you should install a flash player accordingly. Gnash is a free Flash movie player, which works either standalone, or as plugin for Firefox/Mozilla or Konqueror. Currently it is in a alpha state. The plugins are under heavy development at this time.
Gnash supports the majority of Flash opcodes up to SWF version 7, and a wide sampling of ActionScript classes for SWF version 8.5. All the core ones are implemented, and many of the newer ones work, but may be missing some of their methods.
Included in the Gnash is an XML based messaging system, as specified in the Flash specification. This lets a flash movie communicate over a TCP/IP socket, and parse the incoming XML message. This lets a movie be a remote control for other devices or applications.
This package includes the standalone GTK+-based OpenGL player.
To install Gnash in Fedora :-
- Open terminal
- Change your permission to be root, write su
- Then write : yum install gnash
To install Gnash in ubuntu :-
- Open terminal
- Change your permission to be root, write sudo -s
- Then write : sudo apt-get install gnash
Homepage: http://www.gnu.org/software/gnash/
Have fun.
Add comment 7 May 2008
Customize Java in ubuntu
Customize Java in ubuntu
Peace be upon you.
Sometimes ubuntu uses the java 1.6 as a default, wheres you need to use a another version of sun java like java 1.5. In this case you have to tell ubuntu which java you are looking forward to use.
Fellow the next steps in order solve your problem :-
- Download the jdk version in which it will be used as default from http://java.sun.com/javase/downloads/index_jdk5.jsp (jdk 5 in our example here).
- Open a Terminal window
- Change your privileges to be root, write sudo -s.
- Run sudo update-java-alternatives -l to see the current configuration and possibilities.
- Run sudo update-java-alternatives -s XXXX to set the XXXX java version as default. For Sun Java 5 this would be sudo update-java-alternatives -s java-1.5.0-sun
- Run java -version to ensure that the correct version is being called.
You can also use the following command to interactively make the change;
- Open a Terminal window
- Run sudo update-alternatives --config java
- Follow the onscreen prompt
Any questions post them as a comment below. Have fun.
Add comment 7 May 2008
NetBeans IDE 5.5.1 Swing Layout Extension
Peace be upon you all.
When you try to import your code you used in netbeans IDE 5.5.1 to your Eclipse, you will encounter the following issue :-
Multiple markers at this line
- org.jdesktop cannot be resolved to a type
- org.jdesktop cannot be resolved to a type
NetBeans IDE 5.5.1 uses swing layout extension to build its GUI applications, the code is auto generated, you don’t have the ability to change the auto generated code since the content of the generated method is always regenerated by the form editor.
This is the comment of the auto generated method:
/** This method is called from within the constructor to
* initialize the form.
* WARNING: Do NOT modify this code. The content of this method is
* always regenerated by the Form Editor.
*/
In order to import your netbeans code into other IDEs like Eclipse, you must have the swing layout extension. Perform the following steps to let your code runs on eclipse.
1 – Go to the netbeans 5.5.1 IDE in the main project you are in it.
2 – open the Libraries node.
3 – Locate the swing-layout-1.0.jar at the Libraries node. It should be in the netbeans installation folder “platform6\modules\ext”
4 – Copy the swing-layout-1.0.jar to your Eclipse project and add it to your build path.
5 – Run the Eclipse project, it will run normally as you run it from your netbeans IDE 5.5.1.
Regards,
2 comments 6 May 2008
يـا عـلاوة يـا ولاد
و الله و عملتها الحكومة….يا علاوة ما تمت
قررت الحكومة المصرية زيادة أسعار المحروقات بنسب تتراوح بين 20 الى 35 % على النحو التالى :-
رفع أسعار البنزين من فئة 90 و92 بما يوازي 45 قرشًا للتر ليتراوح سعر البيع ما بين 175 و185 قرشًا ، ورفع أسعار الفئة 95 إلى 275 بدلا من 175 قرشا ، على أن يزيد سعر السولار 35 قرشًا ليصبح 110 قروش للتر .
مش كده وبس ﻻء دا حكومتنا الرشيدة قررت أيضا زيادة رسوم تسجيل السيارات, و بالتالى فقد بلعت الحكومة العلاوة. مما هيترتب علية ارتفاع فاحش فى وسائل النقل و المواصلات المختلفة و أرتفاع أسعار السلع أكتر ما هى متنيلة على عين اهلها نظرأ لإرتفاع تكلفة الشحن و غيرة و غيرة.
يا علاوة يا وﻻد, طب ما نيجى نعمل إتفاق مع الحكومة تلغلينا العلاوة و ترجع لنا حقوقنا و هو أى حاجة تيجى منها و خلاص. وﻻ أقولك انا بقترح نقاطع البنزين و السوﻻر و نعمل حث للعقول المفكرة على إيجاد سيارات بديلة تعمل بالعلاوة الطحينية بالمكسرات والسمسم. و كفا الله المؤمنين شر القتال.
فعلا الحداية ما بتحدفش كتاكيت, و اللى حكومة بتدية بإديها اليمين بتاخدة تانى بالشمال, العجيب اننا عندنا ما يقرب من 7 موارد للدخل القومى و الحكومة أكنها بتحكم شعب تانى خالص.
سبحان الله, قبل الإضراب بيوم زيادة فى المرتبات, و بعدها بيوم زيادة أسعار المحروقات و الحديد و اﻵسمنت و غيرة و غيرة بالمناسبة دة احب اهدى أغنية بحبك يا حمار للشعب المصرى.
غريبة و الله, الغاز الطبيعى يباع لإسرائيل برخض التراب, و الدعم يحجب على الشعب, يعنى الحكومة تدعم الغاز للإسرائيل و ترفع أسعار البنزين على الشعب…….يعنى بدل الحكومة ما تطبع مع إسرائل من باب أولى أنها تطبع مع الشعب.
فاكرين الفيلم : اللى فيه الأغنية – الأرض لو عطشانه – نسيقهابايـــه – أكيد دلوقتى نسيقها بنزين أو كيروسين – لأن حتى دماءنا الآن ليس لها ثمن. لو لم اكن مصريا كان يبقى احسن !!!!!
خلاص بقينا زى غزة هانشغل العربية بزيت الطعمية, لوﻻ ان الحكومة أقفلت الحدود مع غزة, كان الشعب المصرى كلة دخل غزة هربا من الغلاء الفاحش. فعلا فكر جديد و عبور نحو المجهول.
طب العلاوة الله يرحمها كانت 30% و زيادة سعر المحروقات هايوصل إلى 50% طب 20% هاتروح فين ؟!؟!؟!؟
مش كدة و بس ﻻء دا يعنى أحمد عز ما طلعش بس بتاع حديد ﻻء دا طلع كمان بتاع خوازيق !!!! ﻻن بمنتهى البساطة الخوازيق بتتعمل من الحديد, و نحن إذا فى انتظار الخازوق الجديد.
و كل خزوق قصدى كل عام و عمال مصر بخير.
Add comment 5 May 2008
