Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 04-12-2011, 01:21 PM   #1
Registered: Apr 2011
Distribution: antiX, Mageia, OpenSUSE, etc... I multi-boot
Posts: 36

Rep: Reputation: 0
Multi_key, xorg.conf & setxkbmap

Hello, I've only recently learned how to use the "Multi_key" function of the X windows system... I learned how to set a ‘compose key’ from:

Which I found via google. It gave both directions for defining a compose key in the xorg.conf file. which method did NOT work for me on Arch Linux «even after a full reboot...»

I'm not all that concerned about that however, because I find the temporary setxkbmap method more appealing anyway. A simple ‘~/bin’ bash script which if $1 begins with -h will less /usr/share/X11/locale/en_US.UTF-8/Compose and will otherwise run the command:
setxkbmap -model pc104 -layout us -option compose:rwin
Which «unlike the xorg.conf method» works like a charm...

My question is IF I use the above setxkbmap command to enable a Multi_key, is there also a setxkbmap command I could issue to disable it???
Old 04-12-2011, 02:06 PM   #2
David the H.
Bash Guru
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,823

Rep: Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960
Man sexkbmap
-option name      Specifies  the  name  of  an  option  to  determine  the
                  components which make up the keyboard description; multiple
                  options may be specified, one per -option flag.  Note that
                  setxkbmap adds options specified in the command line to the
                  options that were set before (as saved in root window
                  properties). If you want to replace all previously specified
                  options, use the -option flag with an empty argument first.
So simply run it with an empty -option flag. Or if you want to change to a new setting, then use two -option tags; an empty one to clear the previous settings, and a second one to apply the new settings.
setxkbmap -model pc104 -layout us -option -option compose:lwin

Last edited by David the H.; 04-12-2011 at 02:09 PM. Reason: typed the wrong thing
1 members found this post helpful.
Old 04-13-2011, 04:22 PM   #3
Registered: Apr 2011
Distribution: antiX, Mageia, OpenSUSE, etc... I multi-boot
Posts: 36

Original Poster
Rep: Reputation: 0
Originally Posted by David the H. View Post
Man sexkbmap
Whoopsie... I should have tried that. I'm thinking I was tired. But thanks for the help.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help with Kubuntu: KDE & xorg.conf JosephS Ubuntu 1 07-27-2009 07:42 AM
PLEASE copy&paste your /etc/X11/xorg.conf file IF you use Intel 965GM &. Balarabay1 Linux - Software 3 10-06-2008 05:33 PM
help with /dev/input/ & xorg.conf adamruss Linux - Hardware 2 08-13-2007 06:22 PM
xorg.conf - video && touchpad problem * (Dell C640) Pear-i Linux - Laptop and Netbook 2 07-27-2005 08:12 AM
New xorg.conf & old XF86config jrittvo Fedora 1 05-18-2004 10:40 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:01 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration