Return to

Latest build: "Allow inhibiting shortcuts?" dialog (Ubuntu)

I start usually looking-glass using “looking-glass-client -F -S spice:captureOnStart=y”.
In b1 this worked well. In the latest build when the client window opens I’m presented with a dialog asking “the looking-glass-client wants to inhibit shortcuts. Deny / Allow?” Deny is the option that works best for me.

Is there a way to disable looking-glass from trying to inhibit shortcuts? I’ve experimented with various command line options and don’t see a way. Am I missing something obvious?

This is on Ubuntu 20.04.2 Wayland.
The client output is:
978455900784 [I] main.c:2282 | main | Looking Glass (B3-rc1-42-gec921d7f39)
978455900802 [I] main.c:2283 | main | Locking Method: Atomic
978455901100 [I] wayland.c:334 | waylandEarlyInit | SDL_VIDEODRIVER has been set to wayland
978455909251 [I] ivshmem.c:127 | ivshmemOpenDev | KVMFR Device : /dev/shm/looking-glass
978455946971 [I] main.c:1655 | try_renderer | Using Renderer: OpenGL
978455972523 [W] wayland.c:373 | waylandInit | zwp_idle_inhibit_manager_v1 not exported by compositor, will not be able to suppress idle states
978455979236 [I] opengl.c:507 | opengl_render_startup | Vendor : Intel
978455979247 [I] opengl.c:508 | opengl_render_startup | Renderer: Mesa Intel® UHD Graphics 630 (CFL GT2)
978455979249 [I] opengl.c:509 | opengl_render_startup | Version : 4.6 (Compatibility Profile) Mesa 20.2.6
978455979254 [I] opengl.c:521 | opengl_render_startup | Using GL_AMD_pinned_memory
978456180607 [I] main.c:2165 | lg_run | Host ready, reported version: B3-rc1-42-gec921d7f39
978456180617 [I] main.c:2166 | lg_run | Starting session
978456401621 [I] main.c:647 | frameThread | Format: FRAME_TYPE_BGRA 3440x1440 stride:3456 pitch:13824 rotation:0


Adding input:grabKeyboardOnFocus=no to the looking-glass-client command line had no effect. The dialog is still displaying.

I am sorry but I do not have a solution for this other than to wait for after B3 final is out, we have had some developers put a ton of work into supporting Wayland better that may help things.

No worries, it’s little more than a minor annoyance.
I can’t thank you and your fellow developers enough for your hard work.

In the future should issues like this be filed as bugs in the LookingGlass github or posted here?

Normally either is fine as I monitor both, I will instruct you if you need to open an issue however. It’s usually best to post here or ask in discord first though to avoid issues being open for known bugs we are working on.

Ok, got it.
Just fyi rather than pollute the forum with another post, just FYI I updated to bleeding-edge as of today to give it a try and the client segfaults with the following output:

Starting Bleeding Edge version of Looking Glass viewer...
  1279291247 [I]               main.c:1021 | main                           | Looking Glass (B3-97-g30b5287c38)
  1279291291 [I]               main.c:1022 | main                           | Locking Method: Atomic
  1279294508 [I]            ivshmem.c:126  | ivshmemOpenDev                 | KVMFR Device     : /dev/shm/looking-glass
  1279366664 [I]                egl.c:270  | egl_initialize                 | Double buffering is off
  1279366671 [I]               main.c:631  | tryRenderer                    | Using Renderer: EGL
  1279366817 [W]               idle.c:31   | waylandIdleInit                | zwp_idle_inhibit_manager_v1 not exported by compositor, will not be able to suppress idle states
[email protected]: error 0: invalid version for global wl_output (27): have 2, wanted 3
  1279366954 [E]              crash.c:214  | crit_err_hdlr                  | ==== FATAL CRASH (B3-97-g30b5287c38) ====
  1279366960 [E]              crash.c:215  | crit_err_hdlr                  | signal 11 (Segmentation fault), address is (nil)
  1279367116 [E]              crash.c:206  | printBacktrace                 | [trace]: (0) /lib/x86_64-linux-gnu/ [0x7f980f33a3c0]
  1279367120 [E]              crash.c:206  | printBacktrace                 | [trace]: (1) /usr/lib/x86_64-linux-gnu/ [0x7f980f49738d]
  1279367182 [E]              crash.c:201  | printBacktrace                 | [trace]: (2) cursor.c:0 (wl_pointer_set_cursor)
  1279367194 [E]              crash.c:206  | printBacktrace                 | [trace]: (3) /home/dave/LookingGlass-LE/client/build/looking-glass-client(waylandShowPointer+0x4f) [0x561b17d70aad]
  1279367205 [E]              crash.c:201  | printBacktrace                 | [trace]: (4) main.c:0 (lgInit)
  1279367214 [E]              crash.c:201  | printBacktrace                 | [trace]: (5) main.c:0 (lg_run)
  1279367223 [E]              crash.c:206  | printBacktrace                 | [trace]: (6) /home/dave/LookingGlass-LE/client/build/looking-glass-client(main+0x8a2) [0x561b17d5b01e]
  1279367224 [E]              crash.c:206  | printBacktrace                 | [trace]: (7) /lib/x86_64-linux-gnu/ [0x7f980ef2b0b3]
  1279367232 [E]              crash.c:206  | printBacktrace                 | [trace]: (8) /home/dave/LookingGlass-LE/client/build/looking-glass-client(_start+0x2e) [0x561b17d5167e]