Bonjour, J'ai essayé quelques options, mais ça ne fonctionne pas.
En mode terminal, n'y a-t-il pas un moyen d'afficher la touche ou (combinaison de) qui est pressée(genre xev pour le mode terminal) ? Merci d'avance -- Benoit Le 17 octobre 2016 à 15:19, bernard schoenacker <bernard.schoenac...@free.fr> a écrit : > On Mon, 17 Oct 2016 15:02:01 +0000 > Benoit B <benoit...@gmail.com> wrote: > >> Bonjour, >> >> Pour que Meta soit affecté à la touche Win du clavier et que Alt reste >> bien Alt dans mon .emacs, j'ai ajouté ceci : >> >> ;;Utiliser la touche Win pour Meta >> (setq x-super-keysym 'meta) >> (setq x-alt-keysym 'alt) >> (setq x-meta-keysym 'alt) >> >> Comment faire pour que ça fonctionne en mode terminal ? >> >> Adaptation : >> >> (if (display-graphic-p) >> (progn >> ;; if graphic >> (setq x-super-keysym 'meta) >> (setq x-alt-keysym 'alt) >> (setq x-meta-keysym 'alt) >> ) >> ;; else >> ;;(je mets quoi ici ?) >> ) >> >> Merci d'avance. >> >> -- >> Benoit >> >> Cf. >> https://www.emacswiki.org/emacs/MetaKeyProblems#toc9 >> >> http://stackoverflow.com/questions/5795451/how-to-detect-that-emacs-is-in-terminal-mode > > bonjour, > > essayes ceci : sudo dpkg-reconfigure keyboard-configuration > > > -- > bernard schoenacker <bernard.schoenac...@free.fr>