¿Cómo abro Dolphin en una carpeta determinada desde el terminal?


11

Me gustaría agregar un ícono de inicio a mi barra de tareas que se ejecuta dolphinpero inicialmente comienza en una carpeta que me gustaría especificar

El Manual Dolphin no explica esto.

Respuestas:



3

Páginas de ayuda

Las aplicaciones de KDE tienen la ayuda, con 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

Inicie con la aplicación predeterminada

El KDE tiene las "Aplicaciones predeterminadas" en la configuración del sistema KDE.

El cliente kfm es:

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

Abrir el directorio con el administrador de archivos predeterminado:

kfmclient exec /path/to/the/directory/

Esto se integraría bien con un alias o función de perfil bash
PandasRocks

2

Si desea abrir Dolphin desde su ruta actual en su terminal, simplemente use,

dolphin . &
Al usar nuestro sitio, usted reconoce que ha leído y comprende nuestra Política de Cookies y Política de Privacidad.
Licensed under cc by-sa 3.0 with attribution required.