digital home of MacSlow

Cut&paste working in kmscon

Posted by in Uncategorized

The necessary chore – libtsm Reading through the sources of libtsm was the only way to learn about it. There is just no documentation. Only wlterm is stated as an example of how to use the API. But the exact details of how to use libtsm‘s calls for selection and text-copy features are not obvious *sigh* I never enjoy these types of tasks! It is one thing, when doing these chores during paid work. But when working on code for fun, during your spare-time, such obstacles are a total motivation…read more

0

Adding mouse- and selection-support to kmscon

Posted by in Uncategorized

Pile up of itches to scratch The output-rotation is now working as I initially intended, and there is also gyro/accelerometer support in the pipe. But using my version of kmscon daily now, I quickly ran into the issue of missing cut&paste functionality, which one usually gets via gpm, when using the old-school text-console VTs under Linux. “How hard can it be? Can’t be that much work ;)” whizzes by my mind. I have dealt with nastier things in the past without prior knowledge or preparation. Occasionally I am a magnificent…read more

2

Teaching kmscon output-rotation à la xrandr

Posted by in Uncategorized

Focus is paramount Because of my slightly uncommon monitor-setup (two 24″ LCDs locked in portrait orientation side by side) using the VTs under Linux is very cumbersome. That has got to be a developer quirk. But because of that, I like to work on VTs exclusively from time to time… this helps with focus. I even turn off Xorg and/or wayland-based environments. So what can I use to solve this issue with wrongly orientated text-output? xrandr obviously does not work in such a situation? There is an interesting – sadly…read more

0