1

This is part of my config of xmonad in ~/.xmonad/xmonad.hs

myWorkspaces            :: [String]
myWorkspaces            = clickable . (map dzenEscape) $ ["web","doc","ssh","devel","chat","temp"]

  where clickable l     = [ "^ca(1,xdotool key super+" ++ show (n) ++ ")" ++ ws ++ "^ca()" |
                            (i,ws) <- zip [1..] l,
                            let n = i ]


    myManageHook = composeAll
    [ className =? "MPlayer"        --> doFloat
    , className =? "Vlc"            --> doFloat
    , className =? "Gimp"           --> doFloat
    , className =? "skype"           --> doF (W.shift (myWorkspaces !! 4))
    , className =? "Mail"           --> doF (W.shift (myWorkspaces !! 4))
--    , className =? "XCalc"          --> doFloat
    , className =? "Firefox"       --> doF (W.shift (myWorkspaces !! 0)) -- send to ws 0
--    , className =? "Nautilus"       --> doF (W.shift (myWorkspaces !! 5)) -- send to ws 5
    , className =? "gvim"       --> doF (W.shift (myWorkspaces !! 1)) -- send to ws 1
--    , className =? "Terminal"       --> doF (W.shift (myWorkspaces !! 3)) -- send to ws 3
    , className =? "Gimp"           --> doF (W.shift (myWorkspaces !! 1)) -- send to ws 1
    , className =? "Codeblocks"      --> doF (W.shift (myWorkspaces !! 3)) -- send to ws 3
    , className =? "stalonetray"    --> doIgnore
    ]

The thing is, that Firefox or Codeblocks start at workspace I want, but skype and mail (Thunderbird) doest respect these settings and always start in active workspace.

3

Make sure that Skype is capitalized. I use className =? "Skype" --> doShift "8" and that works, but if I leave Skype in lowercase it doesn't. I don't use Thunderbird, but perhaps it is also a class name issue. It looks like you should be using "Thunderbird-bin".

http://ubuntuforums.org/archive/index.php/t-863092.html

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.