孫小芳のBlender部屋

2016年3月20日

blender更新時(自己專用)

blender 更新時,

  1. 將新版blender文件夾放到BlenderApp文件夾中
  2. 打開emacs修改
    /home/name/.local/share/applications/blender.desktop
  3. 修改內容:更改路徑(新版blender的存放路徑)Exec=/home/name/BlenderApp/2.77/blender %f


2016年3月2日

解凍時の文字化け

Linux 解凍時の文字化け対応


unzip -OCP932 hoge.zip

2016年2月25日

LubuntuでBlender最新版をインストール

$ sudo add-apt-repository ppa:thomas-schiex/blender

$ sudo apt-get update

$ sudo apt-get install blender

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