我想為我的任務欄添加一個啟動器圖標,該圖標運行dolphin
但最初在我想要指定的資料夾中啟動
這海豚手冊沒有解釋這一點。
答案1
在終端中嘗試此操作:(dolphin /usr/home/
選擇您自己的路徑)。有關更多信息,請閱讀手冊頁(也可在線獲取:http://manpages.ubuntu.com/manpages/hardy/man1/dolphin.1.html)。
答案2
如果您想從終端中的當前路徑打開海豚,只需使用,
dolphin . &
答案3
幫助頁面
KDE 應用程式有 Dolphin 的幫助:
:~$ dolphin --help
Usage: dolphin [Qt-options] [KDE-options] [options] [Url]
File Manager
Generic options:
--help Show help about options
--help-qt Show Qt specific options
--help-kde Show KDE specific options
--help-all Show all options
--author Show author information
-v, --version Show version information
--license Show license information
-- End of options
Options:
--select The files and directories passed as arguments will be selected.
--split Dolphin will get started with a split view.
Arguments:
Url Document to open
使用預設應用程式啟動
KDE 在 KDE 系統設定中有「預設應用程式」。
kfm 客戶端是:
:~$ kfmclient --help
Usage: kfmclient [Qt-options] [KDE-options] [KDE-tempfile-options] [options] command [URL(s)]
KDE tool for opening URLs from the command line
Generic options:
--help Show help about options
--help-qt Show Qt specific options
--help-kde Show KDE specific options
--help-kde-tempfile Show KDE-tempfile specific options
--help-all Show all options
--author Show author information
-v, --version Show version information
--license Show license information
-- End of options
Options:
--noninteractive Non interactive use: no message boxes
--commands Show available commands
Arguments:
command Command (see --commands)
URL(s) Arguments for command
使用預設檔案管理器開啟目錄:
kfmclient exec /path/to/the/directory/
答案4
使用- 選擇選項,例如
dolphin --select .
dolphin --select /
dolphin --select /path/you/want/.
它不會在終端機中作為前台作業運行,因此它不會阻止您的終端會話,並且沒有 for & 等,並且它可以接受額外的參數