Results 1 to 7 of 7

Thread: How to make "top" run in a window?

  1. #1
    Join Date
    Aug 2008
    Location
    Minsk
    Posts
    105

    Question How to make "top" run in a window?

    I want to make top command run in a window. "top" command can be run in terminal, but if I want to make a shortcut for it be run in a window I get a message "top: failed tty get", so as I'm only learning, I need your help, thanks!

  2. #2
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: How to make "top" run in a window?

    letian wrote:
    > I want to make top command run in a window.


    try

    Code:
    xterm top
    and, have a lot of fun!

    --
    DenverD
    CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]
    Last edited by hcvv; 30-Oct-2010 at 07:26. Reason: typo in CODE tag

  3. #3
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: How to make "top" run in a window?

    Run it in a terminal in a window. E.g. the launch command should be

    konsole -e top

  4. #4
    Join Date
    Aug 2008
    Location
    Minsk
    Posts
    105

    Cool Re: How to make "top" run in a window?

    Oh! that's easy, many thanks.

  5. #5

    Default Re: How to make "top" run in a window?

    You can create a .desktop file in your ~/Desktop directory and/or use htop instead of top (install with: zypper in htop)

    Code:
    #!/usr/bin/env xdg-open
    [Desktop Entry]
    Comment=display Linux tasks
    Name=Top
    Exec=htop 
    Icon=htop
    Terminal=true
    MultipleArgs=false
    Type=Application
    If you prefer top, edit the two lines highlighted in red, replace 'htop' with 'top' in the Exec line and change the icon with whatever you like.

  6. #6

    Default Re: How to make "top" run in a window?

    I'm new to Opensuse (coming from Lubuntu). I use Opensuse 11.4 (Tumbleweed) + LXDE. I've installed HTOP and when i want to launch it in the menu, LXterminal starts but stays black. The only way to open htop is to first open LXterminal and then type "htop".
    Can you help me to solve this?

  7. #7
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: How to make "top" run in a window?

    On 2011-03-27 11:06, tlh21 wrote:
    >
    > I'm new to Opensuse (coming from Lubuntu). I use Opensuse 11.4
    > (Tumbleweed) + LXDE. I've installed HTOP and when i want to launch it in
    > the menu, LXterminal starts but stays black. The only way to open htop
    > is to first open LXterminal and then type "htop".
    > Can you help me to solve this?


    Tumbleweed related questions should go to the factory mail list.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

Posting Permissions

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