[gedit-list] Saving the current file from an external tool
- From: Denis LE FUR <dlefur gmail com>
- To: gedit-list gnome org, John Kitzmiller <jkitzm gmail com>
- Subject: [gedit-list] Saving the current file from an external tool
- Date: Sat, 4 Jul 2009 18:14:33 -0300
Hello,
I found a way to save the current file from an external tool.
It is a bit tricky but it seems to work.
The idea is to simulate keyboard touches.
1) Install the package xdotool.
2) Add this line in the external tool :
xdotool key "ctrl+s"
Is there a better way ?
--
Denis LE FUR
dlefur gmail comhttp://mathsp.tuxfamily.org/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]