孫小芳のBlender部屋

FB

2015年12月28日

lubuntupointer = 1 2 3 5 4 6 7 8 9 10 11 12滑鼠中鍵旋轉方向設定


  • 建立一個.Xmodmap檔案放在$HOME/
    • emacs ~/.Xmodmap

      pointer = 1 2 3 5 4 6 7 8 9 10 11 12
  • 設定 > Default application for LXSession > Autostart > @xmodmap $HOME/.Xmodmap > 追加

lubuntu上使用wacom

筆尖接觸繪板後才執行按下右鍵

$ sudo emacs /usr/share/X11/xorg.conf.d/50-wacom.conf

第一個session的最後追加一行「Option "TPCButton" "on"」



輸入文字時繪板不發生動作


  • 自製wacom.sh,保存在$HOME/script
    • xinput set-prop "Wacom Intuos5 touch S Finger touch" "Device Enabled" 0
  • 設定 > Default application for LXSession > Autostart > $HOME/script/wacom.sh

lubunt快速鍵偏好設定 (NexWindow, screenshot)

更改快速鍵


  • 快速鍵設定檔案:

$ 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>

起動時NumLock ON

$ sudo apt-get install numlockx

Menu > Preferences > Default applications for LXSession

@/usr/bin/numlockx > +Add

2015年12月20日

添加object後無法設定分段等變數

添加object後在執行其他工作前,可以設定分段等變數。
如果設定處出現反白無法設定,
 將『使用者偏好設定>編輯>取消動作:全域取消動作』打勾,即可解決。