caja

caja toolbar button

File: /usr/share/caja/ui/caja-navigation-window-ui.xml
+<toolitem ....>
操作 XML
剪下 <toolitem name="Cut" action="Cut"/>
複製 <toolitem name="Copy" action="Copy"/>
貼上 <toolitem name="Paste" action="Paste"/>
刪除 <toolitem name="Delete" action="Delete"/>
屬性 <toolitem name="Properties" action="Properties"/>
新增目錄 <toolitem name="New Folder" action="New Folder"/>

 

caja script directory

${HOME}/.config/caja/scripts/
caja variables(caja換成nautilus一樣可以跑,為了相容吧)
Name Description
NAUTILUS_SCRIPT_SELECTED_FILE_PATHS newline-delimited paths for selected files (only if local)
NAUTILUS_SCRIPT_SELECTED_URIS newline-delimited URIs for selected files
NAUTILUS_SCRIPT_CURRENT_URI current location
NAUTILUS_SCRIPT_WINDOW_GEOMETRY position and size of current window

Name
Description
CAJA_SCRIPT_SELECTED_FILE_PATHS
newline-delimited paths for selected files (only if local)
CAJA_SCRIPT_SELECTED_URIS
newline-delimited URIs for selected files
CAJA_SCRIPT_CURRENT_URI
URI for current location
CAJA_SCRIPT_WINDOW_GEOMETRY
position and size of current window
CAJA_SCRIPT_NEXT_PANE_SELECTED_FILE_PATHS
newline-delimited paths for selected files in the inactive pane of a split-view window (only if local)
CAJA_SCRIPT_NEXT_PANE_SELECTED_URIS
newline-delimited URIs for selected files in the inactive pane of a split-view window
CAJA_SCRIPT_NEXT_PANE_CURRENT_URI
URI for current location in the inactive pane of a split-view window

 

caja-actions

參考 http://forums.mate-desktop.org/viewtopic.php?f=17&t=36
不知道什麼時候會入庫?

沒有留言:

張貼留言