Visualizzazione dei risultati da 1 a 2 su 2

Discussione: hotkeys e amarok

  1. #1

    hotkeys e amarok


    Ciao,
    ho una itouch e vorrei usare i tasti multimediali con amarok (con xmms funziona a regola d'arte).
    Il problema è che quando clicco sui tasti multimediali li esegue ma ogni volta apre un altra sessione di amarok e quindi esegue il comando impartito... (--play, --previous,...)
    questo è il file itouch.def:
    codice:
    <?xml version="1.0"?>
    
    <definition>
    
    <config model="Logitech Cordless iTouch/Internet/Cordless Desktop">
    
    <PrevTrack keycode="144"/>
    <Play keycode="162"/>
    <Stop keycode="164"/>
    <NextTrack keycode="153"/>
    
    <VolUp keycode="176" adj="2"/>
    <VolDown keycode="174" adj="2"/>
    <Mute keycode="160"/>
    
    <WebBrowser keycode="178"/>
    <Email keycode="236"/>
    
    <Sleep keycode="223"/>
    
    <!-- Feel free to customize this
    
    <userdef keycode="230" command="/usr/bin/mozilla -remote 'openURL(http://google.com)'">Hattrick</userdef> -->
    
    <userdef keycode="230" command="firefox www.hattrick.org">Hattrick</userdef>
    
    <userdef keycode="229" command="firefox www.google.com">Google</userdef>
    
    
    
    <userdef keycode="161" command="xman">Xman</userdef>
    
    </config>
    
    <contributor>
    <name>to be added</name>
    <email>to be added</email>
    </contributor>
    
    </definition>
    e questo il file hotkeys.conf:

    codice:
    ############################################################
    # Global configuration for hotkeys #
    ############################################################
    
    # These are the default values.
    # A line starting with # is a comment.
    
    ### Specify the default keyboard (without the .def extension) so you
    ### don't need to specify -t every time
    # Kbd=acerwl
    # CDROM=/dev/cdrom
    
    # PrevTrack=xmms --rew
    # Play=xmms --play-pause
    # Stop=xmms --stop
    # Pause=xmms --pause
    # NextTrack=xmms --fwd
    # Rewind=
    
    PrevTrack=amarok -r
    Play=amarok -p
    Stop=amarok -s
    Pause=amarok -t
    NextTrack=amarok --next
    # Rewind=
    
    # WebBrowser=firefox
    # Email=mozilla -mail
    Email=kmail
    # Calculator=xcalc
    # FileManager=gmc
    # MyComputer=gmc
    # MyDocuments=gmc
    # Favorites=gnome-moz-remote --remote=openBookmarks
    # Transfer=gtp
    # Record=grecord
    # Shell=xterm -rv
    # ScreenSaver=xscreensaver-command -activate
    # NewsReader=mozilla -news
    # Communities=mozilla -remote 'openURL(http://slashdot.org)'
    # Search=mozilla -remote 'openURL(http://google.com)'
    # Search=mozffremote www.google.it
    # Idea=mozilla -remote 'openURL(http://sourceforge.net)'
    # Shopping=mozilla -remote 'openURL(http://thinkgeek.com)'
    # Go=mozilla -remote 'openURL(http://linux.com)'
    # Go=mozffremote www.hattrick.org
    # Print=lpr
    # Rotate=
    
    # osd_font=-arphic-ar pl kaitim big5-bold-i-normal--0-250-0-0-c-0-*-*
    ### For the color, you can either use the strings in /etc/X11/rgb.txt,
    ### or use the RGB syntax #RRGGBB, e.g. ##A086FF
    # osd_color=LawnGreen
    osd_color=LightBlue
    # osd_timeout=3
    ### osd_position is either 'top' or 'bottom'
    # osd_position=bottom
    # osd_offset=25
    AMD Phenom II X6 1090T, ASUS M3A78-CM, GTX460 OC 1GB, CentOS 7 & Thinkpad T410 windows & Fairphone FP2

  2. #2
    o_O
    come non detto... così funziona!
    prendete il thread come un HOWTO su come si deve fare...
    AMD Phenom II X6 1090T, ASUS M3A78-CM, GTX460 OC 1GB, CentOS 7 & Thinkpad T410 windows & Fairphone FP2

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.