Skip to content

Instantly share code, notes, and snippets.

@andrewseidl
Last active May 24, 2023 11:10
Show Gist options
  • Save andrewseidl/96dd9975fec4fb761869 to your computer and use it in GitHub Desktop.
Save andrewseidl/96dd9975fec4fb761869 to your computer and use it in GitHub Desktop.
xmonad-fedora
  • update system
    sudo yum update
  • install xmonad, xmonad-contrib, xmobar
    sudo yum install xmonad ghc-xmonad-contrib{,-devel} xmobar
  • install cabal-install, for yeganesh
    sudo yum install cabal-install
  • install yeganesh (sort menu items by frequency)
    cabal update
    cabal install yeganesh
  • install different terminal
    sudo yum install rxvt-unicode-256color-ml
  • grab my config files
    git clone https://github.com/andrewseidl/dotfiles
    mv dotfiles/home/.xmonad ~
    mv dotfiles/home/.Xresources ~
  • change the top bar to only run on the main screen, in ~/.xmonad/xmobar.hs
    -- position = Static ... 
    position = TopW C 100,
  • comment out my custom font in ~/.Xresources, lines 5-6 (comments with a #)

  • logout

  • on the login/password screen, click on the gear and select xmonad

  • to log out, alt-shift-q

  • alt-shift-enter: open a new terminal

  • alt-p: run a command (start typing, potential options should be displayed at the top)

  • alt-q: restart xmonad (eg if you changed your config)

  • alt-shift-q: logout

  • alt-#: (replace # with a number): jump to workspace #

  • alt-shift-#: (replace # with a number): move current window to workspace #

  • alt-shift-c: close current window (current window should have a pink outline)

  • alt-space: change window layout (cycles between 4-5 different layouts)

  • alt-enter: make this window the master (usually the largest window, on the left)

  • alt-j: focus on next window on screen

  • alt-k: focus on previous window on screen

  • alt-e: change focus to the right screen

  • alt-w: change focus to the left screen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment