From e53b922365707337ffa3561b86281690f2b26fed Mon Sep 17 00:00:00 2001 From: Wirt Wolff Date: Tue, 18 Aug 2009 21:25:03 +0200 Subject: U.Scratchpad: doc add disable-factory flag to gnome-terminal example Ignore-this: 6fd874a236121b5669b0ec5944caf205 Few systems have --disable-factory on by default, but it's needed to set custom resource string. http://code.google.com/p/xmonad/issues/detail?id08 darcs-hash:20090818192503-18562-a9984e53491830bda767c1dddbae44fb27cc8dff.gz --- XMonad/Util/Scratchpad.hs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'XMonad/Util/Scratchpad.hs') diff --git a/XMonad/Util/Scratchpad.hs b/XMonad/Util/Scratchpad.hs index 4fcd53d..60effae 100644 --- a/XMonad/Util/Scratchpad.hs +++ b/XMonad/Util/Scratchpad.hs @@ -80,10 +80,9 @@ scratchpadSpawnActionTerminal term = -- | Action to pop up any program with the user specifying how to set --- its resource to \"scratchpad\". For example, with gnome-terminal --- bind the following to a key: +-- its resource to \"scratchpad\". For example, with gnome-terminal: -- --- > scratchpadSpawnActionCustom "gnome-terminal --name scratchpad" +-- > scratchpadSpawnActionCustom "gnome-terminal --disable-factory --name scratchpad" scratchpadSpawnActionCustom :: String -- ^ Command to spawn a program with resource \"scratchpad\" -> X () scratchpadSpawnActionCustom c = namedScratchpadAction [NS "scratchpad" c scratchpadQuery nonFloating] "scratchpad" -- cgit v1.2.3