Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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.

share|improve this question
add comment

1 Answer 1

up vote 2 down vote accepted

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

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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