Debian Installation :: Custom Keyboard Layout On Jessie
May 23, 2015
I was using a custom layout for my keyboard as I've a UK laptop but still use french accents sometimes. After the update from Wheezy to Jessie my configs disappeared so I have put them back:
- Defining my layout here: /usr/share/X11/xkb/symbols/gb
- Adding here: /usr/share/X11/xkb/rules/base.xml and here /usr/share/X11/xkb/rules/evdev.xml in the gb configItem
Code: Select all <variant>
<configItem>
<name>accentsFR</name>
<description>English (UK with french accents)</description>
</configItem>
</variant>
- Adding the declaration of the layout here /usr/share/X11/xkb/rules/base.lst and here /usr/share/X11/xkb/rules/evdev.lst
Code: Select all accentsFR gb: English (UK with french accents)
So everything looks alright, if I go to System Tools -> Preferences -> Settings -> Keyboard -> Input Source my layout is well selected and I can even see the correct layout by clicking on the keyboard icon (cf my snapshot)
Here is the snapshot of the keyboard input source settings: [URL]....
There have been some posts on this forum about custom keyboard layouts, but the latest one was more than three years ago, and is outdated. I found the following code for a custom dvorak international keyboard layout here, but it directs me to copy this code into the folder /etc/X11/xkb/symbols/pc, a folder which does not seem to exist in 9.10 or 9.04.
Code:
As this is the only thing I felt Windows did better than Ubuntu (custom keyboard layouts), I would love to be able to change the layout and finally seal the deal with Ubuntu.
I have written a custom keyboard layout that I'm trying to install in Kubuntu 10.10. This is the layout: [URL]
I have added the layout as /usr/share/X11/xkb/symbols/dotan and made these changes:
In /usr/share/X11/xkb/rules/base.lst I added this: ! layout dotan Dotan Of course, the !layout line was already there, I did not touch it. In /usr/share/X11/xkb/rules/base.xml I added this: <layoutList> <layout>
[Code]....
However, after a reboot I do not see the new layout in KDE's configuration for these things.
Note: this is a repost of a post on the geekhack forums. After posting I realised that LinuxQuestions is the better place to ask this. For reference, here is the original geekhack thread: [URL]
Is there a way to set up a custom keyboard layout? (ex: set q to the f key, etc.) I have looked around, but have been unable to find one.
If there isn't one, then a (basically) equivalent solution for me would be to map some of the symbols I need (ex: Δx,Σ,ect.) to ctrl-/,ctrl-., ect. through keyboard shortcuts. The problem I run into here is that I do not know of any commands that paste a specific symbol into the focused text input area. Does anyone know of one?
I didn't change anything; it just stopped working on boot. I've changed permissions according to messages from log files. No good.I now get messages saying "unable to open display ' '." If I set the display (I've done this several ways, the messages say "unable to open display ':0'."
Systemd is taking control of everything basic, with almost no documentation and no configuration tools at all: rationalization by lunatics.You can make a script to run commands on boot using systemd on Jessie by creating two files: the script, in any location a file in /etc/systemd/system that runs that script..My script is called james-boot.service, placed in my /home/james/.bin directory.
#! /bin/sh # this is run by /etc/systemd/system/james-boot.service # Enable with sudo systemctl enable james-boot.service # Check with sudo systemctl status james-boot.service # If it says the service is loaded, it's OK -- inactive only means it's done running.
[code]....
This file must have ownership root.root, with (apparently) permissions 664 (rw-rw-r--).After creating, enable with sudo systemctl enable james-boot. service.Check with sudo systemctl status james-boot.service. If it says the service is loaded, it's OK -- "inactive" only means it's done running.
i've just built my own debian distro with simple-cdd, based on the latest release of lenny. everything is working fine, except for:
first, i couldn't set a default keyboard layout up in preseed file. i tried all these settings below, but none of them worked: console-data console-data/keymap/qwerty/layout select US american console-data console-data/keymap/family select qwerty console-common console-data/keymap/family select qwerty
I've written my custom keyboard layout, where I'm trying to remap the Menu key as Super. The key gets remapped, however Super is not recognized as a modifier key, unlike with a standard layout I've used as a comparison. What puzzles me is that the left Windows key, which I never refer to in my custom layout stops working as well.
Here is the relevant section of my custom layout:
Output of xev command shows the key has been remapped correctly:
I have several partitions on my hard drive, and like to use the 'Create Custom Layout' option during the installation process, to make sure that I don't loose any of my existing partitions or the data on them.
I have attempted a minimal F12 installation from Fedora 12 DVD. But the 'Create Custom Layout' option is not an option in the menu.
How do I install F12 and tell anaconda exactly which partitions I want to use and format?
My current working partition layout is shown in the attached screenshot.
I want to use the following custom partition layout during the initial F12 installation:
This allows me to share existing partitions between my current working F10 root partition, and the newly-installed F12 root partition. So if there are problems with the new F12 installation, I still have a working F10 system to fall back on.
The other partitions with data on will be mounted when the intiall installation has been completed
Since the kernel of F11 live-cd can't recognize my video card, I have to run it in text mode. I also have to run "liveinst" in text mode and the install progess seemed ok. But on the partitioning selection step, there is no "custom layout" option! I rembered that in the graphic mode there was such option. How can I find it in the text mode?
I am trying to install fedora15, my devices are as follows: /dev/sda1- contains windows recovery /dev/sda2- contains windows vista /dev/sda3- free space /dev/sda4- where fedora10 is existing.
Basically I want to scrap the fedora 10 in /dev/sda4 and install fed15 on the place (ext3). During the installation process fedora asked me, Which type of installation you want? I choose 'create custom layout'.
Then in the next window that appeared I choose /dev/sda4. Then it gives me four options like Create Edit Delete Reset
I want to know what does this Delete mean. What will it do, will is erase all the older partitions within /dev/sda4 i made for fedora10 (previously I made three partitions /boot, swap, /) or will erase /dev/sda4 itself. I am scared to continue installation further.
Running Ubuntu Lucid Lynx, GNOME 2.3Keyboard Preferences utilityAdding any Spanish language keyboard layout makes my Alt_R not work in ANY layout! I see that it changes Alt_R to "Iso_L..." for all/both layouts, including USA layout. When I click "Reset to Defaults" it's fine again, USA layout shows Alt_R again. I've tried all the variants of the Latin American layout and the Spain layout and they all do the same thing.What is "ISO_L..." and what's going on?i DESPERATELY need my Alt_R to work!
I have installed opensuse 11.3 a couple of weeks ago in 2 computers and both suffer of the same problem.In my asus laptop, i have a german keyboard. It is correctly recogniced as german keyboard by ev-dev, i guess. (ev-dev managed). But i need to write some spanisch symbols too, like accents (ᠩ ? hich in a normal linux, they do work. For some reason, after rebooting, or after some time of having it running, the keyboard layout resets to an invalid setup, here accents get not over the letter (?a ?e ?i ?o ?u), so i have to select my layout again in the gnome control center.
With my other computermore or less the same.Its a desktop PC with an spanisch keyboard. But i thinck i picked German keyboard during installation and now it starts always with german with some sort of 5 secs delay when setting it. I have to pick spanisch and i always delete the german layout, but after some time having it running, it resets to the previusly deleted german layout.
having problems with my keyboard layout since upgrade from F11 to F12. When I reboot and login into gnome I have to switch back to my layout as it has been set to USA default layout.
when I finally wanted to install Debian to my hardrive. Somehow, how to copy it to USB drive and make it boot-able. Installation process started without problems, but it failed on step called (something like) "Find files in CD-ROM" - what was expectable, since I used USB drive. So I wanted to unmount "/cdrom" and mount my USB drive there instead. I moved to another terminal, and searched for right device. "ls /dev" does not help, since I can't scroll to see other devices. Also kernel messages - can't scroll. Tried to change keyboard layout, still didn't work. I also can't use less, because there is no apt-get installed. Another problem is, that after trying to mount only viewable device (/dev/sda1), mount failed bacause I gave there invalid argument, or directory didn't exist. (Note that I created directory in /mnt/... or /media/... first). So I am asking - how can I remap keyboard to use those page up/down keys?
I tried to install Debian on my MyBook Live NAS following this [URL] ..... I was as happy as a sandboy when the SSH login finally was reachable after the process which went through without any errors or problems. But thats not the end - my password is not accepted and so i can't login.
In more technical terms here's my question: I chrooted into a newly debootstrapped system and changed the password using simple 'passwd'. Having done that on another machine i could find out that there are no locales/keyboard settings applied. My guess is that in this case the default US(?) settings and the keyboard layout are used.
Not aware of any issue here i entered a password containing special characters like " and ! and @. After investigating further I found out that in the chroot environment my keyboard layout from the host is used, which is bad because i do not know what environment was set in the originally MyBook system. All the action was done via SSH using kitty.
Disassembly would be the last exit which i would like to avoid. What keyboard layouts are used in chroot without locales set AND which one is used in the openssh login prompt? Is there a way to enter the password in a <ALT> + x format?
I have console only on my machine and I have two problems with it:
1) I can't find how to enable programmer dvorak keyboard layout.
2) All the console settings don't stay after reboot, I have to do dpkg-reconfigure console-setup again. But after I do that I loose russian layout that I normally can switch to with Alt+Shift.
When I installed Debuntu i picked US as my country, and now when i try to change region/language/keyboard-layout to norwegian, Debuntu only suggests english. How can i install the Norwegian language pack to debuntu?
I know there are many threads regarding this topic.I probably read most of them. At installation time I told Debian to use German keyboard layout (since I am from Germany). Now I want to switch it to American keyboard layout. In X this was no problem. But in the tty consoles I cant get it changed. It does not matter to me if it is system wide or user wide because I am the only user. (system wide would be a little bit more preferrable because it would affect the super user too, I think).I tried dpkg-reconfigure console-data and selecting my desired layout. This changes the Layout to American until reboot
I've Lenny and I've created a customized LIVE USB image with Swiss German keyboard layout using these commands:# lh config -b usb-hdd --bootappend-live "locales=de_CH.UTF-8 keyboard-layouts=ch" --packages-list xfce
# lh_build An binary.img was successfully created, but if I boot from this image, then I still have default US keyboard under xfce.
I just installed Debian 6 and need to change the console keyboard layout (I am not running any sort of gui).I installed 'console-data' and ran:# dpkg-reconfigure console-dataThis assigns my Apple keyboard keys perfectly but it won't survive a reboot, which is really important for entering passwords
What is the general way to switch the keyboard layout? What works for me currently is the custom Section in /etc/X11/xorg.conf.d/kbd.conf. However this section must include Option "Device" "/dev/input/by-path/..." which identifies the current keyboard. This works fine for my laptop keyboard. However when I attach USB keyboard, keyboard switching does not work. I also found somewhere it should be done via /etc/default/keyboard, but that does not work for me at all.
I'm getting a weird charset problem in a chroot'ed system that I kexec'ed into. It is especially noticeable in ncurses programs like aptitude, but it also noticeable in vim. [URL] My locales are configured to en_US.UTF-8, I have choosen my keyboard layout with kbd-config while in the chroot before kexec'ing into it, I've passed the bootkbd= parameter to the kexec'ed kernel, and my TERM variable is set to "linux". I can't try xterm because this chroot system doesn't has X.
EDIT: I just noticed that the keyboard layout I selected is not working properly. All keys work fine except the ones that are specific to my country. Instead of ç I get a weird symbol.
I use czech QWERTZ keyboard layout, but sometimes it accidentaly switches to (probably) english or US qwerty, so I am unable to write our national characters (which share the keys with numbers on laptop), it writes Y instead of Z etc.
So I am unable to write normal text. I looked in keyboard settings, but it seems to be ok:
layout is "česko with <|> key" - HP Pavilion ZT11xx - this seems to be OK and it worked without problems before this accidental switch.
there is no other layout than the mentioned one and in Layout settings (hope this is correct as I have this in Czech) I unchecked all boxes in Layout switching.
I absolutely have no idea where is the problem. Maybe it is some keybinding but did not find anything which could do this.
I use Debian Lenny with added a11y apps like Orca etc. called Vinux. I tried to ask there, but currently wihout success.
how can I set the keyboard layout used by Debian to enter the password of my encrypted filesystem?
After my recent "aptitude upgrade", I have not been able to mount my encrypted filesystem anymore. I have discovered that the keyboard layout used to enter the password has changed. Problem is that with such layout I can't enter some of the characters composing the password. The encrypted filesystem looks intact, since I have been able to mount it and backup my files by means of a live CD. That means that I can edit any system file, if needed.
Every technique I have found to change layout cannot be employed in this case, since they rely on the system being up and running. I've tried editing /etc/default/keyboard, but that does not work.
I installed Gnome 3 Classic but I can't change my input source.in Gnome 3 I can but in Classic version I can't. In Gnome 3 I can see it beside the Clock but In Gnome 3 Classic it doesn't exist. How can I enable it?