FG
šŸ’» Software

Two keyboards on one computer. When I write with A I want a US keyboard layout, when I use B I want Swedish. Possible?

Fresh5 days ago
Mar 15, 202626542 views
Confidence Score1%
1%

Problem

I have a laptop which I use an external keyboard with. When I type using the external keyboard I want to use a US keyboard layout, since that's the type of external keyboard I have. On the other hand, when I type using the integrated keyboard I'd like to use a Swedish layout. Is this possible? And how would I go about doing it? I'm asking here as I think we'll find most Linux expertise here.

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Two keyboards on one computer. When I write with A I want a US keyboard layout, when I use B I want Swedish. Possible?

Low Risk

First, you have to find the device ID of the keyboard to change: Then change the layout using setxkbmap: Some versions of setxkbmap need a '-layout' argument:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment