Monday, August 31, 2009

Rar files, Linux

Open a terminal and run following commands :

sudo apt-get install rar
sudo ln -fs /usr/bin/rar /usr/bin/unrar

After that you can find Archive Manager in the Gnome menu under Applications -> Accessories.

Saturday, August 29, 2009

Firefox new look ...

Compress Files(ZIP) @ Ubuntu

No problem, No installation needed, just right click on the file and choose Create Archive and then choose your favorite compression type ... You're done :-)

Your IP @ Ubuntu

Run Terminal and type :

#sudo ifconfig (eth0:for cable, or wlan0;for wireless)

quickly resize or rotate images within nautilus

If you are looking for a way to batch resize many pictures at the same time with just 2 easy steps, you have found the right tutorial. I found a way by blogging on Internet to add resize and rotate option to your right click and have it always there right beside your hand ;-)

Installation

To add this functionality we’ll need to install the nautilus-image-converter package:

#sudo aptitude install nautilus-image-converter

Use

Before you’re able to use this functionality you’ll need to restart nautilus or simply logout and back in. You’ll now be able to right-click on any image on your machine and you’ll see two new menu items:

"resize images"

"rotate images"

Check out the screen shots down here ...
You can also choose to resize by percentage or by exact dimension.

Source : Modifed but direct tutorial from Ubuntu Tutorials Dapper

Sunday, August 23, 2009

Mount a Windows shared folder in Linux

You made the switch to Linux and at least one Windows computer is still on your network. The old days when Windows and Linux didn't play together are long gone. You can easily set up your Linux computer to have read and write access to the files housed on a nearby Windows computer. If you've used Macs in the past, the process is practically identical.

Set up sharing on your PC
In Windows, choose the folder you want to share, right click on it and choose properties. In the Sharing tab, turn on sharing. Feel free to name your folder anything you want and ignore any warnings Windows gives about the name being longer than 12 characters.

Determine your PC's IP Address
You will need to give your Linux computer a location when trying to access shared folders. This location is your PC's IP address. In the Command Prompt type ipconfig and you will see your IP address (it probably starts with 192). My IP address is shown below as 192.168.1.117

Accessing the shared folder from Linux
There are two very easy ways to access shared folders in Linux. The easiest way (in Gnome) is to press (ALT+F2) to bring up the run dialog and type smb:// followed by the IP address and the folder name. As shown below, I need to type smb://192.168.1.117/Shared. If you have your Windows account passworded, you will need to enter the password to access the shared folder.

Accessing all shared folders from Linux
Linux automatically detects and connects to Windows networks. In Gnome, by going to Places and then Network you will automatically see all the Windows networks. You can then navigate through the Windows networks and connect to the shared folder. This is an easy way to manage your shared folders if you have many Windows networks with shared folders.

Making it easier
By bookmarking your shared folder you can access it from the Gnome menu.

Source

3D Cube on Ubuntu

All versions of Ubuntu, from Gutsy Gibbon onward, have Compiz Fusion and the ability to use the rotating cube. By default, the rotating cube is disabled, so you must enable it. In addition, you must have a compatible video card for the rotating cube to appear on your computer.

  1. Go to "System," then "Administration" and "Synaptic Package Manager." Search for and select the file named "compizconfig-settings-manager."
  2. Install the file named "compizconfig-settings-manager."

  3. Click on "System," then "Preferences" and finally "compizconfig settings manager" once the file installs.
  4. Check the box labeled "Rotate Cube.

Tips:You can rotate the cube by pressing Control, alt and either the left or right arrow at the same time.

Thursday, August 20, 2009

Run Windows on a Mac for free

It's back-to-school season, and that means you may be among the countless students who are setting up shiny new MacBooks, because this is the year you have vowed (again) to focus on studies. But then the doubts start to creep in: What if you can't open some documents? What if you need to run some professor's roll-your-own Windows software? What if some online system requires IE running Windows (a constant source of pain here at CNET)? Tom Merritt is here to help in this video that demonstrates how to install Windows 7 for free on a Mac. Yup, for free. There are some caveats, but you can be up and running in no time. You know, just in case. Watch now

Source : CNET

Sound problem with Ubuntu, HP 2530p

Before you go on, I should update this post with the good news that Ubuntu 9.10 supports the sound card on HP 2530p :-)
-----

Well HP 2530p sound card got a little bit trouble with Linux. For me everything was fine and recognized(I mean the sound card) but I just didn't have any sound out of my damn speakers ... my problem got fixed by adding following command to the modprobe.d(This is for Ubuntu) :

At Terminal Run,
#sudo gedit /etc/modprobe.d/options
add the following code,
options snd-hda-intel enable_msi=1 single_cmd=1 model=laptop

Other Linux :

For sound to work you need to add the following line to your /etc/modprobe.conf (or your distributions equivalent) file:
options snd-hda-intel enable_msi=1 single_cmd=1 model=laptop

Source (Edited for Ubuntu)

Wednesday, August 19, 2009

Lightning for 64 bit Ubuntu

For those of you who are also running a 64-bit linux machine (like me) and want to use the Mozilla Lightning 0.9 Thunderbird add-on, you can find the 64-bit version of this add-on here in the Mozilla release archive. The one that comes from the add-on website doesn't seem to install unfortunately.

If you also want to push your calendar entries back to for instance Google Calender, be sure to use the Provider for Google Calendar add-on. It allows bidirectional access to Google Calendar.

source

3 easy steps to burn ISO image files in Ubuntu

How to burn iso files on Ubuntu Linux.

1. Download the file.
2.Right click on the file and click on Write to Disc...
3.In Write To Disc screen you choose your CD Burner and Write speed and when you are done just click on Write

Monday, August 17, 2009

Enable remote desktop from CMD

Go to CMD and then run this command line at your command promt, Remote Desktop is enabled :

reg.exe add "HKLM\system\currentcontrolset\control\terminal server" /v fDenyTSConnections /t REG_DWORD /d 0 /f

Sunday, August 16, 2009

How to turn on automatic logon in Windows XP

You can use Registry Editor to add your log on information. To do this, follow these steps:
  1. Click Start, click Run, type regedit, and then click OK.
  2. Locate the following registry key:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
  3. Using your account name and password, double-click the DefaultUserName entry, type your user name, and then click OK.
  4. Double-click the DefaultPassword entry, type your password under the value data box, and then click OK.

    If there is no DefaultPassword value, create the value. To do this, follow these steps:
    1. In Registry Editor, click Edit, click New, and then click String Value.
    2. Type DefaultPassword as the value name, and then press ENTER.
    3. Double-click the newly created key, and then type your password in the Value Data box.
    If no DefaultPassword string is specified, Windows XP automatically changes the value of the AutoAdminLogon registry key from 1 (true) to 0 (false) to turn off the AutoAdminLogon feature.
  5. Double-click the AutoAdminLogon entry, type 1 in the Value Data box, and then click OK.

    If there is no AutoAdminLogon entry, create the entry. To do this, follow these steps:
    1. In Registry Editor, click Edit, click New, and then click String Value.
    2. Type AutoAdminLogon as the value name, and then press ENTER.
    3. Double-click the newly created key, and then type 1 in the Value Data box.
  6. Quit Registry Editor.
  7. Click Start, click Restart, and then click OK.
After your computer restarts and Windows XP starts, you can log on automatically.

If you set a computer for automatic logon, anyone who can physically gain access to the computer can also gain access to everything that is on the computer, including any network or networks that the computer is connected to. Additionally, if you turn on automatic logon, the password is stored in the registry in plain text. The specific registry key that stores this value is remotely readable by the Authenticated Users group. Therefore, only use this setting if the computer is physically secured and if you make sure that users who you do not trust cannot remotely see the registry.

Source : Microsoft Support

Saturday, August 15, 2009

Export/Import bookmarks from Google ...

Import bookmarks from Firefox or Internet Explorer

Google Chrome can copy bookmarks and other browser settings from Firefox and Internet Explorer. Learn more about importing browser settings

Import bookmarks from other browsers

  1. Export bookmarks from any browser as a HTML file and save the file to your computer.
  2. Click the wrench menu tools menu in Google Chrome.
  3. Select Bookmark manager.
  4. Click the Tools menu in the manager.
  5. Select Import bookmarks.
  6. Find the HTML file saved from the first step, then click Open.

The bookmarks from the other browser will now appear as a subfolder within the 'Other bookmarks' folder at the end of the bookmarks bar.

Export bookmarks from Google Chrome

  1. Click the wrench menu tools menu in Google Chrome.
  2. Select Bookmark manager.
  3. Click the Tools menu in the manager.
  4. Select Export bookmarks.
  5. Choose a location where you want your exported file to be saved, name your file, then click Save.

Google Chrome will export your bookmarks as a HTML file.

Tuesday, August 11, 2009

Reinstall Ubuntu Grub Bootloader After Windows Wipes it Out

If for some odd reason you missed having the Windows operating system and you decided to install it on another partition, you will notice your GRUB is missing afterwords. This usually happens and is a huge headache for those trying to get their GRUB back. Here’s what you need to do to get it back:

Put your bootable Ubuntu/Xubuntu install disk in the CD drive and run it. Instead of installing anything, click on the menu to open the terminal application.

In terminal mode, type the following:

sudo grub
find /boot/grub/stage1
root (x,y)
setup (x)
quit
sudo shutdown "now" -r

The resulting “find” command will display something like (hd0,1). In this example, you would then type root (hd0,1) and then setup (hd0) in the above area. These numbers might be different; that’s why I included the “find” command so that folks who might have their Ubuntu partitions located either in front or behind their Windows installation or on a completely separate internal/external hard drive so that you will get the appropriate/correct setup numbers.

Ok, now you got your GRUB-on, but what about that darn GRUB menu? It’s not displaying what you want it to display? Well, let just see here…

Upon reboot, select “Recovery Mode”, usuaully the second option down on the GRUB menu. This will allow you to boot into the root. Once you’re in the terminal mode, type:

editor /boot/grub/menu.lst

Well, the rest is pretty much self explanatory. There should be enough comments in the menu.lst to direct you to what you can and cannot do to your GRUB menu.lst.

I usually put the Windows option at the top of the menu so that others (none-Linux users) who use my computer can find it easily if they have to do a reboot. Your Windows installation will have a different root than your Ubuntu/Xubuntu, but it’s usually automatically placed by GRUB once it’s set up again (like the above). I also recommend removing the timeout option as this is sometimes annoying.

Source

Monday, August 10, 2009

Basic tips and tricks for IRC chat ...

Some basic commands for IRC chat ...
/join 
Type /join #channelname -- to join a channel of your choice 
Example: /join #bossmom 
What it looks like: 
[18:44] *** Now talking in #beginner 
--Op-- bossmom has joined the channel 
[18:44] *** Topic is 'Beginner's Help/Chat Channel....All Are Welcome Here!! ®© [ENGLISH]' 
[18:44] *** Set by X on Sun Jul 23 16:10:34 

/me 
The /me is an action message. 
Type /me 'does anything' 
Example: /me waves hello 
What it looks like: 
* bossmom waves hello 

/msg 
Type /msg nickname (message) to start a private chat. 
Example: /msg puddytat Hey tat, how are you? 
What it looks like: 
-> *puddytat* Hey tat, how are you? 

/nick 
/nick changes your nickname 
Example: type /nick newnickname (limit 9 characters) 
What it looks like: I typed /nick luv2quilt 
*** bossmom is now known as luv2quilt 

/notice 
A notice is used to send a short message to another person without opening up a private window. 
Type /notice nickname (message) 
Example: /notice badnick Please change your nickname for this family channel. 
What it looks like: 
-> -badnick- Please change your nickname for this family channel. 
/part 
Type /part -- to leave one channel 
Type /partall -- to leave all the channels you are in 

/ping 
Type /ping nickname. What this command does is give you the ping time, or lag time, between you and the person you pinged. Lag can be explained as the amount of time it takes for you to type your message and for others to read your messages. Unfortunately, lag is always a part of IRC, although most times it's not a problem, just a nuisance. 
Example: /ping luv2quilt 
What it looks like: 
[19:04] -> [luv2quilt] PING 
[19:04] [luv2quilt PING reply]: 0secs 

/query 
Similar to the /msg, except it forces a window to pop open. 
Type /query nickname (message) 
Example: /query Sofaspud^ Sooo....what's new? 
What it looks like: 
soooo....what's new? 

/quit 
Type /quit to leave IRC altogether. This disconnects mirc from the server. 
Example: /quit Going out for dinner...nite all 
What it looks like: 
*** Quits: saca (Leaving) 

/ignore 
Unfortunately, there will be times when you don't want to talk to someone, or else someone may be harassing you. 
By typing /ignore nickname 3, you will not receive anymore messages from that person. 
Example: /ignore luv2quilt 3 
To Unignore them, type /ignore -r luv2quilt 3 
What it looks like: 
*** Added *!*bossmom@*.dialup.netins.net to ignore list 
*** Removed *!*bossmom@*.dialup.netins.net from ignore list 

/whois 
Type /whois nickname to see a bit more information about another user. You'll see what server another person is using, or what their ISP is. Pretty helpful when you don't recognize a nickname that wants to chat. You may recognize the IP, (Internet Protocol) and then feel more comfortable carrying on a conversation. You'll also be able to see what other channels a person is in, which might be a good indicator if you really want to talk with them or not. 
Example: /whois bossmom 
What it looks like: 
luv2quilt is bossmom@elwo-01-094.dialup.netins.net * Enjoy the Journey........ 
luv2quilt on @#bossmom 
luv2quilt using Seattle.WA.US.Undernet.org the time for school is during a recession. 
luv2quilt has been idle 18secs, signed on Sun Jul 23 18:47:26 
luv2quilt End of /WHOIS list. 

/chat 
This opens up a DCC/CHAT window to another user. What's nice about these is that you can continue to chat even if you get disconnected from your server. 
Word of Caution: Do NOT accept dcc/chats nor dcc/gets from anyone that you don't know. 
Type /chat nickname. 
Example: /chat oddjob^ 
What it looks like: 
Chat with oddjob^ 
Waiting for acknowledgement... 

/help 
There's one more very helpful command, and probably the one you'll use a lot when first starting out. In fact, I still use it quite a lot, and that's the built-in help menu of mIRC. 
Type /help, you'll see the the mIRC Help Menu open up. You can do a search from there, or you can type /help topic. Either way, a TON of information at your fingertips. 
Example: /help Basic IRC Commands