Re: Launching the Gimp in English

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/05/07, Sjoerd Mullender <sjoerd@xxxxxxx> wrote:
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@localhost bin]$ pwd
> /home/dotancohen/bin
> [dotancohen@localhost bin]$ ls -l
> --snip--
> -rwxrwxr-- 1 dotancohen dotancohen       32 אפר 22 10:44 gimp
> [dotancohen@localhost bin]$ cat gimp
> #!/bin/bash
> export LANG=C
> gimp
>
> [dotancohen@localhost bin]$ cat ~/.bash_profile
> --snip--
> PATH=$HOME/bin:$PATH
>
> export PATH
> [dotancohen@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 "$@"



I can't believe I didn't realize that's what it was doing. Thanks!

Dotan Cohen

http://technology-sleuth.com/question/what_is_a_router.html
http://what-is-what.com/what_is/wikipedia.html


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux