cage-kiosk / cage

A Wayland kiosk
https://www.hjdskes.nl/projects/cage
MIT License
1.12k stars 76 forks source link

Can't change cursor size #353

Open bubnenkoff opened 2 weeks ago

bubnenkoff commented 2 weeks ago

I use cage on ArchLinux on high resolution TV. Default cursor is too small. But settings:

Environment="XCURSOR_SIZE=64"

And

Environment="XCURSOR_SIZE=64"
Environment="XCURSOR_THEME=xcursor-vanilla-dmz"

Did not get any effect.

Full unit:

[Unit]
Description=Start Firefox in Cage
After=network.target
Wants=display-manager.service

[Service]
User=root
Environment=XDG_RUNTIME_DIR=/cache/firefox/
Environment="XCURSOR_SIZE=64"
Environment="GDK_SCALE=3"
Environment="GDK_DPI_SCALE=2"
ExecStartPre=/bin/sleep 1
ExecStart=/usr/bin/cage -s firefox
Restart=always

[Install]
WantedBy=graphical.target
emersion commented 2 weeks ago

cage does not read the XCURSOR_SIZE nor XCURSOR_THEME env vars at the moment.

bubnenkoff commented 2 weeks ago

But how to pass them to it?

Пн, 26 авг. 2024 г. в 19:12, Simon Ser @.***>:

cage does not read the XCURSOR_SIZE nor XCURSOR_THEME env vars at the moment.

— Reply to this email directly, view it on GitHub https://github.com/cage-kiosk/cage/issues/353#issuecomment-2310570655, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABRWNFREU2XHSCL2VQOISRLZTNHVFAVCNFSM6AAAAABNDQHR6GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJQGU3TANRVGU . You are receiving this because you authored the thread.Message ID: @.***>

emersion commented 2 weeks ago

This feature is not yet supported: there is no way to configure the Xcursor theme/size used by cage currently.

bubnenkoff commented 2 weeks ago

Are there any temporal solutions? Can I replace the cursor file?

вт, 27 авг. 2024 г. в 11:07, Simon Ser @.***>:

This feature is not yet supported: there is no way to configure the Xcursor theme/size used by cage currently.

— Reply to this email directly, view it on GitHub https://github.com/cage-kiosk/cage/issues/353#issuecomment-2311841111, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABRWNFTZYUN3WY5HBDBWWOTZTQXTHAVCNFSM6AAAAABNDQHR6GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJRHA2DCMJRGE . You are receiving this because you authored the thread.Message ID: @.***>