keyboard on a macbook 2
Hi, I installed debian stable with a custom realtime kernel (2.6.31.6) on a macbook 2, today. After installation I recognized that the keyboard didn't work correctly. But as I found the following site http://wiki.debian.org/MacBook the salvation seemed to be closer to me. I got the right mac key to work as third level chooser but still can't switch to an other console. At Xorg I didn't have a look at it, yet. Because as I tried some inappropriate layouts I had to use the rescue system!
So finally I need help with the keyboard setup on a macbook 2 for console and Xorg.
What I did till now:
add the line below to '/etc/console-tools/remap'
s/keycode 126 =/keycode 126 = AltGr/;
run `loadkeys` command
run `dpkg-reconfigure -p low console-data` and selected the "pc / qwertz / Swiss / German / Apple USB" keyboard layout even it's a built in keyboard
Comments
-
Finally I got it. I've never installed Linux on a macbook before, so I didn't know that the function switch key <Fn> must be used in combination with <Ctrl>, <Alt> and function keys.0
-
I'm glad you got it working but it's very frustrating to have a thread end like that with no information. For the benefit of any one else who may be having the same issue, could you tell us how you managed to get it going? A small step-by-step list would be great or at the very least a bit of knowledge to point us in the right direction.
:side:0 -
I just run the commands and configuration which I wrote in the first post then I was able to use the right apple key as third level chooser. After searching with google for a while I figured out that switching occurs as described in the second post. But in Xorg I still can't access third level symbols. I inserted the following line in the keyboard section:
XKBOPTIONS="lv3:rwin_switch"
Now it's running debian unstable!0 -
Congratulations on your success. I am sorry that I did not respond, but your issue was foreign to my skill set and I would not have had anything to offer.
With that being said, thank you very much for sharing your issue and resolution here, you have through a few words given guidance to others that will encounter this issue in the future.0 -
Now I got it on Xorg, too. Run the following commands:
`xev`
`xmodmap -e "keycode 134 = ISO_Level3_Shift"`
The first command is for retrieving keycodes and the second assigns it to 3 level switch.0 -
Root had no support for special characters see the output of `locale` for information about current localization. Undo all changes for xorg and `dpkg-reconfigure locales` and choosing the appropriate locale, in my case de_CH.UTF-8 fixed the problem, too! Due negative experiences with choosing anything else than "C - No Localization" in debian installation process, I selected C as default localization during installation. The problem was most programs just support ASCII so you had to be careful with ISO-8859-1 or UTF-8 and writing configuration files. Once I believed my system was broken as a novice. I'm not sure if this can also happen with UTF-8 because it should have an approximate backward compatibility with ASCII.0
Categories
- All Categories
- 176 LFX Mentorship
- 176 LFX Mentorship: Linux Kernel
- 750 Linux Foundation IT Professional Programs
- 373 Cloud Engineer IT Professional Program
- 169 Advanced Cloud Engineer IT Professional Program
- 74 DevOps IT Professional Program - Discontinued
- 4 DevOps & GitOps IT Professional Program
- 99 Cloud Native Developer IT Professional Program
- 7.6K Training Courses & Learning Paths
- 1 AI & ML Training
- 1 Blockchain & Decentralized Identity Training
- 3 Cloud & Containers Training
- 1 Cybersecurity Training
- 1 DevOps & Site-Reliability Training
- 1 Linux Kernel Development Training
- 1 Networking Training
- 1 Open Source Best Practice Training
- 1 System Administration Training
- 1 System Engineering Training
- 1 Web & Application Development Training
- 792 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 95 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 87 Storage
- 768 Linux Distributions
- 81 Debian
- 67 Fedora
- 22 Linux Mint
- 13 Mageia
- 24 openSUSE
- 150 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 465 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 98 Linux Security
- 78 Network Management
- 101 System Management
- 46 Web Management
- 106 Mobile Computing
- 18 Android
- 73 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 392 Off Topic
- 121 Introductions
- 181 Small Talk
- 29 Study Material
- 949 Programming and Development
- 310 Kernel Development
- 621 Software Development
- 982 Software
- 374 Applications
- 182 Command Line
- 5 Compiling/Installing
- 68 Games
- 317 Installation
- Archived
- 2 LFD140 Class Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)