From c2bbe3f1d8cd71497f0a11a96354b1b1ba797580 Mon Sep 17 00:00:00 2001 From: Alexander M Pickering Date: Wed, 16 Oct 2024 15:27:30 -0500 Subject: Turn off underlined hotkeys --- test | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/test b/test index 4eae511..50f6462 100755 --- a/test +++ b/test @@ -46,6 +46,13 @@ DISPLAY=:99 xdotool sleep 3 # DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/9.png # tar -czf images.tar.gz *.png +# Try to turn off underlined hotkeys +cat > no_underline.reg<< EOF +[HKEY_CURRENT_USER\Control Panel\Accessibility\Keyboard Preference] +"On"="0" +EOF +DISPLAY=:99 wine regedit no_underline.reg + # What if we use keyboard shortcuts instead? DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/1.png DISPLAY=:99 xdotool key --window $(DISPLAY=:99 xdotool search --sync --name "Installer") N @@ -65,4 +72,7 @@ DISPLAY=:99 xdotool sleep 3 DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/6.png DISPLAY=:99 xdotool sleep 3 DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/7.png +DISPLAY=:99 xdotool key --window $(DISPLAY=:99 xdotool search --sync --name "Installer") F +DISPLAY=:99 xdotool sleep 3 +DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/8.png tar -czf images.tar.gz *.png -- cgit v1.2.3-55-g6feb