Visualizzazione dei risultati da 1 a 7 su 7
  1. #1

    Logitech Media Keyboard

    ciao raga
    ho bisogno di un piccolo aiutino, sto cercando di far funzionare la Media Keyboard della logitech e volevo sapere che comando devo mettere per far si che i tasti next back e preferiti funzionino con firefox? i tasti next e back sono quelli sul lato sinistro della tastiera, quello dei preferiti è in alto a sinistra. Poi la stessa cosa per il volume e per il tasto Mute.

    Sapete aiutarmi???
    Grazie.



    P.S.: scusate sto usando hotkeys

  2. #2

  3. #3
    Utente di HTML.it L'avatar di alvinet
    Registrato dal
    Apr 2004
    Messaggi
    651
    hotkeys.
    Lo fai partire con il comando:
    codice:
    hotkeys -t itouch
    Se i settaggi non ti vanno bene c'è il suo file di configurazione da modificare.
    www.sistemistiindipendenti.org
    alvin@jabber.linux.it

  4. #4
    ciao alvinet
    grazie per la risposta, ho provato come mi hai consigliato

    codice:
    hotkeys -t itouch
    e funziona solo con i tasti volume, mute, e-mail. Ho inserito la parte riguardante i tasti nel mio file di configurazione e non mi funzionano gli altri tasti.
    Ecco i miei due file per hotkeys:
    Il primo l'ho chiamato Logitech_Media_Keyboard.def:

    codice:
    <?xml version="1.0"?>
    
    <definition>
    
      <config model="Logitech Media Keyboard">
      
        <Search       keycode="229"/>
        <Next         keycode="233"/>
        <Back         keycode="234"/>
        
        <Bookmarks    keycode="230"/>
        <Home         keycode="178"/>
        
        <Playpause    keycode="162"/>
        <Stop         keycode="164"/>
        
        <Media        keycode="237"/>
        <VolUp        keycode="176" adj="2"/>
        <VolDown      keycode="174" adj="2"/>
        <Mute         keycode="160"/>
        
        <PrevTrack    keycode="144"/>
        <NextTrack    keycode="153"/>
        
        <Email        keycode="236"/>
        <Messenger    keycode="   "/>
      
        <Calculator   keycode="161"/>
        <PowerDown    keycode="223"/>
      
      </config>
      
      <contributor>
        <name>   </name>
        <email>   </email>
      </contributor>
    
    </definition>
    e il secondo hotkey.conf:

    codice:
    ############################################################
    # Global configuration for hotkeys                         #
    ############################################################
    
    #Tastiera predefinita
    Kbd=Logitech_Media_Keyboard
    
    #Azioni predefinite
    
    Search=/usr/local/bin/firefox
    Next=
    Back=
    
    Bookmarks=
    Home=/usr/bin/kfmclient openProfile filemanagement
    
    # Amarok Media Player
    
    Playpause=AMAROK_PLAYPAUSE
    Stop=AMAROK_STOP
    
    Media=/usr/bin/amarok
    Volup=
    Voldown=
    Mute=
    
    Next=AMAROK_FORWARD
    Previous=AMAROK_BACK
    
    Email=/usr/bin/thunderbird
    Messenger=
    
    Calculator=kcalc
    Shutdown=shutdown -h now
    
    
    # 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_timeout=3
    ### osd_position is either 'top' or 'bottom'
    # osd_position=bottom
    # osd_offset=25
    mi sai dire cosa devo modificare/aggiungere?
    Grazie e scusa se divento pesante.


  5. #5
    allora ho provato a modificare un paio di cosette:

    per quanto riguarda il tasto search funziona e faccio aprire firefox, ma vorrei che i tasti avanti e indietro mi permettano di passare nelle pagine visitate, come i pulsanti della barra di firefox, ma non ci sono riuscito.

    Per il tasto multimedia ho fatto così:

    codice:
    <userdef keycode="237" command="amarok">amaroK - Multimedia Player</userdef>
    e avvia correttamente amarok, ma se faccio lo stesso con i tasti Next track e Previous track, Play/Pause e Stop non funzionano, che comando devo dare?

    I tasti Volume, Mute, Email, Calc funzionano tranquillamente.

    Ricapitolando
    Tasti funzionanti: Search (Firefox), Media (Amarok), Volume, Mute, Email, Calc.

    Tasti non funzionanti: Avanti, Indietro (Firefox), Play/Pause, Stop, Traccia avanti Traccia indietro, Messenger (xev non mi ritorna il keycode).

    Qualcuno sa darmi una mano?

  6. #6
    nuovi aggiornamenti, ecco il file logitech_media_keyboard.def come è adesso:

    codice:
    <?xml version="1.0"?>
    
    <definition>
    
      <config model="Logitech Media Keyboard">
      
        <Search       keycode="229"/>
        <Next         keycode="233"/>
        <Back         keycode="234"/>
        
        <Bookmarks    keycode="230"/>
    
        <VolUp        keycode="176" adj="2"/>
        <VolDown      keycode="174" adj="2"/>
        <Mute         keycode="160"/>
    
        <Messenger    keycode=""/>
    
        <PowerDown    keycode="223"/>
        
        <userdef keycode="237" command="amarok">amaroK - Multimedia Player</userdef>
        <userdef keycode="144" command="amarok --previous">amaroK Previous Track</userdef>
        <userdef keycode="153" command="amarok --next">amaroK Next Track</userdef>
        <userdef keycode="162" command="amarok --play --pause">amaroK Play/Pause</userdef>
        <userdef keycode="164" command="amarok --stop">amaroK Stop</userdef>
        <userdef keycode="236" command="thunderbird">Thunderbird</userdef>
        <userdef keycode="161" command="kcalc">Kcalc</userdef>
        <userdef keycode="178" command="konqueror file:/home/cron/Documents/">Documents</userdef>
        
      </config>
      
      <contributor>
        <name>Cron</name>
        <email>   </email>
      </contributor>
    
    </definition>
    adesso mancano solamente i tasti Avanti e Indietro per utilizzarli con Firefox, Preferiti e Messenger. Quest'ultimo non viene registrato da xev, cioè non mi viene restituito il keycode.

  7. #7
    mi ricollego al discorso...

    anch'io ho una itouch e vorrei usarla con amarok (con xmms funziona a regola d'arte).
    Il problema è che quando clicco sui tasti multimediali esegue apre un altra sessione di amarok e quindi esegue il comando impartito... (--play, --previous,...)
    questo è il file itouch.def:
    <?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:

    ################################################## ##########
    # 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

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.