## Capítulo 2. Starting GIMP

## 1. Executando o GIMP

Usually you start GIMP either by clicking GIMP's icon on your desktop (if available), selecting it from a menu, or by typing gimp on a command line. If you have multiple versions of GIMP installed, you may need to add the exact version number: gimp-3.0.

You can, if you want, provide a list of image file names on the command line after the program name so that GIMP automatically opens those files after it starts. It is also possible to open files from within GIMP once it is running using the Open Image Dialog.

Most operating systems support file associations, which associates a class of files (as determined by their filename extension, such as .jpg) with a corresponding application (such as GIMP). When image files are properly “associated” with GIMP, you can double click an image in your file browser to open it in GIMP.

If you installed the Flatpak version of GIMP from flathub.org, you start GIMP either by clicking an icon, or by typing flatpak run org.gimp.GIMP//stable on a command line.

### 1.1. Changing the Language

GIMP automatically detects and uses the system language. In the unlikely event that language detection fails, or if you want to use a different language, the easiest way is to change the language used in the Interface Preferences: Edit → Preferences, then go to the Interface section; Language can be set at the top.

If you prefer to change language by setting environment variables, you can use:

No Linux

  In LINUX: in console mode, type `LANGUAGE=en gimp` or `LANG=en gimp` replacing en with fr, de, etc. according to the language you want. Background: Using `LANGUAGE=en` sets an environment variable for the executed program `gimp`.

Under Windows

  Control Panel → System → Advanced → Environment button in “System Variables” area: Add button: Enter LANG for Name and fr, de, etc. for Value. Watch out! You have to click OK three successive times to validate your choice.

  If you change languages often, you can create a batch file to change the language. Open NotePad. Type the following commands (for French for instance):

  `set lang=fr
  start gimp-3.0.exe`

  Save this file as `GIMP-FR.BAT` (or another name, but always with a `.BAT` extension). Create a shortcut and drag it to your desktop.

Under Apple macOS

  From System Settings, click General in the sidebar. Then select Language & Region. The desired language should be the first in the list.

Another GIMP Instance

  You can use command line parameter `-n` to run multiple instances of GIMP. For example, `gimp-3.0` starts GIMP in the default system language, and `LANGUAGE=en gimp-3.0 -n` starts another instance of GIMP in English. This can be very useful for translators.

### 1.2. Argumentos da Linha de Comando

Although command line arguments are not required when starting GIMP, they can be useful in certain situations. On a Unix system, you can use `man gimp` for a complete list.

These arguments must be added to the command line that you use to start GIMP as gimp-3.0 [OPTION...] [FILE|URI...], where “OPTION...” can be one or more of the arguments listed below, followed by one or more file names.

-?, -h, --help

  Display a list of all command line options.

--help-all

  Mostra todas as opções de ajuda.

--help-gegl

  Show all GEGL options.

--help-gtk

  Mostrar as opções do GTK+.

-v, --version

  Imprime a versão do GIMP e sai.

--license

  Mostrar informações de licença e sai.

--verbose

  Mostrar as mensagens de inicialização em detalhes.

-n, --new-instance

  Iniciar uma nova instância do GIMP.

-a, --as-new

  Abre as imagens como se fossem novas.

-i, --no-interface

  Executa sem uma interface de usuário, por exemplo, para se executar um script automaticamente, junto com a função --batch

-d, --no-data

  Não carrega texturas, degradês, paletas ou pincéis. Muitas vezes, útil em situações não-interativas, onde o tempo de inicialização deve ser minimizado.

-f, --no-fonts

  Não carrega nenhuma fonte (tipográfica). Isso é útil para carregar o GIMP mais rápido para os scripts que não utilizam fontes, ou para encontrar problemas relacionados a fontes com problemas que possam fazer o GIMP travar.

-s, --no-splash

  Não mostra a tela inicial durante a inicialização.

--no-shm

  Do not use shared memory between GIMP and plug-ins.

--no-cpu-accel

  Não use funções especiais de aceleração de CPU. Útil para encontrar ou desativar bugs das funções aceleradas em hardware.

--session=`nome`

  Use a different `sessionrc` file for this GIMP session. The given session name is appended to the default `sessionrc` filename.

-g, --gimprc=`filename`

  Use an alternative `gimprc` file instead of the default one. The `gimprc` file contains a record of your preferences. Useful in cases where plug-in paths or machine specs may be different.

--system-gimprc=`Nome do arquivo`

  Use an alternate system `gimprc` file.

-b, --batch=`comandos`

  Execute the set of commands non-interactively. The set of commands is typically in the form of a script that can be executed by one of the GIMP scripting interpreters. When the command is `-`, commands are read from standard input.

--batch-interpreter=`proc`

  Especificar o procedimento a usar para processar os comandos de lote. O procedimento padrão é o Script-Fu.

--quit

  Quit immediately after performing requested actions

-c, --console-messages

  Do not display dialog boxes on errors or warnings. Print the messages on the console instead.

--pdb-compat-mode=`modo`

  Modo de compatibilidade do PDB. Os modos são "off", "on", "warn" (desligado, ligado, aviso). O padrão é "aviso".

--stack-trace-mode=`modo`

  Depurar no caso de uma falha. Os modos são "never", "query", "always" (nunca, consultar, sempre)

--debug-handlers

  Habilita manipuladores de sinais de depuração não-fatais. Útil para depuração do GIMP.

--g-fatal-warnings

  Make all warnings fatal. Useful for debugging.

--dump-gimprc

  Imprime um arquivo gimprc com as configurações padrão. Útil se você estragou o seu arquivo gimprc.

--show-playground

  Show a preferences page with experimental features.

--display=`display`

  Use o display X designado (não se aplica a todas as plataformas).

### 1.3. Configuration Folder

When first run, GIMP creates a configuration folder. All of the configuration information is stored in this folder. If you remove or rename the folder, GIMP repeats the initial configuration process and creates a new configuration folder.

The exact location of your configuration folder depends on your Operating System:

Under Linux:

  `$XDG_CONFIG_HOME`

  Usually: `$HOME/.config/GIMP/3.0/`

Under Microsoft Windows using environment variables:

  `%APPDATA%\GIMP\3.0\`

  Usually: `%USERPROFILE%\AppData\Roaming\GIMP\3.0\`

Under Apple macOS:

  `NSApplicationSupportDirectory`

  Usually: `~/Library/Application Support/GIMP/3.0/`

### 1.4. Tips and Tricks

Just a couple of suggestions before you start:

- GIMP can provide tips you can read at any time using the menu command Help → Tip of the Day. The tips provide information that is considered useful, but not easy to learn by experimenting; so they are worth reading. Please consider reading the tips when you have the time.

- If at some point you are trying to do something, and GIMP seems to have suddenly stopped functioning, the Getting Unstuck section may be able to help you out.

- Don't forget to check out the Preferences Dialog. GIMP is very customizable. There are a lot of settings that you can adjust to your personal preferences.

2. O que há de novo no GIMP |  | Capítulo 3. First Steps with GIMP

Report a bug in GIMP Report a documentation error