gedit annoyance
Posted: Thu Mar 01, 2012 12:58 pm
I have suffered from this for ages on different distros as well not just LMDE. I find it intensely annoying that every time I open a document with gedit (using the mouse (it doesn't happen if you use the command line) it INSISTS on opening another document at the same time called 'Unsaved Document'. That isn't so bad in itself, but the real annoyance is when you want to close gedit, it insists again on asking you if you want to save this - completely unwanted - document. I find it amazing that this problem is not more widely mentioned online, but there is very little about it. I have found this:
http://unix.stackexchange.com/questions ... with-mouse
and this:
https://bbs.archlinux.org/viewtopic.php ... 8#p1031898
And not much else.
Now both of these seem to deal with the KDE environment, not Gnome, and certainly not Gnome3. The situation is further complicated by the fact that I use two file managers on LMDE, Nautilus (rarely, it is so horrible, but it is integrated into the desktop) and Dolphin (vastly superior but not integrated into gnome).
I have looked at the solutions given in the websites above and tried to adapt them to gnome3 and my personal preference of file managers, but it seems impossible.
First I have to edit /usr/share/applications/gedit.desktop not the files mentioned in the links above, and second however I choose to modify that file it will not work with both file managers that I use.
In order to get it to work with Dolphin I have to edit gedit.desktop with this:
But if I then open the same file from Nautilus it actually makes things several times worse. I get a file called '$1', another called '<' , another called 'dev/null' and lastly the file that I actually want to open.
If I want it to work with Nautilus I have to edit gedit.desktop to read simply:
(instead of the default 'gedit %U')
But if I do that and then try and open the same file in Dolphin, nothing happens at all.
Maybe you can see why this is driving me nuts?
But can you see an answer??
I know I can't.
http://unix.stackexchange.com/questions ... with-mouse
and this:
https://bbs.archlinux.org/viewtopic.php ... 8#p1031898
And not much else.
Now both of these seem to deal with the KDE environment, not Gnome, and certainly not Gnome3. The situation is further complicated by the fact that I use two file managers on LMDE, Nautilus (rarely, it is so horrible, but it is integrated into the desktop) and Dolphin (vastly superior but not integrated into gnome).
I have looked at the solutions given in the websites above and tried to adapt them to gnome3 and my personal preference of file managers, but it seems impossible.
First I have to edit /usr/share/applications/gedit.desktop not the files mentioned in the links above, and second however I choose to modify that file it will not work with both file managers that I use.
In order to get it to work with Dolphin I have to edit gedit.desktop with this:
Code: Select all
gedit $1 < /dev/null
If I want it to work with Nautilus I have to edit gedit.desktop to read simply:
Code: Select all
gedit
But if I do that and then try and open the same file in Dolphin, nothing happens at all.
Maybe you can see why this is driving me nuts?
But can you see an answer??
I know I can't.