GNOME Bugzilla – Bug 102894
if gedit is already running, you cannot open another gedit tab from the command line
Last modified: 2004-12-22 21:47:04 UTC
Using gedit-2.1.6 Very often I find that I have a gedit window open in another workspace with a text document open in it. I often find that I want to start a new text document in the current workspace and I just type 'gedit' at the command line or click on the gedit launcher on the panel or in the menu. Instead of opening a blank tab a blank tab in the current gedit window and switching me to that, it just focuses the open tab in the gedit process and does NOT open a new tab. This makes it not possible to start a new text document without switching over to the other workspace with gedit running and choosing new.
Use --new-document or --new-window option. gedit --help for a list of supported options.
Ok, maybe it's not a bug, but what about the idea that if you click on the gedit launcher a second time a new blank tab opens? A lot quicker than resorting to command line parameters. If you just want to give gedit the focus you probably click on the task bar item and not the launcher.