mirror of
https://github.com/linuxserver/docker-baseimage-kasmvnc.git
synced 2026-02-20 08:28:57 +08:00
ubuntujammy add option to disable DRI keyboard shortcuts for decor (#48)
This commit is contained in:
parent
8c3f7cd99c
commit
03b06bb6df
@ -358,6 +358,7 @@ RUN \
|
||||
-e 's/NLIMC/NLMC/g' \
|
||||
-e '/debian-menu/d' \
|
||||
-e 's|</applications>| <application class="*"><maximized>yes</maximized></application>\n</applications>|' \
|
||||
-e 's|</keyboard>| <keybind key="C-S-d"><action name="ToggleDecorations"/></keybind>\n</keyboard>|' \
|
||||
/etc/xdg/openbox/rc.xml && \
|
||||
echo "**** user perms ****" && \
|
||||
sed -e 's/%sudo ALL=(ALL:ALL) ALL/%sudo ALL=(ALL:ALL) NOPASSWD: ALL/g' \
|
||||
|
||||
@ -360,6 +360,7 @@ RUN \
|
||||
-e 's/NLIMC/NLMC/g' \
|
||||
-e '/debian-menu/d' \
|
||||
-e 's|</applications>| <application class="*"><maximized>yes</maximized></application>\n</applications>|' \
|
||||
-e 's|</keyboard>| <keybind key="C-S-d"><action name="ToggleDecorations"/></keybind>\n</keyboard>|' \
|
||||
/etc/xdg/openbox/rc.xml && \
|
||||
echo "**** user perms ****" && \
|
||||
sed -e 's/%sudo ALL=(ALL:ALL) ALL/%sudo ALL=(ALL:ALL) NOPASSWD: ALL/g' \
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
# Pass gpu flags if mounted
|
||||
if ls /dev/dri/renderD* 1> /dev/null 2>&1; then
|
||||
if ls /dev/dri/renderD* 1> /dev/null 2>&1 && [ -z ${DISABLE_DRI+x} ]; then
|
||||
HW3D="-hw3d"
|
||||
fi
|
||||
if [ -z ${DRINODE+x} ]; then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user