Re: keyboard setup
On 2021-12-20 19:11, Georgi Naplatanov wrote: did you try # dpkg-reconfigure keyboard-configuration # service keyboard-setup restart There is a wiki - https://wiki.debian.org/Keyboard yes sorry for the typing error, I was getting a bit frazzled at that stage. Although the keyboard was working in terminal /etc/default/keyboard was showing pc-105 as XKBMODEL so couldn't figure where else was been set. "dpkg-reconfigure keyboard-configuration" "dpkg-reconfigure console-setup" and clearing. XKBVARIANT="alt-intl" XKBOPTIONS="lv3:ralt_alt" in /etc/default/keyboard. in console seems to have done it. mick -- Key ID4BFEBB31
Re: keyboard setup
On 2021-12-20 19:11, Georgi Naplatanov wrote: On 12/20/21 18:03, mick crane wrote: Operating System: Debian GNU/Linux 11 (bullseye) Kernel: Linux 5.10.0-10-amd64 Architecture: x86-64 I'm still having trouble with random lines from elsewhere in the file I'm editing getting plonked a hundred or so lines away. Which is a pain as it can take a while to locate them. Want to use the console Ctrl+Alt+Fx for a bit and see if it's something to do with X Trouble is I can't get the console keyboard keys to do the same thing as in Xfce. I read that the keyboard map is supposed to be shared between console and X but not here. I try various things. "dpkg-reconfigure console-setup" "dpkg-reconfigure console-data" "dpkg-reconfigure keyboard-setup" "service keyboard-setup restart" reboot the PC nothing seems to work. this particular keyboard is small generic USB thing which works with Microsoft Office keyboard layout. but in console some keys are not what is on the key. eg "#" is UK Pound sign. "dpkg-reconfigure keyboard-setup" does have that layout as a selection. Is there something I need to do after selecting to get it to work ? mick Hi Mick, did you try # dpkg-reconfigure keyboard-configuration # service keyboard-setup restart There is a wiki - https://wiki.debian.org/Keyboard yes, sorry that was a typo in posting that's what I typed. dpkg-reconfigure keyboard-configuration service keyboard-setup restart selecting the layout microsoft office keyboard in Xfce settings->keyboard GUI is successful. but is not used by console. mick -- Key ID4BFEBB31
Re: keyboard setup
On 12/20/21 18:03, mick crane wrote: > Operating System: Debian GNU/Linux 11 (bullseye) > Kernel: Linux 5.10.0-10-amd64 > Architecture: x86-64 > > I'm still having trouble with random lines from elsewhere in the file > I'm editing getting plonked a hundred or so lines away. > Which is a pain as it can take a while to locate them. > Want to use the console Ctrl+Alt+Fx for a bit and see if it's something > to do with X > Trouble is I can't get the console keyboard keys to do the same thing as > in Xfce. > I read that the keyboard map is supposed to be shared between console > and X but not here. > I try various things. > "dpkg-reconfigure console-setup" > "dpkg-reconfigure console-data" > "dpkg-reconfigure keyboard-setup" > "service keyboard-setup restart" > reboot the PC > nothing seems to work. > this particular keyboard is small generic USB thing which works with > Microsoft Office keyboard layout. > but in console some keys are not what is on the key. eg "#" is UK Pound > sign. > "dpkg-reconfigure keyboard-setup" does have that layout as a selection. > Is there something I need to do after selecting to get it to work ? > > mick Hi Mick, did you try # dpkg-reconfigure keyboard-configuration # service keyboard-setup restart There is a wiki - https://wiki.debian.org/Keyboard Kind regards Georgi
Re: Keyboard : setup AltGr+ e to produce é
On Fri, Aug 15, 2008 at 12:19:23 +0200, Bruno Costacurta wrote: On Thursday 14 August 2008 19:05:47 Bruno Costacurta wrote: .. I'm using gb, which indeed does not support altgr-intl So is there another solution to support AltGr ? .. Thanks, Bruno Is the following xmodmap usage a valid and acceptable solution ? keycode 26 = e E eacute to be installed in a file ~/.keybconf and called via exec xmodmap ~/.keybconf This syntax solves my request of AltGr+E = é but I want to be sure this doesn't raise problem or issue. If you want to be on the safe side then you can check how many symbols are defined for keycode 26 by default. I would write my replacement command such that the number of symbols stays the same. For example, I have this with pc+de(nodeadkeys): $ xmodmap -pke | grep 26 keycode 26 = e E EuroSign EuroSign EuroSign EuroSign Therefore I would use xmodmap -e keycode 26 = e E eacute Eacute eacute Eacute to get é and É with AltGr and AltGr+SHIFT, respectively. -- Regards,| http://users.icfo.es/Florian.Kulzer Florian | -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Keyboard : setup AltGr+e to produce é
On Thursday 14 August 2008 19:05:47 Bruno Costacurta wrote: .. I'm using gb, which indeed does not support altgr-intl So is there another solution to support AltGr ? .. Thanks, Bruno Is the following xmodmap usage a valid and acceptable solution ? keycode 26 = e E eacute to be installed in a file ~/.keybconf and called via exec xmodmap ~/.keybconf This syntax solves my request of AltGr+E = é but I want to be sure this doesn't raise problem or issue. Thanks. Bruno -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Keyboard : setup AltGr+e to produce é
On Wednesday 13 August 2008 20:05:06 Florian Kulzer wrote: ... Which XkbLayout do you use? Maybe altgr-intl is not defined for it. ... -- Regards,| http://users.icfo.es/Florian.Kulzer Florian | I'm using gb, which indeed does not support altgr-intl So is there another solution to support AltGr ? grep xkb_symbols /usr/share/X11/xkb/symbols/gb | cut -d\ -f2 basic intl colemak dvorak mac Thanks, Bruno -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Keyboard : setup AltGr+ e to produce é
On Thu, Aug 14, 2008 at 19:05:47 +0200, Bruno Costacurta wrote: On Wednesday 13 August 2008 20:05:06 Florian Kulzer wrote: ... Which XkbLayout do you use? Maybe altgr-intl is not defined for it. ... I'm using gb, which indeed does not support altgr-intl So is there another solution to support AltGr ? grep xkb_symbols /usr/share/X11/xkb/symbols/gb | cut -d\ -f2 basic intl colemak dvorak mac If it does not exist then you might have to set it up yourself by modifying the Xorg keymap, as already suggested by someone else: http://lists.debian.org/debian-user/2008/08/msg01028.html It would be interesting to know how the Xandros people implemented the gb + altgr-intl behavior, maybe they ship a customized gb symbols file. -- Regards,| http://users.icfo.es/Florian.Kulzer Florian | -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Keyboard : setup AltGr+e to produce é
On Tuesday 12 August 2008 16:56:04 Nyizsnyik Ferenc wrote: On Tue, 12 Aug 2008 15:58:53 +0200 Bruno Costacurta [EMAIL PROTECTED] wrote: Hello, I bought an Asus Eee (model 900) with Linux Xandros installed which I switched to Debian Lenny. With the Xandros I got the combination AltGr+e producing é, but no longer with Debian (same with á ..etc.. present on the Asus Eee keyboard UK model). How can I setup this combination ? Should I setup it in xorg.conf ? I'm using Xorg + KDE. Thanks for attention and help. Bye, Bruno Here is the relevant part from my xorg.conf: Section InputDevice Identifier Generic Keyboard Driver kbd OptionCoreKeyboard OptionXkbRules xorg OptionXkbModel pc104 OptionXkbLayout us,hu,tr OptionXkbVariant altgr-intl,102_qwerty_dot_nodead,intl EndSection The interesting part is 'altgr-intl'. Editing your xorg.conf may not be necessary if you (all your users) use a single desktop environment, for example, Gnome. Just select the altgr-intl variant in the keyboard layout dialog. -- Nyizsa. http://nyizsa.uni.cc Unfortunately this seems not to work (at least under KDE), and addiftional settings like OptionXkbVariant altgr-intl freezes my Xorg. Are there some doc or location to review all available options to setup a keyboard in Xorg and/or KDE (via config files or user interface) ? Thanks for attention. Regards, Bruno -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Keyboard : setup AltGr+ e to produce é
On Wed, Aug 13, 2008 at 15:55:23 +0200, Bruno Costacurta wrote: On Tuesday 12 August 2008 16:56:04 Nyizsnyik Ferenc wrote: On Tue, 12 Aug 2008 15:58:53 +0200 Bruno Costacurta wrote: Hello, I bought an Asus Eee (model 900) with Linux Xandros installed which I switched to Debian Lenny. With the Xandros I got the combination AltGr+e producing é, but no longer with Debian (same with á ..etc.. present on the Asus Eee keyboard UK model). How can I setup this combination ? Should I setup it in xorg.conf ? I'm using Xorg + KDE. Thanks for attention and help. Bye, Bruno Here is the relevant part from my xorg.conf: Section InputDevice Identifier Generic Keyboard Driver kbd OptionCoreKeyboard OptionXkbRules xorg OptionXkbModel pc104 OptionXkbLayout us,hu,tr OptionXkbVariant altgr-intl,102_qwerty_dot_nodead,intl EndSection The interesting part is 'altgr-intl'. Editing your xorg.conf may not be necessary if you (all your users) use a single desktop environment, for example, Gnome. Just select the altgr-intl variant in the keyboard layout dialog. -- Nyizsa. http://nyizsa.uni.cc Unfortunately this seems not to work (at least under KDE), and addiftional settings like OptionXkbVariant altgr-intl freezes my Xorg. Which XkbLayout do you use? Maybe altgr-intl is not defined for it. Are there some doc or location to review all available options to setup a keyboard in Xorg and/or KDE (via config files or user interface) ? Thanks for attention. To see the allowed XkbVariants for your layout, you can use something like this: grep xkb_symbols /usr/share/X11/xkb/symbols/us | cut -d\ -f2 (You have to replace us with the name of your XkbLayout, e.g. de for a German keyboard.) The files in /usr/share/X11/xkb/symbols/ include comments that explain the ideas behing the different XkbVariants. If you still have the Xandros installation (dual-boot maybe) then you can run setxkbmap -print in an X terminal to see which layout and variant it uses. You can also configure your keyboard using only the KDE graphical interface. Go to Control Center - Regional Accessibility - Keyboard layout and activate Enable keyboard layouts on the Layout tab. Then choose your keyboard model from the drop-down menu and select your desired layout in the Available layouts pane on the left. After pressing the Add button, you should see the layout listed under Active layouts on the right hand side. If you click on it there you can choose from all the valid layouts with the drop-down menu that sits below the Active layouts box. -- Regards,| http://users.icfo.es/Florian.Kulzer Florian | -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Keyboard : setup AltGr+e to produce é
Have you tried using xmodmap? This is my ~/.keybconf (name it as you like): keysym 0xfe03 = Mode_switch !keysym 0xff7e = Mode_switch - that's a comment keysym 0x0075 = u U ubreve Ubreve keysym 0x0073 = s S scircumflex Scircumflex keysym 0x0067 = g G gcircumflex Gcircumflex keysym 0x0068 = h H hcircumflex Hcircumflex keysym 0x006a = j J jcircumflex Jcircumflex keysym 0x0063 = c C ccircumflex Ccircumflex keysym 0x0074 = t T trademark trademark And i use it with AltGr. To find out the codes for your keys, use xev. For the names of the symbols you want try this: http://wiki.linuxquestions.org/wiki/List_of_Keysyms_Recognised_by_Xmodmap Mode_switch is your AltGr key. To enable this you run xmodmap ~/.keybconf in a shell. Your keycodes might be different - and most likely are - than mine, so fiddle around with Xev. Once it works put it in your ~/.Xsession: exec xmodmap ~/.keybconf Note: keysyms are, however, more cross-keyboard than keycodes, so try using those. HTH -- Nuno Magalhães
Re: Keyboard : setup AltGr+ e to produce é
On Wed, Aug 13, 2008 at 19:44:45 +0100, Nuno Magalhães wrote: Have you tried using xmodmap? Have you ever considered learning to quote properly? -- Regards,| http://users.icfo.es/Florian.Kulzer Florian | -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Keyboard : setup AltGr+e to produce é
On Tue, 12 Aug 2008 15:58:53 +0200 Bruno Costacurta [EMAIL PROTECTED] wrote: Hello, I bought an Asus Eee (model 900) with Linux Xandros installed which I switched to Debian Lenny. With the Xandros I got the combination AltGr+e producing é, but no longer with Debian (same with á ..etc.. present on the Asus Eee keyboard UK model). How can I setup this combination ? Should I setup it in xorg.conf ? I'm using Xorg + KDE. Thanks for attention and help. Bye, Bruno Here is the relevant part from my xorg.conf: Section InputDevice Identifier Generic Keyboard Driver kbd OptionCoreKeyboard OptionXkbRules xorg OptionXkbModel pc104 OptionXkbLayout us,hu,tr OptionXkbVariant altgr-intl,102_qwerty_dot_nodead,intl EndSection The interesting part is 'altgr-intl'. Editing your xorg.conf may not be necessary if you (all your users) use a single desktop environment, for example, Gnome. Just select the altgr-intl variant in the keyboard layout dialog. -- Nyizsa. http://nyizsa.uni.cc -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Keyboard Setup
on Tue, Jul 24, 2001 at 12:23:33AM +, Nic Strong ([EMAIL PROTECTED]) wrote: Hi all, Small problem. I have managed to get my GB keyboard layout working from X (XkbModel pc101 and XkbLayout gb), but are struggling to find where I should change my config so this will work in the console (e.g shift-2=@ instead of ). You want to mess with loadkeys and the keyboard maps under /usr/share/keymaps. X and console keymaps are separate beasts. -- Karsten M. Self kmself@ix.netcom.comhttp://kmself.home.netcom.com/ What part of Gestalt don't you understand? There is no K5 cabal http://gestalt-system.sourceforge.net/ http://www.kuro5hin.org Are these opinions my employer's? Hah! I don't believe them myself! pgpmOprAP7yVw.pgp Description: PGP signature