Results 1 to 5 of 5

Thread: tool that show each mouse action as command line in terminal

  1. #1
    Join Date
    Dec 2008
    Beans
    28
    Distro
    Xubuntu 9.04 Jaunty Jackalope

    tool that show each mouse action as command line in terminal

    [SOLVED]
    hi,

    somebody know what tool I need to install, so I know what command line is being executed by each mouse action?

    For example:
    - if I click firefox-icon in the top panel, the command line to be shown is "firefox".
    - if I click my Home-folder (desktop icon), the command line to be shown is "thunar /home"

    and so on.
    Last edited by forum4programs; May 26th, 2009 at 07:16 PM. Reason: add [SOLVED]

  2. #2
    Join Date
    Jan 2009
    Beans
    Hidden!

    Re: tool that show each mouse action as command line in terminal

    i don't exactly get what you mean, but if you want to know the exact command for a running application, you have many options.

    1. ps aux | less.

    2. top command gives you a list of running apps.

    3. best option is to use htop (install it through aptitude or synaptic). it will give a similar output as top, but in a much better format.

  3. #3
    Join Date
    Dec 2008
    Beans
    28
    Distro
    Xubuntu 9.04 Jaunty Jackalope

    Re: tool that show each mouse action as command line in terminal

    Hopefully, you understand after I modify your's text, below (second paragraph with "=>"):

    Quote Originally Posted by x33a View Post
    if you want to know the exact command for a running application
    => ".... if you want to know the exact command just executed".

    that "ps aux" feel somehow closer to my answer, but better one is "history"-command.

    Unfortunately, "history"-command doesn't show time executed, doesn't detect executed command after a mouse-click and it is not real-time (like "top"-command).

    real-time is not important in this part.
    Last edited by forum4programs; May 25th, 2009 at 05:59 PM.

  4. #4
    Join Date
    Jan 2009
    Beans
    Hidden!

    Re: tool that show each mouse action as command line in terminal

    now that i have understood what you want, you should definitely try htop.

    it's just like ps aux, but with a better presentation.

    just enable tree view in htop, and you'll be able to see each process as it is created and its parent.

  5. #5
    Join Date
    Dec 2008
    Beans
    28
    Distro
    Xubuntu 9.04 Jaunty Jackalope

    Re: tool that show each mouse action as command line in terminal

    htop is excellent. It is what I need. Thank you x33a

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
  •