16400
![]() |
|
|
|
|
|||||||
| X.Org X.Org on FreeBSD installation & configuration. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
||||
|
||||
|
I have set this line in /etc/rc.conf:
Code:
keymap=tr.iso9.q Using LXDE but this is also the case in Gnome. What can I do? Last edited by Majorix; May 3rd, 2012 at 22:53. Reason: Proper formatting: http://forums.freebsd.org/showthread.php?t=8816 |
|
#2
|
||||
|
||||
|
Desktop environments keep their own settings as opposed to xorg (X11).
One solution is to place in .xinitrc of the user: Code:
setxkbmap -layout tr
__________________
branch:head - root on zfs - amd64 BLUES, ELWOOD ILLINOIS LICENSE : B263-1655-2187 CURRENTLY UNDER SUSPENSION WARRANTS OUTSTANDING : PARKG. 116 MOVING VIOLATIONS : 56 ARREST DRIVER ... IMPOUND VEHICLE Last edited by DutchDaemon; April 16th, 2012 at 00:52. |
|
#3
|
||||
|
||||
|
Well, if I set this in .xinitrc and reboot, the problem persists. However if I write this in a terminal GUI after I am in X, the layout changes back to Turkish and everything is fine.
So, is there maybe a way to add a command to be executed automatically AFTER I am on X? I always run in single-user mode, if you need to know. Thanks! |
|
#4
|
||||
|
||||
|
Can you please clarify what you mean by:
Quote:
__________________
branch:head - root on zfs - amd64 BLUES, ELWOOD ILLINOIS LICENSE : B263-1655-2187 CURRENTLY UNDER SUSPENSION WARRANTS OUTSTANDING : PARKG. 116 MOVING VIOLATIONS : 56 ARREST DRIVER ... IMPOUND VEHICLE |
|
#5
|
||||
|
||||
|
You see, I am still new to FreeBSD and the terms
Just ignore that part of the post, sorry for the confusion.
|
|
#6
|
||||
|
||||
|
Sure thing.
When you modified .xinitrc it was the one in your user's home folder (~/), right? $ vi /home/majorix/.xinitrcNot /root or some other user's home (which there are none as you are the only "user")
__________________
branch:head - root on zfs - amd64 BLUES, ELWOOD ILLINOIS LICENSE : B263-1655-2187 CURRENTLY UNDER SUSPENSION WARRANTS OUTSTANDING : PARKG. 116 MOVING VIOLATIONS : 56 ARREST DRIVER ... IMPOUND VEHICLE |
|
#7
|
||||
|
||||
|
Yes, it is in MY home folder, not root's. I believe SLiM (which I am currently using) needs it to be in the user's home folder, otherwise it wouldn't run.
|
|
#10
|
||||
|
||||
|
That page has several things all mixed-up for optimal confusion.
1. FreeBSD uses sh / csh / tcsh family of shells which uses setenv whereas, $ export VARIABLE=valueis for or bourne, bash, and related shells. Bash is not installed by default it's in the ports if you want to use it. However, you will also have to set your shell as bash for the "export=" command to work. 2. Both ~/.xinitrc and ~/.xsession override environment settings - that's why they don't carry over to graphical window. The syntax of either one does not use setenv or export. You just place the command similar to xorg.conf syntax. Therefore in ~/.xinitrc: Code:
setxkbmap -layout tr Code:
export setxkbmap layout=tr
__________________
branch:head - root on zfs - amd64 BLUES, ELWOOD ILLINOIS LICENSE : B263-1655-2187 CURRENTLY UNDER SUSPENSION WARRANTS OUTSTANDING : PARKG. 116 MOVING VIOLATIONS : 56 ARREST DRIVER ... IMPOUND VEHICLE |
|
#11
|
||||
|
||||
|
I did NOT use export or setenv. What I have in .xinitrc is identical to what you wrote in your first post.
I still don't have a solution to this
|
|
#12
|
||||
|
||||
|
You're not providing much info so I'm just shooting in the dark...
1. You did place in /etc/X11/xorg.conf such entry, right? Code:
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "tr"
EndSection
__________________
branch:head - root on zfs - amd64 BLUES, ELWOOD ILLINOIS LICENSE : B263-1655-2187 CURRENTLY UNDER SUSPENSION WARRANTS OUTSTANDING : PARKG. 116 MOVING VIOLATIONS : 56 ARREST DRIVER ... IMPOUND VEHICLE |
|
#13
|
||||
|
||||
|
@Beeblebrox:
I had no xorg.conf, so I just created one and filled in the values in your post. However this only restricted X from starting. I decided to try another idea. I found this to work: HTML Code:
% cat /usr/local/etc/hal/fdi/policy/x11-input.fdi <?xml version="1.0" encoding="ISO-8859-1"?> <deviceinfo version="0.2"> <device> <match key="info.capabilities" contains="input.keyboard"> <merge key="input.x11_options.XkbModel" type="string">pc105</merge> <merge key="input.x11_options.XkbLayout" type="string">tr</merge> </match> </device> </deviceinfo> |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| keyboard unresponsive when 2nd keyboard unplugged | lclee | X.Org | 5 | March 9th, 2011 22:48 |
| xdm keyboard unresponsive after 2nd keyboard unplugged | lclee | Peripheral Hardware | 1 | February 8th, 2011 01:22 |
| [Solved] PS/2 Keyboard Recognized Only When USB Keyboard Plugged In | aorchid | Peripheral Hardware | 2 | June 22nd, 2010 21:49 |
| [Solved] Turkish character support - /usr/share/sysconf is not present | aurora72 | General | 3 | May 1st, 2010 19:25 |
| usb keyboard stalls on a lock key due to no PS/2 keyboard | jims | Peripheral Hardware | 2 | March 17th, 2010 13:43 |