You are not logged in.
Pages: 1
Hi. I want to write some special characters for writing romanian on xorg. I tried : setxkbmap ro. It seems to be a normal english keyboard. I would like some help.
[weeniewhite@myhost ~]$ sudo make bagel
make: *** No rule to make target `bagel'. Stop.
Offline
Maybe the app needs to be restarted after the keyboard is changed.
Offline
There was a way before to choose a keyboard layout in xorg.conf, but it seems to have disappeared in the new version. Am I right?
[weeniewhite@myhost ~]$ sudo make bagel
make: *** No rule to make target `bagel'. Stop.
Offline
Uh...
I set this in xorg.conf
Option "XkbLayout" "us,ro"
I use XFCE/Beryl and since I added "ro" to this option, Beryl keyboard shortcuts don't work anymore.
Also, only in a few applications I found out I could use the romanian keyboard layout: firefox, gvim, but not in gaim, mousepad, abiword and others. So, what's wrong?
Offline
I use xmodmap for romanian characters: şţăâî. I find it a lot easier to press Alt+a for ă then to change my entire keyboard layout to Romanian.
So i saved this into ~/.xmodmap:
keycode 38 = a A abreve Abreve
keycode 39 = s S scedilla Scedilla
keycode 31 = i I icircumflex Icircumflex
keycode 28 = t T tcedilla Tcedilla
keycode 24 = q Q acircumflex Acircumflex
keycode 26 = e E EuroSign EuroSign
keycode 115 = Mode_switch
In Linux there are no secrets!
Offline
I use xmodmap for romanian characters: şţăâî. I find it a lot easier to press Alt+a for ă then to change my entire keyboard layout to Romanian.
So i saved this into ~/.xmodmap:
keycode 38 = a A abreve Abreve keycode 39 = s S scedilla Scedilla keycode 31 = i I icircumflex Icircumflex keycode 28 = t T tcedilla Tcedilla keycode 24 = q Q acircumflex Acircumflex keycode 26 = e E EuroSign EuroSign keycode 115 = Mode_switch
I put these into .xmodmap file... now what? I restarted X, no result. I ran
xmodmap .xmodmap
then
xmodmap -pke | more
and I can see the codes changed, but the mapping doesn't work
Offline
RaisedFist: did you use fonts with unicode support?
Also, I forgot to mention that putting everything in /etc/X11/Xmodmap makes gdm or kdm run these scripts at startup.
In Linux there are no secrets!
Offline
RaisedFist: did you use fonts with unicode support?
Also, I forgot to mention that putting everything in /etc/X11/Xmodmap makes gdm or kdm run these scripts at startup.
OK, so here is what I have
[radu@kyle ~]$ xmodmap -pke | more
keycode 24 = q Q acircumflex Acircumflex
...
keycode 26 = e E EuroSign EuroSign
...
keycode 28 = t T tcedilla Tcedilla
...
keycode 31 = i I icircumflex Icircumflex
....
keycode 38 = a A abreve Abreve
keycode 39 = s S scedilla Scedilla
I use DejaVu as base font in XFCE, and usualy TTF fonts.
Offline
there are 2 RO kbd layouts - i prefer the one that uses RightAlt+{A,Q,T,I,S}, like Oin. But you don't need xmodmap, it's easier to set
Option "XkbLayout" "ro"
Option "XkbVariant" "basic"
Option "XkbModel" "pc105"
in xorg.conf and restart X. Works for all X apps but not for agettys, but I never needed special characters for virtual consoles.
Last edited by silvik (2007-04-06 10:17:39)
Offline
I know. I did this and this is why I posted here in the first place: when I set the keyboard to Romanian, beryl shortcut keys stop working and there is support for romanian characters only in some applications, as I specified above
Offline
oooh, so that was your problem
well, it's normal that different application won't support utf-8 and different applications also use different fonts, regardless of what your DE settings are. You'll have to make sure that each of the applications use an utf-8 font.
Also, keybindings will overlap when changing keymaps, that's why it's a good idea to keep the changes to a minimum. You may have to change the default Beryl keys
silvik: my .xmodmap uses left-alt And if you use rxvt-unicode or konsole/gnome-terminal/Terminal with a good font, you can have diacritics in there, too. It's especially useful if you like typing all your documents in Vim like i do.
In Linux there are no secrets!
Offline
Pages: 1