Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Chapter 2. Fire up the GIMP

1. Running GIMP

Most often, you start GIMP either by clicking on an icon (if your system is set up to provide you with one), or by typing gimp on a command line. If you have multiple versions of GIMP installed, you may need to type gimp-2.6 to get the latest version. You can, if you want, give a list of image files on the command line after the program name, and they will automatically be opened by GIMP as it starts. It is also possible, though, to open files from within GIMP once it is running.

In most operating systems, you can set things up so that various types of image files are “associated” with GIMP, and cause it to start automatically when icons for them are double-clicked.

1.1. Known Platforms

The GIMP is the most widely supported image manipulation available today. The platforms that The GIMP is known to work on include:

GNU/Linux™, Apple Mac OS X™, Microsoft Windows™, OpenBSD™, NetBSD™, FreeBSD™, Solaris™, SunOS™, AIX™, HP-UX™, Tru64™, Digital UNIX™, OSF/1™, IRIX™, OS/2™, and BeOS™.

The GIMP can easily be ported to other operating systems because of its source code availability. For further information visit the GIMP developers homepage. [GIMP-DEV].

1.2. Language

All being well, GIMP detects the system language. This may fail on some machines and you may want use another language. It is possible to change the language:

Linux

In LINUX: in console mode, type LANGUAGE=en gimp or LANG=en gimp replacing en by fr, de, ... according to the language you want. Background: By using LANGUAGE=en you're setting an environment variable for the executed program gimp here.

Windows XP

Control PanelSystemAdvancedEnvironment button in “System Variables” area: Add button: Enter LANG for Name and fr or de... for Value. Watch out! You have to click on three successive OK to validate your choice.

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

set lang=fr
start gimp-2.6.exe

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

Another possibility: StartProgramsGTK Runtime Environment Then Select language and select the language you want in the dropping list that shows up.

Apple Mac OS X

Go to System Preferences, click on the International icon, and in the Language tab, the desired language should be the first in the list.

Another GIMP instance

You can have a new GIMP instance by running the command line with the -n option: For example: gimp-2.6 for GIMP in your language and LANGUAGE=en gimp-2.6 -n to have GIMP in English also. This is useful for translators.

1.3. Command Line Arguments

Ordinarily you don't need to give any arguments when starting GIMP, but here is a list of some that may at one time or another be useful. This is not a complete list; on Unix systems you can get a complete list by running man gimp in a terminal window.

To use the command line options, you have to put them in the command line which you use to start GIMP as gimp-2.6 [OPTION...] [FILE|URI...].

-?, --help

Display a list of all commandline options.

--help-all

Show all help options.

--help-gtk

Show GTK+ Options.

-v, --version

Print the version of GIMP being used, and exit.

--license

Show license information and exit

--verbose

Show detailed start-up messages.

-n, --new-instance

Start a new GIMP instance.

-a, --as-new

Open images as new.

-i, --no-interface

Run without a user interface.

-d, --no-data

Do not load patterns, gradients, palettes, or brushes. Often useful in non-interactive situations where start-up time is to be minimized.

-f, --no-fonts

Do not load any fonts. This option could be useful either for speeding up GIMP start-up for scripts that does not use fonts or to find malformed fonts related problems that could hang GIMP.

-s, --no-splash

Do not show the splash screen while starting.

--no-shm

Do not use shared memory between GIMP and plugins.

--no-cpu-accel

Do not use special CPU acceleration functions. Useful for finding or disabling buggy accelerated hardware or functions.

--session=name

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

--gimprc=filename

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

--system-gimprc=filename

Use an alternate system gimprc file

-b, --batch=commands

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 extensions. When commands is -, the commands are read from standard input.

--batch-interpreter=proc

The procedure to process batch commands with

--console-messages

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

--pdb-compat-mode=mode

PDB compatibility mode (off|on|warn).

--stack-trace-mode=mode

Debug in case of a crash (never|query|always)

--debug-handlers

Enable non-fatal debugging signal handlers. Useful for GIMP debugging.

--g-fatal-warnings

Make all warnings fatal. Useful for debug.

--dump-gimprc

Output a gimprc file with default settings. Useful if you messed up the gimprc file.

--display=display

Use the designated X display (does not apply to all platforms).


 
 
  Published under the terms of the GNU General Public License Design by Interspire