Fix Gnome config modm+shift+Q logout command

The --kill option was deprecated in 2.23.x (year 2008):
c91d138b33/NEWS (L1843)

gnome-session-save was renamed to gnome-session-quit in 2.91.x (year 2011):
c91d138b33/NEWS (L988)
This commit is contained in:
Joonas Javanainen 2017-07-16 14:57:34 +03:00
parent dc04c3821c
commit 26690e2d0b
No known key found for this signature in database
GPG Key ID: D39CCA5CB19B9179
2 changed files with 6 additions and 1 deletions

View File

@ -124,6 +124,11 @@
changed and you want to re-sort windows into the appropriate
sub-layout.
* `XMonad.Config.Gnome`
- Update logout key combination (modm+shift+Q) to work with modern
versions of GNOME
## 0.13 (February 10, 2017)
### Breaking Changes

View File

@ -47,7 +47,7 @@ gnomeConfig = desktopConfig
gnomeKeys (XConfig {modMask = modm}) = M.fromList $
[ ((modm, xK_p), gnomeRun)
, ((modm .|. shiftMask, xK_q), spawn "gnome-session-save --kill") ]
, ((modm .|. shiftMask, xK_q), spawn "gnome-session-quit --logout") ]
-- | Launch the "Run Application" dialog. gnome-panel must be running for this
-- to work.