Automatically hide cursor and fullscreen app on startup in Labwc 0.8.4 (Raspberry Pi 5 OS Trixie) #3190
-
|
Hi everyone, I'm running Labwc 0.8.4 on Raspberry Pi OS Trixie Lite (Wayland) and I’m trying to achieve two things on startup:
I’d prefer not to recompile Labwc just to get labwc-msg.
Or is this something that can only be done through external tools like unclutter or wtype? System details:
Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
|
Another possibility would be to define the page creation point at the top left (0,0) for all executable openings. That solution would be great too! |
Beta Was this translation helpful? Give feedback.
-
|
For the cursor hiding, I suggest this methodology: Add this to <keybind key ="A-W-h">
<action name="HideCursor"/>
</keybind>Add this to A similar approach would work for the fullscreen case with: |
Beta Was this translation helpful? Give feedback.
-
|
I cannot get that working on a Pi 4 with Trixie 64-bit and labwc 0.9.2-1+rpt4. The cursor just stays where it is, it does neither move nor hide. Also when typing the shortcuts manually with a keyboard connected to the Pi, nothing happens (that is also the reason for the many key bindings as the original A-W-h from #2633 does not work either). My <?xml version="1.0"?>
<labwc_config>
<keybind key="A-h">
<action name="HideCursor" />
<action name="WarpCursor" x="-1" y="-1" />
</keybind>
<keybind key="W-h">
<action name="HideCursor" />
<action name="WarpCursor" x="-1" y="-1" />
</keybind>
<keybind key="A-W-h">
<action name="HideCursor" />
<action name="WarpCursor" x="-1" y="-1" />
</keybind>
<keybind key="F6">
<action name="HideCursor" />
<action name="WarpCursor" x="-1" y="-1" />
</keybind>
</labwc_config>My What is missing @johanmalm ? Any difference to your solution @La-salaumandre ? Thanks for your help, |
Beta Was this translation helpful? Give feedback.
That's what the example above does.
swayidle -w timeout 10 'wtype -M alt -M logo -P h'Also, see: #3052
Yes, with window rules and the
MoveToactionSee: