Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19

Thread: can open gedit as root

  1. #11
    Join Date
    Sep 2010
    Beans
    208
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: can open gedit as root

    hey,
    I ran gedit again as root from terminal.
    then when I went back to terminal i wanted to be able to write commands to it so I pressed Ctrl+Z.
    This brought me back to the normal "user@machine$"
    but it made gedit unresponsive so I closed it with Force Quit.
    But then the same problem, I couldn't run gedit as root again.
    When I typed
    Code:
    ps aux | grep gedit
    it showed that the process is still running so I tried to do
    Code:
    sudo killall gedit
    but that didn't help. The process was still running.
    What to so?

  2. #12
    Join Date
    Feb 2008
    Beans
    5,636

    Re: can open gedit as root

    Code:
    sudo killall -s 9 gedit
    Don't press ctrl-z; press the x button on the gedit window.

  3. #13
    Join Date
    Sep 2010
    Beans
    208
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: can open gedit as root

    Ok that helped
    but just a general question:
    when I launch a program from the terminal and I dont want to close the program but I want to be able to write again commands to terminal, what should I do?

  4. #14
    Join Date
    Feb 2008
    Beans
    5,636

    Re: can open gedit as root

    You could just open another terminal.

  5. #15
    Join Date
    Feb 2007
    Location
    Romania
    Beans
    Hidden!

    Re: can open gedit as root

    Quote Originally Posted by Avidanborisov View Post
    Ok that helped
    but just a general question:
    when I launch a program from the terminal and I dont want to close the program but I want to be able to write again commands to terminal, what should I do?
    Launch it in the background:
    Code:
    command &
    You may want to redirect its output to /dev/null:
    Code:
    command &> /dev/null &
    Check out:
    http://mywiki.wooledge.org/ProcessManagement
    and
    http://mywiki.wooledge.org/BashGuide/JobControl

  6. #16
    Join Date
    Sep 2009
    Location
    Canada, Montreal QC
    Beans
    1,809
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: can open gedit as root

    gnome-terminal supports multiple tabs, just open another one and do you things there.
    I know not with what weapons World War III will be fought, but World War IV will be fought with sticks and stones.
    Freedom is measured in Stallmans.
    Projects: gEcrit

  7. #17
    Join Date
    Jul 2005
    Location
    I think I'm here! Maybe?
    Beans
    Hidden!
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: can open gedit as root

    Actually, it is much less confusing to start gedit with the Alt+F2 run utility and command gksu gedit, rather than terminal. That way you are not left with an open terminal under the gedit window.

  8. #18
    Join Date
    Feb 2008
    Beans
    5,636

    Re: can open gedit as root

    Quote Originally Posted by ajgreeny View Post
    Actually, it is much less confusing to start gedit with the Alt+F2 run utility and command gksu gedit, rather than terminal. That way you are not left with an open terminal under the gedit window.
    ...or add a launcher in your menus (something like "gedit as root") with
    Code:
    gksu gedit
    as its command.

  9. #19
    Join Date
    Sep 2010
    Beans
    208
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: can open gedit as root

    Quote Originally Posted by TeoBigusGeekus View Post
    ...or add a launcher in your menus (something like "gedit as root") with
    Code:
    gksu gedit
    as its command.
    actually I already did that
    I was just wondering if there is anyway to continue work in the terminal without quiting.
    nevermind, I will just use a new tab.

Page 2 of 2 FirstFirst 12

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
  •