Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index International Gentoo Users Deutsches Forum (German)
  • Search

[solved] Diakritische Zeichen unter X und Metakey...

Support-Forum
Diskussionen rund um Installation, Betrieb und Anpassungen von Gentoo und dessen Paketen sowie dabei auftretenden (technischen) Problemen.
Deutsches Portal: www.gentoo.de
Post Reply
  • Print view
Advanced search
5 posts • Page 1 of 1
Author
Message
tranqil
n00b
n00b
Posts: 6
Joined: Thu Oct 25, 2012 10:54 am

[solved] Diakritische Zeichen unter X und Metakey...

  • Quote

Post by tranqil » Thu Oct 25, 2012 11:27 am

Hallo Board,

folgendes - absolut Gentoo-unspezifisches - Problem (ich hoffe man ist mir trotzdem geneigt zu helfen); Ich möchte unter X diakritische Zeichen (wie z.B. á oder é) eingeben können, das habe ich auch bereits schon erfolgreich als "per user" Einstellung in meiner ~/.xinintrc mit Hilfe der Layoutvariante ("intl") umsetzen können, allerdings ist nun folgender Effekt eingetreten, die Taste mit dem Deckelzeichen / Zirkumflex ("^") wird nun ebenfalls als "Metakey" für die Eingabe von Akzenten genutzt und das führt in manchen Programmen für ungewöhnlichen Problemen. Jetzt stelle ich mir die Frage, ob ich z.B. mit Hilfe von "setxkbmap" die Funktionsweise der Zirkumflex-Taste so umbiegen kann, das sie wieder der XKB-Variante ohne "intl"-Unterstützung entspricht (Meta-Funktion entfernen und direkt bei Tastendruck ein "^" ausliefern)? Ich gehe fest davon aus, dass es eigentlich eine recht einfache Lösung für mein "Dilemma" gibt, ich komm nur nicht drauf.

Zusammenfassung:
- Meta-Funktion des Zirkumflex entfernen
- Lediglich Gravis / Akzent-Taste als Metakey für die Eingabe der diakritischen Zeichen nutzen (z.B. `+a..)

Hoffentlich konnte ich das verständlich genug erklären, was ich ändern möchte.

Aktuelle Konfiguration:

Code: Select all

setxkbmap -model pc105 -layout de -variant nodeadkeys,intl
setxkbmap -option terminate:ctrl_alt_bksp
Vielen Dank im voraus!
Last edited by tranqil on Sat Oct 27, 2012 1:24 pm, edited 1 time in total.
Top
tranqil
n00b
n00b
Posts: 6
Joined: Thu Oct 25, 2012 10:54 am

  • Quote

Post by tranqil » Sat Oct 27, 2012 1:23 pm

Um das hier mal ordentlich abzuschließen. Ich habe zwar keine wirkliche Lösung für mein Problem finden können, aber ich konnte mir einen kleinen workaround basteln, der prinzipiell ausreichend ist.
In der "Keybinding-"Konfiguration meines Window-Managers Awesome habe ich folgenden Eintrag hinzugefügt:

Code: Select all

awful.key({ modkey, "Shift"   }, "o", function () sexec(script_path .. "toggle_xkb_variant.sh") end),
Das Script "toggle_xkb_variant.sh" welches mit Hilfe der Tastenkombination ausgeführt wird sieht folgendermaßen aus:

Code: Select all

#!/bin/bash
setxkbmap -query|grep intl >/dev/null && setxkbmap -model pc105 -layout de -variant nodeadkeys || setxkbmap -model pc105 -layout de -variant nodeadkeys,intl
Ich denke das ist selbstklärend.

Grüße!
Top
platinumviper
l33t
l33t
User avatar
Posts: 663
Joined: Thu Feb 12, 2004 3:39 pm
Location: Munich, Germany

  • Quote

Post by platinumviper » Sat Oct 27, 2012 10:42 pm

Du kannst auch einfach

Code: Select all

xmodmap -e "keycode 0x31 = asciicircum degree dead_circumflex degree U2032"
in deine ~/.bashrc schreiben, das ist recourcenschonender.
No money back garantee. In case of problems, don't call us, we call you.
Top
tranqil
n00b
n00b
Posts: 6
Joined: Thu Oct 25, 2012 10:54 am

  • Quote

Post by tranqil » Mon Oct 29, 2012 12:05 pm

platinumviper, vielen lieben Dank!
Genau danach hatte ich gesucht. Perfekt.
Top
bell
Guru
Guru
User avatar
Posts: 524
Joined: Tue Nov 27, 2007 8:48 am

  • Quote

Post by bell » Mon Oct 29, 2012 12:09 pm

bashrc ist die falsche Stelle. Das wird bei jeder neu aufgemachten Console ausgeführt. Besser wäre eine Autostart-Desktop Datei unter ~/.config/autostart/.
Top
Post Reply
  • Print view

5 posts • Page 1 of 1

Return to “Deutsches Forum (German)”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Authors
Gentoo is a trademark of the Gentoo Foundation, Inc. and of Förderverein Gentoo e.V.
The contents of this document, unless otherwise expressly stated, are licensed under the CC-BY-SA-4.0 license.
The Gentoo Name and Logo Usage Guidelines apply.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy