[xmonad] switching to the workspace where a window just went?
Lara Michaels
laramichaels1978 at yahoo.com
Wed Jan 4 14:07:17 CET 2012
Adam, thank you so much for the detailed help. Following instructions I sorted everything out except for doTo. Is there a way to achieve the same effect without doTo/installing the newer xmonad-contrib? I am on Ubuntu 10.04 LTS and trying to force the install of a more recent xmonad is proving beyond my abilities (all sorts of impossible to meet dependencies pop up). bye! ~l
________________________________
From: Adam Vogt <vogt.adam at gmail.com>
To: xmonad at haskell.org
Sent: Monday, January 2, 2012 6:18 PM
Subject: Re: [xmonad] switching to the workspace where a window just went?
Hi Lara,
doTo is in XMonad.Actions.CycleWS in XMonadContrib 0.10 but not in
XMonadContrib 0.9.*
getSortByIndex needs an
import XMonad.Util.WorkspaceCompare
and finally I suspect shift might be XMonad.StackSet.shift, which with
your imports can be referred to as W.shift
Hope this helps.
--
Adam
* On Monday, January 02 2012, Lara Michaels wrote:
>Brandon, thank you so much for this. (It had landed in my spam folder so I only found it now.)
>
>After adding that to my xmonad.hs I get these errors:
>xmonad.hs:68:17: Not in scope: `doTo'
>
>xmonad.hs:68:35: Not in scope: `getSortByIndex'
>
>xmonad.hs:68:67: Not in scope: `shift'
>
>Please check the file for errors.
>
>I checked the header of xmonad.hs and I am importing the file you mentioned:
>
>import Control.OldException
>import Control.Monad
>
>import XMonad
>import XMonad.Hooks.EwmhDesktops
>import qualified XMonad.StackSet as W
>import XMonad.Actions.CycleRecentWS
>import XMonad.Config.Gnome
>import XMonad.Hooks.DynamicLog
>import qualified XMonad.StackSet as W
>import XMonad.Util.EZConfig
>import XMonad.Actions.CycleWS
>import XMonad.ManageHook
>import XMonad.Hooks.ManageHelpers
>import XMonad.Layout.ShowWName
>import XMonad.Hooks.ManageDocks
>import XMonad.Util.Run(spawnPipe)
>import System.IO
>
>so I wonder why this is happening?
>
>thank you for any help!
>~l
>
>
>
>________________________________
> From: Brandon Allbery <allbery.b at gmail.com>
>To: Mike Meyer <mwm at mired.org>
>Cc: xmonad at haskell.org
>Sent: Thursday, December 29, 2011 2:57 AM
>Subject: Re: [xmonad] switching to the workspace where a window just went?
>
>
>
>
>Looking at the source to cycleWS, looks like what you want is something like
>
>> ,("C-<F1>", doTo Next EmptyWS getSortByIndex $ \ws -> windows (shift ws) >>
>> windows (greedyView ws))
>--
>brandon s allbery allbery.b at gmail.com
>wandering unix systems administrator (available) (412) 475-9364 vm/sms
>
>
>_______________________________________________
>xmonad mailing list
>xmonad at haskell.org
>http://www.haskell.org/mailman/listinfo/xmonad
>_______________________________________________
>xmonad mailing list
>xmonad at haskell.org
>http://www.haskell.org/mailman/listinfo/xmonad
_______________________________________________
xmonad mailing list
xmonad at haskell.org
http://www.haskell.org/mailman/listinfo/xmonad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/xmonad/attachments/20120104/9a76a08c/attachment.htm>
More information about the xmonad
mailing list