I'm running FreeBSD 10.1-RELEASE with an Intel 4500HD using the x11-drivers/xf86-video-intel driver. My video is fine, and my keyboard works well (except for a few hotkeys which was always to be expected).
However, Xorg is not respecting the following options in my /etc/X11/xorg.conf:
I have x11/xorg-minimal installed, which does not come with x11/setxkbmap by default. Does Xorg require this port for these options to work?
Just to be sure, I installed x11/setxkbmap to check if this is the problem, however, it has made no difference.
For now, I have the following in my ~/.xinitrc:
And this works just fine, although I would like to know why Xorg is not respecting my /etc/X11/xorg.conf keyboard options. What have I done wrong here?
As a side issue, is there any reason for preferring x11/xmodmap over x11/setxkbmap, or vice versa, when swapping Ctrl and CAPS, for example?
However, Xorg is not respecting the following options in my /etc/X11/xorg.conf:
Code:
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbLayout" "pl,us"
Option "XkbVariant" ",qwerty"
Option "XKbOptions" "grp:alt_shift_toggle,ctrl:swapcaps,grp:"
EndSection
I have x11/xorg-minimal installed, which does not come with x11/setxkbmap by default. Does Xorg require this port for these options to work?
Just to be sure, I installed x11/setxkbmap to check if this is the problem, however, it has made no difference.
For now, I have the following in my ~/.xinitrc:
Code:
# set kb map to "pl"
setxkbmap pl
# swap L-CTRL and CAPS for greater pinky comfort.
#xmodmap $HOME/.xmodmap
setxkbmap -option ctrl:swapcaps
And this works just fine, although I would like to know why Xorg is not respecting my /etc/X11/xorg.conf keyboard options. What have I done wrong here?
As a side issue, is there any reason for preferring x11/xmodmap over x11/setxkbmap, or vice versa, when swapping Ctrl and CAPS, for example?