Forked from sciolizer/install-xmonad-with-java-patch.sh
Created
October 29, 2012 08:58
-
-
Save adinapoli/3972479 to your computer and use it in GitHub Desktop.
Install xmonad with java patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Codification of discussion at http://code.google.com/p/xmonad/issues/detail?id=177 | |
# Probably better to run each of these lines one by one instead of as a shell | |
# script, since there's a high probability of `cabal install` failing (usually | |
# fixed by installing the relevant libfoo-dev package) | |
# One person said these steps did not work. | |
# My Java version is: | |
# java version "1.6.0_34" | |
# Java(TM) SE Runtime Environment (build 1.6.0_34-b04) | |
# Java HotSpot(TM) Server VM (build 20.9-b04, mixed mode) | |
# My xmonad file: https://github.com/sciolizer/dotfiles/blob/bb2e15cdd30ff6c3b468dd3c5ae6fbf4320c78e0/.xmonad/xmonad.hs | |
# Notice that it sets the window name to LG3D | |
darcs get http://code.haskell.org/xmonad --tag 0.10 | |
darcs get http://code.haskell.org/XMonadContrib --tag 0.10 | |
wget http://xmonad.googlecode.com/issues/attachment?aid=-7795625971991388144&name=track-currently-processing-event.dpatch&token=bBrhWxj8hrGSBkqhFRFD4Nf_mMU%3A1346202415361 -O track-current-processing-event.dpatch | |
cd xmonad | |
darcs apply ../track-current-processing-event.dpatch | |
cabal install | |
cd ../XMonadContrib | |
sed -i -e '/XMonad.Hooks.ICCCMFocus/d' xmonad-contrib.cabal | |
cabal install | |
# Recompile xmonad, and make sure to restart it (Meta+Q does not always work for me) | |
# You can see how long xmonad has been running with | |
# ps ax -o comm,etime | grep xmonad |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment