Results 1 to 5 of 5

Thread: Keyboard shortcut to activate existing instance of gnome-terminal

  1. #1

    Thread Starter
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Arrow Keyboard shortcut to activate existing instance of gnome-terminal

    Hi all,

    I set up a keyboard shortcut in gnome to launch the terminal with a particular size. Whenever I press this key combination a new terminal opens.

    How can I get it to instead activate an instance of the terminal if one already exists?

  2. #2
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Re: Keyboard shortcut to activate existing instance of gnome-terminal

    gnome-terminal has a few command line arguments that may be of use, I haven't had time to try them but --active may work. (Have a look at `gnome-terminal --help` in a regular shell session.)
    I don't live here any more.

  3. #3

    Thread Starter
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Keyboard shortcut to activate existing instance of gnome-terminal

    --tab should do it but doesn't.

  4. #4
    Fanatic Member kregg's Avatar
    Join Date
    Feb 2006
    Location
    UK
    Posts
    524

    Re: Keyboard shortcut to activate existing instance of gnome-terminal

    In Ubuntu, it has a keyboard shortcuts panel. The program is called gnome-keybinding-properties. Try giving that a go. It allows you to assign a keyboard shortcut to a terminal under the "Desktop" part.

  5. #5

    Thread Starter
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Keyboard shortcut to activate existing instance of gnome-terminal

    Yup, I did that, and I can load a new terminal, but not activate an existing one.

    It doesn't matter much. I like both behaviours.

Posting Permissions

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



Click Here to Expand Forum to Full Width