Both the actions of gedit quicklists have the same command listed.
$ cat /usr/share/applications/gedit.desktop [Desktop Entry] Name=gedit GenericName=Text Editor Comment=Edit text files Keywords=Plaintext;Write; Exec=gedit %U Terminal=false Type=Application StartupNotify=true MimeType=text/plain; Icon=accessories-text-editor Categories=GNOME;GTK;Utility;TextEditor; X-GNOME-DocPath=gedit/gedit.xml X-GNOME-FullName=Text Editor X-GNOME-Bugzilla-Bugzilla=GNOME X-GNOME-Bugzilla-Product=gedit X-GNOME-Bugzilla-Component=general X-GNOME-Bugzilla-Version=3.4.2 X-GNOME-Bugzilla-ExtraInfoScript=/usr/share/gedit/gedit-bugreport Actions=Window;Document; X-Ubuntu-Gettext-Domain=gedit
[Desktop Action Window] Name=Open a New Window Exec=gedit --new-window OnlyShowIn=Unity;
[Desktop Action Document] Name=Open a New Document Exec=gedit --new-window OnlyShowIn=Unity;
The command for creating a new document is actually `gedit --new-document` and not the `--new-window` that is currently in the quicklist.
Both the actions of gedit quicklists have the same command listed.
$ cat /usr/share/ applications/ gedit.desktop Plaintext; Write; text/plain; s-text- editor GNOME;GTK; Utility; TextEditor; DocPath= gedit/gedit. xml FullName= Text Editor Bugzilla- Bugzilla= GNOME Bugzilla- Product= gedit Bugzilla- Component= general Bugzilla- Version= 3.4.2 Bugzilla- ExtraInfoScript =/usr/share/ gedit/gedit- bugreport Window; Document; Gettext- Domain= gedit
[Desktop Entry]
Name=gedit
GenericName=Text Editor
Comment=Edit text files
Keywords=
Exec=gedit %U
Terminal=false
Type=Application
StartupNotify=true
MimeType=
Icon=accessorie
Categories=
X-GNOME-
X-GNOME-
X-GNOME-
X-GNOME-
X-GNOME-
X-GNOME-
X-GNOME-
Actions=
X-Ubuntu-
[Desktop Action Window]
Name=Open a New Window
Exec=gedit --new-window
OnlyShowIn=Unity;
[Desktop Action Document]
Name=Open a New Document
Exec=gedit --new-window
OnlyShowIn=Unity;
The command for creating a new document is actually `gedit --new-document` and not the `--new-window` that is currently in the quicklist.