Interfaces of the future - Psychology, Philosophy, and Licenses

Users browsing this thread: 4 Guest(s)
seninha
Long time nixers
I dream of writing a GUI interface made up of individual programs glued together via pipes just like a TUI is made up of several cli programs glued together via pipes.

For example, suppose I'm writing a file manager.

The text input for path writing would be done by dmenu or a program like it, just like the Surf window manager uses dmenu for URL writing. So the file manager calls dmenu, the user types something and dmenu outputs what the user has typed for the file manager to use.

Item selection with the mouse would be outsourced to a program like xrectsel or slop embedded in the file manager's window. The file manager calls xrectsel, the user graphically select the files he wants with the mouse, and xrectsel returns to the file manager the selected area on its window.

Right-click context menu would be done by a program like xmenu. The file manager calls xmenu with all the options it supports (or with the options specified in a text file), the user selects the option he wants, and xmenu returns to the file manager the option the user selected.

Menu bar would be done by a program that mirrors MacOS' menu bar. It would be run at the top of the screen and show a menu for the focused window. When the user select a menu, it will pipe to the file manager the option he selected.

Key binding would be done by a program that listens to Ctrl+Key presses and send to the file manager the corresponding command. This way, the file manager need not to implement key bindings, as it is outsourced by another program, and the user can keep all his keybindings for separate programs in a single configuration file.

Status bar would be done by a program the file manager pipes a line to.

And so on.

All components of the graphic interface of the would be a separate generic program that can be glued together to form a single interface.

And the file manager itself could be a generic program: it could be a “GUI lister” that just shows graphically with icons the entries it gets from another program and send the selected item to a third program.
• So combining this “GUI lister” with ls and a file opener script, for example, you create a file manager.
• Combining it with a list of songs and with a cli program that play music files you create a music navigator program.
• Combine it with a list of torrents and transmission and you create a torrent client.
• Combine it with a list of your mailbox content and a text editor and you get a MUA.


Messages In This Thread
Interfaces of the future - by z3bra - 30-11-2018, 12:15 PM
RE: Interfaces of the future - by venam - 30-11-2018, 01:09 PM
RE: Interfaces of the future - by jkl - 30-11-2018, 01:39 PM
RE: Interfaces of the future - by z3bra - 30-11-2018, 02:37 PM
RE: Interfaces of the future - by twee - 30-11-2018, 09:55 PM
RE: Interfaces of the future - by twee - 30-11-2018, 09:57 PM
RE: Interfaces of the future - by jkl - 30-11-2018, 10:09 PM
RE: Interfaces of the future - by z3bra - 01-12-2018, 03:08 AM
RE: Interfaces of the future - by twee - 01-12-2018, 07:31 AM
RE: Interfaces of the future - by jkl - 01-12-2018, 12:40 PM
RE: Interfaces of the future - by z3bra - 02-12-2018, 06:06 AM
RE: Interfaces of the future - by Steph - 03-12-2018, 12:58 PM
RE: Interfaces of the future - by twee - 04-12-2018, 07:37 PM
RE: Interfaces of the future - by jkl - 05-12-2018, 06:53 AM
RE: Interfaces of the future - by Steph - 05-12-2018, 10:14 AM
RE: Interfaces of the future - by mrtn - 06-12-2018, 08:44 AM
RE: Interfaces of the future - by z3bra - 06-12-2018, 09:35 AM
RE: Interfaces of the future - by jkl - 06-12-2018, 09:45 AM
RE: Interfaces of the future - by Steph - 06-12-2018, 11:26 AM
RE: Interfaces of the future - by Steph - 06-12-2018, 11:27 AM
RE: Interfaces of the future - by mrtn - 06-12-2018, 05:19 PM
RE: Interfaces of the future - by Steph - 06-12-2018, 05:44 PM
RE: Interfaces of the future - by venam - 25-08-2020, 06:09 AM
RE: Interfaces of the future - by z3bra - 25-08-2020, 09:24 AM
RE: Interfaces of the future - by seninha - 25-08-2020, 03:25 PM
RE: Interfaces of the future - by venam - 25-08-2020, 03:33 PM
RE: Interfaces of the future - by ckester - 25-08-2020, 07:50 PM
RE: Interfaces of the future - by ckester - 25-08-2020, 08:22 PM
RE: Interfaces of the future - by venam - 27-08-2020, 02:49 AM
RE: Interfaces of the future - by pfr - 26-04-2021, 03:24 AM
RE: Interfaces of the future - by venam - 26-04-2021, 04:06 AM
RE: Interfaces of the future - by pfr - 27-04-2021, 03:23 AM
RE: Interfaces of the future - by venam - 27-04-2021, 03:35 AM
RE: Interfaces of the future - by pfr - 28-04-2021, 02:15 AM