Commits

Peter Ward committed 964efe5

add start of awesome / gnome config

Comments (0)

Files changed (1)

content/software/awesome-gnome-configuration.rst

+Awesome + GNOME Configuration
+#############################
+:date: 2012-11-28 10:31
+:status: draft
+
+In order to get awesome running nicely under gnome-session, you need a few things.
+
+So you see it as a entry in your display manager, put this in
+``/usr/share/xsessions/awesome-gnome.desktop``:
+
+.. code-block:: ini
+
+    [Desktop Entry]
+    Name=awesome-gnome
+    Comment=This session logs you into GNOME using the Awesome WM
+    Exec=gnome-session --session=awesome-gnome
+    TryExec=gnome-session
+    Icon=
+    Type=Application
+
+Then you need to tell gnome-session about the "awesome-gnome" session.
+If you want, modify this to change the notification daemon to ``notification-daemon``.
+Put this in ``~/.config/gnome-session/sessions/awesome-gnome.session``:
+
+.. code-block:: ini
+
+    [GNOME Session]
+    Name=awesome-gnome
+    RequiredComponents=gnome-settings-daemon;
+    RequiredProviders=windowmanager;
+    DefaultProvider-windowmanager=awesome
+    DefaultProvider-notifications=notify-osd
+    FallbackSession=gnome-fallback
+    DesktopName=GNOME
+
+Then, GNOME expects to find a XDG application entry for "awesome",
+so put this in ``~/.local/share/applications/awesome.desktop``
+
+.. code-block:: ini
+
+    [Desktop Entry]
+    Type=Application
+    Name=Awesome
+    Comment=Window manager
+    Exec=/usr/bin/awesome
+    NoDisplay=true
+    X-GNOME-Autostart-Phase=WindowManager
+    X-GNOME-Provides=panel;windowmanager;
+    X-GNOME-Autostart-Notify=true
+    X-GNOME-AutoRestart=false
+