r/linux_programming • u/Techdesciple • Feb 24 '21
A mouse based Terminal Emulator.
I made a post yesterday here and it got me thinking that maybe someone should make a Terminal Emulator that is capable of 100 percent mouse. It seems they do not exist. I am not a programmer. At least not yet. So, I figured I would post the idea somewhere and see if anyone takes it. If you want it you can have it.
But, basically I just want someone to make a Terminal that uses the mouse instead of the keyboard. Which everyone wants to use the keyboard more than anything. But, I think it would be possible to use the mouse just as efficiently.
You could just set up a series of functions based around the mouse. Some mice have multiple buttons on it. Mine has 4 " buttons " and a scroll wheel with a click function. That is 7 actions. The common user usually has at least 2 fingers on the mouse. But, I often have 4 on the mouse. That means I can take 7 buttons and combine it with 4 different combinations. That is actually a lot of functionality.
Most terminal functions are the same. You could even make a .conf file that allows you modify what is programmed into the mouse terminal.
As an example I could use Button 4 + scroll for a list of apt-get commands. I could use Button 5 + scroll for a sequence of other commands. I could set just scroll as a common commands and then right click + scroll for common arguments. Right clicking could give the user a very large series arguments based on what they are right clicking. And that is only a small selections of the combinations you could achieve. it doesn't even cover. Button 4 + 5 + right-click + scroll, ect ,ect ,ect.
and of course you would have to give it hardware acceleration.
View all comments
Show parent comment
2
u/Techdesciple Feb 24 '21
I will not be writing it anytime soon. I have barely figured out linux terminal as it is and have had maybe one lesson in C.
So, I am only putting the idea out there because I think it would be cool.
But, there is grey area and room to improve on my design.
But, that is kind of the beauty of it. You could program the mouse combinations and/or gestures to whatever you wanted. Unlike the common GUI where you are limited to just what the person who wrote the code thinks you need. Because it is still with in a terminal emulator it will run any program in it's path. So, you could even add your own scripts to it.
But, yea brainstorming is more than welcome.