You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For certain use cases it is beneficial to be able to set arbitrary environment variables for the X11 session. For example, setting QT_SCALE_FACTOR is a very convenient way to make the browser bigger on small touchscreens.
However, I haven't found so far a way to do this other than manually editing .xinitrc, which as per the comment on the file is strongly discouraged.
A way to do this would be to allow .xinitrc to source, instead of exec, /var/lib/chromium-kiosk/chromium-kiosk-prehook.sh. This way, the prehook would retain its current functionality but also allow exporting env vars which would persist in the X session.
The text was updated successfully, but these errors were encountered:
As a workaround, I've managed to do this by dropping export lines on /var/lib/chromium-kiosk/.bashrc, as it happens to be sourced by .bash_profile in the same directory.
However as it seems that the latter is on its path to be deprecated (#71) I think the issue is still valid.
For certain use cases it is beneficial to be able to set arbitrary environment variables for the X11 session. For example, setting
QT_SCALE_FACTOR
is a very convenient way to make the browser bigger on small touchscreens.However, I haven't found so far a way to do this other than manually editing
.xinitrc
, which as per the comment on the file is strongly discouraged.A way to do this would be to allow
.xinitrc
tosource
, instead of exec,/var/lib/chromium-kiosk/chromium-kiosk-prehook.sh
. This way, the prehook would retain its current functionality but also allowexport
ing env vars which would persist in the X session.The text was updated successfully, but these errors were encountered: