summaryrefslogtreecommitdiff
path: root/pcr/i3-gnome/i3-gnome
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-07-20 19:17:22 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-07-20 19:17:22 -0500
commit6d049ed0565bab8c840a4e220f0255211af427b2 (patch)
tree602f27ebd552aac05a5c5f57bd0b9c25a2de4066 /pcr/i3-gnome/i3-gnome
parent4eacab29814dc2110b4bc1fe441dd452252cf873 (diff)
i3-gnome: add new package to [pcr]
Diffstat (limited to 'pcr/i3-gnome/i3-gnome')
-rw-r--r--pcr/i3-gnome/i3-gnome13
1 files changed, 13 insertions, 0 deletions
diff --git a/pcr/i3-gnome/i3-gnome b/pcr/i3-gnome/i3-gnome
new file mode 100644
index 000000000..4cfb8fc6e
--- /dev/null
+++ b/pcr/i3-gnome/i3-gnome
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+if [ -n "$DESKTOP_AUTOSTART_ID" ]; then
+ dbus-send --session --dest=org.gnome.SessionManager "/org/gnome/SessionManager" org.gnome.SessionManager.RegisterClient "string:i3-gnome" "string:$DESKTOP_AUTOSTART_ID"
+fi
+
+# Fix the cursor missing problem
+dconf write /org/gnome/settings-daemon/plugins/cursor/active false
+
+# Disable Gnome Shell's App Menu, so that lost menu items are shown again
+gsettings set org.gnome.settings-daemon.plugins.xsettings overrides '@a{sv} {"Gtk/ShellShowsAppMenu": <int32 0>}'
+
+i3