[Github-comments] [geany/www.geany.org] Update tips about change language on unix (#28)

elextr notifications at xxxxx
Sat Nov 28 20:52:05 UTC 2020


@elextr commented on this pull request.



> @@ -149,10 +149,19 @@ Simply start Geany like this:
 and of course, change "C" to your language code (see above) or set
 your locale specific environment variables accordingly.
 
-If your system supports launcher shortcuts (for example, `.desktop` files),
-then Geany's shortcut can be updated (created a new one) to add the `LANG`
-setting as shown above. In case of `.desktop` files, this usually goes into
-the `Exec` line.
+If your system supports launcher shortcuts then Geany's shortcut can be updated
+to add language setting. For example, in 
+[modern `.desktop` files](https://developer.gnome.org/desktop-entry-spec/#exec-variables),
+this usually goes into the `Exec` line:
+
+	Exec=/bin/sh -c "LANGUAGE=en_IN /usr/bin/geany %F"
+
+As alternative, one can create a shell script (like in `~/.local/bin/geany`) to 

Suggest replacing the parenthesised part with "in any directory in your `$PATH`"

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/www.geany.org/pull/28#pullrequestreview-540417049
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20201128/dcb2f108/attachment.htm>


More information about the Github-comments mailing list