Saturday, September 10, 2011

Headphone are not working in Gateway laptop ??

Headphone are not working in Gateway laptop ??
if you are a linux user... Just Append the following line at the end of

/etc/modprobe.d/alsa-base.conf

options snd-hda-intel model=eapd probe_mask=1 position_fix=1

Restart your laptop. It will works.

Monday, October 11, 2010

Reverse writing problem Mozilla Firefox

Many of my friends has faced this weird type of problem, "My writing style got accidentally changed in Firefox 3.0.7. Now when I write something then it is getting typed in the reverse manner!!!" :(

The problem is occurs mostly because of the Java's Old Version. So here is the handy solution for it without updating Java's version.

-> Press "Shift+ Ctrl +Del". Its nothing but shortcut for Clearing private data for your Browser.
-> It will open up the pop up box.
-> Make sure to check all the items in that. (Specially cookies)
-> Now, Start "Task Manager"
-> Search for all the Mozilla Instance
-> End the each corresponding process for all of them
-> Make sure to close any java icon in your desktop tray.

And that is it ... here we go. Start new fresh Mozilla Firefox Instance by double clicking icon. Enjoy :)

Hope it will help you !!!

Thursday, August 13, 2009

Fixing skype audio problem on Ubuntu 9.04

When running Skype on Ubuntu 9.04, I get the following error message when making a call/test call:

“Problem with Audio Playback”

The problem is that Ubuntu uses pulse audio and Skype does not play nicely with it. To fix it, do the following:

  • Open Skype options and select Sound Devices
  • Change Sound In, Sound Out and Ringing to use “pulse”
  • Clear the check mark next to “Allow Skype to automatically adjust my mixer levels” (This step may not be required)
  • Press the Apply button and then the Close button.

You should now be able to place a call/test call.

Hurray..

Thursday, July 16, 2009

How to make different registration fields for different targeting audiance in Drupal

How to make different registration fields for diffrent targeting audiance in Drupal.
Its very easy , just follow the step below....
Pre ruirements : drupal,cck,rules
1. Create One Content Type called "student"
2. Goto manage field for this content type
3. Add as many field as you wanted to display for "student" registration
like you may want student's name,username,email address,university. Save it.
4. Add one role called "student_role"
5. Create One Content Type called "teacher"
6. Goto manage field for this content type
7. Add as many field as you wanted to display for "teacher" registration
like you may want teacher's name,username,email address,past exp,date of birth, city and many more fields .... Save it.
8. Add one role called "student_role"
9. Add one rule called "Student Sign Up"
10. Select "after saving new content" from event
11. Select "content has type"
12. Select "student" in the listed option
13. Add action called "Create a user",
14. In the username field "field_student_user_name[0][value]; ?>" provided you have given same field name while creating your cck field username for student
15. In the Email field "field_student_email[0]['email']; ?>" provided you have given same field name while creating your cck field email for student
16. Add action called "Add a role"
17. Select new user have "student_role"
18. Add action called "Send a mail to user"
19. Add action called "Changed author of content"
20. Do same thing for teacher also
21. Thats it ....u rock on.......
22. More detail .mail me at amitpatel049@gmail.com