Results 1 to 9 of 9

Thread: How do I disable the start page in gedit?

  1. #1
    Join Date
    Jul 2012
    Location
    ATL
    Beans
    178
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Question How do I disable the start page in gedit?

    Title pretty much says it all. I want to disable the start page that opens up every time you open gedit.

    To me the page is a bit of a nuisance. Gedit always opens the page, even when I'm opening a file. I'm pretty sure it's part of the reason why gedit takes an extra 5 seconds to boot up. 5 seconds may not seem like much, but it's enough time for me to forget what I was going to type.

  2. #2
    Join Date
    Feb 2009
    Location
    Dallas, TX
    Beans
    7,790
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: How do I disable the start page in gedit?

    Hi sienile.

    I've never seen that behaviour on gedit, so I assumed it is a plugin.

    This one maybe: reopen-tabs-gedit-plugin (Loads recently opened documents when gedit starts)

    Go to:
    Code:
    Edit -> Preferences -> Plugins
    and disable it there. Then restart Gedit.

    Let us know how it goes.
    Regards.

  3. #3
    Join Date
    Jul 2012
    Location
    ATL
    Beans
    178
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: How do I disable the start page in gedit?

    After a fresh re-install of Ubuntu I still have a similar problem. (The start page was a plugin that I installed, but did not show up in the Plugin Preferences tab somehow.)

    Now whenever I open a file by clicking it in a file manager (but not when using gedit's open dialog) it opens an extra blank document. It doesn't cause gedit to be slow opening like the start page did, but it's still annoying to have to close all the extra blank docs when I open a series of files.

    P.S.: Gedit has absolutely no additional plugins installed. It's the out-of-the-box Ubuntu 12.04 X86_64 installation.
    Last edited by sienile; August 11th, 2012 at 07:49 PM. Reason: PS

  4. #4
    Join Date
    Aug 2012
    Beans
    104

    Re: How do I disable the start page in gedit?

    Indeed that is a little odd, I also have a new installation of 12.04 and gedit does not show this behaviour, simply opens quickly with a single 'Untitled Document 1' in place when opened via Dash and when accessing files from a File Manager 2ble click it opens only the requested file. Perhaps disable all Gedit plugins and try again? Then slowly reintroduce the plugins one by one.

    Mind you have a look at this thread, particularly posts 6 and 7 which seem to point to a solution:

    https://bbs.archlinux.org/viewtopic.php?id=120283

    Looks like you are not alone .

  5. #5
    Join Date
    Jul 2012
    Location
    ATL
    Beans
    178
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: How do I disable the start page in gedit?

    Thanks, ads52. I had looked everywhere for someone having a similar issue. Guess I just wasn't using the right keywords to find it.

  6. #6
    Join Date
    Jul 2012
    Location
    ATL
    Beans
    178
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Exclamation Re: How do I disable the start page in gedit?

    While the steps in the forum posts ads52 pointed me to did not work, they put me in the right direction.

    To fix the blank page problem, you must edit /usr/share/applications/gedit.desktop

    The line that says:
    Code:
    Exec=gedit %U
    Change to
    Code:
    Exec=gedit $1
    That was what worked for me, but others have reported success and failure with each of the following:
    Code:
    Exec=gedit $1 < /dev/null
    Exec=gedit "$1" < /dev/null
    Exec=gedit %u
    Note that the last one is a lowercase U instead of the default capital.

    I believe the ones containing /dev/null are KDE solutions, mine and the %u are Gnome solutions.
    Last edited by sienile; August 12th, 2012 at 11:47 PM. Reason: mistakenly posted incorrect solution

  7. #7
    Join Date
    Jul 2012
    Location
    ATL
    Beans
    178
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: How do I disable the start page in gedit?

    Okay... this is ticking me off. After I reported this as solved, the very next file I opened in gedit caused the blank page to pop back up.

    I'm going to tinker with it some more and see what happens.

  8. #8
    Join Date
    Aug 2012
    Beans
    104

    Re: How do I disable the start page in gedit?

    Thanks for both researching the problem and posting the final solution .

  9. #9
    Join Date
    Jul 2012
    Location
    ATL
    Beans
    178
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: How do I disable the start page in gedit?

    Apparently I was being a bit too hasty with with trying each solution. It seems to take Ubuntu a few seconds more than I thought to update the application database automatically.

    After retrying each solution and waiting a full minute after each, the solution that actually worked for me was:
    Code:
    Exec=gedit $1 < /dev/null
    Post finally solved.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •