16

I would like to add a starter icon to my task bar that runs dolphin but initially starts in a folder I would like to specify

the Dolphin Handbook doesn't explain this.

don.joey
  • 28,402
  • 17
  • 82
  • 104
rubo77
  • 31,573
  • 49
  • 159
  • 281

4 Answers4

13

Try this in the terminal: dolphin /usr/home/ (choose your own path). For more information, read the man page (also available online: http://manpages.ubuntu.com/manpages/hardy/man1/dolphin.1.html).

don.joey
  • 28,402
  • 17
  • 82
  • 104
5

If you would like to open dolphin from your current path in your terminal just use,

dolphin . &
neonidian
  • 271
  • 3
  • 5
4

Help pages

The KDE applications have the help - with the 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

Launch with the default application

The KDE has the "Default Appications" in the KDE system settings.

The kfmclient is:

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

Opening the directory with the default file manager:

kfmclient exec /path/to/the/directory/
user26687
  • 14,874
  • 1
  • 38
  • 43
0

Use --select option, for example

dolphin --select .

dolphin --select /

dolphin --select /path/you/want/.

It won't run as a foreground job in the terminal, so it won't block your terminal session and there is no for & etc and it can take extra arguments

Inoperable
  • 101
  • 2