Wmctrl has the ability to close programs gracefully. When a program, e.g. geany, hasn't yet saved its data, the program will show a dialog and offer to save the data before finally closing.
This seems to be simple task and I was hoping that this can be done wiith a standard command line tool, without relying on wmctrl, but using kill or pkill with various signals will either kill immediately or not at all. Any ideas?
How to gracefully close program without using wmctrl?
- MochiMoppel
- Posts: 2084
- Joined: Wed 26 Jan 2011, 09:06
- Location: Japan
- MochiMoppel
- Posts: 2084
- Joined: Wed 26 Jan 2011, 09:06
- Location: Japan