Results 1 to 6 of 6

Thread: Launching Text Editor from termninal/command line

  1. #1
    Join Date
    Jan 2014
    Beans
    12

    Launching Text Editor from termninal/command line

    Hello,

    I have learned that you can launch an application by typing its name intothe command line.

    However, when I try this with Text Editor, the error message says that Text is not a command. How do I resolve this?

    Also, how do you delete/uninstall an application from the command line or otherwise?

    Thanks,

    Tim

  2. #2
    Join Date
    Jul 2008
    Location
    The Left Coast of the USA
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Launching Text Editor from termninal/command line

    Hello!

    I assume you are typing

    Code:
    text editor
    or similar.

    The application you see called "Text Editor" is gedit. You can start it by doing

    Code:
    gedit
    The Left Coast Geek * The Community ATI Driver Wiki * Find what you need in the Ubuntu Community wikis

    Don't let the truth get in the way of a good story!
    This universe is crazy. I'm going back to my own.


  3. #3
    Join Date
    Apr 2012
    Beans
    6,635

    Re: Launching Text Editor from termninal/command line

    You can also invoke it as

    Code:
    gnome-text-editor
    which points to the current default GUI editor, based on the update-alternatives system (so for example that should still work even if you have installed a different default GUI editor)

    Code:
    $ update-alternatives --list gnome-text-editor
    /usr/bin/gedit
    /usr/bin/leafpad

  4. #4
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: Launching Text Editor from termninal/command line

    Quote Originally Posted by t.williams.im View Post
    Also, how do you delete/uninstall an application from the command line or otherwise?
    Code:
    sudo apt-get remove <package name>
    https://help.ubuntu.com/community/AptGet/Howto

    https://help.ubuntu.com/12.04/serverguide/apt-get.html

  5. #5
    ibjsb4 is offline Ubuntu addict and loving it
    Join Date
    Sep 2012
    Beans
    5,003

    Re: Launching Text Editor from termninal/command line

    Apt-get is first choice, but at times dpkg is needed.

    http://www.cyberciti.biz/howto/quest...heat-sheet.php

  6. #6
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    6,497
    Distro
    Ubuntu

    Re: Launching Text Editor from termninal/command line

    Once in a while I use the xdg-open command, which will open whatever application is the default for whatever file I want to look at.
    Code:
    xdg-open filenamehere
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

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
  •