Skip to main content

Posts

Developing .NET Applications with Mono in Linux

Mono is a Cross Platform, Open Source .NET development framework Install MonoDevelop IDE Go to terminal sudo apt-get install monodevelop To run asp.net application you'll need a webserver with asp.net support XSP is a simple web server written in C# that can be used to run asp.net applications sudo apt-get install mono-xsp2 Now You are ready to go Applications->Programming->MonoDevelop and start developing .NET applications from your ubuntu To develop VB.NET applications sudo apt-get install mono-vbnc Lots of other packages and plugins are also available for mono. Try them by yourself. And enjoy the freedom of OpenSource
Recent posts

A Quick Config for wvdial

wvdial is a PPP Dialer, which you can use for dialing your dial-up modems Connect your gsm modem to your pc via usb Now check whether your modem has connected or not issue this command on the terminal lsusb Now run wvdialconf , which will automatically create the wvdial.conf files with the necessary data about your gsm device Now you need to edit the wvdial.conf file vim /etc/wvdial.conf add this line Init3 = AT+CGDCONT=1,"IP","here write your access point" Remove ; infront of Phone , Username and Password  Add your username and password after deleting <your username="username"> and <your password="password"> Add the number to dial after Phone= Eg: Phone=*99# Now save the file by issuing the command :wq in command mode of the vim Now to Connect to Internet using your gsm modem, issue this command on the terminal sudo wvdial  NB : You may need root privilege to perform the above mentioned tasks. Prepend sudo

A Quick Start for VIM

Vim is a very powerful console based text editor specially designed for programmers Vim basically has two modes which are explained below Insert Mode To Start Editing the text use insert mode press i on your keyboard to turn on insert mode... Command Mode  To issue commands, such as save or quit use command mode press Esc key on your keyboard to turn on command mode.... To save (write to file)  :w To quit  :q To save and quit  :wq Note :   To Enable C-style indentation issue this command on command mode   :set cindent  This post will let you start with vim

Software Installation Problem

Ever encountered this problem when you try to install a new software using synaptic or apt-get getting an error message like this E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable) E: Unable to lock the download directory Soln: Issue this command on terminal sudo rm /var/cache/apt/archives/lock then try again

Updating Firefox

It'll take some time to get the official mozilla release of firefox to appear on the ubuntu repository (some security reasons).... You cant update the firefox from firefox because you cant find the update option in the Help menu If you wanna keep your browser up-to-date with mozilla official release Goto-»Applications-»Accessories-»Terminal -»then type sudo firefox then you'll see update option in the Help menu

Firefox Problem

Can't access (read/write) your Bookmarks after updating the firefox Its because you installed the firefox as the root and the user files permissions got changed to root, and you launched firefox without root permission and cant access those files Now to access your bookmarks you need to change the permission Goto->Terminal->type sudo nautilus nautilus is a filemanager Now navigate to your home Press ctrl+h Now navigate to .mozilla->firefox->xxxxxxxx.default now change the permission of the file places.sqlite-journal NB: if u have any problem with cookies, change the permission of the file cookies.sqlite.journal

wanna change the name of your home folder

Goto system->Adminstration->Users and Groups (user settings) Now unlock with your admininstrator pass word -> select your user account-> click on properties under the Advance tab change the name of your home folder now close it In the terminal type sudo nautilus navigate to your home directory now change its name, Restart the system N.B: Never rename the home folder before changing it in the user settings, because you cant access it after renaming the home folder but after restart eveything will be OK