Archive

Archive for the ‘System’ Category

在Windows 7中隐藏导航窗格项目

August 19th, 2010 1 comment

打开Windows 7资源管理器(Windows Explorer),左侧是一个导航窗格,包括:收藏夹,库,家庭组,计算机,网络。这些项目链接到文件夹,硬盘或者其他电脑系统。

但是,不是每一个Windows 7用户都需要这些项目。没有直接选项可以隐藏它们,我们可以通过注册表编辑器来实现。

Read more…

Categories: System Tags:

linux下分割压缩rar

May 24th, 2010 1 comment

1.安装rar和unrar和序

$ sudo aptitude install rar unrar

2.示例,分割压缩temp文件,每个包为1MB

$ rar a -v1024k temp.rar temp
Categories: System Tags: ,

禁用ubuntu 10.04登录窗口中的用户列表

May 24th, 2010 No comments

如果处于安全考虑,想禁用登录窗口的用户例表,做以下几步操作

1.打开终端输入

$ cd /usr/share
$ sudo cp applications/gconf-editor.desktop gdm/autostart/LoginWindow

2.注销到登录界面,会看到gconf-editor已运行

3.找到/apps/gdm/simple-greeter,把disable_user_list这一项的值改为true

4.关闭gconf-editor重启系统,再看到gdm登录窗口的时候就没有用户列表了.

Categories: System Tags: ,

把ubuntu的消息通知显示位置改回右上角

April 15th, 2010 No comments

1.安装apt-src软件包

$ sudo aptitude install apt-src

2.安装notify-osd的源码

$ mkdir notify
$ cd notify
$ sudo apt-src install notify-osd

Read more…

Categories: System Tags: ,

改变苹果电脑默认截图保存格式的方法

April 9th, 2010 No comments

苹果电脑MacOSX系统内截图后的默认照片文件格式是png的,如果你想把苹果电脑默认截图格式改为jpg、GIF或PDF,可以在终端输入以下命令

修改苹果电脑截图默认格式为jpg

defaults write com.apple.screencapture type jpg

修改苹果电脑截图默认格式为GIF

defaults write com.apple.screencapture type gif

Read more…

Categories: System Tags: ,

ThinkPad T410s&Ubuntu 10.04控制风扇转速

April 4th, 2010 No comments

T410s本子上的传感器还不能被lm-sensors当前的版本所识别,所以fancontrol进程就没效果,只能手动控制了

1.给thinkpad_acpi模块加参数

$ sudo nano /etc/modprobe.d/thinkpad_acpi.conf

在文件中输入

options thinkpad_acpi fan_control=1

Read more…

Categories: System Tags: ,

解决T410s装ubuntu 10.04的声音问题

April 4th, 2010 1 comment

也许是因为硬件太新,装上ubuntu 10.04后,声卡没有识别,这里有个临时的解决方法

1.查看一下声卡的pci id号

$ lspci -vvxxx
............................................................
 
00:1b.0 Audio device: Intel Corporation Device 3b57 (rev 06)
        Subsystem: Lenovo Device 215e
        Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <tabort - <MAbort- >SERR- <perr - INTx-
        Interrupt: pin B routed to IRQ 11
        Region 0: Memory at f2520000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
00: 86 80 57 3b 02 01 10 00 06 00 03 04 10 00 00 00
10: 04 00 52 f2 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 aa 17 5e 21
30: 00 00 00 00 50 00 00 00 00 00 00 00 0b 02 00 00
 
............................................................
</perr></tabort>

Read more…

Categories: System Tags: ,

为ubuntu 10.04安装Realtek 8172和8192se无线驱动

April 4th, 2010 No comments

刚为新到手的ThinkPad T410s装上了ubuntu 10.04 beta1,兴奋之余发现无线列表中列出的无线网络没有公司的,公司的无线类型为802.11/g,而列表中列出的都是802.11/n类型的,感觉是驱动的问题,于是先看一下芯片类型

$ lspci -vvxxx
........................................
 
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device 8172 (rev 10)
	Subsystem: Realtek Semiconductor Co., Ltd. Device e020
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <tabort - <MAbort- >SERR- <perr - INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 17
	Region 0: I/O ports at 2000 [size=256]
	Region 1: Memory at f2400000 (32-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: rtl819xSE
	Kernel modules: r8192se_pci
00: ec 10 72 81 07 01 10 00 10 00 80 02 10 00 00 00
10: 01 20 00 00 00 00 40 f2 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 ec 10 20 e0
30: 00 00 00 00 40 00 00 00 00 00 00 00 0b 01 00 00
 
........................................
</perr></tabort>

Read more…

Categories: System Tags: ,

windows 7系统下修改默认安装路径

March 10th, 2010 No comments

第一步,用Administrator 登录。复制Program Files 目录,但不能直接用资源管理器复制,我们需要保留此目录的所有权限设置,假设要从C 盘移动到D盘:

xcopy “C:\Program Files” “D:\Program Files\” /E /H /K /
X /Y

第二步,修改注册表:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion]
“ProgramFilesDir”=”D:\\Program Files”
“CommonFilesDir”=”D:\\Program Files\\Common Files”
Read more…

Categories: System Tags: ,

chrome默认浏览器外部调用

March 7th, 2010 No comments

给chrome的快捷方式加过启动参数, 同时chrome又设为默认浏览器的情况下, 会发现在其它程序中打开链接的时候, 不是在原有chrome里打开一个新tab, 而是打开一个新窗口(原打开的所有tab+新tab), 很烦!!

根据需要可修改注册表如下四处:
HKEY_CLASSES_ROOT\http\shell\open\command
HKEY_CLASSES_ROOT\https\shell\open\command
HKEY_CLASSES_ROOT\ChromeHTML\shell\open\command
HKEY_CLASSES_ROOT\ftp\shell\open\command

在”chrome路径” — “%1″中插入你的参数, 如:
“chrome路径” –user-data-dir=”R:\User Data” — “%1″

Categories: System Tags: