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 

Tuesday, July 24, 2007

mp3 to ogg

1. apt-get install mpg321 vorbis-tools (If you don't have them on your machine)
Note: If you get error, check that you have contrib and non-free depositories in your sources list

2.Code: mpg321 input.mp3 -w raw && oggenc raw -o output.ogg
Note: raw is just a file name, it could be anything you want...

Tuesday, June 5, 2007

Tuesday, May 15, 2007

Setting Null as root password

sudo passwd -l root

This command will set Null as the root password. {To be used in ubuntu}

Adding Network shortcuts in MSI packages

Steps

  1. Create a property eg. INSTDIR in Property table

  2. Populate it with the network directory

  3. Create a property eg SHORTCUT1 in Property table /* IF not using Wise

  4. Polulate it with the full UNC path along with the executable name  /* IF not using Wise.

  5. Create a shortcut using the shortcut under the shortcut table

  6. Update the WkDir coloum in Shorcut table with INSTDIR (no NOT add brakets [] before and after INSTDIR).