Remove DWM-gnome session
This commit is contained in:
parent
b70d751519
commit
5a1da61f31
@ -1,18 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
egister with gnome-session so that it does not kill the whole session thinking it is dead.
|
|
||||||
test -n "$DESKTOP_AUTOSTART_ID" && {
|
|
||||||
dbus-send --print-reply --session --dest=org.gnome.SessionManager "/org/gnome/SessionManager" org.gnome.SessionManager.RegisterClient "string:dwm-gnome" "string:$DESKTOP_AUTOSTART_ID"
|
|
||||||
}
|
|
||||||
|
|
||||||
# Support for merging .Xresources
|
|
||||||
test -e $HOME/.Xresources && {
|
|
||||||
xrdb -merge $HOME/.Xresources
|
|
||||||
}
|
|
||||||
|
|
||||||
dwm
|
|
||||||
|
|
||||||
# Logout process.
|
|
||||||
test -n "$DESKTOP_AUTOSTART_ID" && {
|
|
||||||
dbus-send --print-reply --session --dest=org.gnome.SessionManager "/org/gnome/SessionManager" org.gnome.SessionManager.Logout "uint32:1"
|
|
||||||
}
|
|
@ -1,5 +0,0 @@
|
|||||||
# -*- mode: conf -*-
|
|
||||||
|
|
||||||
[GNOME Session]
|
|
||||||
Name=dwm-gnome
|
|
||||||
RequiredComponents=org.gnome.SettingsDaemon.A11ySettings;org.gnome.SettingsDaemon.Color;org.gnome.SettingsDaemon.Datetime;org.gnome.SettingsDaemon.Housekeeping;org.gnome.SettingsDaemon.Keyboard;org.gnome.SettingsDaemon.MediaKeys;org.gnome.SettingsDaemon.Power;org.gnome.SettingsDaemon.PrintNotifications;org.gnome.SettingsDaemon.Rfkill;org.gnome.SettingsDaemon.ScreensaverProxy;org.gnome.SettingsDaemon.Sharing;org.gnome.SettingsDaemon.Smartcard;org.gnome.SettingsDaemon.Sound;org.gnome.SettingsDaemon.Wacom;org.gnome.SettingsDaemon.XSettings;dwm-gnome
|
|
@ -1,7 +0,0 @@
|
|||||||
[Desktop Entry]
|
|
||||||
Name=dwm + GNOME
|
|
||||||
Comment=Dymanic Window Manager with GNOME integration
|
|
||||||
Exec=gnome-session-dwm
|
|
||||||
Type=Aplications
|
|
||||||
DesktopNames=GNOME
|
|
||||||
X-Ubuntu-Gettext-Domain=gnome-session-3.0
|
|
@ -50,24 +50,6 @@
|
|||||||
src: usr/share/xsessions/dwm.desktop
|
src: usr/share/xsessions/dwm.desktop
|
||||||
dest: /usr/share/xsessions/dwm.desktop
|
dest: /usr/share/xsessions/dwm.desktop
|
||||||
|
|
||||||
- name: copy xsession for gnome
|
|
||||||
become: yes
|
|
||||||
copy:
|
|
||||||
src: usr/share/xsessions/dwm-gnome.desktop
|
|
||||||
dest: /usr/share/xsessions/dwm-gnome.desktop
|
|
||||||
|
|
||||||
- name: Create gnome session dir
|
|
||||||
become: yes
|
|
||||||
file:
|
|
||||||
path: /usr/share/gnome-session/sessions
|
|
||||||
state: directory
|
|
||||||
|
|
||||||
- name: copy gnome session
|
|
||||||
become: yes
|
|
||||||
copy:
|
|
||||||
src: usr/share/gnome-session/sessions/dwm-gnome.session
|
|
||||||
dest: /usr/share/gnome-session/sessions/dwm-gnome.session
|
|
||||||
|
|
||||||
- name: copy icon
|
- name: copy icon
|
||||||
become: yes
|
become: yes
|
||||||
copy:
|
copy:
|
||||||
@ -81,13 +63,6 @@
|
|||||||
dest: /usr/local/bin/start-dwm
|
dest: /usr/local/bin/start-dwm
|
||||||
mode: '0755'
|
mode: '0755'
|
||||||
|
|
||||||
- name: copy run script
|
|
||||||
become: yes
|
|
||||||
copy:
|
|
||||||
src: usr/local/bin/dwm-gnome
|
|
||||||
dest: /usr/local/bin/dwm-gnome
|
|
||||||
mode: '0755'
|
|
||||||
|
|
||||||
- name: install dwm
|
- name: install dwm
|
||||||
become: yes
|
become: yes
|
||||||
register: make
|
register: make
|
||||||
|
Loading…
Reference in New Issue
Block a user