hi all,
how to disable mouse cursor displaying in maaxboard yocto zeus wayland desktop?
we use touchscreen, do not use the mouse to operate the menu, but there is a black arrow mouse cursor displaying on the desktop(our app is base on chrome webpage)
how to disable it?
Does anybody have any help?
Thank you.
thanks
do you know where is the cursor file location, we can use a transparent cursor file to replace the black left arrow icon.
please read here:
https://github.com/celly/transparent-xcursor
but I cann not find where the icon is !
read here ,I posted a issue: https://github.com/celly/transparent-xcursor/issues
Thanks
The weston didn't use cursor icon in default.
You can config cursor-theme like:cursor-theme=Adwaita in weston.ini
hi @Zhiming_Liu
as you said ,I add cursor-theme=Adwaita in weston.ini
and create a subfolder cursors in /usr/share/icons/Adwaita/cursors,
and copy a transparent cursor file from here https://github.com/celly/transparent-xcursor. to /usr/share/icons/Adwaita/cursors/ , for example: left_ptr file /usr/share/icons/Adwaita/cursors/left_ptr
Actually , the mouse cursor (black arrow) disappears in weston desktop! work! , so I change Adwaita to redglass (I copy from ubuntun desktop), actually the black arrow become RED arrow. so I make sure the solution is OK.
but our app is base on chromium(chromium-ozone-wayland )webpage. after chromium start up, the black arrow cursor comes again!
so I want to know where is the cursor icon's location displaying on chromium?
I only create one file(left_ptr) in folder /usr/share/icons/Adwaita/cursors, where are the others? where the icons from on the chromium?
if I know the location,I can replace it with transparent files to make it disappear!
when I use redglass Icons, it's red on weston destop,but it become black arrow again on chromium, so i thinks the icons are form different locations(files)
Thank you very much.
Does anyone know?
It seems that chrouim is different with weston about cursor display.I have no research about chrouim.
The change about removing top screen display is tested, but thr cursor i didn't test before.
Thank you for your reply so soon.
I use the following userspace code to move the cursor to left-lower corner to solve this problem. almsot is OK
Hi
I followed your guide to comments the tow lines in clients/windows.c
but weston desktop totally disappear,
my weston-chrome can not run and not display
any help?
the following is my weston.ini file config:
[core]
gbm-format=argb8888
idle-time=0
#use-g2d=1
#xwayland=true
#enable-overlay-view=1
[shell]
size=1920x1080
panel-location=""
panel-position=none
background-color=0x00000000
background-image=/home/myuser/flash.png
[libinput]
touchscreen_calibrator=true
#[output]
#name=HDMI-A-1
#mode=1920x1080@60
#transform=90
You can add a script that can boot chrome when system start.
hi @Zhiming_Liu
it seems I change the file clients\window.c , damage the whole weston, so can not rum wayland-chromium,
is it right?
did you test that before to modify the file clients\window.c?
thanks
yes, I used a script (chromium.service in systemd) to boot chrome. but after comment the cursor source code, weston desktop windows disappear, nothing to display.
let me try cursor-theme=Adwaita