Skip to content

Instantly share code, notes, and snippets.

@gmelodie
Last active January 29, 2020 21:48
Show Gist options
  • Save gmelodie/9f7d4168e105aca65588e445c9ef2171 to your computer and use it in GitHub Desktop.
Save gmelodie/9f7d4168e105aca65588e445c9ef2171 to your computer and use it in GitHub Desktop.
Script to open terminal with different language than system language using keyboard shortcuts
# I use French as the default system language but wanted my terminal to use en_US
# Change 'en_US' to the language you want your terminal to be
# Change 'gnome-terminal' to the command that calls your terminal emulator (e.g. konsole, xterm,...)
LANG=en_US gnome-terminal
# After that, create the shortcut (e.g. Ctrl+Alt+T) and name the action:
# /bin/bash /path/to/term-dif-lang.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment