1. Este site usa cookies. Ao continuar a usar este site está a concordar com o nosso uso de cookies. Saber Mais.

Keytouch

Discussão em 'Dúvidas e Suporte Técnico - GNU/Linux & *nix' iniciada por SwimmerBoy, 17 de Abril de 2008. (Respostas: 1; Visualizações: 467)

  1. SwimmerBoy

    SwimmerBoy Folding Member

    Boas pessoal...

    Precisava de ajuda no keytouch...

    Tenho um portatil Acer Aspire 1691WLMi e as teclas FN+play/stop/next... não funcionam...

    Achei este site onde fala no keytouch e até apresenta uma config para o meu portatil...

    A minha questão neste momento está em como é que crio aquele ficheiro....
     
  2. esquiso

    esquiso Power Member

    Após ler as tres primeiras linhas fiquei perfeitamente esclarecido, não sei qual é a duvida.

    Usas o teu package manager (apt, pacman, portage, wtv) e instalar o pacote keytouch.
    Poes o keytouch a arrancar com o sistema ou com o teu Desktop Environment/Windows Manager.
    Crias o ficheiro Aspire 1690.Acer na pasta /usr/share/keytouch/keyboards/ com o seguinte conteudo:

    Código:
    <keyboard>
     <file-info>
       <syntax-version>1.1</syntax-version>
       <last-change format="%d-%m-%Y">13-08-2007</last-change>
       <author></author>
     </file-info>
     <keyboard-info>
       <keyboard-name>
         <manufacturer>Acer</manufacturer>
         <model>Aspire 1690</model>
       </keyboard-name>
     </keyboard-info>
     <key-list>
       <key>
         <name>Mute</name>
         <scancode>160</scancode>
         <keycode>MUTE</keycode>
         <default-action action-type="plugin">
           <plugin-name>Amixer</plugin-name>
           <plugin-function>Mute</plugin-function>
         </default-action>
       </key>
       <key>
         <name>Disable touchpad</name>
         <scancode>242</scancode>
         <keycode>LEFTMETA</keycode>
         <default-action></default-action>
       </key>
       <key>
         <name>Disable screen</name>
         <scancode>56</scancode>
         <keycode>CYCLEWINDOWS</keycode>
         <default-action></default-action>
       </key>
       <key>
         <name>Help</name>
         <scancode>165</scancode>
         <keycode>HELP</keycode>
         <default-action>khelpcenter || gnome-help</default-action>
       </key>
       <key>
         <name>Brightness up</name>
         <scancode>238</scancode>
         <keycode>BRIGHTNESSUP</keycode>
         <default-action></default-action>
       </key>
       <key>
         <name>Brightness down</name>
         <scancode>239</scancode>
         <keycode>BRIGHTNESSDOWN</keycode>
         <default-action></default-action>
       </key>
       <key>
         <name>Volume Up</name>
         <scancode>176</scancode>
         <keycode>VOLUMEUP</keycode>
         <default-action action-type="plugin">
           <plugin-name>Amixer</plugin-name>
           <plugin-function>Volume increase</plugin-function>
         </default-action>
       </key>
       <key>
         <name>Volume Down</name>
         <scancode>174</scancode>
         <keycode>VOLUMEDOWN</keycode>
         <default-action action-type="plugin">
           <plugin-name>Amixer</plugin-name>
           <plugin-function>Volume decrease</plugin-function>
         </default-action>
       </key>
       <key>
         <name>Play/Pause</name>
         <scancode>162</scancode>
         <keycode>PLAYPAUSE</keycode>
         <default-action action-type="plugin">
           <plugin-name>XMMS</plugin-name>
           <plugin-function>Play/Pause</plugin-function>
         </default-action>
       </key>
       <key>
         <name>Stop CD</name>
         <scancode>164</scancode>
         <keycode>STOPCD</keycode>
         <default-action action-type="plugin">
           <plugin-name>XMMS</plugin-name>
           <plugin-function>Stop</plugin-function>
         </default-action>
       </key>
       <key>
         <name>Previous song</name>
         <scancode>144</scancode>
         <keycode>PREVIOUSSONG</keycode>
         <default-action action-type="plugin">
           <plugin-name>XMMS</plugin-name>
           <plugin-function>Previous</plugin-function>
         </default-action>
       </key>
       <key>
         <name>Next song</name>
         <scancode>153</scancode>
         <keycode>NEXTSONG</keycode>
         <default-action action-type="plugin">
           <plugin-name>XMMS</plugin-name>
           <plugin-function>Next</plugin-function>
         </default-action>
       </key>
       <key>
         <name>Video out</name>
         <scancode>169</scancode>
         <keycode>SWITCHVIDEOMODE</keycode>
         <default-action></default-action>
       </key>
       <key>
         <name>P Key</name>
         <scancode>243</scancode>
         <keycode>PROG1</keycode>
         <default-action>keytouch</default-action>
       </key>
       <key>
         <name>E key</name>
         <scancode>244</scancode>
         <keycode>PROG2</keycode>
         <default-action>keytouch</default-action>
       </key>
       <key>
         <name>WWW</name>
         <scancode>178</scancode>
         <keycode>WWW</keycode>
         <default-action action-type="plugin">
           <plugin-name>WWW Browser</plugin-name>
           <plugin-function>Home</plugin-function>
         </default-action>
       </key>
       <key>
         <name>E-mail</name>
         <scancode>236</scancode>
         <keycode>EMAIL</keycode>
         <default-action action-type="plugin">
           <plugin-name>E-mail</plugin-name>
           <plugin-function>E-mail</plugin-function>
         </default-action>
       </key>
     </key-list>
    </keyboard>
    Corres o programa keytouch/inicias o daemon e vê se está a funcionar.
     

Partilhar esta Página