Posted: Mon 16 Jun 2014, 09:16 Post subject:
How to gracefully close program without using wmctrl?
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?
Joined: 04 Jan 2009 Posts: 9570 Location: Gatineau (Qc), Canada
Posted: Mon 16 Jun 2014, 10:43 Post subject:
Anything wrong with wmctrl? _________________ musher0
« Un insensé sur le trône n'est qu'un singe sur le haut d'un toit. » / "A madman
on the throne is just a monkey on top of a roof." (Bernard de Clervaux)
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum