Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[MINI-TIP].xmodmap per macbook
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Risorse italiane (documentazione e tools)
View previous topic :: View next topic  
Author Message
ErniBrown
Apprentice
Apprentice


Joined: 19 Jan 2005
Posts: 276
Location: Seconda stella a destra e poi dritto fino al mattino...

PostPosted: Mon Sep 04, 2006 4:45 pm    Post subject: [MINI-TIP].xmodmap per macbook Reply with quote

edit makoomba: soluzione del problema

Ho bisogno di creare un file xmodmap per la tasiera del portatile, sia per creare eventi che per riconfigurare dei tasti.

Ho seguito questa guida, ma è troppo specifica per i tasti multimediali: il mio problema è che mi manca il tasto Alt-Gr, e i tasti backslash e greater sono invertiti. finchè si tratta di trovare il keymap con xev nessun problema, ma cosa cavolo scrivo nel file? keycode = ?
_________________
There are 10 kind of people:
those who understand binaries and
those who don't.


Last edited by ErniBrown on Mon Sep 04, 2006 10:43 pm; edited 1 time in total
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Mon Sep 04, 2006 8:14 pm    Post subject: Re: Xmodmap Reply with quote

ErniBrown wrote:
ma cosa cavolo scrivo nel file? keycode = ?


Potresti partire da:
Code:
man xmodmap

in particolare potrebbe esserti utile l'opzione -pke ;-)
_________________
Ciao da me!
Back to top
View user's profile Send private message
ErniBrown
Apprentice
Apprentice


Joined: 19 Jan 2005
Posts: 276
Location: Seconda stella a destra e poi dritto fino al mattino...

PostPosted: Mon Sep 04, 2006 10:43 pm    Post subject: Reply with quote

Grande Randomaze! Ho risolto tutto quanto! -pke mi era sfuggita nelle 257 righe di man.

Per coloro a cui potesse tornare utile posto il file che ho creato per correggere la tastiera del macbook:
Code:

keycode  49 = less greater guillemotleft guillemotright
keycode  94 = backslash bar notsign brokenbar notsign brokenbar
keycode 108 = Delete
keycode 116 = ISO_Level3_Shift
keycode 204 = XF86Eject


116 è il tasto mela destro: l'ho associato ad alt-gr, per poter fare chiocciola, cancelletto, quadre...
108 è il tasto accanto, che penso sia un return: io lo trovavo inutile e l'ho mappato così. I primi due invertono backslash e greater.

XF86Eject serve per mappare il tasto eject del cdrom, ma non lo collega alla funzione eject! Per farlo ci sono molte strade: io ho usato khotkeys, un programma integrato in kdecontrolcenter, ma si può anche usare xbindkeys per renderlo definitivo per tutti i windows manager.
Ovviamente si possono fare altri binding, per il tasto destro e centrale del mouse, per la luminosità, per il sonoro... Ho preferito lasciare libertà.
_________________
There are 10 kind of people:
those who understand binaries and
those who don't.
Back to top
View user's profile Send private message
diego_82
Apprentice
Apprentice


Joined: 02 May 2004
Posts: 257
Location: Londra

PostPosted: Tue Sep 05, 2006 8:21 am    Post subject: Reply with quote

Grazie! Ho un macbook anche io e mi sarà sicuramente utile!
Back to top
View user's profile Send private message
makoomba
Bodhisattva
Bodhisattva


Joined: 03 Jun 2004
Posts: 1856

PostPosted: Tue Sep 05, 2006 10:48 am    Post subject: Reply with quote

sposto in documentazione, così è più facile reperire il topic per chi ne avvesse bisogno.

edit:
@ErniBrown
ho aggiunto al tuo primo post un link alla tua soluzione :wink:
_________________
When all else fails, read the instructions.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Risorse italiane (documentazione e tools) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum