tmoe icon indicating copy to clipboard operation
tmoe copied to clipboard

TMOE, More Optional Environments.

TMOE

TMOE, More Optional Environments.

Documentation

doc.tmoe.me

Preview

locale
container menu
debian-xfce

Quick Start

Just focus on steps 1 and 2.

Step Description command
0(optional) access to tmp dir cd /tmp || cd $TMPDIR
1 get awk file curl -LO https://l.tmoe.me/2.awk
2 run it awk -f 2.awk
2.5(optional) pass in specific vars awk -f 2.awk -v lang=zh-mo -v tmp_dir="/tmp"

If you can't remember, then you can use this.

rm 2.awk; wget l.tmoe.me/2.awk; awk -f 2.awk

Although it will automatically redirect http to https.
However, in theory you need to worry about http hijacking if you don't add https.
So, it's better to add it!


Q: I have a garbled code problem, what should I do?

non-utf8

If the "garbled content" is not a human-readable word or sentence, this may be a character encoding or font issue.
If you see something in a foreign language that you don't understand, it may be a problem with an older version of i18n.
I'm sorry that I didn't handle i18n well.
But, the new edition released later may do better.

Obviously, the above is a character encoding issue.

You can specify lang as English: awk -f 2.awk -v lang=en-us
You can also switch the encoding of the current environment to UTF-8: cmd /K chcp 65001

Incidentally, it is not planned to support windows for some time to come.
Please do not run it on windows now!
Although you can use it on WSL, win already has WSLg.
So, you know, you probably don't need it.


Q: Is there only one method or uri for installation?

A: No. As it is hosted on the git platform, you can also get it from github or gitee.

github:

curl -LO --compressed https://raw.githubusercontent.com/2moe/tmoe/2/2.awk
awk -f 2.awk

Great, but slightly long.

gitee:

curl -LO https://gitee.com/mo2/linux/raw/2/2.awk
awk -f 2.awk

In practice, the choice of uri depends on the state of your network.
If you have good internet. Just pick the one you like.