Category Archives: Linux

open office 3.3 – deleting recovery file without re-install openoffice

Published by:

Sometime there’s a recovery option that really bugging us and never stop asking when opening open office. The fact is the recovery file is already damaged and cant be restored. But we can’t just cancel the recovery because somehow open office reject it. So we need to delete the recovery file record.
This is how :
delete all files in .openoffice/3/user/backup
start open office again
That’s it.

import blogger posts into our web site with wordpress

Published by:

This post is made because I want to move my blogger.com posts into my own web site with wordpress. There is suppose to be an easy way to do that. Like converting the database into the wordpress stucture. And I found one here.
http://blogger2wordpress.appspot.com/ – convert xml into wxr
It is said that we need to convert the xml from blogger.com into wxr wordpress import format.
The xml is downloadable in setting menu inside our blogger.com account.

Then change the xml in our computer into wxr by the online converter in
http://blogger2wordpress.appspot.com

Save it to our computer again.
And now go to our wordpress dashboard again, choose import menu from the tool left bar.
Choose wordpress. Upload your file.

The good things is that was the first way and still another way to do it in simple way.
Install this plugin Here.. It is a blogger importer.
Run Import from tool menu.
In another tab open your blogger account, let it open.
Choose blogger from our wordpress dashboard.
And set authorize when your blogger account appears.

 
Choose import for entire database.
That’s it. Now I have my database in my own web site with wordpress.

500 internal server error

Published by:

The error message,

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@sugi.web.id and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

That was the message I received a few days ago from my sugi.web.id. I don’t know why. Until I asked the web hosting that there have been a major damage on the server cpu in colocation center.
Actually 500 internal server error is an error message that quite common to appear when the server is having some trouble. It seems the administrator can manage the kind of error by creating 500.shtml for the error message.
Further we may learn to administrate the server in another post.

Pinguy OS

Published by:

www.pinguyos.com

Ever heard about pinguy linux? well I have not. And now I discover it.
Here the promo text from its website

Pinguy OS an out-of-the-box working operating system for everyone, not just geeks
This OS is for people that have never used Linux before or for people that just want an out-of-the-box working OS without doing all the tweaks and enhancements that everyone seems to do when installing a fresh copy of Ubuntu or other Linux based Distro’s.

Basically pinguy is ubuntu based linux. But with more applications, function and display than its ubuntu original. I remember slax for slackware based distro.
Maybe I would try this kind of linux in my virtual machine though. To find out more its strength.

wine – error 1608

Published by:

This error happens after installing fresh wine into my computer and then installing other software. I think this has something to do with windows installer.
But it will gone if we restart the computer then re-install the software.
I installed wine without gecko thing.
For now, the solution is restart the computer.
picture from http://www.birdlist.org

rmvb realmedia variable bitrate

Published by:

Extension rmvb is RealMedia Variable Bitrate. It still movie format that mplayer could play. Or vlc in windows.

We will try to convert rmvb into avi.
Tools
1. mplayer
2. mencoder
3. essential codecs for mplayer

note: to install the above tools, please take a look to http://stanton-finley.net/fedora_cor…ion_notes.html

File
1. rmvb file: in.rmvb
2. avi file: out.avi

Information for the avi file
Video
format: mpeg4
bitrate:1200 kb/s
fps: 25 fps
Audio
format: mp3
bitrate: 128 kb/s

Command
$mencoder in.rmvb -oac mp3lame -lameopts preset=128 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1200 -ofps 25 -of avi -o out.avi

Explanation
-oac: output audio codec
mp3lame: library used for audio encoding
-lameopts: options used along with lame
preset: values for audio bitrate, you can set 64, 128, 224, etc
-ovc: ouput video codec
lavc: library used for video encoding
-lavcopts: options used along with lavc
vcodec: video codec, you can use mpeg1video, mpeg4, etc
vbitrate: video bitrate, you can set 600, 1000, 1200, etc
-ofps: outpt frame per second ( fps)
-of: output file container type
-o: output filename

Mencoder is a powerful tool to convert multimedia, just like the above example, we can use it to convert rmvb to avi. With suitable library and codecs, we can even use it to convert file format like rm, wmv etc.

Reference link:
http://gentoo-wiki.com/HOWTO_Mencode…oduction_Guide

ffmpeg convert mkv to mpg

Published by:

Here is the command line to convert mkv movie file into mpg without loosing it quality.
ffmpeg.exe -i “F:/video.mkv” -vcodec mpeg2video -sameq -acodec copy -f vob -copyts -y “f:/video.mpg”

modify using vipw

Published by:

Usage: vipw [options]

Options:
-g, –group edit group database
-h, –help display this help message and exit
-p, –passwd edit passwd database
-q, –quiet quiet mode
-s, –shadow edit shadow or gshadow database

someone said this editor is the safest way to edit /etc/shadow /etc/group /etc/password

The manual is same as vi or vim command