There is a command-line option to see what files are open with gedit? If I open two files in gedit (file1 and file2) and in terminal I use the command:
ps ax | grep-v grep | grep gedit
I get only the first file opened. (5944 pts/0 S+ 0:01 gedit /home/file1)
Using this command I do not see that file2 is also open in gedit. It is another way?