I want to assign two keyboard shortcuts to "media next".
An interesting idea I found was to create a custom shortcut that executes
xdotool key XF86AudioNext, but that does absolutely nothing.
I changed it to
xdotool sleep 1 key a to test whether there's an issue with holding other keys while xdotool presses the media next key. But that also did nothing.
Then I wanted to redirect the output, but both
xdotool key lalala &> /path/to/file.txt and
xdotool key lalala > /path/to/file.txt 2> /path/to/file.txt do not write into the file at all.
thisisnotacommand &> /path/to/file.txt at least shows an error popup, but it does not write into the file either.
I was also not able to find any information online about where Mate stores its log files, which is really strange. Not even https://wiki.archlinux.org/index.php/MATE#Troubleshooting includes that path.
What can I do to get any information about what went wrong when using a keyboard shortcut in Mate?