显示标签为“gnome”的博文。显示所有博文
显示标签为“gnome”的博文。显示所有博文

2007年6月21日星期四

Make your gnome menus run faster

Some weeks ago, I have showed two small tips to tweak your Ubuntu Linux. The first one is to disable IPv6 and the second one is to reduce swapping. Today, I have another tip to make your gnome menus run faster.

1. Create a file named .gtkrc-2.0 in your home directory

cd
touch .gtkrc-2.0
echo "gtk-menu-popup-delay = 0"| tee -a .gtkrc-2.0

2. Logout and login again

I have tested with a value gtk-menu-popop-delay = 2000 before to try gtk-menu-popop-delay = 0 to see what is different in effect.
read more

2007年6月11日星期一

How to disable tap-clicking with your touchpad in Linux in a easy way

Lots of people have a love/hate relationship with their touch pad on their laptops. It’s great for speeding around your screen and doing lots of cool things with nary a mouse in site. It’s horrible when you accidentaly double-click that Quake 3 icon while your boss is strolling into the room.

Here’s a quick and easy guide to disabling tap-clicking and scrolling on your touchpad. With this little hack you’ll still have a mouse replacement, but will avoid Quake 3 inspired embarrassment.

First, you’ll need to edit your xorg.conf file. This is the file that controls your display, and oddly all of your input devices as well like your keyboard, mouse and…. touchpad. Open up a CLI (Applications-> Accessories-> Terminal) and let’s get down to business.

gksu gedit /etc/X11/xorg.conf

Now you’ve got your xorg.conf file open in an editor, let’s add one line too it. Look for this section in your xorg.conf file:

Section “InputDevice”
Identifier “Synaptics Touchpad”
Driver “synaptics”
Option “SendCoreEvents” “true”
Option “Device” “/dev/psaux”
Option “Protocol” “auto-dev”
Option “HorizScrollDelta” “0″
EndSection

Yours may have all of this stuff or it may have very little of it. The key points you want to look for are the Section and EndSection bits. Everything has to go between these two, and what we’re going to add is not exception.

See the Options above? We’re going to add an option. So cut and paste the following in there just above the EndSection portion:

Option “TouchpadOff” 2

Now save your file and exit Gedit. The next time you restart your laptop (or restart your X session) you’re touchpad will be click-less.

But perhaps this way is so complicated and sometimes it doesn't work! Then you should try this way:

For KDE:
1. Open KDE Control Center
2. Select Peripherals > Touch Pad
3. Select “Tapping” tab and uncheck “Enable Tapping”
4. Click “Apply”
Done

For Gnome:

sudo apt-get install gsynaptics

And go to System > Preferences > Touchpad

Done

2007年5月4日星期五

how to fix the error fail to load the desktop after rebooting X-window!


Code:
killall nautilus

试了一下,显示:

Code:
nautilus: no process killed

看来nautilus这个程序是关键。于是直接运行nautilus,桌面图标马上就显示出来了。
接着Ctrl+C,桌面一闪然后就又一切正常了。看来nautilus还智能的。
顺便提一下, gnome下刷新面板的方法:

Code:
killall gnome-panel


2007年5月3日星期四

Beryl的快捷键

全局选项:
Alt + 鼠标滚轮 上/下使窗口 透明/不透明

程序切换:
Alt + Tab:在当前工作台中切换窗口
Ctrl + Alt + Tab:在所有工作台中切换窗口

窗口排列(编排并显示所有窗口):上/下
左下角(关键区域):所有工作台(点击一个窗口缩放它到前台)
右上角(关键区域):当前工作台

显示桌面(看当前立体面的桌面):
右下角(关键区域):开/关

立方体旋转:
Ctrl + Alt + 左/右方向键:立体地切换桌面
Ctrl + Shift + Alt + 左/右方向键:把活动窗口移到左/右工作台
Ctrl + Alt + 鼠标左键并拖曳:手动旋转立方体

缩放:
Win + 鼠标右键:缩放一次
Win + 鼠标滚轮 上/下:手动缩放大/小

移动窗口:
Alt + 鼠标左键并拖曳:移动窗口
Ctrl + Shift + 鼠标左键:迅速移动窗口(会粘住边框)

调整窗口大小:
Alt + 鼠标中键

水波效果:
Ctrl + Win + 移动鼠标:关标在水上移动(默认无效)
Shift + F9:雨点降落在你的屏幕上

模糊效果:
在透明窗口下添加一些模糊(会使计算机变慢)

动画效果:
当创建或者关闭窗口时使用动画效果(对菜单也有效,不过你要选择“未知”,只选“菜单”没用)

反色效果:
Win + m:屏幕反色
Win + n:当前窗口反色

反射效果:
给装饰添加一些纹理(当透明时大多数可见)

屏幕截图:
Win + 鼠标左键并拖曳:将所选区域截图(图片保存在桌面)

焦点轨迹效果:
更旧的窗口更加透明

摆动效果:
使窗口丶菜单等像棉花糖

亮度和饱和度:
Ctrl + 鼠标滚轮 上/下:增加/减少 饱和度(对桌面也有效)
Shfit + 鼠标滚轮 上/下:增加/减少 亮度(对桌面也有效)

窗口对齐:
Win + 小键盘1...9:在屏幕中快速对齐一个窗口(1=左下,2=中下,3=右下......)

2007年4月30日星期一

bloglines-notifier for gnome!

在郭爽的blog的里看到这个实用的小东西,这里有下载地址。下载后直接运行解压包里的直接运行解压包里的 bloglines-notifier 即可。
如果无法运行,你可能需要新立得搜索并安装 libgtk2-gladexml-perl 和 libgladexml-perl。