Skip to content

Instantly share code, notes, and snippets.

@brennen
Created January 18, 2011 17:45
Show Gist options
  • Save brennen/784821 to your computer and use it in GitHub Desktop.
Save brennen/784821 to your computer and use it in GitHub Desktop.
brennen@catastrophe:/usr/share/xsessions$ cat xmonad.desktop
[Desktop Entry]
Encoding=UTF-8
Name=XMonad
Comment=Lightweight tiling window manager
Exec=xmonad.start
Icon=xmonad.png
Type=XSession
brennen@catastrophe:/usr/share/xsessions$ cd /usr/local/bin/
brennen@catastrophe:/usr/local/bin$ ls -lh
total 6.3M
lrwxrwxrwx 1 root root 37 2010-07-10 17:38 cake -> /usr/local/lib/coffee-script/bin/cake
lrwxrwxrwx 1 root root 39 2010-07-10 17:38 coffee -> /usr/local/lib/coffee-script/bin/coffee
lrwxrwxrwx 1 root root 30 2010-07-10 17:40 docco -> /usr/local/lib/docco/bin/docco
-r-xr-xr-x 1 root root 7.2K 2010-11-01 16:19 modemtest
-rwxr-xr-x 1 root root 6.3M 2010-07-10 17:34 node
-rwxr-xr-x 1 root root 193 2010-07-10 17:29 node-repl
-rwxr-xr-x 1 root root 355 2010-07-10 17:29 node-waf
lrwxrwxrwx 1 root root 11 2010-07-10 17:47 pygmenttize -> pygmenttize
-rwxr-xr-x 1 root root 671 2010-10-11 14:43 xmonad.start
brennen@catastrophe:/usr/local/bin$ cat xmonad.start
#!/bin/bash
# Load resources
xrdb -merge .Xresources
# Set up an icon tray
trayer --SetDockType true --SetPartialStrut true --edge bottom --align right --widthtype percent --width 10 --height 18 &
#trayer --edge top --align right --SetDockType true --SetPartialStrut true \
# --expand true --width 9 --transparent true --tint 0x191970 --height 12 &
# Set the background color
xsetroot -solid midnightblue
# Fire up apps
#gajim &
gnome-settings-daemon &
xscreensaver -no-splash &
#if [ -x /usr/bin/nm-applet ] ; then
# nm-applet --sm-disable &
#fi
#if [ -x /usr/bin/gnome-power-manager ] ; then
# sleep 3
# gnome-power-manager
#fi
exec xmonad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment