8/26/2009
8/25/2009
8/24/2009
Quickly lock your screen under Mac
by Rob Griffiths, Macworld.com
If you work with any kind of sensitive material—from trade secrets to love letters—you’ve probably wished for a way to block access to your Mac the minute you stand up. There are many ways to do this, from the obvious to the obscure. I’ll cover all the methods I know to accomplish this trick. For most of these methods to work, you need to require a password when your Mac wakes from sleep or screensaver mode. To do this, open System Preferences, go to the Security pane, and select the Require Password to Wake This Computer From Sleep or Screen Saver option. Now you’re ready.
A simple way to protect your files when you walk away from your computer is to hit Shift-Command-Option-Q to do a fast logout of your user. Your Mac will go back to the login screen. However, there’s a huge downside to this method—all of your currently-open documents will close, and any running applications will quit prior to the logout. Clearly there must be better alternatives, and there are.
You could also put the computer to sleep. Go to the Apple menu and select Sleep or, if you’re using a laptop, press the power button and choose Sleep from the pop-up dialog. (Note: This is an edit from the originally posted version, where I said to hold the power button down; if you do that long enough, you’ll turn the computer off.) Of course, it takes a bit of time to put a Mac to sleep and to wake it up. You may also have remote users connected to the machine, or some lengthy program running that you’d rather not interrupt. In those cases, this isn’t the ideal solution.
A relatively quick method of locking your Mac—while still leaving your programs running—is to activate the screen saver using a hot corner . To do this, open the Desktop & Screen Saver System Preferences panel, activate the Screen Saver tab, and click the Hot Corners button. Decide which corner of your screen you’d like to use, then click the corresponding pop-up menu and select Start Screen Saver. Now when it’s time to walk away, just fling your mouse into that corner of the screen, and you’ll trigger the screen saver.
If you have the corners of your screen devoted to Exposé or some other feature, here’s another option. It turns out that the screen saver is just an application, so you can put an alias to it in an easy-to-access location, such as your dock, or the Finder’s sidebar or toolbar. Just navigate to System -> Library -> Frameworks -> Screensaver.framework -> Versions -> A -> Resources, and then drag ScreenSaverEngine.app onto your dock, sidebar, or toolbar. Now when you want the screensaver to activate, just click the convenient icon. The dock will prove the easiest spot to reach, since it’s visible in all applications. If you have a launcher program such as Peter Maurer’s Butler or Objective Development’s LaunchBar, you could even create a keyboard shortcut that will open the program for you, no mousing around required.
Another method of locking your system is to show the login window, without actually logging out. You can do this by enabling fast user switching in the Accounts System Preferences panel. Click the Login Options button (you’ll probably have to enter your administrator password to do this), and then select the Enable Fast User Switching option. Once you have fast user switching enabled, you’ll see either an icon or a name in your menubar, depending on what option you chose on the Login Options screen. Click on your name or icon in the menubar and select Login Window from the drop-down menu. The login window will appear. When you return to your Mac, login as you usually do. All your applications will be just as your left them—even your iTunes music will start up again where it stopped playing, even if that means mid-song.
But what if you don’t want to always lock your screen when the screen saver activates or your computer wakes from sleep? In other words, you don’t want to set that option in the Security pane as you must for the methods I’ve described so far. (After all, it can be a pain to have to enter your password over and over again throughout the day.) Keychain Access holds the key. You can use this application (in your Applications/Utilities folder) to quickly activate your screen saver from the menubar and require a password to turn it off—even if the Security pane option isn’t enabled. Open Keychain Access and then go to Keychain Access: Preferences. Click on the General tab and select the Show Status in Menu Bar option. A small lock icon will appear in your menu bar. Close the Preferences window and quit Keychain Access. Now click the lock icon in your menubar and choose Lock Screen to start your screen saver. You can even define a keyboard shortcut for the Keychain Access Lock Screen menu. First make sure the Lock Screen icon is the leftmost of your Apple-provided menubar icons. Hold down the Command key and drag the lock icon to the left edge of your existing icons, then drop the icon. This step is necessary to make this trick work. Now open System Preferences, and click on the Keyboard & Mouse pane. Click the Keyboard Shortcuts tab, and then click the plus sign to add a shortcut. Leave the pop-up menu set to All Applications, enter Lock Screen for the Menu Title, and then define a keyboard shortcut to use:
Here I’ve defined Shift-Control-F8 as my lock screen shortcut; this may seem an odd combo, but here’s why—since this is a keyboard shortcut for a menubar icon, it only works when that area of the menubar is active (“has focus”). Luckily, one of OS X’s pre-defined keyboard shortcuts is Control-F8, which moves the focus to the status menu area of the menubar, where the lock icon appears. When you hit Control-F8, the leftmost menubar status item will activate; that’s why this trick only works with the lock icon in the leftmost position. And since Control-F8 is the status menu activation key, I assigned a very similar keystroke for the Lock Screen function. So to lock the screen, hit Control-F8, and then Shift-Control-F8. Presto, the screen saver will activate! Note that this may not work for everyone, depending on what other menu extras you have installed. You should always be able to hit Control-F8 and use the arrow keys, however, which is almost as easy and still mouse-less.
I’m sure I’ve missed at least a few additional methods of quickly locking your screen; if you have one, please share it in the comments.
If you work with any kind of sensitive material—from trade secrets to love letters—you’ve probably wished for a way to block access to your Mac the minute you stand up. There are many ways to do this, from the obvious to the obscure. I’ll cover all the methods I know to accomplish this trick. For most of these methods to work, you need to require a password when your Mac wakes from sleep or screensaver mode. To do this, open System Preferences, go to the Security pane, and select the Require Password to Wake This Computer From Sleep or Screen Saver option. Now you’re ready.
A simple way to protect your files when you walk away from your computer is to hit Shift-Command-Option-Q to do a fast logout of your user. Your Mac will go back to the login screen. However, there’s a huge downside to this method—all of your currently-open documents will close, and any running applications will quit prior to the logout. Clearly there must be better alternatives, and there are.
You could also put the computer to sleep. Go to the Apple menu and select Sleep or, if you’re using a laptop, press the power button and choose Sleep from the pop-up dialog. (Note: This is an edit from the originally posted version, where I said to hold the power button down; if you do that long enough, you’ll turn the computer off.) Of course, it takes a bit of time to put a Mac to sleep and to wake it up. You may also have remote users connected to the machine, or some lengthy program running that you’d rather not interrupt. In those cases, this isn’t the ideal solution.
A relatively quick method of locking your Mac—while still leaving your programs running—is to activate the screen saver using a hot corner . To do this, open the Desktop & Screen Saver System Preferences panel, activate the Screen Saver tab, and click the Hot Corners button. Decide which corner of your screen you’d like to use, then click the corresponding pop-up menu and select Start Screen Saver. Now when it’s time to walk away, just fling your mouse into that corner of the screen, and you’ll trigger the screen saver.
If you have the corners of your screen devoted to Exposé or some other feature, here’s another option. It turns out that the screen saver is just an application, so you can put an alias to it in an easy-to-access location, such as your dock, or the Finder’s sidebar or toolbar. Just navigate to System -> Library -> Frameworks -> Screensaver.framework -> Versions -> A -> Resources, and then drag ScreenSaverEngine.app onto your dock, sidebar, or toolbar. Now when you want the screensaver to activate, just click the convenient icon. The dock will prove the easiest spot to reach, since it’s visible in all applications. If you have a launcher program such as Peter Maurer’s Butler or Objective Development’s LaunchBar, you could even create a keyboard shortcut that will open the program for you, no mousing around required.
Another method of locking your system is to show the login window, without actually logging out. You can do this by enabling fast user switching in the Accounts System Preferences panel. Click the Login Options button (you’ll probably have to enter your administrator password to do this), and then select the Enable Fast User Switching option. Once you have fast user switching enabled, you’ll see either an icon or a name in your menubar, depending on what option you chose on the Login Options screen. Click on your name or icon in the menubar and select Login Window from the drop-down menu. The login window will appear. When you return to your Mac, login as you usually do. All your applications will be just as your left them—even your iTunes music will start up again where it stopped playing, even if that means mid-song.
But what if you don’t want to always lock your screen when the screen saver activates or your computer wakes from sleep? In other words, you don’t want to set that option in the Security pane as you must for the methods I’ve described so far. (After all, it can be a pain to have to enter your password over and over again throughout the day.) Keychain Access holds the key. You can use this application (in your Applications/Utilities folder) to quickly activate your screen saver from the menubar and require a password to turn it off—even if the Security pane option isn’t enabled. Open Keychain Access and then go to Keychain Access: Preferences. Click on the General tab and select the Show Status in Menu Bar option. A small lock icon will appear in your menu bar. Close the Preferences window and quit Keychain Access. Now click the lock icon in your menubar and choose Lock Screen to start your screen saver. You can even define a keyboard shortcut for the Keychain Access Lock Screen menu. First make sure the Lock Screen icon is the leftmost of your Apple-provided menubar icons. Hold down the Command key and drag the lock icon to the left edge of your existing icons, then drop the icon. This step is necessary to make this trick work. Now open System Preferences, and click on the Keyboard & Mouse pane. Click the Keyboard Shortcuts tab, and then click the plus sign to add a shortcut. Leave the pop-up menu set to All Applications, enter Lock Screen for the Menu Title, and then define a keyboard shortcut to use:
Here I’ve defined Shift-Control-F8 as my lock screen shortcut; this may seem an odd combo, but here’s why—since this is a keyboard shortcut for a menubar icon, it only works when that area of the menubar is active (“has focus”). Luckily, one of OS X’s pre-defined keyboard shortcuts is Control-F8, which moves the focus to the status menu area of the menubar, where the lock icon appears. When you hit Control-F8, the leftmost menubar status item will activate; that’s why this trick only works with the lock icon in the leftmost position. And since Control-F8 is the status menu activation key, I assigned a very similar keystroke for the Lock Screen function. So to lock the screen, hit Control-F8, and then Shift-Control-F8. Presto, the screen saver will activate! Note that this may not work for everyone, depending on what other menu extras you have installed. You should always be able to hit Control-F8 and use the arrow keys, however, which is almost as easy and still mouse-less.
I’m sure I’ve missed at least a few additional methods of quickly locking your screen; if you have one, please share it in the comments.
8/22/2009
Manually Uninstall the VPN Client
Complete these steps:
1. From your desktop, choose Start > Run and type regedit. Note: Make sure that no anti-virus software or firewalls are enabled.
2. Remove the key at HKEY_LOCAL_MACHINE > SOFTWARE > Cisco Systems > VPN Client.
3. Remove the keys at HKEY_LOCAL_MACHINE > SOFTWARE > Deterministic Networks. Note: Sometimes the system does not allow you to remove this key.
4. Remove the keys at HKEY_LOCAL_MACHINE > SOFTWARE > Microsoft > Windows > CurrentVersion > Uninstall > {5624c000-b109-11d4-9db4-00e0290fcac5}.
5. Remove the keys at HKEY_LOCAL_MACHINE > SOFTWARE > Microsoft > Windows > CurrentVersion > RunOnce > CISCOREBOOTFLAG.
6. In order to stop the VPN deamon process, press Ctrl+Alt+Del and select Task Manager. Then, navigate to cvpnd.exe, right-click and choose End Process.
7. Delete these directories if the Cisco VPN Client is installed in the default directories of the Windows machine:
◦ C:\Program Files\Cisco Systems\VPN Client
◦ C:\Program Files\Common Files\Deterministic Networks
8. Delete all the old Deterministic NDIS Extender (DNE) files:
◦ dne2000.sys from %SystemRoot%\system32\drivers
◦ dne2000m.inf and dne2000m.pnf from %SystemRoot%\inf
◦ The Original Equipment Manufacturer (OEM) enumerations of the dne2000.inf and dne2000.pnf files. The OEM enumeration .inf file is a file called oem.inf. For example, files could be called oem2.inf and oem2.pnf.
Note: Be careful to remove only OEM files from the DNE.
◦ dneinobj.dll from %SystemRoot%\system32. You might need to reboot before you can remove this file.
9. Delete the cvpndrv.sys or cvpndrva.sys file from %SystemRoot%\system32\drivers.
10. Reboot the machine and cancel the installation of network adapters.
11. Find the CSGina.dll file in the system32 folder and rename it CSGina.old.
12. Reboot the machine and install the latest version of the Cisco VPN Client.
Note: Even if a manual uninstall fails after you complete this procedure, remove the setup.exe file from the temp files directory because it can trigger setup to run again.
Complete these steps in order to remove Deterministic Network Enhancer:
1. Right-click My Network Places and choose Properties.
2. Right-click Local Area Connection and choose Properties.
3. Either uninstall or uncheck Deterministic Network Enhancer.
1. From your desktop, choose Start > Run and type regedit. Note: Make sure that no anti-virus software or firewalls are enabled.
2. Remove the key at HKEY_LOCAL_MACHINE > SOFTWARE > Cisco Systems > VPN Client.
3. Remove the keys at HKEY_LOCAL_MACHINE > SOFTWARE > Deterministic Networks. Note: Sometimes the system does not allow you to remove this key.
4. Remove the keys at HKEY_LOCAL_MACHINE > SOFTWARE > Microsoft > Windows > CurrentVersion > Uninstall > {5624c000-b109-11d4-9db4-00e0290fcac5}.
5. Remove the keys at HKEY_LOCAL_MACHINE > SOFTWARE > Microsoft > Windows > CurrentVersion > RunOnce > CISCOREBOOTFLAG.
6. In order to stop the VPN deamon process, press Ctrl+Alt+Del and select Task Manager. Then, navigate to cvpnd.exe, right-click and choose End Process.
7. Delete these directories if the Cisco VPN Client is installed in the default directories of the Windows machine:
◦ C:\Program Files\Cisco Systems\VPN Client
◦ C:\Program Files\Common Files\Deterministic Networks
8. Delete all the old Deterministic NDIS Extender (DNE) files:
◦ dne2000.sys from %SystemRoot%\system32\drivers
◦ dne2000m.inf and dne2000m.pnf from %SystemRoot%\inf
◦ The Original Equipment Manufacturer (OEM) enumerations of the dne2000.inf and dne2000.pnf files. The OEM enumeration .inf file is a file called oem
◦ dneinobj.dll from %SystemRoot%\system32. You might need to reboot before you can remove this file.
9. Delete the cvpndrv.sys or cvpndrva.sys file from %SystemRoot%\system32\drivers.
10. Reboot the machine and cancel the installation of network adapters.
11. Find the CSGina.dll file in the system32 folder and rename it CSGina.old.
12. Reboot the machine and install the latest version of the Cisco VPN Client.
Note: Even if a manual uninstall fails after you complete this procedure, remove the setup.exe file from the temp files directory because it can trigger setup to run again.
Complete these steps in order to remove Deterministic Network Enhancer:
1. Right-click My Network Places and choose Properties.
2. Right-click Local Area Connection and choose Properties.
3. Either uninstall or uncheck Deterministic Network Enhancer.
谷歌相册Picasa相册图片不显示的解决办法
刚才在网站统计中看到今天好多人通过搜索引擎搜:Picasa相册图片不显示,Google相册图片不显示,Picasa相册图片不显示的原因 Picasa相册图片无法显示,Picasa相册打不开等等关键词,搜到了我以前写的:。一看这么多人搜就知道肯定是Picasa网络相册在中国大陆被封了,以前写的那个是Picasa相册的图片插入博客或其它网站的时候不显示的原因和解决办法。不是因为Picasa被封在自己电脑上看不到图片的解决办法。
现在,从自己电脑上看不到Picasa相册图片可用下面的方法解决:
———————方法开始———————
用记事本打开hosts文件,hosts文件位于:c:\windows\system32\drivers\etc\hosts
在hosts文件中加入下面这些内容:
#picasaweb.google.com
203.208.39.104 picadaweb.google.com
203.208.39.104 lh1.ggpht.com
203.208.39.104 lh2.ggpht.com
203.208.39.104 lh3.ggpht.com
203.208.39.104 lh4.ggpht.com
203.208.39.104 lh5.ggpht.com
203.208.39.104 lh6.ggpht.com
保存。
———————方法结束———————
上面的IP地址203.208.39.104也可以换成203.208.33.100试一下。
这种修改hosts文件文件的方法可以用于解决很多被封的网站无法打开的问题,每个在中国上网的人都应该学会,如果你还不会请尽快学习,猛烈点击这里查看学习资料。
现在,从自己电脑上看不到Picasa相册图片可用下面的方法解决:
———————方法开始———————
用记事本打开hosts文件,hosts文件位于:c:\windows\system32\drivers\etc\hosts
在hosts文件中加入下面这些内容:
#picasaweb.google.com
203.208.39.104 picadaweb.google.com
203.208.39.104 lh1.ggpht.com
203.208.39.104 lh2.ggpht.com
203.208.39.104 lh3.ggpht.com
203.208.39.104 lh4.ggpht.com
203.208.39.104 lh5.ggpht.com
203.208.39.104 lh6.ggpht.com
保存。
———————方法结束———————
上面的IP地址203.208.39.104也可以换成203.208.33.100试一下。
这种修改hosts文件文件的方法可以用于解决很多被封的网站无法打开的问题,每个在中国上网的人都应该学会,如果你还不会请尽快学习,猛烈点击这里查看学习资料。
订阅:
博文 (Atom)