wayfire icon indicating copy to clipboard operation
wayfire copied to clipboard

input.cursor_size has no effect

Open DurandA opened this issue 5 years ago • 10 comments

Changing input.cursor_size doesn't affect the cursor size, even after restart.

I compiled Wayfire from the master branch.

DurandA avatar May 30 '20 18:05 DurandA

This option affects only the cursor size when it is being set by Wayfire. For example, while doing expo, or in the move plugin. Is the cursor size there unaffected?

For apps, unfortunately there isn't a way for the compositor to set the cursor size or theme of the clients. So you will have to manually change the relevant GTK, Qt, etc. settings.

ammen99 avatar May 30 '20 19:05 ammen99

Is the cursor size there unaffected?

Yes, even when the cursor is on top of the wallpaper the size is unaffected.

DurandA avatar May 30 '20 20:05 DurandA

The wallpaper is a client as well. Can you check when expo is active? Is the cursor unaffected while in expo?

ammen99 avatar May 30 '20 20:05 ammen99

No effect when expo is active as well.

DurandA avatar May 30 '20 21:05 DurandA

Just to be 100% sure, here is the input section of my wayfire.ini:

[input]
xkb_layout = ch
xkb_variant = fr
natural_scroll = true
cursor_size = 128

DurandA avatar May 30 '20 21:05 DurandA

I just tried and cursor_size works. Can you try with latest Wayfire again?

ammen99 avatar Sep 29 '20 09:09 ammen99

hi, i have same problem in 4k screen monitor official gentoo: gui-wm/wayfire-0.7.2

[output:HDMI-A-1]
mode = 3840x2160@30000
position = 0,0
transform = normal
scale = 1.150000
[input]
click_method = default
cursor_size = 48
cursor_theme = default
disable_touchpad_while_mouse = false
disable_touchpad_while_typing = false
gesture_sensitivity = 1.000000
kb_capslock_default_state = false
kb_numlock_default_state = false
kb_repeat_delay = 400
kb_repeat_rate = 40
middle_emulation = false
modifier_binding_timeout = 400
mouse_accel_profile = default
mouse_cursor_speed = 0.000000
mouse_scroll_speed = 1.000000
natural_scroll = false
scroll_method = default
tap_to_click = true
touchpad_accel_profile = default
touchpad_cursor_speed = 0.000000
touchpad_scroll_speed = 1.000000
xkb_layout = fr
xkb_model =
xkb_options =
xkb_rules = evde

image image

zz64 avatar Jan 16 '22 09:01 zz64

After changing cursor theme from default to gentoo, i get valid cursor on some application, but not in root desktop or others gtk-3 apps like nautilus, chromium... image image image

zz64 avatar Jan 16 '22 11:01 zz64

I think gtk3 applications have separate cursor size settings. The options cursor_size and cursor_theme only control X11 applications, wayfire's built-in cursors (for example, if you activate a plugin, these are the built-in cursors).

EDIT: for example, I used gnome-tweaks to set the cursor theme for GTK3 apps

ammen99 avatar Jan 16 '22 11:01 ammen99

yeah fixed.

gnome_schema="org.gnome.desktop.interface"
gsettings set "$gnome_schema" cursor-theme "gentoo"
gsettings set "$gnome_schema" cursor-size "48"

wayfire should have ability to send this settings to dconf. like: [gtk-gui] cursor-theme "" cursor-size "" icons-theme "" ...

gsettings list-keys org.gnome.desktop.interface
gtk-color-palette
show-battery-percentage
can-change-accels
toolkit-accessibility
text-scaling-factor
cursor-blink
clock-show-weekday
icon-theme
gtk-im-preedit-style
menus-have-tearoff
scaling-factor
cursor-size
gtk-im-module
gtk-color-scheme
gtk-timeout-initial
gtk-theme
clock-show-seconds
clock-show-date
cursor-blink-time
font-antialiasing
toolbar-icons-size
gtk-timeout-repeat
enable-hot-corners
monospace-font-name
toolbar-style
cursor-blink-timeout
overlay-scrolling
gtk-key-theme
toolbar-detachable
cursor-theme
avatar-directories
gtk-im-status-style
menubar-detachable
document-font-name
clock-format
font-hinting
menubar-accel
font-rgba-order
locate-pointer
font-name
gtk-enable-primar

i don't have gnome-tweaks or other settings gui :-P i have only nautilus (without webkit and others bloat...)

Thanks.

zz64 avatar Jan 16 '22 13:01 zz64