Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: Configure Thinkpad Hotkey

  1. #1
    FarmerBlair NNTP User

    Default Configure Thinkpad Hotkey


    Hi!
    I hope this belongs to this subforum.

    I'm new to OpenSuse and use version 11.1 with Gnome on my Thinkpad
    T400.

    Some of the Notebook's hotkeys don't work yet.
    While trying to configure (for example the ThinkVantage key) I realised
    that they don't give any keystroke events in xev.

    Instead they send acpi events (checked with acpi_listen).

    What is the right way to assign actions (for example start a program)
    to acpi events?

    Thank you!!!


    --
    FarmerBlair
    ------------------------------------------------------------------------
    FarmerBlair's Profile: http://forums.opensuse.org/member.php?userid=19473
    View this thread: http://forums.opensuse.org/showthread.php?t=404310


  2. #2
    ram88 NNTP User

    Default Re: Configure Thinkpad Hotkey


    FarmerBlair;1923342 Wrote:
    > Hi!
    > I hope this belongs to this subforum.
    >
    > I'm new to OpenSuse and use version 11.1 with Gnome on my Thinkpad
    > T400.
    >
    > Some of the Notebook's hotkeys don't work yet.
    > While trying to configure (for example the ThinkVantage key) I realised
    > that they don't give any keystroke events in xev.
    >
    > Instead they send acpi events (checked with acpi_listen).
    >
    > What is the right way to assign actions (for example start a program)
    > to acpi events?
    >
    > Thank you!!!


    keytouch - available from packman repository.
    'Laptop extra keys - HOWTO'
    (http://akoskm.blogspot.com/2009/01/l...eys-howto.html)

    ps.: you can grab a couple of plugins from keytouch's site


    --
    http://yami.googlecode.com/
    http://akoskm.blogspot.com/
    ------------------------------------------------------------------------
    ram88's Profile: http://forums.opensuse.org/member.php?userid=1058
    View this thread: http://forums.opensuse.org/showthread.php?t=404310


  3. #3
    FarmerBlair NNTP User

    Default Re: Configure Thinkpad Hotkey


    Thank you for your tip!

    I'm really looking forward to using keytouch.

    However, at the moment it doesn't work.

    It just tells me that no keyboard is specified yet, afterwards the
    program stops.

    I restartet keytouch using the console.

    The error message is the following:

    Code:
    --------------------
    # keytouch
    which: no gksu in (/home/marcel/bin:/usr/local/bin:/usr/bin:/sbin:/usr/sbin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib64/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin)
    /usr/bin/keytouch-keyboard: line 6: kdesu: command not found
    --------------------


    What can I do?


    --
    FarmerBlair
    ------------------------------------------------------------------------
    FarmerBlair's Profile: http://forums.opensuse.org/member.php?userid=19473
    View this thread: http://forums.opensuse.org/showthread.php?t=404310


  4. #4
    ram88 NNTP User

    Default Re: Configure Thinkpad Hotkey


    FarmerBlair;1923518 Wrote:
    > Thank you for your tip!
    >
    > I'm really looking forward to using keytouch.
    >
    > However, at the moment it doesn't work.
    >
    > It just tells me that no keyboard is specified yet, afterwards the
    > program stops.
    >
    > I restartet keytouch using the console.
    >
    > The error message is the following:
    > >

    Code:
    --------------------
    > > # keytouch

    > which: no gksu in (/home/marcel/bin:/usr/local/bin:/usr/bin:/sbin:/usr/sbin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib64/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin)
    > /usr/bin/keytouch-keyboard: line 6: kdesu: command not found

    --------------------
    > >

    >
    > What can I do?

    Are you installed it from 'Packaman repository'
    (http://packman.jacobs-university.de/suse/11.1/) or compiled?


    --
    http://yami.googlecode.com/
    http://akoskm.blogspot.com/
    ------------------------------------------------------------------------
    ram88's Profile: http://forums.opensuse.org/member.php?userid=1058
    View this thread: http://forums.opensuse.org/showthread.php?t=404310


  5. #5
    FarmerBlair NNTP User

    Default Re: Configure Thinkpad Hotkey


    I installed it from Packman Repository.

    As "kde" was in the error message and I'm using gnome, i thought, maybe
    it was compiled in KDE and therefore it doesn't work.

    I tried to compile it myself, but ./configure gave the error message

    Code:
    --------------------
    checking for ALSA LDFLAGS... -lasound -lm -ldl -lpthread
    checking for libasound headers version >= 1.0.10... not present.
    configure: error: Sufficiently new version of libasound not found.
    --------------------

    Sadly, I didn't find libasound development packages for opensuse.

    And, of course, thanks for your help!


    --
    FarmerBlair
    ------------------------------------------------------------------------
    FarmerBlair's Profile: http://forums.opensuse.org/member.php?userid=19473
    View this thread: http://forums.opensuse.org/showthread.php?t=404310


  6. #6
    ram88 NNTP User

    Default Re: Configure Thinkpad Hotkey


    FarmerBlair;1923589 Wrote:
    > I installed it from Packman Repository.
    >
    > As "kde" was in the error message and I'm using gnome, i thought, maybe
    > it was compiled in KDE and therefore it doesn't work.
    >
    > I tried to compile it myself, but ./configure gave the error message
    > >

    Code:
    --------------------
    > > checking for ALSA LDFLAGS... -lasound -lm -ldl -lpthread

    > checking for libasound headers version >= 1.0.10... not present.
    > configure: error: Sufficiently new version of libasound not found.

    --------------------
    > >

    > Sadly, I didn't find libasound development packages for opensuse.
    >
    > And, of course, thanks for your help!


    Okay, the packman version will be good - I have the same.
    Try the following in Terminal:

    Code:
    --------------------

    su
    keytouch-keyboard-bin

    --------------------

    This will start the keyboard selection window.
    After start keytouch (still in root):

    Code:
    --------------------

    keytouch

    --------------------


    ps.: there should be an equivalent for kdesu in gnome - is this
    available for opensuse: http://www.nongnu.org/gksu/?


    --
    http://yami.googlecode.com/
    http://akoskm.blogspot.com/
    ------------------------------------------------------------------------
    ram88's Profile: http://forums.opensuse.org/member.php?userid=1058
    View this thread: http://forums.opensuse.org/showthread.php?t=404310


  7. #7
    FarmerBlair NNTP User

    Default Re: Configure Thinkpad Hotkey


    kewl.
    keytouch-keyboard-bin did the job. keytouch starts just as it should
    right now.

    the only thinkpad keyboard pre configured is the t60.
    I tried it, but still I can't perform actions with the ThinkVantage
    key.

    When I click on "apply" the shell says
    Code:
    --------------------
    :~> keytouch
    keytouchd(5106): Die Operation ist nicht erlaubt <== The operation is not permitted
    Warning: Not all keys can be grabbed by this program. This
    can be caused by another program which is already
    grabbing these keys.

    --------------------


    --
    FarmerBlair
    ------------------------------------------------------------------------
    FarmerBlair's Profile: http://forums.opensuse.org/member.php?userid=19473
    View this thread: http://forums.opensuse.org/showthread.php?t=404310


  8. #8
    ram88 NNTP User

    Default Re: Configure Thinkpad Hotkey


    FarmerBlair;1923642 Wrote:
    > kewl.
    > keytouch-keyboard-bin did the job. keytouch starts just as it should
    > right now.
    >
    > the only thinkpad keyboard pre configured is the t60.
    > I tried it, but still I can't perform actions with the ThinkVantage
    > key.
    >
    > When I click on "apply" the shell says>

    Code:
    --------------------
    > > :~> keytouch

    > keytouchd(5106): Die Operation ist nicht erlaubt <== The operation is not permitted
    > Warning: Not all keys can be grabbed by this program. This
    > can be caused by another program which is already
    > grabbing these keys.
    >

    --------------------
    > >

    Are you tried before to configure these keys? Maybe your ThinkVantage
    key already has an action - check your global shortcuts (I have no idea
    where, never used Gnome ).


    --
    http://yami.googlecode.com/
    http://akoskm.blogspot.com/
    ------------------------------------------------------------------------
    ram88's Profile: http://forums.opensuse.org/member.php?userid=1058
    View this thread: http://forums.opensuse.org/showthread.php?t=404310


  9. #9
    FarmerBlair NNTP User

    Default Re: Configure Thinkpad Hotkey


    hehe...
    yes I tried to configure the key in /usr/lib/acpid/thinkpad_handler,
    but I removed all changes..

    There is a file /etc/acpi/events/thinkpad, that graps all thinkpad
    specific acpi-events.

    But I'm not sure, that I should delete those files (I guess they exist
    in KDE two).

    Is it possible, that the t60 file doesn't fit (I don't think so,
    because on 'How to get special keys to work - ThinkWiki'
    (http://www.thinkwiki.org/wiki/How_to...l_keys_to_work) there
    are the acpi codes and they also fit for the T400)


    --
    FarmerBlair
    ------------------------------------------------------------------------
    FarmerBlair's Profile: http://forums.opensuse.org/member.php?userid=19473
    View this thread: http://forums.opensuse.org/showthread.php?t=404310


  10. #10
    FarmerBlair NNTP User

    Default Re: Configure Thinkpad Hotkey


    I did some more research and found some interesting facts.

    I downloaded keytouch-editor.
    When I tried to start it in the shell with "keytouch-editor", i get

    Code:
    --------------------
    # keytouch-editor
    which: no gksu in (/home/marcel/bin:/usr/local/bin:/usr/bin:/sbin:/usr/sbin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib64/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin)
    /usr/bin/keytouch-editor: line 6: kdesu: command not found
    --------------------

    I did the same as you taught me before and started it with
    keytouch-editor-bin.

    With that command keytouch-editor is loading.
    I choose "ACPI device (ACPI)". Pressing the ThinkVantage key takes me
    to the next window, where I can edit keys.
    I click "New" and press the ThinkVantage-key. In the next window I
    should enter a name. So I write "ThinkVantage in the certain field.

    Pressing on "Okay" makes the program crash.

    I get quite a long error message in the shell. I try to post it
    somehow.

    Thanks again for your help.


    --
    FarmerBlair
    ------------------------------------------------------------------------
    FarmerBlair's Profile: http://forums.opensuse.org/member.php?userid=19473
    View this thread: http://forums.opensuse.org/showthread.php?t=404310


Page 1 of 3 123 LastLast

Posting Permissions

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