....why the hell don't common emulators have a "plumb" feature.
sure, you can click URLs, but how often do you wanna do that compared to opening a file?
pls, Linux, steal more ideas from Plan 9.

Follow

@Ylfingr the plumber is "an interprocess communication tool" on Plan 9 and related systems, but really it's just xdg-open but kinda better.
You can select some text and send it to the (well, a) plumber service, which matches it against your plumb rules, and decides what to do with it. Usually it opens it with some kind of program.
This means that you can open files, but also have rules for stuff like git commits, so when you plumb one, it gets dumped in diff form somewhere.
It's usually accessible through a menu item or is bound to right-click.

· brutaldon · 5 · 3 · 3

@Ylfingr On a proper Plan 9 system, you can also run multiple plumbers, so you could use different plumbing rules in different namespaces.

@grainloom @Ylfingr sounds useful.

I'm not sure how I would use it, other than automating very common copy paste tasks

@alex_from_alaska @Ylfingr the rather limited use case i have in mind is to simply absolve me from having to select file paths on a touch screen. (i wanna do some coding stuff on my PinePhone)

@grainloom @Ylfingr And not to mention plumbing channels, applications that you plumb to will usually open a channel and then receive any successive matches. The web browser will get successive links, your document/image viewer page (1) will open successive documents you plumb, etc.

@grainloom @Ylfingr first I thought "why would you like that". Then I read how it should work (using xdg-open) and thought, awesome, I need that one.

Actually I won't use it that often. Probably for images and videos but not text files. But I use the URL feature multiple times a day. All our got servers send me the URL to create pull requests / merge resuests. Using the click on URL saves me quite some time a day.

Sign in to participate in the conversation
Cybrespace

cybrespace: the social hub of the information superhighway jack in to the mastodon fediverse today and surf the dataflow through our cybrepunk, slightly glitchy web portal support us on patreon or liberapay!