this post was submitted on 10 Sep 2023
265 points (97.2% liked)

Linux

48031 readers
1404 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I never imagined I'd like playing Tetris on the command line, on a terminal on my phone (termux), but here I am!

I couldn't find any Tetris app on fdroid, and just checked if pkgs had one. Lo and behold! It asked me to run pkgs install vitetris, and when I did, the tetris command was there to launch the game.

It's a two step process, as opposed to just launching an app, but it is very lightweight, no tracking, and FOSS.

For anyone with termux already installed and feeling a bit nostalgic, might be worth trying it out.

all 29 comments
sorted by: hot top controversial new old
[–] RootBeerGuy@discuss.tchncs.de 14 points 1 year ago

You did not ask for an alternative but just for visibility because its awesome: a great tetris clone is Techmino. It is on Github and I am getting it via Obtainium.

[–] nearjsss@reddthat.com 12 points 1 year ago (2 children)

Wow, I didn't know you could run a terminal on Android, I'll check it out, thank you

[–] Macropolis@lemmy.world 12 points 1 year ago (2 children)

Termux is so useful and fun.

[–] zwekihoyy@lemmy.ml 6 points 1 year ago (3 children)

out of curiosity, what do you use it for? I've never been able to find a useful function of it beyond a niche party trick

[–] derin@lemmy.beru.co 8 points 1 year ago (1 children)

I use it for backing up all my photos and videos (the DCIM folder) to my B2 repo using rclone.

It's genuinely amazing how useful it is.

[–] scarilog@lemmy.world 2 points 1 year ago (1 children)

There's a native foss android app called Round Sync that does this.

[–] derin@lemmy.beru.co 2 points 1 year ago

Oh, that client looks great.

Will check it out, cheers!

[–] jkozaka@lemm.ee 8 points 1 year ago (1 children)

I use it for YouTube-dl, and it's probably useful for programming too. There is a command to let it access shared storage, use that before anything else. Download it from f-droid. Play store build is broken.

[–] zwekihoyy@lemmy.ml 2 points 1 year ago* (last edited 1 year ago)

play store build is broken because of its insecurities via sdk29 usage.

[–] Sethayy@sh.itjust.works 3 points 1 year ago

box64(droid) makes it possible to run x64 applications, even with wine - so you can have a mini graphically accelerated desktop

[–] flashgnash@lemm.ee 1 points 1 year ago

Can also get a NixOS version of termux

[–] jcg@lemmy.world 10 points 1 year ago (2 children)

If you really want your mind blown check out UserLAnd

[–] yyyesss@lemmy.world 5 points 1 year ago

I've been using Andronix, how does this compare?

[–] pirate@lemmy.fmhy.net 3 points 1 year ago

There's also AnLinux (available in F-Droid)

It utilizes termux to run Linux distros on Android without root access.

[–] user@lemmy.one 11 points 1 year ago

ty, I had fun for 10m 👍

[–] krimsonbun@lemmy.blahaj.zone 11 points 1 year ago

also try running the command ssh playnetris.com, it's a server that allows you to play tetris by yourself or online with strangers

[–] 257m@lemmy.ml 5 points 1 year ago (1 children)

Nethack is also available on termux. I like to play on my Chromebook when at school.

[–] Cwilliams@beehaw.org 0 points 1 year ago (2 children)

Nice! I did the same thing until my school figured out how to block Google Play

[–] 257m@lemmy.ml 3 points 1 year ago

Yeah the restrictions on Chromebooks are really annoying. Termux is the only way I can actually program on my chromebook and if they remove that I guess it's time to buy a Thinkpad.

[–] lord_ryvan@ttrpg.network 1 points 1 year ago

You can download and run an apk of Termux (this is v118), or even of F-Droid so you can install Termux and keep it up to date.

[–] trslim@pawb.social 5 points 1 year ago

I am the man who arranges the blocks.

[–] Jordan_U@lemmy.ml 4 points 1 year ago

You can also play Tetris via Emacs.

https://www.emacswiki.org/emacs/TetrisMode

Starting with OS X, every Mac has shipped with Tetris out of the box 🙂.

[–] Cwilliams@beehaw.org 2 points 1 year ago

Does it support hjkl?

[–] UprisingVoltage@feddit.it 2 points 1 year ago (1 children)

So cool, I didn't even know it was possible. If you or someone else want to try a tetris app on F-Droid I recommend Blockinger

[–] lord_ryvan@ttrpg.network 1 points 1 year ago

I do not. The UX is mediocre and while it says it uses the 7-bag system, it doesn't do that, at all.

[–] Arda1@lemmy.world 2 points 1 year ago
[–] AceFuzzLord@lemm.ee 2 points 1 year ago

That's cool but looks like an absolute disaster to play with a smartphone keyboard. Or even just the buttons they give.

[–] flashgnash@lemm.ee 1 points 1 year ago

Have a look at netris also, open source multiplayer tetris that you can play by sshing into playnetris.com (or your own self hosted server

On termux you have to rebind the rotate buttons as they don't have a default value but on a pc they do