mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #1007] pass proper DPI to xpra and xephyr #685
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#685
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ibukanov on GitHub (Dec 24, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1007
Neither --x11=xpra nor --x11=xephyr report useful DPI information to applications. For example, under xpra xrandr and xdpyinfo reports:
Under xephyr the situation is slightly better as at least xrandr reports the pixel dimensions matching the size of the xephyr window. Still even there there is no information about the physical size of the pixels:
This results in very tiny fonts and icons on HighDPI applications.
As both xpra and Xephyr accept options to set the DPI it would be nice if firejail set that automatically based on the reported xrandr values for the primary screen.
@netblue30 commented on GitHub (Dec 27, 2016):
There is already support for xephyr. In a text editor open /etc/firejail/firejail.config and add a xephyr-extra-params statement at the end - you have some examples in the file. I'll do something similar for xpra.
@Ryujinra commented on GitHub (Jan 26, 2018):
@netblue30 Any update on adding this feature for xpra? I use xpra for X11 forwarding, but without the ability to pass the dpi, fonts are tiny on a HiDPI display. Thanks.
@chiraag-nataraj commented on GitHub (Jul 24, 2018):
You should be able to use
xpra-extra-params --dpi <blah>to set the DPI for xpra.