diff options
author | Alexander M Pickering <alex@cogarr.net> | 2024-10-16 15:27:30 -0500 |
---|---|---|
committer | Alexander M Pickering <alex@cogarr.net> | 2024-10-16 15:27:30 -0500 |
commit | c2bbe3f1d8cd71497f0a11a96354b1b1ba797580 (patch) | |
tree | dfff4cf64d85845cf4bb935ab80380625d636385 | |
parent | 888c06e93f5cdeec6da9f67678876d28ee3cba8b (diff) | |
download | lua4win-dist-lua-c2bbe3f1d8cd71497f0a11a96354b1b1ba797580.tar.gz lua4win-dist-lua-c2bbe3f1d8cd71497f0a11a96354b1b1ba797580.tar.bz2 lua4win-dist-lua-c2bbe3f1d8cd71497f0a11a96354b1b1ba797580.zip |
Turn off underlined hotkeys
-rwxr-xr-x | test | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -46,6 +46,13 @@ DISPLAY=:99 xdotool sleep 3 | |||
46 | # DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/9.png | 46 | # DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/9.png |
47 | # tar -czf images.tar.gz *.png | 47 | # tar -czf images.tar.gz *.png |
48 | 48 | ||
49 | # Try to turn off underlined hotkeys | ||
50 | cat > no_underline.reg<< EOF | ||
51 | [HKEY_CURRENT_USER\Control Panel\Accessibility\Keyboard Preference] | ||
52 | "On"="0" | ||
53 | EOF | ||
54 | DISPLAY=:99 wine regedit no_underline.reg | ||
55 | |||
49 | # What if we use keyboard shortcuts instead? | 56 | # What if we use keyboard shortcuts instead? |
50 | DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/1.png | 57 | DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/1.png |
51 | DISPLAY=:99 xdotool key --window $(DISPLAY=:99 xdotool search --sync --name "Installer") N | 58 | DISPLAY=:99 xdotool key --window $(DISPLAY=:99 xdotool search --sync --name "Installer") N |
@@ -65,4 +72,7 @@ DISPLAY=:99 xdotool sleep 3 | |||
65 | DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/6.png | 72 | DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/6.png |
66 | DISPLAY=:99 xdotool sleep 3 | 73 | DISPLAY=:99 xdotool sleep 3 |
67 | DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/7.png | 74 | DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/7.png |
75 | DISPLAY=:99 xdotool key --window $(DISPLAY=:99 xdotool search --sync --name "Installer") F | ||
76 | DISPLAY=:99 xdotool sleep 3 | ||
77 | DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/8.png | ||
68 | tar -czf images.tar.gz *.png | 78 | tar -czf images.tar.gz *.png |