System Settings/zh-cn: Difference between revisions

From KDE Wiki Sandbox
m (Created page with '==鼠标手势 ==')
Line 53: Line 53:
|[[Image:Preferences-other.png|48px|link=Special:myLanguage/System Settings/Startup and Shutdown]]||Configure your system behavior when starting up or shutting down.
|[[Image:Preferences-other.png|48px|link=Special:myLanguage/System Settings/Startup and Shutdown]]||Configure your system behavior when starting up or shutting down.
|}
|}
==Mouse Gestures==
==鼠标手势 ==


:''KDE SC version 4.4.4''
:''KDE SC version 4.4.4''

Revision as of 14:38, 7 September 2010

Template:I18n/Language Navigation Bar


KDE 软件和工作空间的控制中心

特性

  • 全局性的 KDE 平台配置中心
  • 方便的自定义,管理你的桌面
  • 帮助定位设置模块的搜索功能

搜索

系统设置 有个搜索功能帮助定位要找的设置模块位置。在工具栏的搜索框输入,系统设置会高亮包含关键词的设置模块,同时黯淡其他无关模块。还可以通过 KRunner 访问到系统设置模块。

搜索关键词

分类

Common Appearance and Behavior

Account Details

Configure your user information, password and paths. You can also configure your Social Desktop providers.

Application Appearance

Configure your applications style, colors, icons, fonts and emoticons.

硬件

Input Devices

Configure your keyboard, mouse and joystick.

System Administration

Login Screen

Configure the login manager (KDM).

Startup and Shutdown

Configure your system behavior when starting up or shutting down.

鼠标手势

KDE SC version 4.4.4

The place where you start is "System Settings -> Input Actions"

Enabling mouse gestures

In the bottom left corner of the window there is a Settings button. Make sure that the Gestures checkbox is checked. Set the timout as you see fit. The mouse button might be different for you, I chose 3 for using the right mouse button. If you want input actions to be enabled automatically, check the "Start the input Actions daemon on login" above.

Creating the Mouse gestures actions group

Right click on the left pane (in an empty area under the list of action groups) and choose New Group, rename that group to "Mouse Gestures" and check the checkbox attached to its name.

Creating a new mouse gesture

From now on I will assume that the new group is called "Mouse Gestures". Right click on Mouse Gestures and choose New -> Mouse Gesture Action (here there are three options but I didn't manage to work with "Send Keyboard Input") using "Command/URL" or "D-Bus Command" you will need to create a gesture and bind an action to it.

To create the gesture

Click on your New Action and select the Trigger tab. in the bottom of the screen there is an Edit button (click it). In the box that just opened draw your gesture using the left mouse button.

To bind an action

if you chose Command/URL simply enter that command/url under the Action tab at the Command/URL field.

Examples using Command/URL

Close window

This command will let you close the next window you mouse click on. Note: wmctrl may not support your Window Manager.

Command/URL: wmctrl -c :SELECT:

to close the active window

Command/URL: wmctrl -c :ACTIVE:

Examples using D-Bus

If you chose D-Bus, here are few examples.

Finding out what to fill where, is done with the help of the "Launch D-Bus Browser", using that browser you can find what method you wish to call in what application object. Using D-Bus we need to fill some fields, the field name will be regular and the content italic.

Runner

This will display the Runner dialog.

Remote Application: org.kde.krunner

Remote Object: /App

Function: org.kde.krunner.App.display

Audacious next/previous/pause/play/stop/repeat track

Remote Application: org.mpris.audacious

Remote Object: /Player

Function: org.freedesktop.MediaPlayer.Next (replace Next with Prev/Pause/Stop/Play/Repeat)

Audacious PlayPause track

If not playing will play, if playing will pause.

Remote Application: org.mpris.audacious

Remote Object: /org/atheme/audacious

Function: org.atheme.audacious.PlayPause

Klipper manually invoke action menu

display the actions pop-up. (I am using that to search and translate words)

Remote Application: org.kde.klipper

Remote Object: /klipper

Function: org.kde.klipper.klipper.showKlipperManuallyInvokeActionMenu