Re: Userspace VT consoles in copr

2025-05-07 Thread Jocelyn Falempe
On 05/05/2025 18:27, Adam Williamson wrote: On Mon, 2025-05-05 at 10:47 +0200, Jocelyn Falempe wrote: In fact kmscon already uses locale1 to get the default keyboard layout. https://github.com/Aetf/kmscon/blob/develop/scripts/kmscon.in I've run some tests with a Greek layout in a VM: V

Re: Userspace VT consoles in copr

2025-05-05 Thread Adam Williamson
On Mon, 2025-05-05 at 10:47 +0200, Jocelyn Falempe wrote: > > In fact kmscon already uses locale1 to get the default keyboard layout. > > https://github.com/Aetf/kmscon/blob/develop/scripts/kmscon.in > > I've run some tests with a Greek layout in a VM: > > VC Keymap: gr > X11 Layout: g

Re: Userspace VT consoles in copr

2025-05-05 Thread Jocelyn Falempe
On 24/04/2025 14:57, Jocelyn Falempe wrote: On 24/04/2025 01:06, Adam Williamson wrote: On Thu, 2025-04-24 at 00:25 +0200, Jocelyn Falempe wrote: (but on a serious level, how does configuring keyboard layout / input method work if all you have is a compositor and a terminal app? presumably rea

Re: Userspace VT consoles in copr

2025-05-02 Thread David Tardon
Hello, On Wed, 2025-04-23 at 10:34 -0700, Adam Williamson wrote: > On Wed, 2025-04-23 at 18:17 +0200, Jocelyn Falempe wrote: > > systemd has the localectl command to do that, it also generates a > > file > > /etc/vconsole.conf which has the keymap information. > > Hmm, but this is still problema

Re: Userspace VT consoles in copr

2025-04-27 Thread Peter Hutterer
On Wed, Apr 23, 2025 at 04:06:15PM -0700, Adam Williamson wrote: > On Thu, 2025-04-24 at 00:25 +0200, Jocelyn Falempe wrote: > > > > > > > > > > (but on a serious level, how does configuring keyboard layout / input > > > > > method work if all you have is a compositor and a terminal app? > > > > >

Re: Userspace VT consoles in copr

2025-04-24 Thread Pramod V U via devel
I am sorry to repeat it for the 3rd time, But for a "stupidly minimal" stack, cage, weston etc... all exist with foot, weston-terminal, etc... You will be solved of many problems small and big, once the *only* stack is the wayland stack (maybe different protocols, but the same libraries). All c

Re: Userspace VT consoles in copr

2025-04-24 Thread Neal Gompa
On Thu, Apr 24, 2025 at 12:02 PM Adam Williamson wrote: > > On Thu, 2025-04-24 at 14:57 +0200, Jocelyn Falempe wrote: > > > > > > One thing that would need to be figured out is whether each of the > > > Wayland-based console implementations actually provides a mechanism to > > > switch between mul

Re: Userspace VT consoles in copr

2025-04-24 Thread Adam Williamson
On Thu, 2025-04-24 at 14:57 +0200, Jocelyn Falempe wrote: > > > > One thing that would need to be figured out is whether each of the > > Wayland-based console implementations actually provides a mechanism to > > switch between multiple configured xkb layouts. This is something users > > of switche

Re: Userspace VT consoles in copr

2025-04-24 Thread Jocelyn Falempe
On 24/04/2025 01:06, Adam Williamson wrote: On Thu, 2025-04-24 at 00:25 +0200, Jocelyn Falempe wrote: (but on a serious level, how does configuring keyboard layout / input method work if all you have is a compositor and a terminal app? presumably read from a file...has the format and location b

Re: Userspace VT consoles in copr

2025-04-23 Thread Adam Williamson
On Thu, 2025-04-24 at 00:25 +0200, Jocelyn Falempe wrote: > I think I can do the same in kmscon, or maybe there is a better way than > running an external command, and parsing the output. I will see if I > find something. Oh, and as for avoiding running an external command - I believe you can qu

Re: Userspace VT consoles in copr

2025-04-23 Thread Adam Williamson
On Thu, 2025-04-24 at 00:25 +0200, Jocelyn Falempe wrote: > > > > > > > > (but on a serious level, how does configuring keyboard layout / input > > > > method work if all you have is a compositor and a terminal app? > > > > presumably read from a file...has the format and location been > > > > sta

Re: Userspace VT consoles in copr

2025-04-23 Thread Neal Gompa
On Wed, Apr 23, 2025 at 6:26 PM Jocelyn Falempe wrote: > > On 23/04/2025 19:34, Adam Williamson wrote: > > On Wed, 2025-04-23 at 18:17 +0200, Jocelyn Falempe wrote: > >> On 23/04/2025 18:01, Adam Williamson wrote: > >>> On Wed, 2025-04-23 at 11:43 -0400, Neal Gompa wrote: > On Wed, Apr 23, 20

Re: Userspace VT consoles in copr

2025-04-23 Thread Jocelyn Falempe
On 23/04/2025 19:34, Adam Williamson wrote: On Wed, 2025-04-23 at 18:17 +0200, Jocelyn Falempe wrote: On 23/04/2025 18:01, Adam Williamson wrote: On Wed, 2025-04-23 at 11:43 -0400, Neal Gompa wrote: On Wed, Apr 23, 2025 at 11:42 AM Adam Williamson wrote: On Tue, 2025-04-22 at 11:51 +0200, J

Re: Userspace VT consoles in copr

2025-04-23 Thread Adam Williamson
On Wed, 2025-04-23 at 18:17 +0200, Jocelyn Falempe wrote: > On 23/04/2025 18:01, Adam Williamson wrote: > > On Wed, 2025-04-23 at 11:43 -0400, Neal Gompa wrote: > > > On Wed, Apr 23, 2025 at 11:42 AM Adam Williamson > > > wrote: > > > > > > > > On Tue, 2025-04-22 at 11:51 +0200, Jocelyn Falempe w

Re: Userspace VT consoles in copr

2025-04-23 Thread Jocelyn Falempe
On 23/04/2025 18:01, Adam Williamson wrote: On Wed, 2025-04-23 at 11:43 -0400, Neal Gompa wrote: On Wed, Apr 23, 2025 at 11:42 AM Adam Williamson wrote: On Tue, 2025-04-22 at 11:51 +0200, Jocelyn Falempe wrote: Hi, I've packaged 3 userspace consoles, on my copr repository for Fedora. They c

Re: Userspace VT consoles in copr

2025-04-23 Thread Neal Gompa
On Wed, Apr 23, 2025 at 12:02 PM Adam Williamson wrote: > > On Wed, 2025-04-23 at 11:43 -0400, Neal Gompa wrote: > > On Wed, Apr 23, 2025 at 11:42 AM Adam Williamson > > wrote: > > > > > > On Tue, 2025-04-22 at 11:51 +0200, Jocelyn Falempe wrote: > > > > Hi, > > > > > > > > I've packaged 3 usersp

Re: Userspace VT consoles in copr

2025-04-23 Thread Adam Williamson
On Wed, 2025-04-23 at 11:43 -0400, Neal Gompa wrote: > On Wed, Apr 23, 2025 at 11:42 AM Adam Williamson > wrote: > > > > On Tue, 2025-04-22 at 11:51 +0200, Jocelyn Falempe wrote: > > > Hi, > > > > > > I've packaged 3 userspace consoles, on my copr repository for Fedora. > > > They can replace fb

Re: Userspace VT consoles in copr

2025-04-23 Thread Neal Gompa
On Wed, Apr 23, 2025 at 11:42 AM Adam Williamson wrote: > > On Tue, 2025-04-22 at 11:51 +0200, Jocelyn Falempe wrote: > > Hi, > > > > I've packaged 3 userspace consoles, on my copr repository for Fedora. > > They can replace fbcon (The default kernel-based console), have more > > features (like sc

Re: Userspace VT consoles in copr

2025-04-23 Thread Adam Williamson
On Tue, 2025-04-22 at 11:51 +0200, Jocelyn Falempe wrote: > Hi, > > I've packaged 3 userspace consoles, on my copr repository for Fedora. > They can replace fbcon (The default kernel-based console), have more > features (like scrolling) and are more secure as they run in userspace. > > * Kmsco

Re: Userspace VT consoles in copr

2025-04-23 Thread Jocelyn Falempe
On 22/04/2025 13:25, Neal Gompa wrote: On Tue, Apr 22, 2025 at 5:52 AM Jocelyn Falempe wrote: Hi, I've packaged 3 userspace consoles, on my copr repository for Fedora. They can replace fbcon (The default kernel-based console), have more features (like scrolling) and are more secure as they ru

Re: Userspace VT consoles in copr

2025-04-22 Thread Jocelyn Falempe
On 22/04/2025 15:23, Pramod V U via devel wrote: Sorry for poking in, but why have kmscon, a complete re-implementation, run over then DRM when a generic and well-tested combination of a wayland compositor and a terminal emulator, like cage+foot, do the work just as well? Yes, setup is initiall

Re: Userspace VT consoles in copr

2025-04-22 Thread Jocelyn Falempe
On 22/04/2025 15:04, Neal Gompa wrote: On Tue, Apr 22, 2025 at 8:46 AM Jocelyn Falempe wrote: On 22/04/2025 13:25, Neal Gompa wrote: On Tue, Apr 22, 2025 at 5:52 AM Jocelyn Falempe wrote: Hi, I've packaged 3 userspace consoles, on my copr repository for Fedora. They can replace fbcon (The

Re: Userspace VT consoles in copr

2025-04-22 Thread Neal Gompa
On Tue, Apr 22, 2025 at 9:24 AM Pramod V U via devel wrote: > > Sorry for poking in, but why have kmscon, a complete re-implementation, run > over then DRM when a generic and well-tested combination of a wayland > compositor and a terminal emulator, like cage+foot, do the work just as well? To

Re: Userspace VT consoles in copr

2025-04-22 Thread Pramod V U via devel
Sorry for poking in, but why have kmscon, a complete re-implementation, run over then DRM when a generic and well-tested combination of a wayland compositor and a terminal emulator, like cage+foot, do the work just as well? Yes, setup is initially difficult. But it might be worth it. An addition

Re: Userspace VT consoles in copr

2025-04-22 Thread Neal Gompa
On Tue, Apr 22, 2025 at 8:46 AM Jocelyn Falempe wrote: > > On 22/04/2025 13:25, Neal Gompa wrote: > > On Tue, Apr 22, 2025 at 5:52 AM Jocelyn Falempe wrote: > >> > >> Hi, > >> > >> I've packaged 3 userspace consoles, on my copr repository for Fedora. > >> They can replace fbcon (The default kerne

Re: Userspace VT consoles in copr

2025-04-22 Thread Jocelyn Falempe
On 22/04/2025 13:25, Neal Gompa wrote: On Tue, Apr 22, 2025 at 5:52 AM Jocelyn Falempe wrote: Hi, I've packaged 3 userspace consoles, on my copr repository for Fedora. They can replace fbcon (The default kernel-based console), have more features (like scrolling) and are more secure as they ru

Re: Userspace VT consoles in copr

2025-04-22 Thread Neal Gompa
On Tue, Apr 22, 2025 at 5:52 AM Jocelyn Falempe wrote: > > Hi, > > I've packaged 3 userspace consoles, on my copr repository for Fedora. > They can replace fbcon (The default kernel-based console), have more > features (like scrolling) and are more secure as they run in userspace. > > * Kmscon:

Userspace VT consoles in copr

2025-04-22 Thread Jocelyn Falempe
Hi, I've packaged 3 userspace consoles, on my copr repository for Fedora. They can replace fbcon (The default kernel-based console), have more features (like scrolling) and are more secure as they run in userspace. * Kmscon: https://copr.fedorainfracloud.org/coprs/jfalempe/kmscon/ * Cage/foo