Wednesday, August 29, 2007

rm2ogg convertor

Use the following command to convert rm files to ogg files.

$ mplayer "aks1.rm" -ao pcm:file=temp.wav | oggenc -q 10 -o "aks1.ogg" temp.wav

$ rm temp.wav

Display Video in VLC when using compiz is enabled.

For some reason, when compiz is running VLC does not show any video. I found the work around to the issue by following the below instructions

  1. Start VLC and click on Settings -> Preferences.

  2. Expand Video -> Output modules.

  3. Select Output modules, and check the  checkbox at the bottom right that says Advanced options.

  4. Select the option to select a different output device. Pick X11 video output, click on Save.

Sunday, August 26, 2007

mp32ogg convertor

I am adding a script which will convert the mp3 from a folder to ogg. mpg123 and oggenc are prerequisite for this scirpt. It can be download from http://mayankjohri.files.wordpress.com/2007/08/mp32ogg.pdf
The PreReq's are mpg123, vorbis-tools, python-id3

Saturday, August 25, 2007

Setting Evolution for Gmail Account

Steps to follow

  1. Enable the POP & SMTP service on gmail accont.

  2. Start Evolution

  3. Add New Account by clicking "Edit" -> "Preference"

  4. In "Accout Details", press "Add" Button

  5. Select "Forward"

  6. Enter your Account Name and Email ID and select "Forward"

  7. Select "POP" server for "Receiving Email"

  8. Under "Configuration" section enter "POP.gmail.com" and your email username

  9. Under "Security" select "SSL encryption"

  10. Under "Authentication Type" select Password

  11. Select "Forward"

  12. Select "Forward" for "Receiving Options

  13. In "Sending Email" select

    1. Server Type : SMTP

    2. Under "Server Configureation" add "SMTP.GMAIL.COM" for Server

    3. Under "Security" select "SSL Encryption" as "Use Secure Connection"

    4. Enter Username under Authentication section.



  14. Select "Forward"

Tuesday, August 21, 2007

Slackware: Enabling package update through online mirrors

Unfortunately Slackware 12.0 does not unable update of OS by default, slackpkg needs to be installed from the install CD/DVD which is located in "extra\slackpkg" folder.

installpkg slackpkg*.tgz

uncomment only one mirror on /etc/slackpkg/mirrors file which represent your version.

slackpkg update; slackpkg upgrade-all

the above command will upgrade your machine.

Friday, August 17, 2007

Adding HTTP Proxy Details in SVN

Edit the server file at ~/.subversion/servers

$ vi ~/.subversion/servers

Add or update the following values in the file

http-proxy-host = <Fill the proxy server name>
http-proxy-port = <Proxy Port>

Thursday, August 16, 2007

Remedy for Bug #89741: with Compiz, the title bar on maximized windows are drawn completely white.

When Compiz is running then the title bar on maximized windows are drawn completely white for my Laptop R32.

The solution of the issue is to create /etc/drirc file with the following contents:
<option name="allow_large_textures" value="2" />

Tuesday, August 14, 2007

Add Context Menu for a FileType

Eg:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\\.osd]
@="SoftGrid.osd.File"
"Content Type"="application/softricity-osd"

[HKEY_CLASSES_ROOT\\SoftGrid.osd.File\\shell\\UpdateOSD]

[HKEY_CLASSES_ROOT\\SoftGrid.osd.Fileshell\\UpdateOSD\\Command]
@="\"C:Program Files\\AddTabsToOSD\\addTabsToOSD.exe\" \"%1\""

The above reg key will add UpdateOSD menu for .osd file type

Wednesday, August 8, 2007

Slackware's pacman through HTTP Proxy

edit the /etc/pacman.conf on your slackware/frugalware machine and add or update the following.

ProxyServer = your.proxy.server	ie	proxy.domain.com

ProxyPort = your_proxy_port	ie	8080