- 快速鍵設定檔案:
 
$ emacs ~/.config/openbox/lubuntu-rc.xml
NexWindow : command Tab
——————變更前——————
 <!-- Keybindings for window switching -->
    <keybind key="A-Tab">
      <action name="NextWindow">
        <dialog>icons</dialog>
        <finalactions>
          <action name="Focus"/>
          <action name="Raise"/>
          <action name="Unshade"/>
        </finalactions>
      </action>
    </keybind>
    <keybind key="A-S-Tab">
      <action name="PreviousWindow">
        <finalactions>
          <action name="Focus"/>
          <action name="Raise"/>
          <action name="Unshade"/>
        </finalactions>
      </action>
    </keybind>
    <keybind key="C-A-Tab">
      <action name="NextWindow">
        <panels>yes</panels>
        <desktop>yes</desktop>
        <finalactions>
          <action name="Focus"/>
          <action name="Raise"/>
          <action name="Unshade"/>
        </finalactions>
      </action>
    </keybind>
    <!-- Keybindings for window switching with the arrow keys -->
——————變更後——————
<!-- Keybindings for window switching -->
<keybind key="W-Tab">
<action name="NextWindow">
<dialog>icons</dialog>
<finalactions>
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</finalactions>
</action>
</keybind>
<keybind key="A-S-Tab">
<action name="PreviousWindow">
<finalactions>
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</finalactions>
</action>
</keybind>
<keybind key="C-A-Tab">
<action name="NextWindow">
<panels>yes</panels>
<desktop>yes</desktop>
<finalactions>
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</finalactions>
</action>
</keybind>
<!-- Keybindings for window switching with the arrow keys -->
screenshot : command F12
——————變更前——————
<!-- Take a screenshot of the current window with scrot when Alt+Print are pressed -->
<keybind key="A-Print">
<action name="Execute">
<command>lxsession-default screenshot</command>
</action>
</keybind>
——————變更後——————
<!-- Take a screenshot of the current window with scrot when Alt+Print are pressed -->
<keybind key="W-F12">
<action name="Execute">
<command>scrot -u -e 'mv $f ~/ピクチャ/Screenshot/'</command>
</action>
</keybind>
——————變更後——————
<!-- Keybindings for window switching -->
<keybind key="W-Tab">
<action name="NextWindow">
<dialog>icons</dialog>
<finalactions>
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</finalactions>
</action>
</keybind>
<keybind key="A-S-Tab">
<action name="PreviousWindow">
<finalactions>
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</finalactions>
</action>
</keybind>
<keybind key="C-A-Tab">
<action name="NextWindow">
<panels>yes</panels>
<desktop>yes</desktop>
<finalactions>
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</finalactions>
</action>
</keybind>
<!-- Keybindings for window switching with the arrow keys -->
screenshot : command F12
——————變更前——————
<!-- Take a screenshot of the current window with scrot when Alt+Print are pressed -->
<keybind key="
<action name="Execute">
<command>
</action>
</keybind>
——————變更後——————
<!-- Take a screenshot of the current window with scrot when Alt+Print are pressed -->
<keybind key="W-F12">
<action name="Execute">
<command>scrot -u -e 'mv $f ~/ピクチャ/Screenshot/'</command>
</action>
</keybind>
沒有留言:
張貼留言