LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Fluxbox is not playing well with Dvorak. (https://www.linuxquestions.org/questions/linux-software-2/fluxbox-is-not-playing-well-with-dvorak-849564/)

hedron 12-10-2010 06:29 PM

Fluxbox is not playing well with Dvorak.
 
I use a dvorak layout, but fluxbox refuses to acknowledge my settings. I can only set dvorak layout by either painstakingly typing it out in the terminal with qwerty or opening KDE settings. Neither of which is much of an option. The first is too annoying and opening KDE settings kind of kills the point of using fluxbox in the first place.

Other things I've tried:

I put Option XkbLayout "us"/XkbVariant "dvorak" in xorg.conf --> It's completely ignored.

I put setxkbmap blah blah in .xinitrc, .fluxbox/startup and again it's completely ignored.

I don't know what else to do. Any ideas?

H_TeXMeX_H 12-11-2010 10:46 AM

Code:

cp /usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi /etc/hal/fdi/policy
nano /etc/hal/fdi/policy/10-keymap.fdi

Make it look like:

Code:

<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->

<!-- DO NOT EDIT THIS FILE - IT WILL BE OVERWRITTEN ON UPGRADES.
    SEE THE "READ THIS" NOTE BELOW FOR INSTRUCTIONS -->

<deviceinfo version="0.2">
  <device>
    <match key="info.capabilities" contains="input.keymap">
      <append key="info.callouts.add" type="strlist">hal-setup-keymap</append>
    </match>

    <match key="info.capabilities" contains="input.keys">

      <!-- Restore Ctrl-Alt-Bksp Xserver Zapping -->
      <merge key="input.xkb.options" type="string">terminate:ctrl_alt_bksp</merge>

      <!-- Edit (as needed) these four lines in the copied fdi file -->
      <merge key="input.xkb.rules" type="string">base</merge>
      <merge key="input.xkb.model" type="string">evdev</merge>
      <merge key="input.xkb.layout" type="string">us</merge>
      <merge key="input.xkb.variant" type="string">dvorak</merge>

    </match>
  </device>
</deviceinfo>

Then restart hal:

Code:

/etc/rc.d/rc.hald restart

hedron 12-11-2010 03:57 PM

Thanks! It's working perfectly now.

hedron 11-24-2013 06:46 PM

I hate to bump a three year old thread, but why doesn't this solution work anymore? OK, there's no hal anymore, at least, rc.hald isn't there. But, now I have to issue setxkbmap everytime I load fluxbox.


All times are GMT -5. The time now is 10:55 PM.