Tuesday, December 28, 2010

Show Hidden Processor Power Configurations In Windows 7

You need to know what you're doing before changing these values. Execute the below commands in cmd.exe

 powercfg -attributes SUB_PROCESSOR 06cadf0e-64ed-448a-8927-ce7bf90eb35d -ATTRIB_HIDE
 powercfg -attributes SUB_PROCESSOR 12a0ab44-fe28-4fa9-b3bd-4b64f44960a6 -ATTRIB_HIDE
 powercfg -attributes SUB_PROCESSOR 40fbefc7-2e9d-4d25-a185-0cfd8574bac6 -ATTRIB_HIDE
 powercfg -attributes SUB_PROCESSOR 4b92d758-5a24-4851-a470-815d78aee119 -ATTRIB_HIDE
 powercfg -attributes SUB_PROCESSOR 7b224883-b3cc-4d79-819f-8374152cbe7c -ATTRIB_HIDE
 powercfg -attributes SUB_PROCESSOR 943c8cb6-6f93-4227-ad87-e9a3feec08d1 -ATTRIB_HIDE


Then, go to Power Options, Change Plan Settings, Change Advanced Power Settings. You should see those values under Processor Power Management.

Friday, December 24, 2010

Blackberry Address Book Wireless Sync Option Disappeared or Disabled

To fix this problem: You need to reset “Desktop Sync Service book” using the following steps:

Go to Settings > Options > Advanced Options > Service Book
Select the Desktop [Sync] Service book from the menu, and select “Delete”
From the menu, select “Undelete” to restore the “Desktop [Sync]” service book
Settings > Options > Advanced Options > Enterprise Activation (Sometimes this step is not needed, check your contacts options)
From the menu, select “Activate” to re-try the wireless synchronization process
After Enterprise Activation process finishes check your settings for synchronization of your address book.

Address Book > Menu > Options
You will see that “Wireless Synchronization” has a “yes” value again (as it had disappeared before)

Warning:
Make sure you backup your pictures, videos, etc. This is going to delete all that.

Thursday, November 25, 2010

Ubuntu - Adjust trackpoint sensitivity to light trouch

Log on as su, then execute (on X201s):
echo -n 206 > /sys/devices/platform/i8042/serio1/sensitivity
echo -n 208 > /sys/devices/platform/i8042/serio1/speed

Ubuntu - Set CPU Frequency

  1. Find supported frequencies
    1. cat /sys/devices/system/cpu/cpu/cpufreq/scaling_available_frequencies
      1. Examples:
        1.  cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies
        2. cat /sys/devices/system/cpu/cpu1/cpufreq/scaling_available_frequencies 
  2. Display your current set frequencies
    1. grep MHz /proc/cpuinfo
  3. Set the freqency
    1. cpufreq-selector -c -f
      1. For example:
        1. cpufreq-selector -c 0 -f 2401000
        2. cpufreq-selector -c 1 -f 2401000
  4. Your max speed is at /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq.
    # cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq
    700000
    Your min speed is at /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq.
    # cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq
    500000
    If you are using the userspace governor, you can write to /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed to change the current speed.
    # echo 700000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed
    # cat /proc/cpuinfo
    cpu MHz  : 697.252
    # echo 900000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed
    # cat /proc/cpuinfo
    cpu MHz  : 976.152

Ubuntu - Enable TrackPoint On Thinkpads

To query the available options
    xinput list-props "TPPS/2 IBM TrackPoint"

To enable vertical scrolling
    xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation" 8 1
    xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Button" 8 2
    xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Timeout" 8 200

To enable horizontal scrolling in addition to vertical scrolling
    xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Axes" 8 6 7 4 5

To enable middle button emulation (using left- and right-click simultaneously)
    xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Middle Button Emulation" 8 1
    xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Middle Button Timeout" 8 50

Ubuntu - Disabling SWAP

From terminal, run:
  • sudo swapoff -a



Friday, November 5, 2010

Windows Live Essentials 2011 (Wave 4) Final Direct Download Links

Languages Lang iD Links
Arabic ar http://g.live.com/1rewlive4-all/ar/wlsetup-all.exe
Bulgarian bg http://g.live.com/1rewlive4-all/bg/wlsetup-all.exe
Catalan ca http://g.live.com/1rewlive4-all/ca/wlsetup-all.exe
Czech cs http://g.live.com/1rewlive4-all/cs/wlsetup-all.exe
Danish da http://g.live.com/1rewlive4-all/da/wlsetup-all.exe
German de http://g.live.com/1rewlive4-all/de/wlsetup-all.exe
Greek el http://g.live.com/1rewlive4-all/el/wlsetup-all.exe
English en http://g.live.com/1rewlive4-all/en/wlsetup-all.exe
Spanish es http://g.live.com/1rewlive4-all/es/wlsetup-all.exe
Estonian et http://g.live.com/1rewlive4-all/et/wlsetup-all.exe
Basque eu http://g.live.com/1rewlive4-all/eu/wlsetup-all.exe
Finnish fi http://g.live.com/1rewlive4-all/fi/wlsetup-all.exe
French fr http://g.live.com/1rewlive4-all/fr/wlsetup-all.exe
Gujarati gu http://g.live.com/1rewlive4-all/gu/wlsetup-all.exe
Hebrew he http://g.live.com/1rewlive4-all/he/wlsetup-all.exe
Hindi hi http://g.live.com/1rewlive4-all/hi/wlsetup-all.exe
Croatian hr http://g.live.com/1rewlive4-all/hr/wlsetup-all.exe
Hungarian hu http://g.live.com/1rewlive4-all/hu/wlsetup-all.exe
Indonesian id http://g.live.com/1rewlive4-all/id/wlsetup-all.exe
Italian it http://g.live.com/1rewlive4-all/it/wlsetup-all.exe
Japanese ja http://g.live.com/1rewlive4-all/ja/wlsetup-all.exe
Kannada kn http://g.live.com/1rewlive4-all/kn/wlsetup-all.exe
Korean ko http://g.live.com/1rewlive4-all/ko/wlsetup-all.exe
Lithuanian lt http://g.live.com/1rewlive4-all/lt/wlsetup-all.exe
Latvian lv http://g.live.com/1rewlive4-all/lv/wlsetup-all.exe
Malayalam ml-in http://g.live.com/1rewlive4-all/ml-in/wlsetup-all.exe
Marathi mr http://g.live.com/1rewlive4-all/mr/wlsetup-all.exe
Malay ms http://g.live.com/1rewlive4-all/ms/wlsetup-all.exe
Dutch nl http://g.live.com/1rewlive4-all/nl/wlsetup-all.exe
Norwegian (Bokmal) no http://g.live.com/1rewlive4-all/no/wlsetup-all.exe
Polish pl http://g.live.com/1rewlive4-all/pl/wlsetup-all.exe
Portuguese (Brazil) pt-br http://g.live.com/1rewlive4-all/pt-br/wlsetup-all.exe
Portuguese (Portugal) pt-pt http://g.live.com/1rewlive4-all/pt-pt/wlsetup-all.exe
Romanian ro http://g.live.com/1rewlive4-all/ro/wlsetup-all.exe
Russian ru http://g.live.com/1rewlive4-all/ru/wlsetup-all.exe
Slovak sk http://g.live.com/1rewlive4-all/sk/wlsetup-all.exe
Slovenian sl http://g.live.com/1rewlive4-all/sl/wlsetup-all.exe
Serbian-Cyrillic sr-cyrl-cs http://g.live.com/1rewlive4-all/sr-cyrl-cs/wlsetup-all.exe
Serbian-Latin sr-latn-cs http://g.live.com/1rewlive4-all/sr-latn-cs/wlsetup-all.exe
Swedish sv http://g.live.com/1rewlive4-all/sv/wlsetup-all.exe
Tamil ta http://g.live.com/1rewlive4-all/ta/wlsetup-all.exe
Telugu te http://g.live.com/1rewlive4-all/te/wlsetup-all.exe
Thai th http://g.live.com/1rewlive4-all/th/wlsetup-all.exe
Turkish tr http://g.live.com/1rewlive4-all/tr/wlsetup-all.exe
Ukrainian uk http://g.live.com/1rewlive4-all/uk/wlsetup-all.exe
Vietnamese vi http://g.live.com/1rewlive4-all/vi/wlsetup-all.exe
Chinese (Simplified) zh-cn http://g.live.com/1rewlive4-all/zh-cn/wlsetup-all.exe
Chinese (Traditional) zh-tw http://g.live.com/1rewlive4-all/zh-tw/wlsetup-all.exe

Tuesday, October 26, 2010

FireFox - Color/Highlight The Active Tab

If you want the active tab to stand out in your current tab exactly like below:


Then edit your userChrome.css file located in your profile folder and add the following lines:

tab[selected="true"] {
  background-color: rgb(205,69,50) !important;
  color: black !important;
}

tab {
  -moz-appearance: none !important;
}

Wednesday, October 20, 2010

Change the Windows 7 Taskbar Button Length or Width Size

Windows 7 Taskbar can be set to display on program icons only with all additional tabs or icons combine into stack, or as a buttons with application icon and label with each window has its own button on the Taskbar. By default, the length or width of the button or icon on Taskbar is fixed, and Windows 7 only allows user to change the size of Taskbar pinned icons and buttons together with font to standard or smaller.

With the following registry trick, user can also change or adjust the width, or length of the buttons appear on the Windows 7 Taskbar. The hack has been used to simulate “not combine or stack but hide labels” option to limit the width of buttons with label so that label (text after the icon on button which normally takes the form of window’s title) is hidden and the button is left with just the icon.

How to Adjust Button Length or Width Size in Windows 7 Taskbar

   1. Run Registry Editor (RegEdit).
   2. Navigate to the following registry key:

      HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics
   3. Right click on a blank space on the right pane, select New, then String Value. Name the new string value as MinWidth.

      Note: If “MinWidth” already exists, skip this step.
   4. Double click on “MinWidth”, and change the value data according to the preferred size. By default, Windows 7 has the following MinWidth value (estimated), when MinWidth is not defined or not created:

      Button with standard or normal icons: 56
      Button with small icons: 40

      MinWidth
   5. Restart the computer, or log off and log on again.

Note: Above change button width trick only work when Taskbar is set to display “button”, which mean it doesn’t work is Taskbar buttons’ behavior is set to “Always combine, hide labels”, where Windows 7 will always use it default size for icon-only button.

Friday, September 17, 2010

Disable Folder Type Auto Discovery In Windows Visa and 7 (x86/x64)

Open Notepad and paste the following and save it as FolderTweak.reg

Windows Registry Editor Version 5.00

[-HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags]

[HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags]

[HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\AllFolders]

[HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell]

"FolderType"="NotSpecified"

Double-Click on the above file to import it.

Thursday, May 6, 2010

Cisco – Dynamips and Dynagen Run on Linux

Running Dynamips/Dynagen on Linux after installation:

Friday, April 23, 2010

Ubuntu - Update Package Index

  • Open Terminal
  • Type:
    • sudo apt-get update

Ubuntu - Removing Package

  • Open Terminal
  • Type:
    • sudo apt-get remove

Ubuntu - Install IP Calculator

  • Open Terminal
  • Type:
    • sudo apt-get install gip

Ubuntu - Install G++

  • Open Terminal
  • Type:
    • sudo aptitude update && sudo aptitude install g++

Monday, April 19, 2010

VMWare Workstation - Turning off the PC speaker for all virtual machines

To disable the speaker emulation for virtual machines, add the following line to Workstation's global configuration file:
mks.noBeep = "TRUE"
 
The global configuration file should exist in ~/.vmware/config on a Linux host, and
C:\Documents and Settings\All Users\Application Data\VMware\VMwareWorkstation\config.ini on a Windows host. If the file does not exist, create a new text file and add the mks.noBeep line to it.

Wednesday, April 14, 2010

Ubuntu - Extracting bz files

  • Open Terminal
  • sudo tar zxfv filename.tar.gz -C /opt/

Ubuntu - Installing bz2 files like FileZilla

  1. The latest version of FileZilla is 3.3.2.1. You can get it from here.
  2. Run these command in terminal:

    sudo tar jxvf FileZilla_3.3.2.1_i586-linux-gnu.tar.bz2 -C /opt/
    sudo chown -R root:root /opt/FileZilla3/
    sudo chmod -R 755 /opt/FileZilla3/
  3. Create a menu item:
    sudo gedit /usr/share/applications/filezilla.desktop Add the following:

    [Desktop Entry]
    Encoding=UTF-8
    Name=FileZilla
    Comment=FTP Client
    Exec=/opt/FileZilla3/bin/filezilla
    Icon=/opt/FileZilla3/share/pixmaps/filezilla.png
    Terminal=false
    Type=Application
    Categories=Application;Network;
    StartupNotify=true
To launch FileZilla, click Applications → Internet → FileZilla.

Ubuntu - Enable/Disable Root Account

  •  To Enable:
    • Open Terminal
    • Type "sudo passwd root"
  • To Disable
    • Open Terminal
    • Type "sudo passwd -l root"

Ubuntu - Show Desktop Icons

  • Open the Configuration Editor, by running the program gconf-editor from terminal.
  • Choose apps->nautilus->desktop.
  • Tick the box beside computer_icon_visible, home_icon_visible, and trash_icon_visible. The changes take effect immediately.

Friday, April 2, 2010

Fix: An error occurred while Windows was synchronizing with time.windows.com

  1. Most of the time you get the error is due to the time server being down, so try again later.
  2. Try another Server. ( time.nist.gov )
  3. Your firewall might be blocking W32Time, disable firewall, update time and enable again.
  4. The following steps will stop and start the time update application:

    Start > Run cmd.exe
    net stop w32time
    w32tm.exe /unregister
    w32tm.exe /register
    net start w32time

Saturday, March 13, 2010

Start TaskManager Minimized With Windows

  • Click Start -> Run
  • Type: regedit
  • Click ok
  • Navigate to: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
  • Add a string name TaskManager, Value: "C:\WINDOWS\system32\cmd.exe" /c "start" /min taskmgr.exe
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
"TaskMgr"=""C:\WINDOWS\system32\cmd.exe" /c "start" /min taskmgr.exe"

Lenovo Thinkpad Discounts

DC 37 Members:

Lenovo's DC 37 Members Discount.