[Xfce4-commits] r28543 - libxfcegui4/trunk/libxfce4kbd-private
Brian J. Tarricone
bjt23 at cornell.edu
Sat Nov 1 00:18:37 CET 2008
Olivier/Jannis,
While the xfconfd parser actually may handle that properly (by complete
accident), that's not really what I'd call a valid file (and parsing
will be a lot slower). Something more like:
<channel ...>
<property name="xfwm4" type="empty">
<property name="default" type="empty">
<property name="<Alt>F12" type="string" value="above_key"/>
<property name="<Alt>Insert" type="string"
value="add_workspace_key"/>
<property name="Escape" type="string" value="cancel_key"/>
<property name="Left" type="string" value="left_key"/>
[........]
</property>
</property>
</channel>
... is what you want.
(And if xfconfd is actually writing out files like the one committed,
please let me know, cuz that's one hell of a bug.)
Oh, and Jannis:
+<channel name="xfce4-session" version="1.0">
Really? xfce4-session is the name of the channel? ^_~ At least you
helped me notice a validation bug :-P .
-brian
Olivier Fourdan wrote:
> Author: olivier
> Date: 2008-10-31 21:47:26 +0000 (Fri, 31 Oct 2008)
> New Revision: 28543
>
> Modified:
> libxfcegui4/trunk/libxfce4kbd-private/xfce4-keyboard-shortcuts.xml
> Log:
> Populate keyboard defaults
>
> Modified: libxfcegui4/trunk/libxfce4kbd-private/xfce4-keyboard-shortcuts.xml
> ===================================================================
> --- libxfcegui4/trunk/libxfce4kbd-private/xfce4-keyboard-shortcuts.xml 2008-10-31 21:20:19 UTC (rev 28542)
> +++ libxfcegui4/trunk/libxfce4kbd-private/xfce4-keyboard-shortcuts.xml 2008-10-31 21:47:26 UTC (rev 28543)
> @@ -6,9 +6,264 @@
> <property name="<Alt>F2" type="string" value="xfrun4"/>
> </property>
> </property>
> + <property name="commands" type="empty">
> + <property name="default" type="empty">
> + <property name="<Control><Alt>Delete" type="string" value="xflock4"/>
> + </property>
> + </property>
> <property name="xfwm4" type="empty">
> <property name="default" type="empty">
> + <property name="<Alt>F12" type="string" value="above_key"/>
> + </property>
> + </property>
> + <property name="xfwm4" type="empty">
> + <property name="default" type="empty">
> + <property name="<Alt>Insert" type="string" value="add_workspace_key"/>
> + </property>
> + </property>
> + <property name="xfwm4" type="empty">
> + <property name="default" type="empty">
> + <property name="Escape" type="string" value="cancel_key"/>
> + </property>
> + </property>
> + <property name="xfwm4" type="empty">
> + <property name="default" type="empty">
> + <property name="Left" type="string" value="left_key"/>
> + </property>
> + </property>
> + <property name="xfwm4" type="empty">
> + <property name="default" type="empty">
> + <property name="Right" type="string" value="right_key"/>
> + </property>
> + </property>
> + <property name="xfwm4" type="empty">
> + <property name="default" type="empty">
> + <property name="Up" type="string" value="up_key"/>
> + </property>
> + </property>
> + <property name="xfwm4" type="empty">
> + <property name="default" type="empty">
> + <property name="Down" type="string" value="down_key"/>
> + </property>
> + </property>
> + <property name="xfwm4" type="empty">
> + <property name="default" type="empty">
> + <property name="<Alt>F4" type="string" value="close_window_key"/>
> + </property>
> + </property>
> + <property name="xfwm4" type="empty">
> + <property name="default" type="empty">
> <property name="<Alt>Tab" type="string" value="cycle_windows_key"/>
> </property>
> </property>
> + <property name="xfwm4" type="empty">
> + <property name="default" type="empty">
> + <property name="<Alt>Delete" type="string" value="del_workspace_key"/>
> + </property>
> + </property>
> + <property name="xfwm4" type="empty">
> + <property name="default" type="empty">
> + <property name="<Control><Alt>Down" type="string" value="down_workspace_key"/>
> + </property>
> + </property>
> + <property name="xfwm4" type="empty">
> + <property name="default" type="empty">
> + <property name="<Alt>F11" type="string" value="fullscreen_key"/>
> + </property>
> + </property>
> + <property name="xfwm4" type="empty">
> + <property name="default" type="empty">
> + <property name="<Alt>F9" type="string" value="hide_window_key"/>
> + </property>
> + </property>
> + <property name="xfwm4" type="empty">
> + <property name="default" type="empty">
> + <property name="<Control><Alt>Left" type="string" value="left_workspace_key"/>
> + </property>
> + </property>
> + <property name="xfwm4" type="empty">
> + <property name="default" type="empty">
> + <property name="<Shift><Alt>Page_Down" type="string" value="lower_window_key"/>
> + </property>
> + </property>
> + <property name="xfwm4" type="empty">
> + <property name="default" type="empty">
> + <property name="<Alt>F10" type="string" value="maximize_window_key"/>
> + </property>
> + </property>
> + <property name="xfwm4" type="empty">
> + <property name="default" type="empty">
> + <property name="<Alt>F7" type="string" value="move_window_key"/>
> + </property>
> + </property>
> + <property name="xfwm4" type="empty">
> + <property name="default" type="empty">
> + <property name="<Control><Shift><Alt>Left" type="string" value="move_window_left_key"/>
> + </property>
> + </property>
> + <property name="xfwm4" type="empty">
> + <property name="default" type="empty">
> + <property name="<Alt><Control>End" type="string" value="move_window_next_workspace_key"/>
> + </property>
> + </property>
> + <property name="xfwm4" type="empty">
> + <property name="default" type="empty">
> + <property name="<Alt><Control>Home" type="string" value="move_window_prev_workspace_key"/>
> + </property>
> + </property>
> + <property name="xfwm4" type="empty">
> + <property name="default" type="empty">
> + <property name="<Control><Shift><Alt>Right" type="string" value="move_window_right_key"/>
> + </property>
> + </property>
> + <property name="xfwm4" type="empty">
> + <property name="default" type="empty">
> + <property name="<Control><Shift><Alt>Up" type="string" value="move_window_up_key"/>
> + </property>
> + </property>
> + <property name="xfwm4" type="empty">
> + <property name="default" type="empty">
> + <property name="<Alt><Control>KP_1" type="string" value="move_window_workspace_1_key"/>
> + </property>
> + </property>
> + <property name="xfwm4" type="empty">
> + <property name="default" type="empty">
> + <property name="<Alt><Control>KP_2" type="string" value="move_window_workspace_2_key"/>
> + </property>
> + </property>
> + <property name="xfwm4" type="empty">
> + <property name="default" type="empty">
> + <property name="<Alt><Control>KP_3" type="string" value="move_window_workspace_3_key"/>
> + </property>
> + </property>
> + <property name="xfwm4" type="empty">
> + <property name="default" type="empty">
> + <property name="<Alt><Control>KP_4" type="string" value="move_window_workspace_4_key"/>
> + </property>
> + </property>
> + <property name="xfwm4" type="empty">
> + <property name="default" type="empty">
> + <property name="<Alt><Control>KP_5" type="string" value="move_window_workspace_5_key"/>
> + </property>
> + </property>
> + <property name="xfwm4" type="empty">
> + <property name="default" type="empty">
> + <property name="<Alt><Control>KP_6" type="string" value="move_window_workspace_6_key"/>
> + </property>
> + </property>
> + <property name="xfwm4" type="empty">
> + <property name="default" type="empty">
> + <property name="<Alt><Control>KP_7" type="string" value="move_window_workspace_7_key"/>
> + </property>
> + </property>
> + <property name="xfwm4" type="empty">
> + <property name="default" type="empty">
> + <property name="<Alt><Control>KP_8" type="string" value="move_window_workspace_8_key"/>
> + </property>
> + </property>
> + <property name="xfwm4" type="empty">
> + <property name="default" type="empty">
> + <property name="<Alt><Control>KP_9" type="string" value="move_window_workspace_9_key"/>
> + </property>
> + </property>
> + <property name="xfwm4" type="empty">
> + <property name="default" type="empty">
> + <property name="<Alt>space" type="string" value="popup_menu_key"/>
> + </property>
> + </property>
> + <property name="xfwm4" type="empty">
> + <property name="default" type="empty">
> + <property name="<Shift><Alt>Page_Up" type="string" value="raise_window_key"/>
> + </property>
> + </property>
> + <property name="xfwm4" type="empty">
> + <property name="default" type="empty">
> + <property name="<Alt>F8" type="string" value="resize_window_key"/>
> + </property>
> + </property>
> + <property name="xfwm4" type="empty">
> + <property name="default" type="empty">
> + <property name="<Control><Alt>Right" type="string" value="right_workspace_key"/>
> + </property>
> + </property>
> + <property name="xfwm4" type="empty">
> + <property name="default" type="empty">
> + <property name="<Alt>F9" type="string" value="shade_window_key"/>
> + </property>
> + </property>
> + <property name="xfwm4" type="empty">
> + <property name="default" type="empty">
> + <property name="<Control><Alt>d" type="string" value="show_desktop_key"/>
> + </property>
> + </property>
> + <property name="xfwm4" type="empty">
> + <property name="default" type="empty">
> + <property name="<Alt>F6" type="string" value="stick_window_key"/>
> + </property>
> + </property>
> + <property name="xfwm4" type="empty">
> + <property name="default" type="empty">
> + <property name="<Control><Alt>Up" type="string" value="up_workspace_key"/>
> + </property>
> + </property>
> + <property name="xfwm4" type="empty">
> + <property name="default" type="empty">
> + <property name="<Control>F1" type="string" value="workspace_1_key"/>
> + </property>
> + </property>
> + <property name="xfwm4" type="empty">
> + <property name="default" type="empty">
> + <property name="<Control>F2" type="string" value="workspace_2_key"/>
> + </property>
> + </property>
> + <property name="xfwm4" type="empty">
> + <property name="default" type="empty">
> + <property name="<Control>F3" type="string" value="workspace_3_key"/>
> + </property>
> + </property>
> + <property name="xfwm4" type="empty">
> + <property name="default" type="empty">
> + <property name="<Control>F4" type="string" value="workspace_4_key"/>
> + </property>
> + </property>
> + <property name="xfwm4" type="empty">
> + <property name="default" type="empty">
> + <property name="<Control>F5" type="string" value="workspace_5_key"/>
> + </property>
> + </property>
> + <property name="xfwm4" type="empty">
> + <property name="default" type="empty">
> + <property name="<Control>F6" type="string" value="workspace_6_key"/>
> + </property>
> + </property>
> + <property name="xfwm4" type="empty">
> + <property name="default" type="empty">
> + <property name="<Control>F7" type="string" value="workspace_7_key"/>
> + </property>
> + </property>
> + <property name="xfwm4" type="empty">
> + <property name="default" type="empty">
> + <property name="<Control>F8" type="string" value="workspace_8_key"/>
> + </property>
> + </property>
> + <property name="xfwm4" type="empty">
> + <property name="default" type="empty">
> + <property name="<Control>F9" type="string" value="workspace_9_key"/>
> + </property>
> + </property>
> + <property name="xfwm4" type="empty">
> + <property name="default" type="empty">
> + <property name="<Control>F10" type="string" value="workspace_10_key"/>
> + </property>
> + </property>
> + <property name="xfwm4" type="empty">
> + <property name="default" type="empty">
> + <property name="<Control>F11" type="string" value="workspace_11_key"/>
> + </property>
> + </property>
> + <property name="xfwm4" type="empty">
> + <property name="default" type="empty">
> + <property name="<Control>F12" type="string" value="workspace_12_key"/>
> + </property>
> + </property>
> </channel>
>
> _______________________________________________
> Xfce4-commits mailing list
> Xfce4-commits at xfce.org
> http://foo-projects.org/mailman/listinfo/xfce4-commits
>
More information about the Xfce4-dev
mailing list