Xmir without Libertine
-
Hi,
how to run Xmir properly without Libertine?
$ Xmir -debug -mirSocket /run/mir_socket -rootless -flatten -neverclose ARM architecture: Defaulting to software mode because glamor is not stableotless XMir initialized with 4 visuals: Visual id 0x28: ff ff00 ff0000, 24 planes Visual id 0x29: ff ff00 ff0000, 24 planes Visual id 0x2a: ff ff00 ff0000, 32 planes Visual id 0x2b: ff ff00 ff0000, 32 planes Realize ROOT window 0x5595c69400 id=0x268 "": 720x1560 +0+0 parent=(nil) depth=24 redir=0 type=0 class=1 visibility=3 viewable=1 override=0 _NET_WM_WINDOW_TYPE=0() WM_TRANSIENT_FOR=(nil) WM_HINTS=<none>this way it waits for connections, but when I run
xeyes:$ DISPLAY=:0 xeyes Warning: locale not supported by C library, locale unchanged XIO: fatal IO error 2 (No such file or directory) on X server ":0" after 58 requests (58 known processed) with 10 events remaining.Xmirfails:Realize window 0x5595e427f0 id=0x20000a "xeyes": 150x100 +1+1 parent=0x5595c69400 depth=24 redir=1 type=0 class=1 visibility=3 viewable=1 override=0 _NET_WM_WINDOW_TYPE=0() WM_TRANSIENT_FOR=(nil) WM_HINTS={flags=0x27,input=True} Aborted -
desktop_file_hintdid the trick, can be taken from the available ones if you do not care much:Xmir -mirSocket "$XDG_RUNTIME_DIR/mir_socket" --desktop_file_hint=dialer-app -debug -rootlessalso note
mir_socketis from phablet run-directoryPS
it depends on application, butxeyesin particular is better without-rootless -
You can add these in the desktop file.
X-Ubuntu-Touch=true X-Ubuntu-XMir-Enable=trueOther libertine integrations most likely won't work though such as content hub and maybe keyboard too.
-
@kugiigi which desktop file? I literally run "Xmir" and "xeyes" binaries as shown
-
@ygrex Oh somehow, I assumed you're trying to do it for an app. Not sure how to do it via CLI.
-
desktop_file_hintdid the trick, can be taken from the available ones if you do not care much:Xmir -mirSocket "$XDG_RUNTIME_DIR/mir_socket" --desktop_file_hint=dialer-app -debug -rootlessalso note
mir_socketis from phablet run-directoryPS
it depends on application, butxeyesin particular is better without-rootless -
Y ygrex has marked this topic as solved on
-
was lucky to find the parameter on https://askubuntu.com/questions/760142/how-to-install-ubuntu-sdk-on-ubuntu-touch
for some reason
Xmir -helpdoes not show the parameter, neither it looks like anything important
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login