mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-25 14:41:27 +00:00
Hide mouse on login screen (BGO #781294)
GDM 3.24.1 dumps a cursor in the middle of the login screen even if you didn't move the mouse yet, so let's workaround that.
This commit is contained in:
parent
ee283b1411
commit
9da72de4ed
@ -27,6 +27,8 @@ sub run {
|
|||||||
}
|
}
|
||||||
# Wait for the login screen
|
# Wait for the login screen
|
||||||
boot_to_login_screen(timeout => $wait_time);
|
boot_to_login_screen(timeout => $wait_time);
|
||||||
|
# GDM 3.24.1 dumps a cursor in the middle of the screen here...
|
||||||
|
mouse_hide;
|
||||||
# do user login unless USER_LOGIN is set to string 'false'
|
# do user login unless USER_LOGIN is set to string 'false'
|
||||||
unless (get_var("USER_LOGIN") eq "false") {
|
unless (get_var("USER_LOGIN") eq "false") {
|
||||||
if (get_var("DESKTOP") eq 'gnome') {
|
if (get_var("DESKTOP") eq 'gnome') {
|
||||||
|
Loading…
Reference in New Issue
Block a user