Comment=Going up in URL/directory structure.\nOpera-style: Press, move up, move left, move up, release.\nNOTE: Conflicts with "Activate Previous Tab", and as such is disabled by default.
Comment=This group contains various examples demonstrating most of the features of KHotkeys. (Note that this group and all its actions are disabled by default.)
DataCount=8
Enabled=true
ImportId=kde32b1
Name=Examples
SystemGroup=0
Type=ACTION_DATA_GROUP
[Data_3Conditions]
Comment=
ConditionsCount=0
[Data_3_1]
Comment=After pressing Ctrl+Alt+I, the KSIRC window will be activated, if it exists. Simple.
Enabled=false
Name=Activate KSIRC Window
Type=SIMPLE_ACTION_DATA
[Data_3_1Actions]
ActionsCount=1
[Data_3_1Actions0]
Type=ACTIVATE_WINDOW
[Data_3_1Actions0Window]
Comment=KSIRC window
WindowsCount=1
[Data_3_1Actions0Window0]
Class=ksirc
ClassType=1
Comment=KSIRC
Role=
RoleType=0
Title=
TitleType=0
Type=SIMPLE
WindowTypes=33
[Data_3_1Conditions]
Comment=
ConditionsCount=0
[Data_3_1Triggers]
Comment=Simple_action
TriggersCount=1
[Data_3_1Triggers0]
Key=Ctrl+Alt+I
Type=SHORTCUT
Uuid={fb3e3212-d8e8-4ca4-b6b0-220b962b72a5}
[Data_3_2]
Comment=After pressing Alt+Ctrl+H the input of 'Hello' will be simulated, as if you typed it. This is especially useful if you have call to frequently type a word (for instance, 'unsigned'). Every keypress in the input is separated by a colon ':'. Note that the keypresses literally mean keypresses, so you have to write what you would press on the keyboard. In the table below, the left column shows the input and the right column shows what to type.\n\n"enter" (i.e. new line) Enter or Return\na (i.e. small a) A\nA (i.e. capital a) Shift+A\n: (colon) Shift+;\n' ' (space) Space
Enabled=false
Name=Type 'Hello'
Type=SIMPLE_ACTION_DATA
[Data_3_2Actions]
ActionsCount=1
[Data_3_2Actions0]
DestinationWindow=2
Input=Shift+H:E:L:L:O\n
Type=KEYBOARD_INPUT
[Data_3_2Conditions]
Comment=
ConditionsCount=0
[Data_3_2Triggers]
Comment=Simple_action
TriggersCount=1
[Data_3_2Triggers0]
Key=Ctrl+Alt+H
Type=SHORTCUT
Uuid={dd0bff11-51fc-4de6-af55-eb6e41545ae5}
[Data_3_3]
Comment=This action runs Konsole, after pressing Ctrl+Alt+T.
Enabled=true
Name=Run Konsole
Type=SIMPLE_ACTION_DATA
[Data_3_3Actions]
ActionsCount=1
[Data_3_3Actions0]
CommandURL=konsole
Type=COMMAND_URL
[Data_3_3Conditions]
Comment=
ConditionsCount=0
[Data_3_3Triggers]
Comment=Simple_action
TriggersCount=1
[Data_3_3Triggers0]
Key=Alt+Return
Type=SHORTCUT
Uuid={63ea0f64-daaa-437a-ab2c-b73eac8aa29f}
[Data_3_4]
Comment=Read the comment on the "Type 'Hello'" action first.\n\nQt Designer uses Ctrl+F4 for closing windows. In KDE, however, Ctrl+F4 is the shortcut for going to virtual desktop 4, so this shortcut does not work in Qt Designer. Further, Qt Designer does not use KDE's standard Ctrl+W for closing the window.\n\nThis problem can be solved by remapping Ctrl+W to Ctrl+F4 when the active window is Qt Designer. When Qt Designer is active, every time Ctrl+W is pressed, Ctrl+F4 will be sent to Qt Designer instead. In other applications, the effect of Ctrl+W is unchanged.\n\nWe now need to specify three things: A new shortcut trigger on 'Ctrl+W', a new keyboard input action sending Ctrl+F4, and a new condition that the active window is Qt Designer.\nQt Designer seems to always have title 'Qt Designer by Trolltech', so the condition will check for the active window having that title.
Enabled=false
Name=Remap Ctrl+W to Ctrl+F4 in Qt Designer
Type=GENERIC_ACTION_DATA
[Data_3_4Actions]
ActionsCount=1
[Data_3_4Actions0]
DestinationWindow=2
Input=Ctrl+F4
Type=KEYBOARD_INPUT
[Data_3_4Conditions]
Comment=
ConditionsCount=1
[Data_3_4Conditions0]
Type=ACTIVE_WINDOW
[Data_3_4Conditions0Window]
Comment=Qt Designer
WindowsCount=1
[Data_3_4Conditions0Window0]
Class=
ClassType=0
Comment=
Role=
RoleType=0
Title=Qt Designer by Trolltech
TitleType=2
Type=SIMPLE
WindowTypes=33
[Data_3_4Triggers]
Comment=
TriggersCount=1
[Data_3_4Triggers0]
Key=Ctrl+W
Type=SHORTCUT
Uuid={a014a84b-e760-4fd3-b1d8-3d16a6609309}
[Data_3_5]
Comment=By pressing Alt+Ctrl+W a D-Bus call will be performed that will show the minicli. You can use any kind of D-Bus call, just like using the command line 'qdbus' tool.
Comment=Read the comment on the "Type 'Hello'" action first.\n\nJust like the "Type 'Hello'" action, this one simulates keyboard input, specifically, after pressing Ctrl+Alt+B, it sends B to XMMS (B in XMMS jumps to the next song). The 'Send to specific window' checkbox is checked and a window with its class containing 'XMMS_Player' is specified; this will make the input always be sent to this window. This way, you can control XMMS even if, for instance, it is on a different virtual desktop.\n\n(Run 'xprop' and click on the XMMS window and search for WM_CLASS to see 'XMMS_Player').
Enabled=false
Name=Next in XMMS
Type=SIMPLE_ACTION_DATA
[Data_3_6Actions]
ActionsCount=1
[Data_3_6Actions0]
DestinationWindow=1
Input=B
Type=KEYBOARD_INPUT
[Data_3_6Actions0DestinationWindow]
Comment=XMMS window
WindowsCount=1
[Data_3_6Actions0DestinationWindow0]
Class=XMMS_Player
ClassType=1
Comment=XMMS Player window
Role=
RoleType=0
Title=
TitleType=0
Type=SIMPLE
WindowTypes=33
[Data_3_6Conditions]
Comment=
ConditionsCount=0
[Data_3_6Triggers]
Comment=Simple_action
TriggersCount=1
[Data_3_6Triggers0]
Key=Ctrl+Alt+B
Type=SHORTCUT
Uuid={8019e33b-a6fc-4a4d-a6fc-a8b8c89a6a13}
[Data_3_7]
Comment=Konqueror in KDE3.1 has tabs, and now you can also have gestures.\n\nJust press the middle mouse button and start drawing one of the gestures, and after you are finished, release the mouse button. If you only need to paste the selection, it still works, just click the middle mouse button. (You can change the mouse button to use in the global settings).\n\nRight now, there are the following gestures available:\nmove right and back left - Forward (Alt+Right)\nmove left and back right - Back (Alt+Left)\nmove up and back down - Up (Alt+Up)\ncircle anticlockwise - Reload (F5)\n\nThe gesture shapes can be entered by performing them in the configuration dialog. You can also look at your numeric pad to help you: gestures are recognized like a 3x3 grid of fields, numbered 1 to 9.\n\nNote that you must perform exactly the gesture to trigger the action. Because of this, it is possible to enter more gestures for the action. You should try to avoid complicated gestures where you change the direction of mouse movement more than once. For instance, 45654 or 74123 are simple to perform, but 1236987 may be already quite difficult.\n\nThe conditions for all gestures are defined in this group. All these gestures are active only if the active window is Konqueror (class contains 'konqueror').
Comment=After pressing Win+E (Tux+E) a WWW browser will be launched, and it will open http://www.kde.org . You may run all kind of commands you can run in minicli (Alt+F2).
Enabled=false
Name=Go to KDE Website
Type=SIMPLE_ACTION_DATA
[Data_3_8Actions]
ActionsCount=1
[Data_3_8Actions0]
CommandURL=http://www.kde.org
Type=COMMAND_URL
[Data_3_8Conditions]
Comment=
ConditionsCount=0
[Data_3_8Triggers]
Comment=Simple_action
TriggersCount=1
[Data_3_8Triggers0]
Key=Meta+E
Type=SHORTCUT
Uuid={72a20106-60a5-4a7d-961d-33495f8f2c86}
[Data_4]
Comment=Shortcuts for taking screenshots
DataCount=4
Enabled=true
ImportId=spectacle
Name=Screenshots
SystemGroup=0
Type=ACTION_DATA_GROUP
[Data_4Conditions]
Comment=
ConditionsCount=0
[Data_4_1]
Comment=Start the screenshot tool and show the GUI
Enabled=true
Name=Start Screenshot Tool
Type=SIMPLE_ACTION_DATA
[Data_4_1Actions]
ActionsCount=1
[Data_4_1Actions0]
Arguments=
Call=StartAgent
RemoteApp=org.kde.Spectacle
RemoteObj=/
Type=DBUS
[Data_4_1Conditions]
Comment=
ConditionsCount=0
[Data_4_1Triggers]
Comment=Simple_action
TriggersCount=1
[Data_4_1Triggers0]
Key=Print
Type=SHORTCUT
Uuid={07129c7a-7aa7-43d1-958b-1ffd8a065e3c}
[Data_4_2]
Comment=Take a full screen (all monitors) screenshot and save it
Enabled=true
Name=Take Full Screen Screenshot
Type=SIMPLE_ACTION_DATA
[Data_4_2Actions]
ActionsCount=1
[Data_4_2Actions0]
Arguments=false
Call=FullScreen
RemoteApp=org.kde.Spectacle
RemoteObj=/
Type=DBUS
[Data_4_2Conditions]
Comment=
ConditionsCount=0
[Data_4_2Triggers]
Comment=Simple_action
TriggersCount=1
[Data_4_2Triggers0]
Key=Shift+Print
Type=SHORTCUT
Uuid={a7ddcc8e-2db4-4f94-8477-3434a607a944}
[Data_4_3]
Comment=Take a screenshot of the currently active window and save it
Enabled=true
Name=Take Active Window Screenshot
Type=SIMPLE_ACTION_DATA
[Data_4_3Actions]
ActionsCount=1
[Data_4_3Actions0]
Arguments=true false
Call=ActiveWindow
RemoteApp=org.kde.Spectacle
RemoteObj=/
Type=DBUS
[Data_4_3Conditions]
Comment=
ConditionsCount=0
[Data_4_3Triggers]
Comment=Simple_action
TriggersCount=1
[Data_4_3Triggers0]
Key=Meta+Print
Type=SHORTCUT
Uuid={1ea40eee-c42f-4de7-bccb-c066c2d53eae}
[Data_4_4]
Comment=Take a screenshot of a rectangular region you specify and save it