Comments (3)
export XKB_DEFAULT_LAYOUT=de
should be enough for Cage.
How are you starting Cage?
from cage.
My (first) Cage application was freerdp2 in X11 and Wayland mode - syntax/start is with:
cage wlfreerdp -- /v:{rdp-ip}
or
cage xfreerdp -- /v:{rdp-ip}
In both cases keyboard does not change from "us" -
not in the freerdp authentication dialogue, nor in the rdp session itself.
I just installed/cross-checked the app xterm with
cage xterm
and keyboard was set succesfully to "de".
So the issue might (only?) be a freerdp related one...
from cage.
I testet other apps now and export XKB_DEFAULT_LAYOUT=de
/setting keyboard layouts worked fine with Cage until now.
The problem seems to be caused by xfreerdp. Their documentation tells something about a "keyboard layout detection"
https://github.com/FreeRDP/FreeRDP/wiki/Keyboard#keyboard-layout-detection
(I dont understand the purpose - why not using the system settings?)
Their process seems to rely on some fancy X11 infrastructure that is not presesent in a pure (X)Wayland\Cage config.
For me (and possible other users of freerdp) the following workaround allows the setting of an keyboard layout with freerdp in a wayland/cage environment:
cage wlfreerdp -- /v:{rdp-ip} /kbd:0x{layout-id}
where layout-id is 0407 for german - other IDs could be find here:
from cage.
Related Issues (20)
- Matching touch input to rotated screen - how to find my output device name HOT 2
- DRM panel orientation not taken into account HOT 3
- Screen sharing via apps like TeamViewer and AnyDesk, is unattended mode possible in Wayland? HOT 4
- Support wlr-layer-shell as a Backend HOT 1
- Build Fails on wlroots 0.17.2-1 HOT 6
- Cage doesn't seem to auto-activate the client until the first input HOT 5
- Persisting Data HOT 3
- Unable to create wlroots backend HOT 6
- Add an IRC channel for communication
- Cannot launch in X11 session HOT 5
- XDG_RUNTIME_DIR is not set in the environment HOT 6
- Release new version HOT 2
- [QUESTION] Running a second app? HOT 2
- Segfault on SIGTERM leaving the display hanging
- error on raspberr pi os HOT 7
- doesnt build HOT 2
- cage: error while loading shared libraries: libwlroots.so.12: cannot open shared object file: No such file or directory HOT 1
- Has development stopped? HOT 3
- Can't install. HOT 1
- Extra steps for launching cage on boot with systemd
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cage.