Announcement

Collapse
No announcement yet.

keystroke macros/hotkeys?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    keystroke macros/hotkeys?

    Is there a way to assign keystrokes to start programs? For instance, ctrl-alt-w to start Kommander?

    -----Paul-----

    #2
    Re: keystroke macros/hotkeys?

    System Settings > Computer Administration > Keyboard & Mouse > Keyboard Shortcuts > Command Shortcuts

    Comment


      #3
      Re: keystroke macros/hotkeys?

      Buried that one deeply, didn't they? But it is what I needed. Is there a way to assign keystrokes to something that does not show on the menu?

      ----Paul----

      Comment


        #4
        Re: keystroke macros/hotkeys?

        It depends - if you are thinking of an application not mentioned in the menu(es), the only way I know of would be to revert to KDE's menu editor, create a new menu, and set the according shortkey.

        Comment


          #5
          Re: keystroke macros/hotkeys?

          Originally posted by pwright2
          Is there a way to assign keystrokes to something that does not show on the menu?
          You can take a look at Input Actions (kcontrol>Regional&Accessibility>InputActions...or systemsettings>Accessibility>InputActions)

          In Input Actions you can create shortcuts and mousegestures for commands/programs/dcop-calls etc.

          You may have to toy with it a bit to get a hang of it, but start with 'New Action'.

          Comment


            #6
            Re: keystroke macros/hotkeys?

            Great! Thanks to both of you.

            -----Paul-----

            Comment


              #7
              Re: keystroke macros/hotkeys?

              I looked around the forum for inputactions as they don't seem to work here.
              Here's what I did:
              Go to system preferences - regional and accessability - input actions.
              Click on new action, give it a name and set type to Keyboard Shortcut -> Keyboard input (simple)
              Click on keyboard shortcut and assign a key, for instance Ctrl + Alt + H
              Click on keyboard input settings and type a word into the box.
              Choose Send input to active window.
              Click on Modify, then on Apply.

              As I understand, if you type Ctrl Alt H somewhere it should produce the word you typed but it does not work here.

              Thanks again (trying to get my ubuntu the way I want it)
              Greetings from Groningen Netherlands

              Comment


                #8
                Re: keystroke macros/hotkeys?

                With Kubuntu Gutsy Gibbon (Kubuntu 7.10 / KDE 3.5.8):

                System Settings
                K > System Settings > Accessibility > Input Actions ...

                Control Centre
                Starting Control Centre: Press Alt + F2 and type kcontrol. There is also "Settings - Control Centre modules menu" in the Add Applet menu: Right click panel > Add Applet to Panel > Settings...

                Control Centre > Regional & Accessibility > Input Actions ...


                As I understand, if you type Ctrl Alt H somewhere it should produce the word you typed but it does not work here.
                In the "Keyboard input:" box:
                Shift+T:h:i:s:space:w:r:k:s:
                If you want to see text "This works"

                Here is a pdf article of KHotkey - system:
                Linux Magazine Online / Mouse gestures and keyboard shortcuts with KHotkeys
                http://www.linuxpromagazine.com/issues/2005/50/a_game_of_signs/(kategorie)/0
                =>
                http://w3.linux-magazine.com/issue/50/KHotkeys.pdf



                Links:
                Topic: Create a new folder keyboard shortcut
                http://kubuntuforums.net/forums/inde...opic=3088714.0

                HOWTO : KDE Mouse Gestures
                http://kubuntuforums.net/forums/inde...opic=3086781.0

                FAQ: Control Centre vs. System Settings
                http://kubuntuforums.net/forums/inde...opic=3091157.0
                Before you edit, BACKUP !

                Why there are dead links ?
                1. Thread: Please explain how to access old kubuntu forum posts
                2. Thread: Lost Information

                Comment


                  #9
                  Re: keystroke macros/hotkeys?

                  After searching long and hard for something to automate keystrokes [like keying in strings of data etc.] I finally found out about the following that works a treat.

                  Open a terminal window and key in ...

                  kcmshell khotkeys

                  ... from there on it's pretty obvious how things work if you look at the examples given and play around - bit messy at first but can save loads of time once set up.

                  Hope it helps

                  Cheers

                  Phil

                  Comment


                    #10
                    Re: keystroke macros/hotkeys?

                    CLI Magick

                    You can bypass both Control Centre and System Settings by using konsole or "Run Command" (Alt + F2).

                    man kcmshell:
                    KCMSHELL(1) tool to start single KDE control modules KCMSHELL(1)

                    NAME
                    kcmshell - tool to start single KDE control modules

                    SYNOPSIS
                    kcmshell [Qt-options] [KDE-options] [options] module

                    DESCRIPTION
                    kcmshell is a tool to start single KDE control modules.

                    OPTIONS
                    Arguments:
                    module Configuration module to open

                    --lang <language>
                    Specify a particular language

                    --embed <id>
                    Embeds the module with buttons in window with id <id>

                    --embed-proxy <id>
                    ...
                    => Command:
                    Code:
                    kcmshell --list
                    will list all possible modules
                    Before you edit, BACKUP !

                    Why there are dead links ?
                    1. Thread: Please explain how to access old kubuntu forum posts
                    2. Thread: Lost Information

                    Comment

                    Working...
                    X