Comments (14)
It might be that easy. Consolation expects to access a VT and this kinda isn't that. Perhaps one, the other, or both could be extended to work together, or maybe much of Consolation's code needs to more or less be embedded into kmscon. If that's the case, it may not be a desirable solution. I haven't looked yet and if someone else has maybe I'm wasting my time even thinking about it or perhaps someone's already working on something. In which case working together might speed up development.
from kmscon.
MacSlow implemented some gpm-like mouse support a few months back: dvdhrm#99 (comment)
Given the work was done on a sibling fork, I don't imagine a rebase will be particularly straightforward, but it might be good to reach out.
from kmscon.
Related pull-request is also up... see #75
from kmscon.
I'd like to add, Consolation would be great, but better yet if offers accessing the clipboard/selection from scripting.
In the past, I tried to access selection with GPM and failed. Just my 2c.
from kmscon.
Likely this will require support first in https://github.com/Aetf/libtsm, which is what kmscon uses internally. I'm not familiar with mouse support in terminals in general, so can't estimation the amount of work needed. But feel free to experiment. I'll try to review if you end up with something and can explain to me :)
from kmscon.
MacSlow implemented some gpm-like mouse support a few months back: dvdhrm#99 (comment)
Given the work was done on a sibling fork, I don't imagine a rebase will be particularly straightforward, but it might be good to reach out.
I still need to do that... and hopefully will do this in the next few days... since I want to get my stuff in the hands of more people able to easily test mouse/cut/paste support and my gyro-sensor stuff.
In case people wonder what I am talking about... have a look at the "screencasts" here: https://www.youtube.com/playlist?list=PLXvTBWcnTI1OHF7-Op-ASYsQKKg1TYb5Z
Just wanted to jump in and say it's coming and I am not dead ;)
from kmscon.
Moved/ported the output-rotation support already... see https://github.com/MacSlow/kmscon-aetf/tree/aetf-output-rotation-support.
This is against aetf's develop branch.
Now working on the mouse-selection/cut/paste support... maybe by tomorrow if all things go smooth. After that the gyro-sensor support.
from kmscon.
Just finished moving/porting over the mouse selection/cut/paste support too. If you want to try it out give https://github.com/MacSlow/kmscon-aetf/tree/aetf-mouse-support a spin. This also includes the output-rotation support, since it's build on top of that branch.
The gyro-sensor support is the last thing I still need to do, but that will have to wait for tomorrow... I am dead tired right now... good night!
from kmscon.
Wow amazing! Thank you.
Will try to test the mouse support this week.
from kmscon.
For what it's worth... Consolation can be found here: https://salsa.debian.org/consolation-team/consolation. So far, as @Aetf mentioned, libtsm does not yet interface with Consolation in any way. Thus there is no clipboard- or scripting-support in the mouse-selection I implemented... if that's what Consolation provides.
That being said, there is nothing stopping libtsm to be extended with probing-support of a running Consolation-daemon and using that if found or if not found falling back to my current implementation.
I am just looking into the codebase of Consolation to see/guess what amount of work it might be.
from kmscon.
The gyro-sensor stuff is also ported now. It's in branch https://github.com/MacSlow/kmscon-aetf/tree/aetf-gyro-support.
This is how stuff looks like now:
- aetf's develop branch -> my aetf-output-rotation-support branch -> my aetf-mouse-support branch -> my aetf-gyro-support branch
I also wrote viccie30 about me finally having ported my stuff over. At the end of January I contacted Victor that I was working on these three features and was wondering how to upstream stuff. Not having my patches based on aetf's branch was the major blocker. With this now sorted, I hope it'll be easier to get things upstream.
from kmscon.
Hello alll,
On raspberry Dietpi, I'm new to kmscon but up to now it matches most of my needs and look very promising, I just wonder why mouse support is not yet included. Is there anything I could do to help?
have a nice day
from kmscon.
Hello alll, On raspberry Dietpi, I'm new to kmscon but up to now it matches most of my needs and look very promising, I just wonder why mouse support is not yet included. Is there anything I could do to help? have a nice day
If you know people with commit-rights (and time to review my PRs) poke them to look at my PRs :)
from kmscon.
I'm just an earthworm mate, but I can try one idea. Keep you posted.
from kmscon.
Related Issues (20)
- Read layout from `/etc/vconsole.conf` HOT 2
- Window manager crashes when pressing Ctrl+Shift+C HOT 1
- Way to specify bold font HOT 8
- Mouse cursor from the graphical session not cleared when switch to VT HOT 2
- Allow quoting to preserve spaces in the login option in config file
- Can't use backspace & CTRL+backspace as intended HOT 7
- Bad rendering of font width and incomplete rendering of glyphs with pango font engine HOT 1
- wrong install path for .service files HOT 1
- Line height has extra padding
- meson.build fails to respect pkg-config xkbcommon --cflags HOT 1
- Errors on building because of missing HOT 3
- Build error
- Still multiple issues with multi-head
- Can antialiasing be disabled with pango? HOT 2
- The color of the default text is too bright, how to change it HOT 1
- Console screen is not updated, but kmscon is working HOT 2
- Bugs of `Esc[nE` and `Esc[nF` HOT 3
- Function not implemented (display_activate() in ../kmscon-9.0.0/src/uterm_drm3d_video.c:171) HOT 1
- kmscon enters zombie state HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kmscon.