
3 Aug
2025
3 Aug
'25
7:53 a.m.
Hi all, Macros in LibreOffice is still flaky. For simple key macros, you can use 'xdotool' as a workaround. Eg. 1. On terminal xdotool selectwindow 2. Click LibreOffice Calc window. Its windowid (say, 12345678) will be printed on the terminal. 3. Click a cell. 4. On terminal xdotool key --window 12345678 --clearmodifiers F2 1 2 3 4 Enter will put '1234' into that cell.