mntmn,
@mntmn@mastodon.social avatar

little productivity thing for linux that i would like: terminal integration of the XDG (?) "Recent" folder. make it an actual Folder ~/Recent with links to the files, or a FUSE fs. i often have to integrate console and desktop tools and this would make it less painful.

mntmn,
@mntmn@mastodon.social avatar

also would be nice to have a little more mouse interactivity integration in terminals. when i type ls, give me an icon next to each result that has a context menu or lets me drag that file handle to another app, or copy the path / open with. i.e. make a hybrid of file explorer and terminal.

soupglasses,
@soupglasses@hachyderm.io avatar

@mntmn You should look at midnight commander mc.

While not drag and drop, it is a more hybrid version of a file explorer and terminal. I have long thought of experimenting with a more modern take on the Norton Commander layout.

soupglasses,
@soupglasses@hachyderm.io avatar

@mntmn And i have xdg-open aliased to open. Which is one of my most used shortcuts. Any file i want to touch graphically is just a open image.jpg away.

Also really handy is to do open . to open the current folder in your file manager.

mntmn,
@mntmn@mastodon.social avatar

@soupglasses ohhh yeah i used to do that a lot on mac os

soupglasses,
@soupglasses@hachyderm.io avatar

@mntmn I have also created a l shortcut to print directories and pager print files for me.

I have also had the thought to create an edit shortcut that could open a wide variety of files for editing explicitly (nvim, gimp, audacity, etc). This however im uncertain if XDG can handle, and would require my own lookup table for mimetypes. :revblobfoxread:

mntmn,
@mntmn@mastodon.social avatar

@soupglasses the latter is really interesting. i have a feeling that xdg mimetypes are constantly messed up. so a replacement that you can only set up explicitly/where explicit manual rules have priority would be nice.

soupglasses,
@soupglasses@hachyderm.io avatar

@mntmn This is something i am personally angry at. Especially with regards to wine packaging.

I really do think one can easily solve a lot of xdg mimetype mismatches by packaging for usability, rather than packaging for what upstream gives you.

:blobfoxnotlikethis:

mntmn,
@mntmn@mastodon.social avatar

@soupglasses omg yes

whynothugo,
@whynothugo@fosstodon.org avatar

@mntmn There is an escape sequence that can include links (e.g.: file:///path/to/file) in terminals. A terminal could potentially allow a right click menu.

martijnbraam,
@martijnbraam@fosstodon.org avatar
6d03,
@6d03@mathstodon.xyz avatar

@mntmn sounds like you want plan9

mntmn,
@mntmn@mastodon.social avatar

@6d03 i have tried plan9 a few times and it is not like this?

6d03,
@6d03@mathstodon.xyz avatar

@mntmn not exactly, that's true. but it is, in the sense that all the text on screen is somehow interactive (and modifiable).

mntmn,
@mntmn@mastodon.social avatar

a DE on linux could really embrace and amplify the fact that linux people have to use the terminal a lot. instead of trying to hide that and emulate windows or mac os, integrate this duality really well.

cagatayy,
@cagatayy@mastodon.social avatar

@mntmn This reminded me of https://hisham.hm/userland/

phryk,
@phryk@mastodon.social avatar

@mntmn As somebody who might start developing their own DE in the next couple years… would you mind telling me a bit more?

I read the rest of your thread and most of this would seem to be stuff that shells and terminals have to do, not the DE.

phryk,
@phryk@mastodon.social avatar

@mntmn A thing that I've personally been pondering for a long time is the addition of a new basic stream besides stdin, -out and -error to hold structured data that can be visualized while a program is running. Things from simple progress bars for cp to complex graphs could be done this way – but I kinda think I'd have to write a new OS from scratch for that… ^^;

matzipan,
@matzipan@hachyderm.io avatar

@phryk @mntmn look at powershell

phryk,
@phryk@mastodon.social avatar

@matzipan That's gonna be tough on FreeBSD. 😅

Does powershell have an extra stream for structured data or some such thing?

// @mntmn

matzipan,
@matzipan@hachyderm.io avatar

@phryk hehe. If memory serves me right, yes, powershell has these structured streams in between processes.

phryk,
@phryk@mastodon.social avatar

@matzipan So, like more structured pipes? Nce, but I'm more interested in providing something the terminal can interpret and visualize.

matzipan,
@matzipan@hachyderm.io avatar

@phryk well you can always represent structured information how ever you want if enough structure exists. The problem is that currently that structure doesn't exist in posix.

I remeber in the 2010s there was some webkit-based terminal solution which was aiming to do something like you are suggesting, but I could never remember or find it any more 😓

phryk,
@phryk@mastodon.social avatar

@matzipan Yes, exactly – and I'd want something that is designed well enough to become a de-facto standard supported by most POSIX-y systems.

As for a webkit-based terminal… thanks, but no thanks. ^^;

matzipan,
@matzipan@hachyderm.io avatar
phryk,
@phryk@mastodon.social avatar

@matzipan Thanks!

dngrs,
@dngrs@chaos.social avatar

@phryk given that Powershell runs on MacOS and Linux it might not be that unrealistic!

phryk,
@phryk@mastodon.social avatar

@dngrs Huh, I actually was not aware of that. Is it straight-up FOSS? I mean I won't use it personally because MS, but code access would be nice for further research.

rubinjoni, (edited )
@rubinjoni@mastodon.social avatar

@mntmn Something like RStudio, but for Gnome. A GUI file manager with a terminal pane and a manual pane .
(Edit - typo)

wjt,
@wjt@mastodon.me.uk avatar

@mntmn There is an escape sequence to mark a region as a hyperlink. ls --hyperlink=auto emits it and VTE-based terminals (and surely others) can consume it. Ctrl+clicking any of the dotted-underlined filenames in this screenshot opens that file in the Graphviz viewer I have installed.

mntmn,
@mntmn@mastodon.social avatar

@wjt yep, i know, so maybe patching a context menu in there with some more options would be a low-hanging fruit

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • mdbf
  • DreamBathrooms
  • thenastyranch
  • ngwrru68w68
  • tacticalgear
  • magazineikmin
  • Youngstown
  • khanakhh
  • rosin
  • slotface
  • InstantRegret
  • everett
  • kavyap
  • cisconetworking
  • JUstTest
  • cubers
  • modclub
  • GTA5RPClips
  • ethstaker
  • osvaldo12
  • Durango
  • provamag3
  • normalnudes
  • tester
  • anitta
  • megavids
  • Leos
  • lostlight
  • All magazines