how to start an application in a seperate instance?

Arne Götje (=?utf-8?q?=E9=AB=98=E7=9B=9B=E8=8F=AF?=) arne at linux.org.tw
Mon Aug 9 04:36:36 BST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> I would make a separate menu entry for the two languages.  E.G.:
>
> 	Mozilla (Japanese)
> 	Mozilla (Chinese)
>
> You can modify the existing 'desktop' file to do this.
>
> You can normally just add this to the command line in your 'desktop'
> file:
>
> 	Exec=LC_CTYPE=<type> mozilla
>
> If the command line gets too long, write a short script.  And
> remember if you have a " " (space) that is not a delimiter, then use
> quote marks.

I tried this, but with the same results, like I described it earlier. 
When the Chinese instance is running and I start the Japanese one, the 
second instance will still have the Chinese settings and not the 
Japanese ones.
I have to close the Chinese instance first and then can start the 
Japanese one. But this is not what I want. :(
I tried this with mozilla and kmail.

> This appears to be an issue which you might want to post to
> 'kde-usability' or write a wishlist bug since in your case, you need
> to be able to switch your location and X configuration without
> restarting KDE and this currently isn't possible.

The "perfect" way would be to include this into the keyboard layout 
changing function in KDE (which currently uses XDM to change the 
keyboard layout). I wonder if it would be possible to use the same 
method for environment variables. But I guess not, because XDM is a 
builtin function in X and I don't know any X method to change 
environment variables on the fly. I presume there is none.

Anyways, the proper way would be to switch from XIM to IIIMF anyways. 
But IIIMF is still in it's infancy. Although, GTK2 apps seem to support 
it already, I wasn't able to use it. The applications crashed. :(
I will put it on the wishlist anyways (although, I suppose this would be 
a QT issue?)

Cheers
Arne 
- -- 
Arne Götje (高盛華) <arne at linux.org.tw>
PGP/GnuPG key: 1024D/685D1E8C
Fingerprint: 2056 F6B7 DEA8 B478 311F  1C34 6E9F D06E 685D 1E8C
Key available at wwwkeys.pgp.net.   Encrypted e-mail preferred.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBFvFMbp/QbmhdHowRAuT7AJ9tDYgHlLjV/+p+rHnz5z24juC6GACgnvFp
SuFpXn8PyhdYTkvY2NEfnio=
=1HvH
-----END PGP SIGNATURE-----
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list