Juno how to open code text editor from command line

Discussion in 'Software & Applications' started by manu, Oct 21, 2018.

  1. manu

    manu Thread Starter
    Expand Collapse
    Member

    Joined:
    Aug 23, 2015
    Messages:
    5
    Likes Received:
    0
    as per title

    how do I open code text editor from command line?

    have tried code but doesn't work... and looking up applications doesn't give much details about the program (which i assume use to be scratch-text-editor?)

    Cheers
     
  2. Uhtred

    Uhtred
    Expand Collapse
    Member

    Joined:
    Oct 20, 2018
    Messages:
    5
    Likes Received:
    1
    Hello manu
    Open a terminal and type gedit then press Enter
    Does it for me everytime.
     
  3. Uhtred

    Uhtred
    Expand Collapse
    Member

    Joined:
    Oct 20, 2018
    Messages:
    5
    Likes Received:
    1
    Hey manu
    You could also open a terminal and type: man gedit
    Where a load of useful information is displayed concerning gedit.
    Hope this helps.
     
  4. manu

    manu Thread Starter
    Expand Collapse
    Member

    Joined:
    Aug 23, 2015
    Messages:
    5
    Likes Received:
    0
    aaaah... thanks Uhtred! :)

    so it's gedit... was searching code and scratch but couldn't come up with anything

    appreciate that..
     
  5. manu

    manu Thread Starter
    Expand Collapse
    Member

    Joined:
    Aug 23, 2015
    Messages:
    5
    Likes Received:
    0
    gedit doesn't work, i think it's a different program from code (default for Juno)
     
  6. Uhtred

    Uhtred
    Expand Collapse
    Member

    Joined:
    Oct 20, 2018
    Messages:
    5
    Likes Received:
    1
    Hello manu

    I have never used the software called 'code' before, but if you want to know more about the program have a look here: https://medium.com/elementaryos/scratch-is-now-code-2838e03134c7

    As far as Gedit is concerned just click on Gedit and then click on the little down arrow opposite 'open'. It's just a matter of selecting the file you want to work on then.

    Hope that helps.
     
  7. manu

    manu Thread Starter
    Expand Collapse
    Member

    Joined:
    Aug 23, 2015
    Messages:
    5
    Likes Received:
    0
    I think you are not using Elementary Juno... Found the command

    io.elementary.code

    Works...

    Gedit doesn't exist in Juno (unless user installs it of course)
     

Share This Page

Loading...