Launching the Gimp in English

Sjoerd Mullender sjoerd at acm.org
Tue May 1 15:30:36 UTC 2007


Dotan Cohen wrote:
> The Hebrew translation of the Gimp is very difficult to use because
> some items were reversed for Right-to-Left, but the places to click
> were not. Therefore, I'd like to use the gimp in English while keeping
> my locale Hebrew. I created a bash script in ~/bin called gimp and
> added it to my path:
> [dotancohen at localhost bin]$ pwd
> /home/dotancohen/bin
> [dotancohen at localhost bin]$ ls -l
> --snip--
> -rwxrwxr-- 1 dotancohen dotancohen       32 אפר 22 10:44 gimp
> [dotancohen at localhost bin]$ cat gimp
> #!/bin/bash
> export LANG=C
> gimp
> 
> [dotancohen at localhost bin]$ cat ~/.bash_profile
> --snip--
> PATH=$HOME/bin:$PATH
> 
> export PATH
> [dotancohen at localhost bin]$
> 
> However, when I right-click a file and "Open with Gimp" it does not
> open. What did I do wrong? Thanks in advance.
> 
> Dotan Cohen
> 
> http://lyricslist.com/
> http://what-is-what.com/
> 

The script calls itself, recursively.  Instead, change the call to gimp
in the script to use an absolute path name /usr/bin/gimp, and while
you're at it, also pass any command line arguments on.  So the line becomes:

/usr/bin/gimp "$@"


-- 
Sjoerd Mullender

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 369 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20070501/beaca5e5/attachment-0001.sig>


More information about the fedora-list mailing list