summaryrefslogtreecommitdiffstats
path: root/files/gnome-enable-root-gui.desktop
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2016-12-18 11:40:22 +0000
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2016-12-18 11:40:22 +0000
commit49524a5268d67d00a976fb1606b6de26054f1bb7 (patch)
tree780efee26cb0a636b195bff811ced84a33fd8e03 /files/gnome-enable-root-gui.desktop
parent7fbfd70bd4fdd12e06e336c814d0720682e198ff (diff)
downloaddraklive-config-49524a5268d67d00a976fb1606b6de26054f1bb7.tar
draklive-config-49524a5268d67d00a976fb1606b6de26054f1bb7.tar.gz
draklive-config-49524a5268d67d00a976fb1606b6de26054f1bb7.tar.bz2
draklive-config-49524a5268d67d00a976fb1606b6de26054f1bb7.tar.xz
draklive-config-49524a5268d67d00a976fb1606b6de26054f1bb7.zip
Revert to using GNOME on Wayland, enable root to access the display.
The WaylandEnable=false setting only works for auto or passwordless login, so didn't reliably fix the problem of being unable to run MCC or draklive-install. Also, in early testing, GNOME on Wayland worked on a greater variety of hardware than GNOME on Xorg. So let's see if this works better.
Diffstat (limited to 'files/gnome-enable-root-gui.desktop')
-rw-r--r--files/gnome-enable-root-gui.desktop9
1 files changed, 9 insertions, 0 deletions
diff --git a/files/gnome-enable-root-gui.desktop b/files/gnome-enable-root-gui.desktop
new file mode 100644
index 0000000..7fbe22c
--- /dev/null
+++ b/files/gnome-enable-root-gui.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Version=1.0
+Name=GNOME enable root GUI
+Comment=Enables GUI applications run as root to use the local display
+Exec=/usr/bin/xhost +si:localuser:root
+Terminal=false
+Type=Application
+OnlyShowIn=GNOME
+X-GNOME-Autostart-Phase=Initialization