this post was submitted on 01 Oct 2024
370 points (98.4% liked)

Linux

48332 readers
491 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
 

It started as a stupid project cause I was bored. How much can you actually do without a windowing environment?
After finding out how to post to lemmy from a TTY, I realized that I can do most things I do daily using text.
Browsing the web in links, which opens all sorts of files in the corresponding programs if configured correctly.
Opening images in fbi, PDFs in fbpdf, listening to music in cmus, watching movies in mplayer, using e-mail in alpine, creating documents in vim and latex, ...
The only thing that still requires a GUI is image editing and a few websites I need that don't work without JavaScript.
And it's actually really nice...more focused, without loading times, animations, popups, ads, or other distractions, and everything is scriptable.

Anyway, sorry for the blog post.

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 221 points 1 month ago (1 children)

Thatâ™s⠀rea​lly cool. � Ꭰо уо𝗎 𝗍һі𝗇𝗄 уо𝗎'ӏӏ со𝗇𝗍і𝗇𝗎е ᖯ𝗋о𝗐ѕі𝗇𝗀 ӏі𝗄е 𝗍һа𝗍? 

[–] [email protected] 158 points 1 month ago* (last edited 1 month ago) (4 children)

Fuck you, you really made me check on my phone if all my text looks like this :(
(Your comment showed up "fine", by the way)

Yes, I think I will. Not exclusively, of course. But starting Firefox in Wayland just takes a key combo and 5 seconds if needed.

[–] [email protected] 30 points 1 month ago
[–] [email protected] 8 points 1 month ago (1 children)

Starting Firefox takes 5 seconds? I start thinking I need to optimise if it takes more than 2

[–] [email protected] 24 points 1 month ago (6 children)

It takes 5 seconds when the PC has to start up a wayland compositor, first.

load more comments (6 replies)
load more comments (2 replies)
[–] [email protected] 61 points 1 month ago (5 children)

Are there any non-JavaScript websites left?

[–] [email protected] 38 points 1 month ago

Not OP, but some of them have non-JS version, in addition to the regular JS version; but yeah, a lot of sites are broken.

[–] [email protected] 28 points 1 month ago
[–] [email protected] 23 points 1 month ago

Surprisingly, a lot. And usually they're the more informative and less commercial ones.
Most websites that only show a "please enable Javascript" banner I just leave again. Very few I do need, for those I have a key combo that starts a window manager with maximized Firefox on another TTY.

[–] [email protected] 8 points 1 month ago

Neocities.org

[–] [email protected] 7 points 1 month ago (1 children)

Websites from alternative networks such as Onion, Freenet, I2P and GNUnet, where speed and privacy are a must-have. Onion webchats, for example, uses neverending-loading with iframes/HTML frames (and another frame/iframe with a standard HTML form), so to not depend on JS.

At the surface web (clearnet), however, it's harder to find. Even the remaining old sites, from blogosphere and personal tilde websites (those whose URL contained a tilde "~" followed by an username) have some degree of JS.

[–] [email protected] 5 points 1 month ago

Even the remaining old sites, from blogosphere and personal tilde websites (those whose URL contained a tilde "~" followed by an username) have some degree of JS.

Although those websites usually work totally fine without js

[–] [email protected] 44 points 1 month ago (6 children)

Welcome back to 1985 I guess. Now you're going to need a green phosphor CRT and a dot matrix printer.

[–] [email protected] 49 points 1 month ago (2 children)

I'd prefer a dot matrix printer over whatever the fuck HP makes now.

[–] [email protected] 9 points 1 month ago (2 children)

I doubt it. They make a hell of a noise and print at a rate of characters per second not pages per second. The ribbons suffered from similar issues as cassette tapes (the other ribbons that we had to deal with). The ribbon would dry out if not used for a few days and you'd waste paper and a lot of time.

DM printers were ideal in the guise of "line printers" - the big old IBM jobbies that munched through A3 landscape fan fold at ridiculous speeds. Home printers like the Epson FX80 or RX80 were at least affordable. I still remember the manual of our RX80 congratulating us on buying it and exhorting me to hug the printer on unpacking it. I suspect the Japanese to English translation might not have been the best.

We had to get a Centronics interface board stuffed into our C64 and get it working (sacrifice a chicken on a waxing gibbous moon night, etc)

It worked better on my 80286 box, some years later. I had to set it up in each application - Harvard Graphics, Word Perfect, Super Calc.

In around 1991 I was able to buy a 80486 based beastie, thanks to gift from granddad. In around 1993 I was given a HP LJ 4P so I could print out proofs for a Plymouth (Devon) tourist tat thing.

Nowadays I have a fairly elderly HPE MFP five toner humming away at home. Its on a VLAN that doesn't get to see the internet. It just works. I won't be "upgrading" it for the foreseeable future.

load more comments (2 replies)
load more comments (1 replies)
load more comments (5 replies)
[–] [email protected] 29 points 1 month ago (1 children)

I may get hate for this, but... I do this a fair bit because I prefer TUIs for a lot of stuff, and also end up doing a lot of things in emacs because I usually have it open anyway...

[–] [email protected] 23 points 1 month ago (2 children)
[–] [email protected] 7 points 1 month ago

Bookmarked. Thank you!

Been attempting to learn bash again, will make is more appealing.

[–] [email protected] 6 points 1 month ago (3 children)

Thank you for this. aerc is going to save my sanity.

load more comments (3 replies)
[–] Drito 19 points 1 month ago (1 children)

You're following the Unix philosophy.

[–] [email protected] 13 points 1 month ago* (last edited 1 month ago) (2 children)

And I understand why some people are fonts enthusiasts, now.

On the console, you only have 256 colors and 1 font to customize your "desktop".

[–] [email protected] 5 points 1 month ago

How about a console with cursive writing font? That's probably the reason why it's named cursive. Because of all the curses of the users.

load more comments (1 replies)
[–] [email protected] 17 points 1 month ago (1 children)

Sometimes it's nice to put the ADHD away and just have simple fucking interfaces without all the stupid distractions.

This was my exact experience browsing the Social Media on gemini:// -- it was glorious how less can actually be more.

[–] [email protected] 12 points 1 month ago

I'd love to put the ADHD away sometimes :(

[–] [email protected] 14 points 1 month ago (1 children)

What about the Lynx browser...it's TTY isn't it..?

[–] [email protected] 8 points 1 month ago (2 children)

yes it only shows the filename of an image. But you can set it up to open images in an external image viewer when you click on it.

load more comments (2 replies)
[–] [email protected] 13 points 1 month ago (1 children)

image editing

imagemagick for basic transformations/compression/conversions, CLI (locally hosted) AI for the shops

load more comments (1 replies)
[–] [email protected] 13 points 1 month ago

It's 2008. I'm posting this from the browser on my Nintendo Wii.

[–] [email protected] 9 points 1 month ago (1 children)

Nowt wrong with a tty interface. All you need is a gif->ASCII converter and you can view the images too.

[–] [email protected] 10 points 1 month ago

The default video output device of a Linux TTY is the framebuffer.
I have no issues viewing images and PDF documents, or watching videos.

[–] [email protected] 9 points 1 month ago (2 children)

What did you use to do so?

[–] [email protected] 22 points 1 month ago (2 children)

I tried w3m, lynx, links and elinks, which all failed cause they don't support JavaScript, which is necessary to log in.
Then I tried Browsh and Carbonyl, which failed cause they both don't accept mouse clicks in a TTY and offer no keyboard navigation.

Then I tried Neonmodem Overdrive, a CLI fediverse browser, which I just couldn't get to show any posts.

In the end, @[email protected] gave me the hint that some instances have alternative "old-reddit-like" frontends that allow logging in without JavaScript.
And my home instance with old.feddit.org is one of them. So now I'm using links, cause it's the most user-friendly text browser IMO.

load more comments (2 replies)
[–] [email protected] 16 points 1 month ago (4 children)

OP shared the tools they used, you've probably missed it.

- browser - links

- image viewer - fbi

- PDFs - fbpdf

- music - cmus

- movies -mplayer

- e-mail - alpine

- documents - vim, latex

[–] [email protected] 5 points 1 month ago

Ah gotcha. I'm on cell so it just looks unformated text.

load more comments (3 replies)
[–] [email protected] 9 points 1 month ago (5 children)

Lol so cool. My fav text apps are toot for mastodon and maybe gomuks or iamb for matrix/element. Also what Lemmy app r u using?

load more comments (5 replies)
[–] [email protected] 6 points 1 month ago

Forget gpus. A framebuffer is all you need :)

[–] [email protected] 6 points 1 month ago (3 children)

Your post made me wonder, so I checked and of course it exists. Behold, a text-mode Lemmy client: Neon Modem Overdrive

load more comments (3 replies)
[–] [email protected] 6 points 1 month ago* (last edited 1 month ago) (2 children)

How much can you actually do without a windowing environment? [...] Opening images in fbi, PDFs in fbpdf, listening to music in cmus, watching movies in mplayer

~~Maybe not an "environment" but it sounds like you're at least using a window manager. The PDFs and videos, not to mention web browser, are gonna be hard to pull off from a raw shell.~~ [Hard but not that hard, apparently!]

But that's a detail. Otherwise I share your enthusiasm, I've been doing things this way for a while. Basically: tiling window manager + TUI file manager + scripts which do precisely what I want, if possible in the terminal, if necessary by launching a GUI app. In practice the GUI apps are Firefox, mapping app, and messaging apps.

The general discovery I made was this: for the small price of foregoing pretty colors and buttons and chrome, you can get a computer to do exactly what you want it to do much quicker. Assuming a willingness to learn a bit of shell scripting, of course.

For example: I have a button which runs a script with getmail that pulls in my email and then deploys ripmime and weasyprint to convert it to datestamped PDF files, which it dumps with any attachments directly into an inbox folder. In other words, I have made ranger into my email client and I never need to "download" anything, it's already there.

And those PDFs I can then manipulate with a bunch of shell scripts that use standard utilities, i.e. to split them, merge them, shrink them, clean them of metadata, even make them look like they come from photocopied paper (dumb bank!). All the stupid shit I once did with 10 manipulations hunting thru menus with a pointer in a fiddly app and always forgetting how it was done. Now I just select the file in the terminal, hit a button and it's done, I don't even see the PDF.

Of course, it's not for everyone, but this is the promise of free computing.

[–] [email protected] 7 points 1 month ago* (last edited 1 month ago) (1 children)

No, I'm not using a window manager, X nor Wayland.
Images, PDFs and video can be rendered on the framebuffer, which has been the standard output for Linux TTY's for a while now.
For multitasking, I use tmux, which works a lot like a tiling window manager, but for the text console.

load more comments (1 replies)
[–] [email protected] 5 points 1 month ago* (last edited 1 month ago) (2 children)

The general discovery I made was this: for the small price of foregoing pretty colors and buttons and chrome, you can get a computer to do exactly what you want it to do much quicker. Assuming a willingness to learn a bit of shell scripting, of course.

I find the emphasis people put on speed interesting, because by far the slowest part of any interaction I have with my computer is caused by me just figuring out what I'm doing next. When I'm functioning at top speed not needing to click around, or say, having the perfect keyboard shortcut, would save me only fractions of a second.

Actually.. to add to this I think the cognitive load of visually navigating is much lower than typing specific things it. I think this is why I find I'd prefer to click around my bookmarks or files to find something than just pull up a "Find" dialog and type something reasonable in.

load more comments (2 replies)
[–] [email protected] 6 points 1 month ago (1 children)

You get a similar feeling using the console a lot in full screen. It's just a very peaceful, focused experience.

[–] [email protected] 7 points 1 month ago

That’s actually a good point. I’m a TUI guy as much as the next one but I normally use full screen terminal and tmux instead of larping the 90s.

Deeply respect the hustle - I was also X-free in the early 00s - but I wonder what is the advantage of going raw tty instead of full screen terminal in a wm

[–] [email protected] 4 points 1 month ago* (last edited 1 month ago) (4 children)

I'd love to be able to ditch the gui entirely, I've found working from a TTY really helps me focus on the actual work I'm supposed to be doing

Unfortunately the one impossible hurdle is the web browser. Have kinda got around the need for it mostly with an llm cli for basic questions but will always find myself needing to fire up a window manager just to get a browser eventually

Also doesn't help that I'm primarily a web developer

load more comments (4 replies)
load more comments
view more: next ›