Closed paulmw closed 2 years ago
Does --gui none do what you want?
Without a window into it I think this plugin doesn't really offer anything useful
I have a Linux console open, but I’m not running X so there’s no terminal. Full screen text mode applications such as vim and mc work as expected, but this plugin fails since it can’t find the X display:
ERROR: error loading gui plugin: console (from plover_console_ui.plugin) … Xlib.error.DisplayNameError: Bad display name “”
From the trace back it looks like the console UI is calling commander, then commands, then application, then layout. That then ends up calling wmctl, xwmctl etc, which ends up depending on X.
On Tue, 1 Mar 2022 at 15:16, Seth Rider @.***> wrote:
Does --gui none do what you want?
Without a window into it I think this plugin doesn't really offer anything useful
— Reply to this email directly, view it on GitHub https://github.com/psethwick/plover_console_ui/issues/30#issuecomment-1055552192, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIMR4IAI6LVJTIE7AXXWUTU5YYDHANCNFSM5PTZJQ6A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID: @.***>
Interestingly, plover -g none has the same problem, though a different traceback. In that case, main ends up calling xkeyboardcontrol.py, which fails due to no display being available.
On Tue, 1 Mar 2022 at 16:54, Paul Wilkinson @.***> wrote:
I have a Linux console open, but I’m not running X so there’s no terminal. Full screen text mode applications such as vim and mc work as expected, but this plugin fails since it can’t find the X display:
ERROR: error loading gui plugin: console (from plover_console_ui.plugin) … Xlib.error.DisplayNameError: Bad display name “”
From the trace back it looks like the console UI is calling commander, then commands, then application, then layout. That then ends up calling wmctl, xwmctl etc, which ends up depending on X.
On Tue, 1 Mar 2022 at 15:16, Seth Rider @.***> wrote:
Does --gui none do what you want?
Without a window into it I think this plugin doesn't really offer anything useful
— Reply to this email directly, view it on GitHub https://github.com/psethwick/plover_console_ui/issues/30#issuecomment-1055552192, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIMR4IAI6LVJTIE7AXXWUTU5YYDHANCNFSM5PTZJQ6A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID: @.***>
Unfortunately the current implementation of plover has a hard dependency on X (XLib specifically)
You'd have to do some serious hacking on the plover source to fix that
Please consider adding a fully headless mode. I was hoping to use this without in the Linux console, but it still requires a terminal window.