[GH-ISSUE #549] xephyr and keyboard layout #387

Closed
opened 2026-05-05 05:44:49 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @deb75 on GitHub (May 31, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/549

Hello,

I use Xephyr with firejail, it works well except that the keyboard layout appears to be qwerty whereas I need azerty.

This issue is not just firejail related, if I use Xephyr alone, (e.g. Xephyr :3 && DISPLAY=:3 firefox), I get the same problem.

However, if Xephyr seems to have command line options to configure the keyboard, I did not find a way
to pass it through its call from firejail. To my knowledge, firejail only allows to modify the xephyr resolution in /etc/firejail/firejail.config.

Up to now, the workaround I tried is to grab the Xephyr display (say :3) and run "xkbcomp $DISPLAY :3".

It works, but it is a bit annoying as the Xephyr display seems to be randomly chosen from firejail.

So I would suggest :

  • either allow to provide more options for Xephyr from firejail,
  • or find one easy way to grab the Xephyr display.

Regards

Originally created by @deb75 on GitHub (May 31, 2016). Original GitHub issue: https://github.com/netblue30/firejail/issues/549 Hello, I use Xephyr with firejail, it works well except that the keyboard layout appears to be qwerty whereas I need azerty. This issue is not just firejail related, if I use Xephyr alone, (e.g. Xephyr :3 && DISPLAY=:3 firefox), I get the same problem. However, if Xephyr seems to have command line options to configure the keyboard, I did not find a way to pass it through its call from firejail. To my knowledge, firejail only allows to modify the xephyr resolution in /etc/firejail/firejail.config. Up to now, the workaround I tried is to grab the Xephyr display (say :3) and run "xkbcomp $DISPLAY :3". It works, but it is a bit annoying as the Xephyr display seems to be randomly chosen from firejail. So I would suggest : - either allow to provide more options for Xephyr from firejail, - or find one easy way to grab the Xephyr display. Regards
gitea-mirror 2026-05-05 05:44:49 -06:00
Author
Owner

@netblue30 commented on GitHub (May 31, 2016):

I'll add support to pass more command line options to Xephyr.

<!-- gh-comment-id:222705387 --> @netblue30 commented on GitHub (May 31, 2016): I'll add support to pass more command line options to Xephyr.
Author
Owner

@joedicastro commented on GitHub (Jun 3, 2016):

Oh! that would be nice!

Also it would be nice too to add the -resizeable option of Xephyr to be able to resize the window easily and not to be limited to a specific resolution.

<!-- gh-comment-id:223510822 --> @joedicastro commented on GitHub (Jun 3, 2016): Oh! that would be nice! Also it would be nice too to add the `-resizeable` option of Xephyr to be able to resize the window easily and not to be limited to a specific resolution.
Author
Owner

@netblue30 commented on GitHub (Jun 3, 2016):

Out of curiosity, what options do you need to pass on the command line to Xephyr? Would you use them for all programs, or change them from program to program?

<!-- gh-comment-id:223561523 --> @netblue30 commented on GitHub (Jun 3, 2016): Out of curiosity, what options do you need to pass on the command line to Xephyr? Would you use them for all programs, or change them from program to program?
Author
Owner

@netblue30 commented on GitHub (Jun 9, 2016):

Fixed. Install the version from git and edit /etc/firejail/firejail.config file. Add "xephyr-extra-params your command line options" at the end of the file.

<!-- gh-comment-id:224954135 --> @netblue30 commented on GitHub (Jun 9, 2016): Fixed. Install the version from git and edit /etc/firejail/firejail.config file. Add "xephyr-extra-params your command line options" at the end of the file.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#387
No description provided.