LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-10-2010, 07:29 PM   #1
hedron
Member
 
Registered: Jul 2009
Location: NYC
Distribution: Slackware64-multilib 14.2, SARPI, arch
Posts: 342

Rep: Reputation: 32
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?
 
Old 12-11-2010, 11:46 AM   #2
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292
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
 
1 members found this post helpful.
Old 12-11-2010, 04:57 PM   #3
hedron
Member
 
Registered: Jul 2009
Location: NYC
Distribution: Slackware64-multilib 14.2, SARPI, arch
Posts: 342

Original Poster
Rep: Reputation: 32
Thanks! It's working perfectly now.
 
Old 11-24-2013, 07:46 PM   #4
hedron
Member
 
Registered: Jul 2009
Location: NYC
Distribution: Slackware64-multilib 14.2, SARPI, arch
Posts: 342

Original Poster
Rep: Reputation: 32
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.
 
  


Reply


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Qwerty and Dvorak pyrobob Linux - Newbie 4 08-09-2008 09:30 AM
dvorak apepost General 27 11-16-2006 10:19 PM
Fluxbox error /usr/share/fluxbox/nls/en_GB/fluxbox.cat humbletech99 Debian 2 12-29-2005 11:16 AM
Gmplayer Not Playing Nice With Fluxbox 0.9.7 Crashed_Again Linux - Software 3 01-13-2004 01:50 PM
dvorak question darthczyz Linux - Newbie 13 12-09-2003 07:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:53 AM.

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